AWS SDK for C++  1.9.69
AWS SDK for C++
AllocateAddressResponse.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 
40  inline const Aws::String& GetPublicIp() const{ return m_publicIp; }
41 
45  inline void SetPublicIp(const Aws::String& value) { m_publicIp = value; }
46 
50  inline void SetPublicIp(Aws::String&& value) { m_publicIp = std::move(value); }
51 
55  inline void SetPublicIp(const char* value) { m_publicIp.assign(value); }
56 
60  inline AllocateAddressResponse& WithPublicIp(const Aws::String& value) { SetPublicIp(value); return *this;}
61 
65  inline AllocateAddressResponse& WithPublicIp(Aws::String&& value) { SetPublicIp(std::move(value)); return *this;}
66 
70  inline AllocateAddressResponse& WithPublicIp(const char* value) { SetPublicIp(value); return *this;}
71 
72 
77  inline const Aws::String& GetAllocationId() const{ return m_allocationId; }
78 
83  inline void SetAllocationId(const Aws::String& value) { m_allocationId = value; }
84 
89  inline void SetAllocationId(Aws::String&& value) { m_allocationId = std::move(value); }
90 
95  inline void SetAllocationId(const char* value) { m_allocationId.assign(value); }
96 
101  inline AllocateAddressResponse& WithAllocationId(const Aws::String& value) { SetAllocationId(value); return *this;}
102 
107  inline AllocateAddressResponse& WithAllocationId(Aws::String&& value) { SetAllocationId(std::move(value)); return *this;}
108 
113  inline AllocateAddressResponse& WithAllocationId(const char* value) { SetAllocationId(value); return *this;}
114 
115 
119  inline const Aws::String& GetPublicIpv4Pool() const{ return m_publicIpv4Pool; }
120 
124  inline void SetPublicIpv4Pool(const Aws::String& value) { m_publicIpv4Pool = value; }
125 
129  inline void SetPublicIpv4Pool(Aws::String&& value) { m_publicIpv4Pool = std::move(value); }
130 
134  inline void SetPublicIpv4Pool(const char* value) { m_publicIpv4Pool.assign(value); }
135 
139  inline AllocateAddressResponse& WithPublicIpv4Pool(const Aws::String& value) { SetPublicIpv4Pool(value); return *this;}
140 
144  inline AllocateAddressResponse& WithPublicIpv4Pool(Aws::String&& value) { SetPublicIpv4Pool(std::move(value)); return *this;}
145 
149  inline AllocateAddressResponse& WithPublicIpv4Pool(const char* value) { SetPublicIpv4Pool(value); return *this;}
150 
151 
156  inline const Aws::String& GetNetworkBorderGroup() const{ return m_networkBorderGroup; }
157 
162  inline void SetNetworkBorderGroup(const Aws::String& value) { m_networkBorderGroup = value; }
163 
168  inline void SetNetworkBorderGroup(Aws::String&& value) { m_networkBorderGroup = std::move(value); }
169 
174  inline void SetNetworkBorderGroup(const char* value) { m_networkBorderGroup.assign(value); }
175 
180  inline AllocateAddressResponse& WithNetworkBorderGroup(const Aws::String& value) { SetNetworkBorderGroup(value); return *this;}
181 
186  inline AllocateAddressResponse& WithNetworkBorderGroup(Aws::String&& value) { SetNetworkBorderGroup(std::move(value)); return *this;}
187 
192  inline AllocateAddressResponse& WithNetworkBorderGroup(const char* value) { SetNetworkBorderGroup(value); return *this;}
193 
194 
199  inline const DomainType& GetDomain() const{ return m_domain; }
200 
205  inline void SetDomain(const DomainType& value) { m_domain = value; }
206 
211  inline void SetDomain(DomainType&& value) { m_domain = std::move(value); }
212 
217  inline AllocateAddressResponse& WithDomain(const DomainType& value) { SetDomain(value); return *this;}
218 
223  inline AllocateAddressResponse& WithDomain(DomainType&& value) { SetDomain(std::move(value)); return *this;}
224 
225 
229  inline const Aws::String& GetCustomerOwnedIp() const{ return m_customerOwnedIp; }
230 
234  inline void SetCustomerOwnedIp(const Aws::String& value) { m_customerOwnedIp = value; }
235 
239  inline void SetCustomerOwnedIp(Aws::String&& value) { m_customerOwnedIp = std::move(value); }
240 
244  inline void SetCustomerOwnedIp(const char* value) { m_customerOwnedIp.assign(value); }
245 
249  inline AllocateAddressResponse& WithCustomerOwnedIp(const Aws::String& value) { SetCustomerOwnedIp(value); return *this;}
250 
254  inline AllocateAddressResponse& WithCustomerOwnedIp(Aws::String&& value) { SetCustomerOwnedIp(std::move(value)); return *this;}
255 
259  inline AllocateAddressResponse& WithCustomerOwnedIp(const char* value) { SetCustomerOwnedIp(value); return *this;}
260 
261 
265  inline const Aws::String& GetCustomerOwnedIpv4Pool() const{ return m_customerOwnedIpv4Pool; }
266 
270  inline void SetCustomerOwnedIpv4Pool(const Aws::String& value) { m_customerOwnedIpv4Pool = value; }
271 
275  inline void SetCustomerOwnedIpv4Pool(Aws::String&& value) { m_customerOwnedIpv4Pool = std::move(value); }
276 
280  inline void SetCustomerOwnedIpv4Pool(const char* value) { m_customerOwnedIpv4Pool.assign(value); }
281 
285  inline AllocateAddressResponse& WithCustomerOwnedIpv4Pool(const Aws::String& value) { SetCustomerOwnedIpv4Pool(value); return *this;}
286 
290  inline AllocateAddressResponse& WithCustomerOwnedIpv4Pool(Aws::String&& value) { SetCustomerOwnedIpv4Pool(std::move(value)); return *this;}
291 
295  inline AllocateAddressResponse& WithCustomerOwnedIpv4Pool(const char* value) { SetCustomerOwnedIpv4Pool(value); return *this;}
296 
297 
303  inline const Aws::String& GetCarrierIp() const{ return m_carrierIp; }
304 
310  inline void SetCarrierIp(const Aws::String& value) { m_carrierIp = value; }
311 
317  inline void SetCarrierIp(Aws::String&& value) { m_carrierIp = std::move(value); }
318 
324  inline void SetCarrierIp(const char* value) { m_carrierIp.assign(value); }
325 
331  inline AllocateAddressResponse& WithCarrierIp(const Aws::String& value) { SetCarrierIp(value); return *this;}
332 
338  inline AllocateAddressResponse& WithCarrierIp(Aws::String&& value) { SetCarrierIp(std::move(value)); return *this;}
339 
345  inline AllocateAddressResponse& WithCarrierIp(const char* value) { SetCarrierIp(value); return *this;}
346 
347 
348 
349  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
350 
351 
352  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
353 
354 
355  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
356 
357 
358  inline AllocateAddressResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
359 
360 
361  inline AllocateAddressResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
362 
363  private:
364 
365  Aws::String m_publicIp;
366 
367  Aws::String m_allocationId;
368 
369  Aws::String m_publicIpv4Pool;
370 
371  Aws::String m_networkBorderGroup;
372 
373  DomainType m_domain;
374 
375  Aws::String m_customerOwnedIp;
376 
377  Aws::String m_customerOwnedIpv4Pool;
378 
379  Aws::String m_carrierIp;
380 
381  ResponseMetadata m_responseMetadata;
382  };
383 
384 } // namespace Model
385 } // namespace EC2
386 } // namespace Aws
Aws::EC2::Model::AllocateAddressResponse::WithPublicIp
AllocateAddressResponse & WithPublicIp(Aws::String &&value)
Definition: AllocateAddressResponse.h:65
Aws::EC2::Model::AllocateAddressResponse::SetNetworkBorderGroup
void SetNetworkBorderGroup(const Aws::String &value)
Definition: AllocateAddressResponse.h:162
Aws::EC2::Model::AllocateAddressResponse::WithPublicIpv4Pool
AllocateAddressResponse & WithPublicIpv4Pool(const Aws::String &value)
Definition: AllocateAddressResponse.h:139
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::AllocateAddressResponse::GetPublicIpv4Pool
const Aws::String & GetPublicIpv4Pool() const
Definition: AllocateAddressResponse.h:119
Aws::EC2::Model::AllocateAddressResponse::SetCustomerOwnedIpv4Pool
void SetCustomerOwnedIpv4Pool(const char *value)
Definition: AllocateAddressResponse.h:280
Aws::EC2::Model::AllocateAddressResponse::SetCustomerOwnedIp
void SetCustomerOwnedIp(const char *value)
Definition: AllocateAddressResponse.h:244
Aws::EC2::Model::DomainType
DomainType
Definition: DomainType.h:17
Aws::EC2::Model::AllocateAddressResponse::SetCarrierIp
void SetCarrierIp(Aws::String &&value)
Definition: AllocateAddressResponse.h:317
Aws::EC2::Model::AllocateAddressResponse::GetCustomerOwnedIpv4Pool
const Aws::String & GetCustomerOwnedIpv4Pool() const
Definition: AllocateAddressResponse.h:265
Aws::EC2::Model::AllocateAddressResponse::WithNetworkBorderGroup
AllocateAddressResponse & WithNetworkBorderGroup(const Aws::String &value)
Definition: AllocateAddressResponse.h:180
Aws::EC2::Model::AllocateAddressResponse::WithPublicIpv4Pool
AllocateAddressResponse & WithPublicIpv4Pool(const char *value)
Definition: AllocateAddressResponse.h:149
Aws::EC2::Model::AllocateAddressResponse::WithCustomerOwnedIp
AllocateAddressResponse & WithCustomerOwnedIp(const char *value)
Definition: AllocateAddressResponse.h:259
Aws::EC2::Model::AllocateAddressResponse::WithCustomerOwnedIpv4Pool
AllocateAddressResponse & WithCustomerOwnedIpv4Pool(Aws::String &&value)
Definition: AllocateAddressResponse.h:290
Aws::EC2::Model::AllocateAddressResponse::WithCustomerOwnedIpv4Pool
AllocateAddressResponse & WithCustomerOwnedIpv4Pool(const Aws::String &value)
Definition: AllocateAddressResponse.h:285
Aws::EC2::Model::AllocateAddressResponse::WithAllocationId
AllocateAddressResponse & WithAllocationId(const Aws::String &value)
Definition: AllocateAddressResponse.h:101
Aws::EC2::Model::AllocateAddressResponse::WithResponseMetadata
AllocateAddressResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: AllocateAddressResponse.h:361
Aws::EC2::Model::AllocateAddressResponse::GetNetworkBorderGroup
const Aws::String & GetNetworkBorderGroup() const
Definition: AllocateAddressResponse.h:156
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::AllocateAddressResponse::WithDomain
AllocateAddressResponse & WithDomain(DomainType &&value)
Definition: AllocateAddressResponse.h:223
ResponseMetadata.h
Aws::EC2::Model::AllocateAddressResponse::AllocateAddressResponse
AllocateAddressResponse()
Aws::EC2::Model::AllocateAddressResponse::WithAllocationId
AllocateAddressResponse & WithAllocationId(Aws::String &&value)
Definition: AllocateAddressResponse.h:107
Aws::EC2::Model::AllocateAddressResponse::SetCustomerOwnedIp
void SetCustomerOwnedIp(Aws::String &&value)
Definition: AllocateAddressResponse.h:239
Aws::EC2::Model::AllocateAddressResponse::SetNetworkBorderGroup
void SetNetworkBorderGroup(Aws::String &&value)
Definition: AllocateAddressResponse.h:168
Aws::EC2::Model::AllocateAddressResponse::SetCustomerOwnedIp
void SetCustomerOwnedIp(const Aws::String &value)
Definition: AllocateAddressResponse.h:234
Aws::EC2::Model::AllocateAddressResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: AllocateAddressResponse.h:355
Aws::EC2::Model::AllocateAddressResponse::SetDomain
void SetDomain(const DomainType &value)
Definition: AllocateAddressResponse.h:205
Aws::EC2::Model::AllocateAddressResponse::WithCarrierIp
AllocateAddressResponse & WithCarrierIp(Aws::String &&value)
Definition: AllocateAddressResponse.h:338
Aws::EC2::Model::AllocateAddressResponse::WithCustomerOwnedIp
AllocateAddressResponse & WithCustomerOwnedIp(const Aws::String &value)
Definition: AllocateAddressResponse.h:249
Aws::EC2::Model::AllocateAddressResponse::SetPublicIpv4Pool
void SetPublicIpv4Pool(Aws::String &&value)
Definition: AllocateAddressResponse.h:129
Aws::EC2::Model::AllocateAddressResponse::WithPublicIp
AllocateAddressResponse & WithPublicIp(const Aws::String &value)
Definition: AllocateAddressResponse.h:60
Aws::EC2::Model::AllocateAddressResponse::WithCustomerOwnedIp
AllocateAddressResponse & WithCustomerOwnedIp(Aws::String &&value)
Definition: AllocateAddressResponse.h:254
Aws::EC2::Model::AllocateAddressResponse::SetPublicIpv4Pool
void SetPublicIpv4Pool(const char *value)
Definition: AllocateAddressResponse.h:134
Aws::EC2::Model::AllocateAddressResponse::SetAllocationId
void SetAllocationId(const Aws::String &value)
Definition: AllocateAddressResponse.h:83
Aws::EC2::Model::AllocateAddressResponse::SetCarrierIp
void SetCarrierIp(const char *value)
Definition: AllocateAddressResponse.h:324
Aws::EC2::Model::AllocateAddressResponse::GetPublicIp
const Aws::String & GetPublicIp() const
Definition: AllocateAddressResponse.h:40
DomainType.h
Aws::EC2::Model::AllocateAddressResponse::GetAllocationId
const Aws::String & GetAllocationId() const
Definition: AllocateAddressResponse.h:77
Aws::EC2::Model::AllocateAddressResponse::WithNetworkBorderGroup
AllocateAddressResponse & WithNetworkBorderGroup(Aws::String &&value)
Definition: AllocateAddressResponse.h:186
Aws::EC2::Model::AllocateAddressResponse::SetNetworkBorderGroup
void SetNetworkBorderGroup(const char *value)
Definition: AllocateAddressResponse.h:174
Aws::EC2::Model::AllocateAddressResponse::SetPublicIp
void SetPublicIp(Aws::String &&value)
Definition: AllocateAddressResponse.h:50
Aws::EC2::Model::AllocateAddressResponse::SetDomain
void SetDomain(DomainType &&value)
Definition: AllocateAddressResponse.h:211
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::AllocateAddressResponse::WithPublicIpv4Pool
AllocateAddressResponse & WithPublicIpv4Pool(Aws::String &&value)
Definition: AllocateAddressResponse.h:144
AWSString.h
Aws::EC2::Model::AllocateAddressResponse::SetCustomerOwnedIpv4Pool
void SetCustomerOwnedIpv4Pool(const Aws::String &value)
Definition: AllocateAddressResponse.h:270
Aws::EC2::Model::AllocateAddressResponse::SetAllocationId
void SetAllocationId(const char *value)
Definition: AllocateAddressResponse.h:95
Aws::EC2::Model::AllocateAddressResponse::WithResponseMetadata
AllocateAddressResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: AllocateAddressResponse.h:358
Aws::EC2::Model::AllocateAddressResponse::GetDomain
const DomainType & GetDomain() const
Definition: AllocateAddressResponse.h:199
Aws::EC2::Model::AllocateAddressResponse::WithAllocationId
AllocateAddressResponse & WithAllocationId(const char *value)
Definition: AllocateAddressResponse.h:113
Aws::EC2::Model::AllocateAddressResponse::SetCarrierIp
void SetCarrierIp(const Aws::String &value)
Definition: AllocateAddressResponse.h:310
Aws::EC2::Model::AllocateAddressResponse::operator=
AllocateAddressResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::AllocateAddressResponse::WithCustomerOwnedIpv4Pool
AllocateAddressResponse & WithCustomerOwnedIpv4Pool(const char *value)
Definition: AllocateAddressResponse.h:295
Aws::EC2::Model::AllocateAddressResponse::SetPublicIpv4Pool
void SetPublicIpv4Pool(const Aws::String &value)
Definition: AllocateAddressResponse.h:124
Aws::EC2::Model::AllocateAddressResponse::WithNetworkBorderGroup
AllocateAddressResponse & WithNetworkBorderGroup(const char *value)
Definition: AllocateAddressResponse.h:192
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AllocateAddressResponse
Definition: AllocateAddressResponse.h:30
Aws::EC2::Model::AllocateAddressResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: AllocateAddressResponse.h:352
Aws::EC2::Model::AllocateAddressResponse::WithCarrierIp
AllocateAddressResponse & WithCarrierIp(const Aws::String &value)
Definition: AllocateAddressResponse.h:331
Aws::EC2::Model::AllocateAddressResponse::AllocateAddressResponse
AllocateAddressResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::AllocateAddressResponse::WithCarrierIp
AllocateAddressResponse & WithCarrierIp(const char *value)
Definition: AllocateAddressResponse.h:345
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::AllocateAddressResponse::SetCustomerOwnedIpv4Pool
void SetCustomerOwnedIpv4Pool(Aws::String &&value)
Definition: AllocateAddressResponse.h:275
Aws::EC2::Model::AllocateAddressResponse::GetCarrierIp
const Aws::String & GetCarrierIp() const
Definition: AllocateAddressResponse.h:303
Aws::EC2::Model::AllocateAddressResponse::WithPublicIp
AllocateAddressResponse & WithPublicIp(const char *value)
Definition: AllocateAddressResponse.h:70
Aws::EC2::Model::AllocateAddressResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: AllocateAddressResponse.h:349
Aws::EC2::Model::AllocateAddressResponse::SetPublicIp
void SetPublicIp(const char *value)
Definition: AllocateAddressResponse.h:55
Aws::EC2::Model::AllocateAddressResponse::SetPublicIp
void SetPublicIp(const Aws::String &value)
Definition: AllocateAddressResponse.h:45
EC2_EXPORTS.h
Aws::EC2::Model::AllocateAddressResponse::SetAllocationId
void SetAllocationId(Aws::String &&value)
Definition: AllocateAddressResponse.h:89
Aws::EC2::Model::AllocateAddressResponse::GetCustomerOwnedIp
const Aws::String & GetCustomerOwnedIp() const
Definition: AllocateAddressResponse.h:229
Aws::EC2::Model::AllocateAddressResponse::WithDomain
AllocateAddressResponse & WithDomain(const DomainType &value)
Definition: AllocateAddressResponse.h:217