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/FirewallRuleGroup.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 CreateFirewallRuleGroupResult 28 { 29 public: 30 CreateFirewallRuleGroupResult(); 31 CreateFirewallRuleGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 CreateFirewallRuleGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>A collection of rules used to filter DNS network traffic. </p> 37 */ GetFirewallRuleGroup()38 inline const FirewallRuleGroup& GetFirewallRuleGroup() const{ return m_firewallRuleGroup; } 39 40 /** 41 * <p>A collection of rules used to filter DNS network traffic. </p> 42 */ SetFirewallRuleGroup(const FirewallRuleGroup & value)43 inline void SetFirewallRuleGroup(const FirewallRuleGroup& value) { m_firewallRuleGroup = value; } 44 45 /** 46 * <p>A collection of rules used to filter DNS network traffic. </p> 47 */ SetFirewallRuleGroup(FirewallRuleGroup && value)48 inline void SetFirewallRuleGroup(FirewallRuleGroup&& value) { m_firewallRuleGroup = std::move(value); } 49 50 /** 51 * <p>A collection of rules used to filter DNS network traffic. </p> 52 */ WithFirewallRuleGroup(const FirewallRuleGroup & value)53 inline CreateFirewallRuleGroupResult& WithFirewallRuleGroup(const FirewallRuleGroup& value) { SetFirewallRuleGroup(value); return *this;} 54 55 /** 56 * <p>A collection of rules used to filter DNS network traffic. </p> 57 */ WithFirewallRuleGroup(FirewallRuleGroup && value)58 inline CreateFirewallRuleGroupResult& WithFirewallRuleGroup(FirewallRuleGroup&& value) { SetFirewallRuleGroup(std::move(value)); return *this;} 59 60 private: 61 62 FirewallRuleGroup m_firewallRuleGroup; 63 }; 64 65 } // namespace Model 66 } // namespace Route53Resolver 67 } // namespace Aws 68