AWS SDK for C++  1.9.68
AWS SDK for C++
AssignIpv6AddressesResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline const Aws::Vector<Aws::String>& GetAssignedIpv6Addresses() const{ return m_assignedIpv6Addresses; }
43 
49  inline void SetAssignedIpv6Addresses(const Aws::Vector<Aws::String>& value) { m_assignedIpv6Addresses = value; }
50 
56  inline void SetAssignedIpv6Addresses(Aws::Vector<Aws::String>&& value) { m_assignedIpv6Addresses = std::move(value); }
57 
63  inline AssignIpv6AddressesResponse& WithAssignedIpv6Addresses(const Aws::Vector<Aws::String>& value) { SetAssignedIpv6Addresses(value); return *this;}
64 
70  inline AssignIpv6AddressesResponse& WithAssignedIpv6Addresses(Aws::Vector<Aws::String>&& value) { SetAssignedIpv6Addresses(std::move(value)); return *this;}
71 
77  inline AssignIpv6AddressesResponse& AddAssignedIpv6Addresses(const Aws::String& value) { m_assignedIpv6Addresses.push_back(value); return *this; }
78 
84  inline AssignIpv6AddressesResponse& AddAssignedIpv6Addresses(Aws::String&& value) { m_assignedIpv6Addresses.push_back(std::move(value)); return *this; }
85 
91  inline AssignIpv6AddressesResponse& AddAssignedIpv6Addresses(const char* value) { m_assignedIpv6Addresses.push_back(value); return *this; }
92 
93 
98  inline const Aws::Vector<Aws::String>& GetAssignedIpv6Prefixes() const{ return m_assignedIpv6Prefixes; }
99 
104  inline void SetAssignedIpv6Prefixes(const Aws::Vector<Aws::String>& value) { m_assignedIpv6Prefixes = value; }
105 
110  inline void SetAssignedIpv6Prefixes(Aws::Vector<Aws::String>&& value) { m_assignedIpv6Prefixes = std::move(value); }
111 
116  inline AssignIpv6AddressesResponse& WithAssignedIpv6Prefixes(const Aws::Vector<Aws::String>& value) { SetAssignedIpv6Prefixes(value); return *this;}
117 
122  inline AssignIpv6AddressesResponse& WithAssignedIpv6Prefixes(Aws::Vector<Aws::String>&& value) { SetAssignedIpv6Prefixes(std::move(value)); return *this;}
123 
128  inline AssignIpv6AddressesResponse& AddAssignedIpv6Prefixes(const Aws::String& value) { m_assignedIpv6Prefixes.push_back(value); return *this; }
129 
134  inline AssignIpv6AddressesResponse& AddAssignedIpv6Prefixes(Aws::String&& value) { m_assignedIpv6Prefixes.push_back(std::move(value)); return *this; }
135 
140  inline AssignIpv6AddressesResponse& AddAssignedIpv6Prefixes(const char* value) { m_assignedIpv6Prefixes.push_back(value); return *this; }
141 
142 
146  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
147 
151  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; }
152 
156  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = std::move(value); }
157 
161  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); }
162 
166  inline AssignIpv6AddressesResponse& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
167 
171  inline AssignIpv6AddressesResponse& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
172 
176  inline AssignIpv6AddressesResponse& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
177 
178 
179 
180  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
181 
182 
183  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
184 
185 
186  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
187 
188 
189  inline AssignIpv6AddressesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
190 
191 
192  inline AssignIpv6AddressesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
193 
194  private:
195 
196  Aws::Vector<Aws::String> m_assignedIpv6Addresses;
197 
198  Aws::Vector<Aws::String> m_assignedIpv6Prefixes;
199 
200  Aws::String m_networkInterfaceId;
201 
202  ResponseMetadata m_responseMetadata;
203  };
204 
205 } // namespace Model
206 } // namespace EC2
207 } // namespace Aws
Aws::EC2::Model::AssignIpv6AddressesResponse::AssignIpv6AddressesResponse
AssignIpv6AddressesResponse()
Aws::EC2::Model::AssignIpv6AddressesResponse::WithResponseMetadata
AssignIpv6AddressesResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: AssignIpv6AddressesResponse.h:189
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::AssignIpv6AddressesResponse::SetAssignedIpv6Prefixes
void SetAssignedIpv6Prefixes(const Aws::Vector< Aws::String > &value)
Definition: AssignIpv6AddressesResponse.h:104
Aws::EC2::Model::AssignIpv6AddressesResponse::GetAssignedIpv6Addresses
const Aws::Vector< Aws::String > & GetAssignedIpv6Addresses() const
Definition: AssignIpv6AddressesResponse.h:42
Aws::EC2::Model::AssignIpv6AddressesResponse::operator=
AssignIpv6AddressesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::AssignIpv6AddressesResponse::AddAssignedIpv6Addresses
AssignIpv6AddressesResponse & AddAssignedIpv6Addresses(const char *value)
Definition: AssignIpv6AddressesResponse.h:91
Aws::EC2::Model::AssignIpv6AddressesResponse::SetAssignedIpv6Prefixes
void SetAssignedIpv6Prefixes(Aws::Vector< Aws::String > &&value)
Definition: AssignIpv6AddressesResponse.h:110
Aws::EC2::Model::AssignIpv6AddressesResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: AssignIpv6AddressesResponse.h:183
Aws::EC2::Model::AssignIpv6AddressesResponse::AddAssignedIpv6Addresses
AssignIpv6AddressesResponse & AddAssignedIpv6Addresses(Aws::String &&value)
Definition: AssignIpv6AddressesResponse.h:84
Aws::EC2::Model::AssignIpv6AddressesResponse::WithResponseMetadata
AssignIpv6AddressesResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: AssignIpv6AddressesResponse.h:192
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::AssignIpv6AddressesResponse::SetAssignedIpv6Addresses
void SetAssignedIpv6Addresses(const Aws::Vector< Aws::String > &value)
Definition: AssignIpv6AddressesResponse.h:49
Aws::EC2::Model::AssignIpv6AddressesResponse::AddAssignedIpv6Addresses
AssignIpv6AddressesResponse & AddAssignedIpv6Addresses(const Aws::String &value)
Definition: AssignIpv6AddressesResponse.h:77
Aws::EC2::Model::AssignIpv6AddressesResponse
Definition: AssignIpv6AddressesResponse.h:30
Aws::EC2::Model::AssignIpv6AddressesResponse::WithAssignedIpv6Prefixes
AssignIpv6AddressesResponse & WithAssignedIpv6Prefixes(Aws::Vector< Aws::String > &&value)
Definition: AssignIpv6AddressesResponse.h:122
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EC2::Model::AssignIpv6AddressesResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(const Aws::String &value)
Definition: AssignIpv6AddressesResponse.h:151
Aws::EC2::Model::AssignIpv6AddressesResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(Aws::String &&value)
Definition: AssignIpv6AddressesResponse.h:156
Aws::EC2::Model::AssignIpv6AddressesResponse::GetAssignedIpv6Prefixes
const Aws::Vector< Aws::String > & GetAssignedIpv6Prefixes() const
Definition: AssignIpv6AddressesResponse.h:98
Aws::EC2::Model::AssignIpv6AddressesResponse::WithAssignedIpv6Addresses
AssignIpv6AddressesResponse & WithAssignedIpv6Addresses(Aws::Vector< Aws::String > &&value)
Definition: AssignIpv6AddressesResponse.h:70
Aws::EC2::Model::AssignIpv6AddressesResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(const char *value)
Definition: AssignIpv6AddressesResponse.h:161
Aws::EC2::Model::AssignIpv6AddressesResponse::AddAssignedIpv6Prefixes
AssignIpv6AddressesResponse & AddAssignedIpv6Prefixes(Aws::String &&value)
Definition: AssignIpv6AddressesResponse.h:134
Aws::EC2::Model::AssignIpv6AddressesResponse::GetNetworkInterfaceId
const Aws::String & GetNetworkInterfaceId() const
Definition: AssignIpv6AddressesResponse.h:146
Aws::EC2::Model::AssignIpv6AddressesResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: AssignIpv6AddressesResponse.h:186
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::AssignIpv6AddressesResponse::WithAssignedIpv6Addresses
AssignIpv6AddressesResponse & WithAssignedIpv6Addresses(const Aws::Vector< Aws::String > &value)
Definition: AssignIpv6AddressesResponse.h:63
Aws::EC2::Model::AssignIpv6AddressesResponse::WithNetworkInterfaceId
AssignIpv6AddressesResponse & WithNetworkInterfaceId(const Aws::String &value)
Definition: AssignIpv6AddressesResponse.h:166
Aws::EC2::Model::AssignIpv6AddressesResponse::AddAssignedIpv6Prefixes
AssignIpv6AddressesResponse & AddAssignedIpv6Prefixes(const Aws::String &value)
Definition: AssignIpv6AddressesResponse.h:128
Aws::EC2::Model::AssignIpv6AddressesResponse::AddAssignedIpv6Prefixes
AssignIpv6AddressesResponse & AddAssignedIpv6Prefixes(const char *value)
Definition: AssignIpv6AddressesResponse.h:140
Aws::EC2::Model::AssignIpv6AddressesResponse::WithNetworkInterfaceId
AssignIpv6AddressesResponse & WithNetworkInterfaceId(Aws::String &&value)
Definition: AssignIpv6AddressesResponse.h:171
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AssignIpv6AddressesResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: AssignIpv6AddressesResponse.h:180
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::AssignIpv6AddressesResponse::SetAssignedIpv6Addresses
void SetAssignedIpv6Addresses(Aws::Vector< Aws::String > &&value)
Definition: AssignIpv6AddressesResponse.h:56
Aws::EC2::Model::AssignIpv6AddressesResponse::AssignIpv6AddressesResponse
AssignIpv6AddressesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EC2_EXPORTS.h
Aws::EC2::Model::AssignIpv6AddressesResponse::WithNetworkInterfaceId
AssignIpv6AddressesResponse & WithNetworkInterfaceId(const char *value)
Definition: AssignIpv6AddressesResponse.h:176
Aws::EC2::Model::AssignIpv6AddressesResponse::WithAssignedIpv6Prefixes
AssignIpv6AddressesResponse & WithAssignedIpv6Prefixes(const Aws::Vector< Aws::String > &value)
Definition: AssignIpv6AddressesResponse.h:116