AWS SDK for C++  1.9.109
AWS SDK for C++
GetAssociatedIpv6PoolCidrsResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::Vector<Ipv6CidrAssociation>& GetIpv6CidrAssociations() const{ return m_ipv6CidrAssociations; }
42 
46  inline void SetIpv6CidrAssociations(const Aws::Vector<Ipv6CidrAssociation>& value) { m_ipv6CidrAssociations = value; }
47 
51  inline void SetIpv6CidrAssociations(Aws::Vector<Ipv6CidrAssociation>&& value) { m_ipv6CidrAssociations = std::move(value); }
52 
56  inline GetAssociatedIpv6PoolCidrsResponse& WithIpv6CidrAssociations(const Aws::Vector<Ipv6CidrAssociation>& value) { SetIpv6CidrAssociations(value); return *this;}
57 
61  inline GetAssociatedIpv6PoolCidrsResponse& WithIpv6CidrAssociations(Aws::Vector<Ipv6CidrAssociation>&& value) { SetIpv6CidrAssociations(std::move(value)); return *this;}
62 
66  inline GetAssociatedIpv6PoolCidrsResponse& AddIpv6CidrAssociations(const Ipv6CidrAssociation& value) { m_ipv6CidrAssociations.push_back(value); return *this; }
67 
71  inline GetAssociatedIpv6PoolCidrsResponse& AddIpv6CidrAssociations(Ipv6CidrAssociation&& value) { m_ipv6CidrAssociations.push_back(std::move(value)); return *this; }
72 
73 
78  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 
84  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
85 
90  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
91 
96  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
97 
102  inline GetAssociatedIpv6PoolCidrsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 
108  inline GetAssociatedIpv6PoolCidrsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 
114  inline GetAssociatedIpv6PoolCidrsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
115 
116 
117 
118  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
119 
120 
121  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
122 
123 
124  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
125 
126 
127  inline GetAssociatedIpv6PoolCidrsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
128 
129 
130  inline GetAssociatedIpv6PoolCidrsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
131 
132  private:
133 
134  Aws::Vector<Ipv6CidrAssociation> m_ipv6CidrAssociations;
135 
136  Aws::String m_nextToken;
137 
138  ResponseMetadata m_responseMetadata;
139  };
140 
141 } // namespace Model
142 } // namespace EC2
143 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::GetAssociatedIpv6PoolCidrsResponse
GetAssociatedIpv6PoolCidrsResponse()
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetAssociatedIpv6PoolCidrsResponse.h:118
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::WithIpv6CidrAssociations
GetAssociatedIpv6PoolCidrsResponse & WithIpv6CidrAssociations(Aws::Vector< Ipv6CidrAssociation > &&value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:61
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::WithNextToken
GetAssociatedIpv6PoolCidrsResponse & WithNextToken(const char *value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:114
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetAssociatedIpv6PoolCidrsResponse.h:78
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::WithResponseMetadata
GetAssociatedIpv6PoolCidrsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:130
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::SetIpv6CidrAssociations
void SetIpv6CidrAssociations(const Aws::Vector< Ipv6CidrAssociation > &value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:46
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:124
ResponseMetadata.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::AddIpv6CidrAssociations
GetAssociatedIpv6PoolCidrsResponse & AddIpv6CidrAssociations(Ipv6CidrAssociation &&value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:71
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:84
AWSVector.h
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::SetIpv6CidrAssociations
void SetIpv6CidrAssociations(Aws::Vector< Ipv6CidrAssociation > &&value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:51
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:121
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::GetIpv6CidrAssociations
const Aws::Vector< Ipv6CidrAssociation > & GetIpv6CidrAssociations() const
Definition: GetAssociatedIpv6PoolCidrsResponse.h:41
Aws::EC2::Model::Ipv6CidrAssociation
Definition: Ipv6CidrAssociation.h:32
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:90
AWSString.h
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::WithIpv6CidrAssociations
GetAssociatedIpv6PoolCidrsResponse & WithIpv6CidrAssociations(const Aws::Vector< Ipv6CidrAssociation > &value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:56
Ipv6CidrAssociation.h
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::operator=
GetAssociatedIpv6PoolCidrsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::WithNextToken
GetAssociatedIpv6PoolCidrsResponse & WithNextToken(Aws::String &&value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::WithNextToken
GetAssociatedIpv6PoolCidrsResponse & WithNextToken(const Aws::String &value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:102
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::WithResponseMetadata
GetAssociatedIpv6PoolCidrsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::AddIpv6CidrAssociations
GetAssociatedIpv6PoolCidrsResponse & AddIpv6CidrAssociations(const Ipv6CidrAssociation &value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:66
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::SetNextToken
void SetNextToken(const char *value)
Definition: GetAssociatedIpv6PoolCidrsResponse.h:96
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse::GetAssociatedIpv6PoolCidrsResponse
GetAssociatedIpv6PoolCidrsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EC2_EXPORTS.h
Aws::EC2::Model::GetAssociatedIpv6PoolCidrsResponse
Definition: GetAssociatedIpv6PoolCidrsResponse.h:31