AWS SDK for C++  1.9.175
AWS SDK for C++
ListFirewallRuleGroupAssociationsResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 {
30  {
31  public:
35 
36 
42  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 
49  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
50 
56  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
57 
63  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
64 
70  inline ListFirewallRuleGroupAssociationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 
77  inline ListFirewallRuleGroupAssociationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 
84  inline ListFirewallRuleGroupAssociationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 
86 
92  inline const Aws::Vector<FirewallRuleGroupAssociation>& GetFirewallRuleGroupAssociations() const{ return m_firewallRuleGroupAssociations; }
93 
99  inline void SetFirewallRuleGroupAssociations(const Aws::Vector<FirewallRuleGroupAssociation>& value) { m_firewallRuleGroupAssociations = value; }
100 
106  inline void SetFirewallRuleGroupAssociations(Aws::Vector<FirewallRuleGroupAssociation>&& value) { m_firewallRuleGroupAssociations = std::move(value); }
107 
113  inline ListFirewallRuleGroupAssociationsResult& WithFirewallRuleGroupAssociations(const Aws::Vector<FirewallRuleGroupAssociation>& value) { SetFirewallRuleGroupAssociations(value); return *this;}
114 
120  inline ListFirewallRuleGroupAssociationsResult& WithFirewallRuleGroupAssociations(Aws::Vector<FirewallRuleGroupAssociation>&& value) { SetFirewallRuleGroupAssociations(std::move(value)); return *this;}
121 
127  inline ListFirewallRuleGroupAssociationsResult& AddFirewallRuleGroupAssociations(const FirewallRuleGroupAssociation& value) { m_firewallRuleGroupAssociations.push_back(value); return *this; }
128 
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
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::ListFirewallRuleGroupAssociationsResult
ListFirewallRuleGroupAssociationsResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListFirewallRuleGroupAssociationsResult.h:63
FirewallRuleGroupAssociation.h
Route53Resolver_EXPORTS.h
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult
Definition: ListFirewallRuleGroupAssociationsResult.h:30
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::ListFirewallRuleGroupAssociationsResult
ListFirewallRuleGroupAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::AddFirewallRuleGroupAssociations
ListFirewallRuleGroupAssociationsResult & AddFirewallRuleGroupAssociations(const FirewallRuleGroupAssociation &value)
Definition: ListFirewallRuleGroupAssociationsResult.h:127
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFirewallRuleGroupAssociationsResult.h:49
AWSVector.h
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::WithNextToken
ListFirewallRuleGroupAssociationsResult & WithNextToken(Aws::String &&value)
Definition: ListFirewallRuleGroupAssociationsResult.h:77
Aws::Route53Resolver::Model::FirewallRuleGroupAssociation
Definition: FirewallRuleGroupAssociation.h:35
AWS_ROUTE53RESOLVER_API
#define AWS_ROUTE53RESOLVER_API
Definition: Route53Resolver_EXPORTS.h:28
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::WithFirewallRuleGroupAssociations
ListFirewallRuleGroupAssociationsResult & WithFirewallRuleGroupAssociations(Aws::Vector< FirewallRuleGroupAssociation > &&value)
Definition: ListFirewallRuleGroupAssociationsResult.h:120
AWSString.h
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::WithNextToken
ListFirewallRuleGroupAssociationsResult & WithNextToken(const Aws::String &value)
Definition: ListFirewallRuleGroupAssociationsResult.h:70
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFirewallRuleGroupAssociationsResult.h:56
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::GetFirewallRuleGroupAssociations
const Aws::Vector< FirewallRuleGroupAssociation > & GetFirewallRuleGroupAssociations() const
Definition: ListFirewallRuleGroupAssociationsResult.h:92
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::WithNextToken
ListFirewallRuleGroupAssociationsResult & WithNextToken(const char *value)
Definition: ListFirewallRuleGroupAssociationsResult.h:84
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::WithFirewallRuleGroupAssociations
ListFirewallRuleGroupAssociationsResult & WithFirewallRuleGroupAssociations(const Aws::Vector< FirewallRuleGroupAssociation > &value)
Definition: ListFirewallRuleGroupAssociationsResult.h:113
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::SetFirewallRuleGroupAssociations
void SetFirewallRuleGroupAssociations(Aws::Vector< FirewallRuleGroupAssociation > &&value)
Definition: ListFirewallRuleGroupAssociationsResult.h:106
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::operator=
ListFirewallRuleGroupAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFirewallRuleGroupAssociationsResult.h:42
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::SetFirewallRuleGroupAssociations
void SetFirewallRuleGroupAssociations(const Aws::Vector< FirewallRuleGroupAssociation > &value)
Definition: ListFirewallRuleGroupAssociationsResult.h:99
Aws::Route53Resolver::Model::ListFirewallRuleGroupAssociationsResult::AddFirewallRuleGroupAssociations
ListFirewallRuleGroupAssociationsResult & AddFirewallRuleGroupAssociations(FirewallRuleGroupAssociation &&value)
Definition: ListFirewallRuleGroupAssociationsResult.h:134