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/core/utils/memory/stl/AWSString.h> 9 #include <aws/core/utils/memory/stl/AWSVector.h> 10 #include <aws/route53resolver/model/FirewallRuleGroupAssociation.h> 11 #include <utility> 12 13 namespace Aws 14 { 15 template<typename RESULT_TYPE> 16 class AmazonWebServiceResult; 17 18 namespace Utils 19 { 20 namespace Json 21 { 22 class JsonValue; 23 } // namespace Json 24 } // namespace Utils 25 namespace Route53Resolver 26 { 27 namespace Model 28 { 29 class AWS_ROUTE53RESOLVER_API ListFirewallRuleGroupAssociationsResult 30 { 31 public: 32 ListFirewallRuleGroupAssociationsResult(); 33 ListFirewallRuleGroupAssociationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 34 ListFirewallRuleGroupAssociationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 35 36 37 /** 38 * <p>If objects are still available for retrieval, Resolver returns this token in 39 * the response. To retrieve the next batch of objects, provide this token in your 40 * next request.</p> 41 */ GetNextToken()42 inline const Aws::String& GetNextToken() const{ return m_nextToken; } 43 44 /** 45 * <p>If objects are still available for retrieval, Resolver returns this token in 46 * the response. To retrieve the next batch of objects, provide this token in your 47 * next request.</p> 48 */ SetNextToken(const Aws::String & value)49 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } 50 51 /** 52 * <p>If objects are still available for retrieval, Resolver returns this token in 53 * the response. To retrieve the next batch of objects, provide this token in your 54 * next request.</p> 55 */ SetNextToken(Aws::String && value)56 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } 57 58 /** 59 * <p>If objects are still available for retrieval, Resolver returns this token in 60 * the response. To retrieve the next batch of objects, provide this token in your 61 * next request.</p> 62 */ SetNextToken(const char * value)63 inline void SetNextToken(const char* value) { m_nextToken.assign(value); } 64 65 /** 66 * <p>If objects are still available for retrieval, Resolver returns this token in 67 * the response. To retrieve the next batch of objects, provide this token in your 68 * next request.</p> 69 */ WithNextToken(const Aws::String & value)70 inline ListFirewallRuleGroupAssociationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} 71 72 /** 73 * <p>If objects are still available for retrieval, Resolver returns this token in 74 * the response. To retrieve the next batch of objects, provide this token in your 75 * next request.</p> 76 */ WithNextToken(Aws::String && value)77 inline ListFirewallRuleGroupAssociationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} 78 79 /** 80 * <p>If objects are still available for retrieval, Resolver returns this token in 81 * the response. To retrieve the next batch of objects, provide this token in your 82 * next request.</p> 83 */ WithNextToken(const char * value)84 inline ListFirewallRuleGroupAssociationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} 85 86 87 /** 88 * <p>A list of your firewall rule group associations.</p> <p>This might be a 89 * partial list of the associations that you have defined. For information, see 90 * <code>MaxResults</code>. </p> 91 */ GetFirewallRuleGroupAssociations()92 inline const Aws::Vector<FirewallRuleGroupAssociation>& GetFirewallRuleGroupAssociations() const{ return m_firewallRuleGroupAssociations; } 93 94 /** 95 * <p>A list of your firewall rule group associations.</p> <p>This might be a 96 * partial list of the associations that you have defined. For information, see 97 * <code>MaxResults</code>. </p> 98 */ SetFirewallRuleGroupAssociations(const Aws::Vector<FirewallRuleGroupAssociation> & value)99 inline void SetFirewallRuleGroupAssociations(const Aws::Vector<FirewallRuleGroupAssociation>& value) { m_firewallRuleGroupAssociations = value; } 100 101 /** 102 * <p>A list of your firewall rule group associations.</p> <p>This might be a 103 * partial list of the associations that you have defined. For information, see 104 * <code>MaxResults</code>. </p> 105 */ SetFirewallRuleGroupAssociations(Aws::Vector<FirewallRuleGroupAssociation> && value)106 inline void SetFirewallRuleGroupAssociations(Aws::Vector<FirewallRuleGroupAssociation>&& value) { m_firewallRuleGroupAssociations = std::move(value); } 107 108 /** 109 * <p>A list of your firewall rule group associations.</p> <p>This might be a 110 * partial list of the associations that you have defined. For information, see 111 * <code>MaxResults</code>. </p> 112 */ WithFirewallRuleGroupAssociations(const Aws::Vector<FirewallRuleGroupAssociation> & value)113 inline ListFirewallRuleGroupAssociationsResult& WithFirewallRuleGroupAssociations(const Aws::Vector<FirewallRuleGroupAssociation>& value) { SetFirewallRuleGroupAssociations(value); return *this;} 114 115 /** 116 * <p>A list of your firewall rule group associations.</p> <p>This might be a 117 * partial list of the associations that you have defined. For information, see 118 * <code>MaxResults</code>. </p> 119 */ WithFirewallRuleGroupAssociations(Aws::Vector<FirewallRuleGroupAssociation> && value)120 inline ListFirewallRuleGroupAssociationsResult& WithFirewallRuleGroupAssociations(Aws::Vector<FirewallRuleGroupAssociation>&& value) { SetFirewallRuleGroupAssociations(std::move(value)); return *this;} 121 122 /** 123 * <p>A list of your firewall rule group associations.</p> <p>This might be a 124 * partial list of the associations that you have defined. For information, see 125 * <code>MaxResults</code>. </p> 126 */ AddFirewallRuleGroupAssociations(const FirewallRuleGroupAssociation & value)127 inline ListFirewallRuleGroupAssociationsResult& AddFirewallRuleGroupAssociations(const FirewallRuleGroupAssociation& value) { m_firewallRuleGroupAssociations.push_back(value); return *this; } 128 129 /** 130 * <p>A list of your firewall rule group associations.</p> <p>This might be a 131 * partial list of the associations that you have defined. For information, see 132 * <code>MaxResults</code>. </p> 133 */ AddFirewallRuleGroupAssociations(FirewallRuleGroupAssociation && value)134 inline ListFirewallRuleGroupAssociationsResult& AddFirewallRuleGroupAssociations(FirewallRuleGroupAssociation&& value) { m_firewallRuleGroupAssociations.push_back(std::move(value)); return *this; } 135 136 private: 137 138 Aws::String m_nextToken; 139 140 Aws::Vector<FirewallRuleGroupAssociation> m_firewallRuleGroupAssociations; 141 }; 142 143 } // namespace Model 144 } // namespace Route53Resolver 145 } // namespace Aws 146