1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/route53resolver/Route53Resolver_EXPORTS.h> 8 #include <aws/route53resolver/model/FirewallConfig.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace Route53Resolver 24 { 25 namespace Model 26 { 27 class AWS_ROUTE53RESOLVER_API GetFirewallConfigResult 28 { 29 public: 30 GetFirewallConfigResult(); 31 GetFirewallConfigResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 GetFirewallConfigResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>Configuration of the firewall behavior provided by DNS Firewall for a single 37 * VPC from AmazonVPC. </p> 38 */ GetFirewallConfig()39 inline const FirewallConfig& GetFirewallConfig() const{ return m_firewallConfig; } 40 41 /** 42 * <p>Configuration of the firewall behavior provided by DNS Firewall for a single 43 * VPC from AmazonVPC. </p> 44 */ SetFirewallConfig(const FirewallConfig & value)45 inline void SetFirewallConfig(const FirewallConfig& value) { m_firewallConfig = value; } 46 47 /** 48 * <p>Configuration of the firewall behavior provided by DNS Firewall for a single 49 * VPC from AmazonVPC. </p> 50 */ SetFirewallConfig(FirewallConfig && value)51 inline void SetFirewallConfig(FirewallConfig&& value) { m_firewallConfig = std::move(value); } 52 53 /** 54 * <p>Configuration of the firewall behavior provided by DNS Firewall for a single 55 * VPC from AmazonVPC. </p> 56 */ WithFirewallConfig(const FirewallConfig & value)57 inline GetFirewallConfigResult& WithFirewallConfig(const FirewallConfig& value) { SetFirewallConfig(value); return *this;} 58 59 /** 60 * <p>Configuration of the firewall behavior provided by DNS Firewall for a single 61 * VPC from AmazonVPC. </p> 62 */ WithFirewallConfig(FirewallConfig && value)63 inline GetFirewallConfigResult& WithFirewallConfig(FirewallConfig&& value) { SetFirewallConfig(std::move(value)); return *this;} 64 65 private: 66 67 FirewallConfig m_firewallConfig; 68 }; 69 70 } // namespace Model 71 } // namespace Route53Resolver 72 } // namespace Aws 73