AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Subnet.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/BlockPublicAccessStates.h>
12#include <aws/ec2/model/PrivateDnsNameOptionsOnLaunch.h>
13#include <aws/ec2/model/SubnetIpv6CidrBlockAssociation.h>
14#include <aws/ec2/model/SubnetState.h>
15#include <aws/ec2/model/Tag.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Xml {
22class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace EC2 {
26namespace Model {
27
33class Subnet {
34 public:
35 AWS_EC2_API Subnet() = default;
36 AWS_EC2_API Subnet(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_EC2_API Subnet& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
43
46 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
47 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
48 template <typename AvailabilityZoneIdT = Aws::String>
49 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) {
50 m_availabilityZoneIdHasBeenSet = true;
51 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
52 }
53 template <typename AvailabilityZoneIdT = Aws::String>
54 Subnet& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) {
55 SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value));
56 return *this;
57 }
59
61
66 inline int GetEnableLniAtDeviceIndex() const { return m_enableLniAtDeviceIndex; }
67 inline bool EnableLniAtDeviceIndexHasBeenSet() const { return m_enableLniAtDeviceIndexHasBeenSet; }
68 inline void SetEnableLniAtDeviceIndex(int value) {
69 m_enableLniAtDeviceIndexHasBeenSet = true;
70 m_enableLniAtDeviceIndex = value;
71 }
74 return *this;
75 }
77
79
84 inline bool GetMapCustomerOwnedIpOnLaunch() const { return m_mapCustomerOwnedIpOnLaunch; }
85 inline bool MapCustomerOwnedIpOnLaunchHasBeenSet() const { return m_mapCustomerOwnedIpOnLaunchHasBeenSet; }
86 inline void SetMapCustomerOwnedIpOnLaunch(bool value) {
87 m_mapCustomerOwnedIpOnLaunchHasBeenSet = true;
88 m_mapCustomerOwnedIpOnLaunch = value;
89 }
92 return *this;
93 }
95
97
100 inline const Aws::String& GetCustomerOwnedIpv4Pool() const { return m_customerOwnedIpv4Pool; }
101 inline bool CustomerOwnedIpv4PoolHasBeenSet() const { return m_customerOwnedIpv4PoolHasBeenSet; }
102 template <typename CustomerOwnedIpv4PoolT = Aws::String>
103 void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT&& value) {
104 m_customerOwnedIpv4PoolHasBeenSet = true;
105 m_customerOwnedIpv4Pool = std::forward<CustomerOwnedIpv4PoolT>(value);
106 }
107 template <typename CustomerOwnedIpv4PoolT = Aws::String>
108 Subnet& WithCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT&& value) {
109 SetCustomerOwnedIpv4Pool(std::forward<CustomerOwnedIpv4PoolT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
119 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
120 template <typename OwnerIdT = Aws::String>
121 void SetOwnerId(OwnerIdT&& value) {
122 m_ownerIdHasBeenSet = true;
123 m_ownerId = std::forward<OwnerIdT>(value);
124 }
125 template <typename OwnerIdT = Aws::String>
126 Subnet& WithOwnerId(OwnerIdT&& value) {
127 SetOwnerId(std::forward<OwnerIdT>(value));
128 return *this;
129 }
131
133
137 inline bool GetAssignIpv6AddressOnCreation() const { return m_assignIpv6AddressOnCreation; }
138 inline bool AssignIpv6AddressOnCreationHasBeenSet() const { return m_assignIpv6AddressOnCreationHasBeenSet; }
139 inline void SetAssignIpv6AddressOnCreation(bool value) {
140 m_assignIpv6AddressOnCreationHasBeenSet = true;
141 m_assignIpv6AddressOnCreation = value;
142 }
145 return *this;
146 }
148
150
153 inline const Aws::Vector<SubnetIpv6CidrBlockAssociation>& GetIpv6CidrBlockAssociationSet() const { return m_ipv6CidrBlockAssociationSet; }
154 inline bool Ipv6CidrBlockAssociationSetHasBeenSet() const { return m_ipv6CidrBlockAssociationSetHasBeenSet; }
155 template <typename Ipv6CidrBlockAssociationSetT = Aws::Vector<SubnetIpv6CidrBlockAssociation>>
156 void SetIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT&& value) {
157 m_ipv6CidrBlockAssociationSetHasBeenSet = true;
158 m_ipv6CidrBlockAssociationSet = std::forward<Ipv6CidrBlockAssociationSetT>(value);
159 }
160 template <typename Ipv6CidrBlockAssociationSetT = Aws::Vector<SubnetIpv6CidrBlockAssociation>>
161 Subnet& WithIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT&& value) {
162 SetIpv6CidrBlockAssociationSet(std::forward<Ipv6CidrBlockAssociationSetT>(value));
163 return *this;
164 }
165 template <typename Ipv6CidrBlockAssociationSetT = SubnetIpv6CidrBlockAssociation>
166 Subnet& AddIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT&& value) {
167 m_ipv6CidrBlockAssociationSetHasBeenSet = true;
168 m_ipv6CidrBlockAssociationSet.emplace_back(std::forward<Ipv6CidrBlockAssociationSetT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
178 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
179 template <typename TagsT = Aws::Vector<Tag>>
180 void SetTags(TagsT&& value) {
181 m_tagsHasBeenSet = true;
182 m_tags = std::forward<TagsT>(value);
183 }
184 template <typename TagsT = Aws::Vector<Tag>>
185 Subnet& WithTags(TagsT&& value) {
186 SetTags(std::forward<TagsT>(value));
187 return *this;
188 }
189 template <typename TagsT = Tag>
190 Subnet& AddTags(TagsT&& value) {
191 m_tagsHasBeenSet = true;
192 m_tags.emplace_back(std::forward<TagsT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetSubnetArn() const { return m_subnetArn; }
202 inline bool SubnetArnHasBeenSet() const { return m_subnetArnHasBeenSet; }
203 template <typename SubnetArnT = Aws::String>
204 void SetSubnetArn(SubnetArnT&& value) {
205 m_subnetArnHasBeenSet = true;
206 m_subnetArn = std::forward<SubnetArnT>(value);
207 }
208 template <typename SubnetArnT = Aws::String>
209 Subnet& WithSubnetArn(SubnetArnT&& value) {
210 SetSubnetArn(std::forward<SubnetArnT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::String& GetOutpostArn() const { return m_outpostArn; }
220 inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
221 template <typename OutpostArnT = Aws::String>
222 void SetOutpostArn(OutpostArnT&& value) {
223 m_outpostArnHasBeenSet = true;
224 m_outpostArn = std::forward<OutpostArnT>(value);
225 }
226 template <typename OutpostArnT = Aws::String>
227 Subnet& WithOutpostArn(OutpostArnT&& value) {
228 SetOutpostArn(std::forward<OutpostArnT>(value));
229 return *this;
230 }
232
234
239 inline bool GetEnableDns64() const { return m_enableDns64; }
240 inline bool EnableDns64HasBeenSet() const { return m_enableDns64HasBeenSet; }
241 inline void SetEnableDns64(bool value) {
242 m_enableDns64HasBeenSet = true;
243 m_enableDns64 = value;
244 }
245 inline Subnet& WithEnableDns64(bool value) {
246 SetEnableDns64(value);
247 return *this;
248 }
250
252
255 inline bool GetIpv6Native() const { return m_ipv6Native; }
256 inline bool Ipv6NativeHasBeenSet() const { return m_ipv6NativeHasBeenSet; }
257 inline void SetIpv6Native(bool value) {
258 m_ipv6NativeHasBeenSet = true;
259 m_ipv6Native = value;
260 }
261 inline Subnet& WithIpv6Native(bool value) {
262 SetIpv6Native(value);
263 return *this;
264 }
266
268
272 inline const PrivateDnsNameOptionsOnLaunch& GetPrivateDnsNameOptionsOnLaunch() const { return m_privateDnsNameOptionsOnLaunch; }
273 inline bool PrivateDnsNameOptionsOnLaunchHasBeenSet() const { return m_privateDnsNameOptionsOnLaunchHasBeenSet; }
274 template <typename PrivateDnsNameOptionsOnLaunchT = PrivateDnsNameOptionsOnLaunch>
275 void SetPrivateDnsNameOptionsOnLaunch(PrivateDnsNameOptionsOnLaunchT&& value) {
276 m_privateDnsNameOptionsOnLaunchHasBeenSet = true;
277 m_privateDnsNameOptionsOnLaunch = std::forward<PrivateDnsNameOptionsOnLaunchT>(value);
278 }
279 template <typename PrivateDnsNameOptionsOnLaunchT = PrivateDnsNameOptionsOnLaunch>
280 Subnet& WithPrivateDnsNameOptionsOnLaunch(PrivateDnsNameOptionsOnLaunchT&& value) {
281 SetPrivateDnsNameOptionsOnLaunch(std::forward<PrivateDnsNameOptionsOnLaunchT>(value));
282 return *this;
283 }
285
287
290 inline const BlockPublicAccessStates& GetBlockPublicAccessStates() const { return m_blockPublicAccessStates; }
291 inline bool BlockPublicAccessStatesHasBeenSet() const { return m_blockPublicAccessStatesHasBeenSet; }
292 template <typename BlockPublicAccessStatesT = BlockPublicAccessStates>
293 void SetBlockPublicAccessStates(BlockPublicAccessStatesT&& value) {
294 m_blockPublicAccessStatesHasBeenSet = true;
295 m_blockPublicAccessStates = std::forward<BlockPublicAccessStatesT>(value);
296 }
297 template <typename BlockPublicAccessStatesT = BlockPublicAccessStates>
298 Subnet& WithBlockPublicAccessStates(BlockPublicAccessStatesT&& value) {
299 SetBlockPublicAccessStates(std::forward<BlockPublicAccessStatesT>(value));
300 return *this;
301 }
303
305
312 inline const Aws::String& GetType() const { return m_type; }
313 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
314 template <typename TypeT = Aws::String>
315 void SetType(TypeT&& value) {
316 m_typeHasBeenSet = true;
317 m_type = std::forward<TypeT>(value);
318 }
319 template <typename TypeT = Aws::String>
320 Subnet& WithType(TypeT&& value) {
321 SetType(std::forward<TypeT>(value));
322 return *this;
323 }
325
327
330 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
331 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
332 template <typename SubnetIdT = Aws::String>
333 void SetSubnetId(SubnetIdT&& value) {
334 m_subnetIdHasBeenSet = true;
335 m_subnetId = std::forward<SubnetIdT>(value);
336 }
337 template <typename SubnetIdT = Aws::String>
338 Subnet& WithSubnetId(SubnetIdT&& value) {
339 SetSubnetId(std::forward<SubnetIdT>(value));
340 return *this;
341 }
343
345
352 inline SubnetState GetState() const { return m_state; }
353 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
354 inline void SetState(SubnetState value) {
355 m_stateHasBeenSet = true;
356 m_state = value;
357 }
358 inline Subnet& WithState(SubnetState value) {
359 SetState(value);
360 return *this;
361 }
363
365
368 inline const Aws::String& GetVpcId() const { return m_vpcId; }
369 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
370 template <typename VpcIdT = Aws::String>
371 void SetVpcId(VpcIdT&& value) {
372 m_vpcIdHasBeenSet = true;
373 m_vpcId = std::forward<VpcIdT>(value);
374 }
375 template <typename VpcIdT = Aws::String>
376 Subnet& WithVpcId(VpcIdT&& value) {
377 SetVpcId(std::forward<VpcIdT>(value));
378 return *this;
379 }
381
383
386 inline const Aws::String& GetCidrBlock() const { return m_cidrBlock; }
387 inline bool CidrBlockHasBeenSet() const { return m_cidrBlockHasBeenSet; }
388 template <typename CidrBlockT = Aws::String>
389 void SetCidrBlock(CidrBlockT&& value) {
390 m_cidrBlockHasBeenSet = true;
391 m_cidrBlock = std::forward<CidrBlockT>(value);
392 }
393 template <typename CidrBlockT = Aws::String>
394 Subnet& WithCidrBlock(CidrBlockT&& value) {
395 SetCidrBlock(std::forward<CidrBlockT>(value));
396 return *this;
397 }
399
401
405 inline int GetAvailableIpAddressCount() const { return m_availableIpAddressCount; }
406 inline bool AvailableIpAddressCountHasBeenSet() const { return m_availableIpAddressCountHasBeenSet; }
407 inline void SetAvailableIpAddressCount(int value) {
408 m_availableIpAddressCountHasBeenSet = true;
409 m_availableIpAddressCount = value;
410 }
413 return *this;
414 }
416
418
421 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
422 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
423 template <typename AvailabilityZoneT = Aws::String>
424 void SetAvailabilityZone(AvailabilityZoneT&& value) {
425 m_availabilityZoneHasBeenSet = true;
426 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
427 }
428 template <typename AvailabilityZoneT = Aws::String>
429 Subnet& WithAvailabilityZone(AvailabilityZoneT&& value) {
430 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
431 return *this;
432 }
434
436
439 inline bool GetDefaultForAz() const { return m_defaultForAz; }
440 inline bool DefaultForAzHasBeenSet() const { return m_defaultForAzHasBeenSet; }
441 inline void SetDefaultForAz(bool value) {
442 m_defaultForAzHasBeenSet = true;
443 m_defaultForAz = value;
444 }
445 inline Subnet& WithDefaultForAz(bool value) {
446 SetDefaultForAz(value);
447 return *this;
448 }
450
452
459 inline bool GetMapPublicIpOnLaunch() const { return m_mapPublicIpOnLaunch; }
460 inline bool MapPublicIpOnLaunchHasBeenSet() const { return m_mapPublicIpOnLaunchHasBeenSet; }
461 inline void SetMapPublicIpOnLaunch(bool value) {
462 m_mapPublicIpOnLaunchHasBeenSet = true;
463 m_mapPublicIpOnLaunch = value;
464 }
465 inline Subnet& WithMapPublicIpOnLaunch(bool value) {
467 return *this;
468 }
470 private:
471 Aws::String m_availabilityZoneId;
472
473 int m_enableLniAtDeviceIndex{0};
474
475 bool m_mapCustomerOwnedIpOnLaunch{false};
476
477 Aws::String m_customerOwnedIpv4Pool;
478
479 Aws::String m_ownerId;
480
481 bool m_assignIpv6AddressOnCreation{false};
482
483 Aws::Vector<SubnetIpv6CidrBlockAssociation> m_ipv6CidrBlockAssociationSet;
484
485 Aws::Vector<Tag> m_tags;
486
487 Aws::String m_subnetArn;
488
489 Aws::String m_outpostArn;
490
491 bool m_enableDns64{false};
492
493 bool m_ipv6Native{false};
494
495 PrivateDnsNameOptionsOnLaunch m_privateDnsNameOptionsOnLaunch;
496
497 BlockPublicAccessStates m_blockPublicAccessStates;
498
499 Aws::String m_type;
500
501 Aws::String m_subnetId;
502
504
505 Aws::String m_vpcId;
506
507 Aws::String m_cidrBlock;
508
509 int m_availableIpAddressCount{0};
510
511 Aws::String m_availabilityZone;
512
513 bool m_defaultForAz{false};
514
515 bool m_mapPublicIpOnLaunch{false};
516 bool m_availabilityZoneIdHasBeenSet = false;
517 bool m_enableLniAtDeviceIndexHasBeenSet = false;
518 bool m_mapCustomerOwnedIpOnLaunchHasBeenSet = false;
519 bool m_customerOwnedIpv4PoolHasBeenSet = false;
520 bool m_ownerIdHasBeenSet = false;
521 bool m_assignIpv6AddressOnCreationHasBeenSet = false;
522 bool m_ipv6CidrBlockAssociationSetHasBeenSet = false;
523 bool m_tagsHasBeenSet = false;
524 bool m_subnetArnHasBeenSet = false;
525 bool m_outpostArnHasBeenSet = false;
526 bool m_enableDns64HasBeenSet = false;
527 bool m_ipv6NativeHasBeenSet = false;
528 bool m_privateDnsNameOptionsOnLaunchHasBeenSet = false;
529 bool m_blockPublicAccessStatesHasBeenSet = false;
530 bool m_typeHasBeenSet = false;
531 bool m_subnetIdHasBeenSet = false;
532 bool m_stateHasBeenSet = false;
533 bool m_vpcIdHasBeenSet = false;
534 bool m_cidrBlockHasBeenSet = false;
535 bool m_availableIpAddressCountHasBeenSet = false;
536 bool m_availabilityZoneHasBeenSet = false;
537 bool m_defaultForAzHasBeenSet = false;
538 bool m_mapPublicIpOnLaunchHasBeenSet = false;
539};
540
541} // namespace Model
542} // namespace EC2
543} // namespace Aws
AWS_EC2_API Subnet(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AvailabilityZoneIdHasBeenSet() const
Definition Subnet.h:47
Subnet & WithTags(TagsT &&value)
Definition Subnet.h:185
const BlockPublicAccessStates & GetBlockPublicAccessStates() const
Definition Subnet.h:290
const Aws::String & GetType() const
Definition Subnet.h:312
void SetState(SubnetState value)
Definition Subnet.h:354
const Aws::String & GetOutpostArn() const
Definition Subnet.h:219
const Aws::String & GetCidrBlock() const
Definition Subnet.h:386
bool GetMapCustomerOwnedIpOnLaunch() const
Definition Subnet.h:84
void SetBlockPublicAccessStates(BlockPublicAccessStatesT &&value)
Definition Subnet.h:293
const Aws::Vector< Tag > & GetTags() const
Definition Subnet.h:177
void SetCidrBlock(CidrBlockT &&value)
Definition Subnet.h:389
void SetSubnetId(SubnetIdT &&value)
Definition Subnet.h:333
bool MapPublicIpOnLaunchHasBeenSet() const
Definition Subnet.h:460
void SetIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT &&value)
Definition Subnet.h:156
bool EnableLniAtDeviceIndexHasBeenSet() const
Definition Subnet.h:67
void SetSubnetArn(SubnetArnT &&value)
Definition Subnet.h:204
Subnet & WithMapPublicIpOnLaunch(bool value)
Definition Subnet.h:465
Subnet & WithIpv6Native(bool value)
Definition Subnet.h:261
bool GetIpv6Native() const
Definition Subnet.h:255
Subnet & WithCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
Definition Subnet.h:108
bool AvailabilityZoneHasBeenSet() const
Definition Subnet.h:422
AWS_EC2_API Subnet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
Definition Subnet.h:49
void SetIpv6Native(bool value)
Definition Subnet.h:257
Subnet & WithPrivateDnsNameOptionsOnLaunch(PrivateDnsNameOptionsOnLaunchT &&value)
Definition Subnet.h:280
const Aws::Vector< SubnetIpv6CidrBlockAssociation > & GetIpv6CidrBlockAssociationSet() const
Definition Subnet.h:153
Subnet & AddTags(TagsT &&value)
Definition Subnet.h:190
const PrivateDnsNameOptionsOnLaunch & GetPrivateDnsNameOptionsOnLaunch() const
Definition Subnet.h:272
const Aws::String & GetSubnetArn() const
Definition Subnet.h:201
bool Ipv6NativeHasBeenSet() const
Definition Subnet.h:256
void SetVpcId(VpcIdT &&value)
Definition Subnet.h:371
bool CustomerOwnedIpv4PoolHasBeenSet() const
Definition Subnet.h:101
bool TagsHasBeenSet() const
Definition Subnet.h:178
Subnet & AddIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT &&value)
Definition Subnet.h:166
AWS_EC2_API Subnet()=default
Subnet & WithCidrBlock(CidrBlockT &&value)
Definition Subnet.h:394
void SetMapCustomerOwnedIpOnLaunch(bool value)
Definition Subnet.h:86
const Aws::String & GetAvailabilityZone() const
Definition Subnet.h:421
void SetPrivateDnsNameOptionsOnLaunch(PrivateDnsNameOptionsOnLaunchT &&value)
Definition Subnet.h:275
bool GetEnableDns64() const
Definition Subnet.h:239
void SetDefaultForAz(bool value)
Definition Subnet.h:441
bool SubnetIdHasBeenSet() const
Definition Subnet.h:331
Subnet & WithDefaultForAz(bool value)
Definition Subnet.h:445
const Aws::String & GetCustomerOwnedIpv4Pool() const
Definition Subnet.h:100
bool BlockPublicAccessStatesHasBeenSet() const
Definition Subnet.h:291
Subnet & WithSubnetArn(SubnetArnT &&value)
Definition Subnet.h:209
void SetAvailableIpAddressCount(int value)
Definition Subnet.h:407
bool StateHasBeenSet() const
Definition Subnet.h:353
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetOwnerId() const
Definition Subnet.h:118
SubnetState GetState() const
Definition Subnet.h:352
Subnet & WithMapCustomerOwnedIpOnLaunch(bool value)
Definition Subnet.h:90
Subnet & WithVpcId(VpcIdT &&value)
Definition Subnet.h:376
Subnet & WithOwnerId(OwnerIdT &&value)
Definition Subnet.h:126
const Aws::String & GetVpcId() const
Definition Subnet.h:368
Subnet & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
Definition Subnet.h:54
Subnet & WithAvailabilityZone(AvailabilityZoneT &&value)
Definition Subnet.h:429
const Aws::String & GetSubnetId() const
Definition Subnet.h:330
bool EnableDns64HasBeenSet() const
Definition Subnet.h:240
int GetEnableLniAtDeviceIndex() const
Definition Subnet.h:66
void SetTags(TagsT &&value)
Definition Subnet.h:180
Subnet & WithBlockPublicAccessStates(BlockPublicAccessStatesT &&value)
Definition Subnet.h:298
bool SubnetArnHasBeenSet() const
Definition Subnet.h:202
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Subnet & WithIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT &&value)
Definition Subnet.h:161
Subnet & WithAssignIpv6AddressOnCreation(bool value)
Definition Subnet.h:143
void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
Definition Subnet.h:103
void SetAssignIpv6AddressOnCreation(bool value)
Definition Subnet.h:139
bool TypeHasBeenSet() const
Definition Subnet.h:313
bool Ipv6CidrBlockAssociationSetHasBeenSet() const
Definition Subnet.h:154
bool AvailableIpAddressCountHasBeenSet() const
Definition Subnet.h:406
void SetAvailabilityZone(AvailabilityZoneT &&value)
Definition Subnet.h:424
bool OwnerIdHasBeenSet() const
Definition Subnet.h:119
bool AssignIpv6AddressOnCreationHasBeenSet() const
Definition Subnet.h:138
bool OutpostArnHasBeenSet() const
Definition Subnet.h:220
Subnet & WithEnableLniAtDeviceIndex(int value)
Definition Subnet.h:72
Subnet & WithType(TypeT &&value)
Definition Subnet.h:320
bool PrivateDnsNameOptionsOnLaunchHasBeenSet() const
Definition Subnet.h:273
bool DefaultForAzHasBeenSet() const
Definition Subnet.h:440
Subnet & WithSubnetId(SubnetIdT &&value)
Definition Subnet.h:338
void SetMapPublicIpOnLaunch(bool value)
Definition Subnet.h:461
bool VpcIdHasBeenSet() const
Definition Subnet.h:369
bool CidrBlockHasBeenSet() const
Definition Subnet.h:387
int GetAvailableIpAddressCount() const
Definition Subnet.h:405
const Aws::String & GetAvailabilityZoneId() const
Definition Subnet.h:46
void SetEnableLniAtDeviceIndex(int value)
Definition Subnet.h:68
Subnet & WithState(SubnetState value)
Definition Subnet.h:358
Subnet & WithAvailableIpAddressCount(int value)
Definition Subnet.h:411
bool GetDefaultForAz() const
Definition Subnet.h:439
void SetOwnerId(OwnerIdT &&value)
Definition Subnet.h:121
Subnet & WithOutpostArn(OutpostArnT &&value)
Definition Subnet.h:227
Subnet & WithEnableDns64(bool value)
Definition Subnet.h:245
bool GetMapPublicIpOnLaunch() const
Definition Subnet.h:459
void SetEnableDns64(bool value)
Definition Subnet.h:241
void SetOutpostArn(OutpostArnT &&value)
Definition Subnet.h:222
bool MapCustomerOwnedIpOnLaunchHasBeenSet() const
Definition Subnet.h:85
void SetType(TypeT &&value)
Definition Subnet.h:315
bool GetAssignIpv6AddressOnCreation() const
Definition Subnet.h:137
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