AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IpamPool.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/IpamScopeType.h>
11#include <aws/ec2/model/IpamPoolState.h>
12#include <aws/ec2/model/AddressFamily.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/IpamPoolAwsService.h>
15#include <aws/ec2/model/IpamPoolPublicIpSource.h>
16#include <aws/ec2/model/IpamPoolSourceResource.h>
17#include <aws/ec2/model/IpamResourceTag.h>
18#include <aws/ec2/model/Tag.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Xml
26{
27 class XmlNode;
28} // namespace Xml
29} // namespace Utils
30namespace EC2
31{
32namespace Model
33{
34
45 {
46 public:
47 AWS_EC2_API IpamPool();
48 AWS_EC2_API IpamPool(const Aws::Utils::Xml::XmlNode& xmlNode);
49 AWS_EC2_API IpamPool& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
50
51 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
52 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
53
54
56
59 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
60 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
61 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
62 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
63 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
64 inline IpamPool& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
65 inline IpamPool& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
66 inline IpamPool& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
68
70
73 inline const Aws::String& GetIpamPoolId() const{ return m_ipamPoolId; }
74 inline bool IpamPoolIdHasBeenSet() const { return m_ipamPoolIdHasBeenSet; }
75 inline void SetIpamPoolId(const Aws::String& value) { m_ipamPoolIdHasBeenSet = true; m_ipamPoolId = value; }
76 inline void SetIpamPoolId(Aws::String&& value) { m_ipamPoolIdHasBeenSet = true; m_ipamPoolId = std::move(value); }
77 inline void SetIpamPoolId(const char* value) { m_ipamPoolIdHasBeenSet = true; m_ipamPoolId.assign(value); }
78 inline IpamPool& WithIpamPoolId(const Aws::String& value) { SetIpamPoolId(value); return *this;}
79 inline IpamPool& WithIpamPoolId(Aws::String&& value) { SetIpamPoolId(std::move(value)); return *this;}
80 inline IpamPool& WithIpamPoolId(const char* value) { SetIpamPoolId(value); return *this;}
82
84
88 inline const Aws::String& GetSourceIpamPoolId() const{ return m_sourceIpamPoolId; }
89 inline bool SourceIpamPoolIdHasBeenSet() const { return m_sourceIpamPoolIdHasBeenSet; }
90 inline void SetSourceIpamPoolId(const Aws::String& value) { m_sourceIpamPoolIdHasBeenSet = true; m_sourceIpamPoolId = value; }
91 inline void SetSourceIpamPoolId(Aws::String&& value) { m_sourceIpamPoolIdHasBeenSet = true; m_sourceIpamPoolId = std::move(value); }
92 inline void SetSourceIpamPoolId(const char* value) { m_sourceIpamPoolIdHasBeenSet = true; m_sourceIpamPoolId.assign(value); }
93 inline IpamPool& WithSourceIpamPoolId(const Aws::String& value) { SetSourceIpamPoolId(value); return *this;}
94 inline IpamPool& WithSourceIpamPoolId(Aws::String&& value) { SetSourceIpamPoolId(std::move(value)); return *this;}
95 inline IpamPool& WithSourceIpamPoolId(const char* value) { SetSourceIpamPoolId(value); return *this;}
97
99
102 inline const Aws::String& GetIpamPoolArn() const{ return m_ipamPoolArn; }
103 inline bool IpamPoolArnHasBeenSet() const { return m_ipamPoolArnHasBeenSet; }
104 inline void SetIpamPoolArn(const Aws::String& value) { m_ipamPoolArnHasBeenSet = true; m_ipamPoolArn = value; }
105 inline void SetIpamPoolArn(Aws::String&& value) { m_ipamPoolArnHasBeenSet = true; m_ipamPoolArn = std::move(value); }
106 inline void SetIpamPoolArn(const char* value) { m_ipamPoolArnHasBeenSet = true; m_ipamPoolArn.assign(value); }
107 inline IpamPool& WithIpamPoolArn(const Aws::String& value) { SetIpamPoolArn(value); return *this;}
108 inline IpamPool& WithIpamPoolArn(Aws::String&& value) { SetIpamPoolArn(std::move(value)); return *this;}
109 inline IpamPool& WithIpamPoolArn(const char* value) { SetIpamPoolArn(value); return *this;}
111
113
116 inline const Aws::String& GetIpamScopeArn() const{ return m_ipamScopeArn; }
117 inline bool IpamScopeArnHasBeenSet() const { return m_ipamScopeArnHasBeenSet; }
118 inline void SetIpamScopeArn(const Aws::String& value) { m_ipamScopeArnHasBeenSet = true; m_ipamScopeArn = value; }
119 inline void SetIpamScopeArn(Aws::String&& value) { m_ipamScopeArnHasBeenSet = true; m_ipamScopeArn = std::move(value); }
120 inline void SetIpamScopeArn(const char* value) { m_ipamScopeArnHasBeenSet = true; m_ipamScopeArn.assign(value); }
121 inline IpamPool& WithIpamScopeArn(const Aws::String& value) { SetIpamScopeArn(value); return *this;}
122 inline IpamPool& WithIpamScopeArn(Aws::String&& value) { SetIpamScopeArn(std::move(value)); return *this;}
123 inline IpamPool& WithIpamScopeArn(const char* value) { SetIpamScopeArn(value); return *this;}
125
127
135 inline const IpamScopeType& GetIpamScopeType() const{ return m_ipamScopeType; }
136 inline bool IpamScopeTypeHasBeenSet() const { return m_ipamScopeTypeHasBeenSet; }
137 inline void SetIpamScopeType(const IpamScopeType& value) { m_ipamScopeTypeHasBeenSet = true; m_ipamScopeType = value; }
138 inline void SetIpamScopeType(IpamScopeType&& value) { m_ipamScopeTypeHasBeenSet = true; m_ipamScopeType = std::move(value); }
139 inline IpamPool& WithIpamScopeType(const IpamScopeType& value) { SetIpamScopeType(value); return *this;}
140 inline IpamPool& WithIpamScopeType(IpamScopeType&& value) { SetIpamScopeType(std::move(value)); return *this;}
142
144
147 inline const Aws::String& GetIpamArn() const{ return m_ipamArn; }
148 inline bool IpamArnHasBeenSet() const { return m_ipamArnHasBeenSet; }
149 inline void SetIpamArn(const Aws::String& value) { m_ipamArnHasBeenSet = true; m_ipamArn = value; }
150 inline void SetIpamArn(Aws::String&& value) { m_ipamArnHasBeenSet = true; m_ipamArn = std::move(value); }
151 inline void SetIpamArn(const char* value) { m_ipamArnHasBeenSet = true; m_ipamArn.assign(value); }
152 inline IpamPool& WithIpamArn(const Aws::String& value) { SetIpamArn(value); return *this;}
153 inline IpamPool& WithIpamArn(Aws::String&& value) { SetIpamArn(std::move(value)); return *this;}
154 inline IpamPool& WithIpamArn(const char* value) { SetIpamArn(value); return *this;}
156
158
161 inline const Aws::String& GetIpamRegion() const{ return m_ipamRegion; }
162 inline bool IpamRegionHasBeenSet() const { return m_ipamRegionHasBeenSet; }
163 inline void SetIpamRegion(const Aws::String& value) { m_ipamRegionHasBeenSet = true; m_ipamRegion = value; }
164 inline void SetIpamRegion(Aws::String&& value) { m_ipamRegionHasBeenSet = true; m_ipamRegion = std::move(value); }
165 inline void SetIpamRegion(const char* value) { m_ipamRegionHasBeenSet = true; m_ipamRegion.assign(value); }
166 inline IpamPool& WithIpamRegion(const Aws::String& value) { SetIpamRegion(value); return *this;}
167 inline IpamPool& WithIpamRegion(Aws::String&& value) { SetIpamRegion(std::move(value)); return *this;}
168 inline IpamPool& WithIpamRegion(const char* value) { SetIpamRegion(value); return *this;}
170
172
184 inline const Aws::String& GetLocale() const{ return m_locale; }
185 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
186 inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
187 inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
188 inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
189 inline IpamPool& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
190 inline IpamPool& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
191 inline IpamPool& WithLocale(const char* value) { SetLocale(value); return *this;}
193
195
201 inline int GetPoolDepth() const{ return m_poolDepth; }
202 inline bool PoolDepthHasBeenSet() const { return m_poolDepthHasBeenSet; }
203 inline void SetPoolDepth(int value) { m_poolDepthHasBeenSet = true; m_poolDepth = value; }
204 inline IpamPool& WithPoolDepth(int value) { SetPoolDepth(value); return *this;}
206
208
211 inline const IpamPoolState& GetState() const{ return m_state; }
212 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
213 inline void SetState(const IpamPoolState& value) { m_stateHasBeenSet = true; m_state = value; }
214 inline void SetState(IpamPoolState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
215 inline IpamPool& WithState(const IpamPoolState& value) { SetState(value); return *this;}
216 inline IpamPool& WithState(IpamPoolState&& value) { SetState(std::move(value)); return *this;}
218
220
223 inline const Aws::String& GetStateMessage() const{ return m_stateMessage; }
224 inline bool StateMessageHasBeenSet() const { return m_stateMessageHasBeenSet; }
225 inline void SetStateMessage(const Aws::String& value) { m_stateMessageHasBeenSet = true; m_stateMessage = value; }
226 inline void SetStateMessage(Aws::String&& value) { m_stateMessageHasBeenSet = true; m_stateMessage = std::move(value); }
227 inline void SetStateMessage(const char* value) { m_stateMessageHasBeenSet = true; m_stateMessage.assign(value); }
228 inline IpamPool& WithStateMessage(const Aws::String& value) { SetStateMessage(value); return *this;}
229 inline IpamPool& WithStateMessage(Aws::String&& value) { SetStateMessage(std::move(value)); return *this;}
230 inline IpamPool& WithStateMessage(const char* value) { SetStateMessage(value); return *this;}
232
234
237 inline const Aws::String& GetDescription() const{ return m_description; }
238 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
239 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
240 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
241 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
242 inline IpamPool& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
243 inline IpamPool& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
244 inline IpamPool& WithDescription(const char* value) { SetDescription(value); return *this;}
246
248
260 inline bool GetAutoImport() const{ return m_autoImport; }
261 inline bool AutoImportHasBeenSet() const { return m_autoImportHasBeenSet; }
262 inline void SetAutoImport(bool value) { m_autoImportHasBeenSet = true; m_autoImport = value; }
263 inline IpamPool& WithAutoImport(bool value) { SetAutoImport(value); return *this;}
265
267
271 inline bool GetPubliclyAdvertisable() const{ return m_publiclyAdvertisable; }
272 inline bool PubliclyAdvertisableHasBeenSet() const { return m_publiclyAdvertisableHasBeenSet; }
273 inline void SetPubliclyAdvertisable(bool value) { m_publiclyAdvertisableHasBeenSet = true; m_publiclyAdvertisable = value; }
274 inline IpamPool& WithPubliclyAdvertisable(bool value) { SetPubliclyAdvertisable(value); return *this;}
276
278
281 inline const AddressFamily& GetAddressFamily() const{ return m_addressFamily; }
282 inline bool AddressFamilyHasBeenSet() const { return m_addressFamilyHasBeenSet; }
283 inline void SetAddressFamily(const AddressFamily& value) { m_addressFamilyHasBeenSet = true; m_addressFamily = value; }
284 inline void SetAddressFamily(AddressFamily&& value) { m_addressFamilyHasBeenSet = true; m_addressFamily = std::move(value); }
285 inline IpamPool& WithAddressFamily(const AddressFamily& value) { SetAddressFamily(value); return *this;}
286 inline IpamPool& WithAddressFamily(AddressFamily&& value) { SetAddressFamily(std::move(value)); return *this;}
288
290
296 inline int GetAllocationMinNetmaskLength() const{ return m_allocationMinNetmaskLength; }
297 inline bool AllocationMinNetmaskLengthHasBeenSet() const { return m_allocationMinNetmaskLengthHasBeenSet; }
298 inline void SetAllocationMinNetmaskLength(int value) { m_allocationMinNetmaskLengthHasBeenSet = true; m_allocationMinNetmaskLength = value; }
301
303
309 inline int GetAllocationMaxNetmaskLength() const{ return m_allocationMaxNetmaskLength; }
310 inline bool AllocationMaxNetmaskLengthHasBeenSet() const { return m_allocationMaxNetmaskLengthHasBeenSet; }
311 inline void SetAllocationMaxNetmaskLength(int value) { m_allocationMaxNetmaskLengthHasBeenSet = true; m_allocationMaxNetmaskLength = value; }
314
316
321 inline int GetAllocationDefaultNetmaskLength() const{ return m_allocationDefaultNetmaskLength; }
322 inline bool AllocationDefaultNetmaskLengthHasBeenSet() const { return m_allocationDefaultNetmaskLengthHasBeenSet; }
323 inline void SetAllocationDefaultNetmaskLength(int value) { m_allocationDefaultNetmaskLengthHasBeenSet = true; m_allocationDefaultNetmaskLength = value; }
326
328
335 inline const Aws::Vector<IpamResourceTag>& GetAllocationResourceTags() const{ return m_allocationResourceTags; }
336 inline bool AllocationResourceTagsHasBeenSet() const { return m_allocationResourceTagsHasBeenSet; }
337 inline void SetAllocationResourceTags(const Aws::Vector<IpamResourceTag>& value) { m_allocationResourceTagsHasBeenSet = true; m_allocationResourceTags = value; }
338 inline void SetAllocationResourceTags(Aws::Vector<IpamResourceTag>&& value) { m_allocationResourceTagsHasBeenSet = true; m_allocationResourceTags = std::move(value); }
341 inline IpamPool& AddAllocationResourceTags(const IpamResourceTag& value) { m_allocationResourceTagsHasBeenSet = true; m_allocationResourceTags.push_back(value); return *this; }
342 inline IpamPool& AddAllocationResourceTags(IpamResourceTag&& value) { m_allocationResourceTagsHasBeenSet = true; m_allocationResourceTags.push_back(std::move(value)); return *this; }
344
346
353 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
354 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
355 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
356 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
357 inline IpamPool& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
358 inline IpamPool& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
359 inline IpamPool& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
360 inline IpamPool& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
362
364
369 inline const IpamPoolAwsService& GetAwsService() const{ return m_awsService; }
370 inline bool AwsServiceHasBeenSet() const { return m_awsServiceHasBeenSet; }
371 inline void SetAwsService(const IpamPoolAwsService& value) { m_awsServiceHasBeenSet = true; m_awsService = value; }
372 inline void SetAwsService(IpamPoolAwsService&& value) { m_awsServiceHasBeenSet = true; m_awsService = std::move(value); }
373 inline IpamPool& WithAwsService(const IpamPoolAwsService& value) { SetAwsService(value); return *this;}
374 inline IpamPool& WithAwsService(IpamPoolAwsService&& value) { SetAwsService(std::move(value)); return *this;}
376
378
389 inline const IpamPoolPublicIpSource& GetPublicIpSource() const{ return m_publicIpSource; }
390 inline bool PublicIpSourceHasBeenSet() const { return m_publicIpSourceHasBeenSet; }
391 inline void SetPublicIpSource(const IpamPoolPublicIpSource& value) { m_publicIpSourceHasBeenSet = true; m_publicIpSource = value; }
392 inline void SetPublicIpSource(IpamPoolPublicIpSource&& value) { m_publicIpSourceHasBeenSet = true; m_publicIpSource = std::move(value); }
393 inline IpamPool& WithPublicIpSource(const IpamPoolPublicIpSource& value) { SetPublicIpSource(value); return *this;}
394 inline IpamPool& WithPublicIpSource(IpamPoolPublicIpSource&& value) { SetPublicIpSource(std::move(value)); return *this;}
396
398
401 inline const IpamPoolSourceResource& GetSourceResource() const{ return m_sourceResource; }
402 inline bool SourceResourceHasBeenSet() const { return m_sourceResourceHasBeenSet; }
403 inline void SetSourceResource(const IpamPoolSourceResource& value) { m_sourceResourceHasBeenSet = true; m_sourceResource = value; }
404 inline void SetSourceResource(IpamPoolSourceResource&& value) { m_sourceResourceHasBeenSet = true; m_sourceResource = std::move(value); }
405 inline IpamPool& WithSourceResource(const IpamPoolSourceResource& value) { SetSourceResource(value); return *this;}
406 inline IpamPool& WithSourceResource(IpamPoolSourceResource&& value) { SetSourceResource(std::move(value)); return *this;}
408 private:
409
410 Aws::String m_ownerId;
411 bool m_ownerIdHasBeenSet = false;
412
413 Aws::String m_ipamPoolId;
414 bool m_ipamPoolIdHasBeenSet = false;
415
416 Aws::String m_sourceIpamPoolId;
417 bool m_sourceIpamPoolIdHasBeenSet = false;
418
419 Aws::String m_ipamPoolArn;
420 bool m_ipamPoolArnHasBeenSet = false;
421
422 Aws::String m_ipamScopeArn;
423 bool m_ipamScopeArnHasBeenSet = false;
424
425 IpamScopeType m_ipamScopeType;
426 bool m_ipamScopeTypeHasBeenSet = false;
427
428 Aws::String m_ipamArn;
429 bool m_ipamArnHasBeenSet = false;
430
431 Aws::String m_ipamRegion;
432 bool m_ipamRegionHasBeenSet = false;
433
434 Aws::String m_locale;
435 bool m_localeHasBeenSet = false;
436
437 int m_poolDepth;
438 bool m_poolDepthHasBeenSet = false;
439
440 IpamPoolState m_state;
441 bool m_stateHasBeenSet = false;
442
443 Aws::String m_stateMessage;
444 bool m_stateMessageHasBeenSet = false;
445
446 Aws::String m_description;
447 bool m_descriptionHasBeenSet = false;
448
449 bool m_autoImport;
450 bool m_autoImportHasBeenSet = false;
451
452 bool m_publiclyAdvertisable;
453 bool m_publiclyAdvertisableHasBeenSet = false;
454
455 AddressFamily m_addressFamily;
456 bool m_addressFamilyHasBeenSet = false;
457
458 int m_allocationMinNetmaskLength;
459 bool m_allocationMinNetmaskLengthHasBeenSet = false;
460
461 int m_allocationMaxNetmaskLength;
462 bool m_allocationMaxNetmaskLengthHasBeenSet = false;
463
464 int m_allocationDefaultNetmaskLength;
465 bool m_allocationDefaultNetmaskLengthHasBeenSet = false;
466
467 Aws::Vector<IpamResourceTag> m_allocationResourceTags;
468 bool m_allocationResourceTagsHasBeenSet = false;
469
470 Aws::Vector<Tag> m_tags;
471 bool m_tagsHasBeenSet = false;
472
473 IpamPoolAwsService m_awsService;
474 bool m_awsServiceHasBeenSet = false;
475
476 IpamPoolPublicIpSource m_publicIpSource;
477 bool m_publicIpSourceHasBeenSet = false;
478
479 IpamPoolSourceResource m_sourceResource;
480 bool m_sourceResourceHasBeenSet = false;
481 };
482
483} // namespace Model
484} // namespace EC2
485} // namespace Aws
IpamPool & WithOwnerId(Aws::String &&value)
Definition IpamPool.h:65
IpamPool & WithAddressFamily(AddressFamily &&value)
Definition IpamPool.h:286
IpamPool & WithIpamPoolArn(Aws::String &&value)
Definition IpamPool.h:108
IpamPool & WithPublicIpSource(IpamPoolPublicIpSource &&value)
Definition IpamPool.h:394
void SetAllocationMaxNetmaskLength(int value)
Definition IpamPool.h:311
const Aws::String & GetOwnerId() const
Definition IpamPool.h:59
void SetIpamRegion(Aws::String &&value)
Definition IpamPool.h:164
bool IpamPoolArnHasBeenSet() const
Definition IpamPool.h:103
const Aws::Vector< Tag > & GetTags() const
Definition IpamPool.h:353
bool AddressFamilyHasBeenSet() const
Definition IpamPool.h:282
const IpamScopeType & GetIpamScopeType() const
Definition IpamPool.h:135
void SetAllocationResourceTags(Aws::Vector< IpamResourceTag > &&value)
Definition IpamPool.h:338
bool IpamScopeTypeHasBeenSet() const
Definition IpamPool.h:136
IpamPool & AddAllocationResourceTags(const IpamResourceTag &value)
Definition IpamPool.h:341
IpamPool & WithStateMessage(const char *value)
Definition IpamPool.h:230
void SetIpamScopeType(IpamScopeType &&value)
Definition IpamPool.h:138
bool StateMessageHasBeenSet() const
Definition IpamPool.h:224
IpamPool & WithDescription(const char *value)
Definition IpamPool.h:244
const IpamPoolAwsService & GetAwsService() const
Definition IpamPool.h:369
bool GetPubliclyAdvertisable() const
Definition IpamPool.h:271
void SetIpamArn(Aws::String &&value)
Definition IpamPool.h:150
void SetPublicIpSource(IpamPoolPublicIpSource &&value)
Definition IpamPool.h:392
bool AllocationMaxNetmaskLengthHasBeenSet() const
Definition IpamPool.h:310
IpamPool & WithIpamRegion(const char *value)
Definition IpamPool.h:168
void SetAwsService(const IpamPoolAwsService &value)
Definition IpamPool.h:371
void SetIpamArn(const Aws::String &value)
Definition IpamPool.h:149
void SetAddressFamily(AddressFamily &&value)
Definition IpamPool.h:284
IpamPool & WithDescription(const Aws::String &value)
Definition IpamPool.h:242
bool PubliclyAdvertisableHasBeenSet() const
Definition IpamPool.h:272
bool PublicIpSourceHasBeenSet() const
Definition IpamPool.h:390
IpamPool & WithIpamPoolId(const Aws::String &value)
Definition IpamPool.h:78
void SetIpamScopeType(const IpamScopeType &value)
Definition IpamPool.h:137
IpamPool & WithPoolDepth(int value)
Definition IpamPool.h:204
void SetSourceIpamPoolId(const char *value)
Definition IpamPool.h:92
IpamPool & WithIpamPoolArn(const char *value)
Definition IpamPool.h:109
AWS_EC2_API IpamPool(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API IpamPool & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamPool & WithPubliclyAdvertisable(bool value)
Definition IpamPool.h:274
IpamPool & WithAutoImport(bool value)
Definition IpamPool.h:263
const Aws::String & GetSourceIpamPoolId() const
Definition IpamPool.h:88
const Aws::String & GetStateMessage() const
Definition IpamPool.h:223
void SetAllocationResourceTags(const Aws::Vector< IpamResourceTag > &value)
Definition IpamPool.h:337
IpamPool & WithSourceIpamPoolId(const char *value)
Definition IpamPool.h:95
IpamPool & WithLocale(const Aws::String &value)
Definition IpamPool.h:189
bool AllocationMinNetmaskLengthHasBeenSet() const
Definition IpamPool.h:297
IpamPool & WithAwsService(const IpamPoolAwsService &value)
Definition IpamPool.h:373
void SetIpamPoolId(Aws::String &&value)
Definition IpamPool.h:76
void SetStateMessage(const char *value)
Definition IpamPool.h:227
bool OwnerIdHasBeenSet() const
Definition IpamPool.h:60
bool SourceIpamPoolIdHasBeenSet() const
Definition IpamPool.h:89
void SetAutoImport(bool value)
Definition IpamPool.h:262
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDescription(const char *value)
Definition IpamPool.h:241
void SetPoolDepth(int value)
Definition IpamPool.h:203
bool PoolDepthHasBeenSet() const
Definition IpamPool.h:202
int GetAllocationMaxNetmaskLength() const
Definition IpamPool.h:309
void SetState(IpamPoolState &&value)
Definition IpamPool.h:214
void SetIpamPoolArn(const char *value)
Definition IpamPool.h:106
void SetSourceIpamPoolId(const Aws::String &value)
Definition IpamPool.h:90
void SetIpamPoolArn(const Aws::String &value)
Definition IpamPool.h:104
IpamPool & WithAllocationResourceTags(Aws::Vector< IpamResourceTag > &&value)
Definition IpamPool.h:340
const IpamPoolSourceResource & GetSourceResource() const
Definition IpamPool.h:401
bool DescriptionHasBeenSet() const
Definition IpamPool.h:238
void SetTags(Aws::Vector< Tag > &&value)
Definition IpamPool.h:356
IpamPool & WithIpamRegion(const Aws::String &value)
Definition IpamPool.h:166
void SetSourceResource(IpamPoolSourceResource &&value)
Definition IpamPool.h:404
void SetIpamPoolId(const Aws::String &value)
Definition IpamPool.h:75
IpamPool & WithSourceResource(IpamPoolSourceResource &&value)
Definition IpamPool.h:406
void SetOwnerId(const Aws::String &value)
Definition IpamPool.h:61
void SetAllocationDefaultNetmaskLength(int value)
Definition IpamPool.h:323
IpamPool & WithOwnerId(const Aws::String &value)
Definition IpamPool.h:64
IpamPool & WithLocale(const char *value)
Definition IpamPool.h:191
void SetOwnerId(const char *value)
Definition IpamPool.h:63
const IpamPoolState & GetState() const
Definition IpamPool.h:211
void SetLocale(Aws::String &&value)
Definition IpamPool.h:187
IpamPool & WithSourceIpamPoolId(const Aws::String &value)
Definition IpamPool.h:93
bool TagsHasBeenSet() const
Definition IpamPool.h:354
void SetSourceResource(const IpamPoolSourceResource &value)
Definition IpamPool.h:403
void SetIpamPoolId(const char *value)
Definition IpamPool.h:77
void SetAllocationMinNetmaskLength(int value)
Definition IpamPool.h:298
const Aws::String & GetIpamPoolArn() const
Definition IpamPool.h:102
void SetDescription(Aws::String &&value)
Definition IpamPool.h:240
IpamPool & WithTags(Aws::Vector< Tag > &&value)
Definition IpamPool.h:358
const Aws::String & GetLocale() const
Definition IpamPool.h:184
const IpamPoolPublicIpSource & GetPublicIpSource() const
Definition IpamPool.h:389
int GetAllocationDefaultNetmaskLength() const
Definition IpamPool.h:321
IpamPool & WithIpamPoolArn(const Aws::String &value)
Definition IpamPool.h:107
const Aws::String & GetDescription() const
Definition IpamPool.h:237
void SetTags(const Aws::Vector< Tag > &value)
Definition IpamPool.h:355
void SetSourceIpamPoolId(Aws::String &&value)
Definition IpamPool.h:91
IpamPool & WithPublicIpSource(const IpamPoolPublicIpSource &value)
Definition IpamPool.h:393
const Aws::String & GetIpamRegion() const
Definition IpamPool.h:161
bool IpamRegionHasBeenSet() const
Definition IpamPool.h:162
void SetStateMessage(const Aws::String &value)
Definition IpamPool.h:225
bool LocaleHasBeenSet() const
Definition IpamPool.h:185
IpamPool & WithIpamPoolId(Aws::String &&value)
Definition IpamPool.h:79
bool IpamScopeArnHasBeenSet() const
Definition IpamPool.h:117
IpamPool & WithAllocationDefaultNetmaskLength(int value)
Definition IpamPool.h:324
void SetAddressFamily(const AddressFamily &value)
Definition IpamPool.h:283
IpamPool & WithAddressFamily(const AddressFamily &value)
Definition IpamPool.h:285
void SetIpamArn(const char *value)
Definition IpamPool.h:151
void SetIpamRegion(const char *value)
Definition IpamPool.h:165
bool AwsServiceHasBeenSet() const
Definition IpamPool.h:370
IpamPool & WithAwsService(IpamPoolAwsService &&value)
Definition IpamPool.h:374
void SetPublicIpSource(const IpamPoolPublicIpSource &value)
Definition IpamPool.h:391
IpamPool & WithIpamArn(const char *value)
Definition IpamPool.h:154
void SetIpamScopeArn(const Aws::String &value)
Definition IpamPool.h:118
void SetState(const IpamPoolState &value)
Definition IpamPool.h:213
bool SourceResourceHasBeenSet() const
Definition IpamPool.h:402
const Aws::String & GetIpamPoolId() const
Definition IpamPool.h:73
const Aws::Vector< IpamResourceTag > & GetAllocationResourceTags() const
Definition IpamPool.h:335
IpamPool & AddTags(Tag &&value)
Definition IpamPool.h:360
IpamPool & WithSourceResource(const IpamPoolSourceResource &value)
Definition IpamPool.h:405
void SetOwnerId(Aws::String &&value)
Definition IpamPool.h:62
IpamPool & WithStateMessage(Aws::String &&value)
Definition IpamPool.h:229
IpamPool & WithIpamArn(Aws::String &&value)
Definition IpamPool.h:153
void SetDescription(const Aws::String &value)
Definition IpamPool.h:239
IpamPool & WithIpamPoolId(const char *value)
Definition IpamPool.h:80
IpamPool & WithStateMessage(const Aws::String &value)
Definition IpamPool.h:228
bool IpamPoolIdHasBeenSet() const
Definition IpamPool.h:74
IpamPool & WithDescription(Aws::String &&value)
Definition IpamPool.h:243
void SetIpamPoolArn(Aws::String &&value)
Definition IpamPool.h:105
IpamPool & WithIpamScopeArn(const Aws::String &value)
Definition IpamPool.h:121
bool AutoImportHasBeenSet() const
Definition IpamPool.h:261
int GetAllocationMinNetmaskLength() const
Definition IpamPool.h:296
const AddressFamily & GetAddressFamily() const
Definition IpamPool.h:281
IpamPool & WithState(IpamPoolState &&value)
Definition IpamPool.h:216
void SetAwsService(IpamPoolAwsService &&value)
Definition IpamPool.h:372
void SetPubliclyAdvertisable(bool value)
Definition IpamPool.h:273
IpamPool & WithState(const IpamPoolState &value)
Definition IpamPool.h:215
IpamPool & WithIpamScopeType(IpamScopeType &&value)
Definition IpamPool.h:140
IpamPool & WithIpamScopeType(const IpamScopeType &value)
Definition IpamPool.h:139
IpamPool & WithLocale(Aws::String &&value)
Definition IpamPool.h:190
IpamPool & WithIpamRegion(Aws::String &&value)
Definition IpamPool.h:167
const Aws::String & GetIpamScopeArn() const
Definition IpamPool.h:116
bool GetAutoImport() const
Definition IpamPool.h:260
IpamPool & WithTags(const Aws::Vector< Tag > &value)
Definition IpamPool.h:357
const Aws::String & GetIpamArn() const
Definition IpamPool.h:147
IpamPool & AddAllocationResourceTags(IpamResourceTag &&value)
Definition IpamPool.h:342
IpamPool & WithAllocationMaxNetmaskLength(int value)
Definition IpamPool.h:312
IpamPool & WithIpamArn(const Aws::String &value)
Definition IpamPool.h:152
void SetIpamRegion(const Aws::String &value)
Definition IpamPool.h:163
IpamPool & AddTags(const Tag &value)
Definition IpamPool.h:359
void SetIpamScopeArn(Aws::String &&value)
Definition IpamPool.h:119
bool IpamArnHasBeenSet() const
Definition IpamPool.h:148
void SetIpamScopeArn(const char *value)
Definition IpamPool.h:120
void SetStateMessage(Aws::String &&value)
Definition IpamPool.h:226
IpamPool & WithAllocationResourceTags(const Aws::Vector< IpamResourceTag > &value)
Definition IpamPool.h:339
IpamPool & WithIpamScopeArn(Aws::String &&value)
Definition IpamPool.h:122
IpamPool & WithIpamScopeArn(const char *value)
Definition IpamPool.h:123
IpamPool & WithSourceIpamPoolId(Aws::String &&value)
Definition IpamPool.h:94
IpamPool & WithOwnerId(const char *value)
Definition IpamPool.h:66
bool AllocationDefaultNetmaskLengthHasBeenSet() const
Definition IpamPool.h:322
bool StateHasBeenSet() const
Definition IpamPool.h:212
void SetLocale(const Aws::String &value)
Definition IpamPool.h:186
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
IpamPool & WithAllocationMinNetmaskLength(int value)
Definition IpamPool.h:299
bool AllocationResourceTagsHasBeenSet() const
Definition IpamPool.h:336
void SetLocale(const char *value)
Definition IpamPool.h:188
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream