AWS SDK for C++  1.9.71
AWS SDK for C++
Subnet.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
13 #include <aws/ec2/model/Tag.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlNode;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
29 
36  {
37  public:
38  Subnet();
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
49  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
50 
54  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
55 
59  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
60 
64  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
65 
69  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
70 
74  inline Subnet& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
75 
79  inline Subnet& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
80 
84  inline Subnet& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
85 
86 
90  inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
91 
95  inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
96 
100  inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
101 
105  inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
106 
110  inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
111 
115  inline Subnet& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;}
116 
120  inline Subnet& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
121 
125  inline Subnet& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
126 
127 
132  inline int GetAvailableIpAddressCount() const{ return m_availableIpAddressCount; }
133 
138  inline bool AvailableIpAddressCountHasBeenSet() const { return m_availableIpAddressCountHasBeenSet; }
139 
144  inline void SetAvailableIpAddressCount(int value) { m_availableIpAddressCountHasBeenSet = true; m_availableIpAddressCount = value; }
145 
150  inline Subnet& WithAvailableIpAddressCount(int value) { SetAvailableIpAddressCount(value); return *this;}
151 
152 
156  inline const Aws::String& GetCidrBlock() const{ return m_cidrBlock; }
157 
161  inline bool CidrBlockHasBeenSet() const { return m_cidrBlockHasBeenSet; }
162 
166  inline void SetCidrBlock(const Aws::String& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = value; }
167 
171  inline void SetCidrBlock(Aws::String&& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = std::move(value); }
172 
176  inline void SetCidrBlock(const char* value) { m_cidrBlockHasBeenSet = true; m_cidrBlock.assign(value); }
177 
181  inline Subnet& WithCidrBlock(const Aws::String& value) { SetCidrBlock(value); return *this;}
182 
186  inline Subnet& WithCidrBlock(Aws::String&& value) { SetCidrBlock(std::move(value)); return *this;}
187 
191  inline Subnet& WithCidrBlock(const char* value) { SetCidrBlock(value); return *this;}
192 
193 
197  inline bool GetDefaultForAz() const{ return m_defaultForAz; }
198 
202  inline bool DefaultForAzHasBeenSet() const { return m_defaultForAzHasBeenSet; }
203 
207  inline void SetDefaultForAz(bool value) { m_defaultForAzHasBeenSet = true; m_defaultForAz = value; }
208 
212  inline Subnet& WithDefaultForAz(bool value) { SetDefaultForAz(value); return *this;}
213 
214 
219  inline bool GetMapPublicIpOnLaunch() const{ return m_mapPublicIpOnLaunch; }
220 
225  inline bool MapPublicIpOnLaunchHasBeenSet() const { return m_mapPublicIpOnLaunchHasBeenSet; }
226 
231  inline void SetMapPublicIpOnLaunch(bool value) { m_mapPublicIpOnLaunchHasBeenSet = true; m_mapPublicIpOnLaunch = value; }
232 
237  inline Subnet& WithMapPublicIpOnLaunch(bool value) { SetMapPublicIpOnLaunch(value); return *this;}
238 
239 
245  inline bool GetMapCustomerOwnedIpOnLaunch() const{ return m_mapCustomerOwnedIpOnLaunch; }
246 
252  inline bool MapCustomerOwnedIpOnLaunchHasBeenSet() const { return m_mapCustomerOwnedIpOnLaunchHasBeenSet; }
253 
259  inline void SetMapCustomerOwnedIpOnLaunch(bool value) { m_mapCustomerOwnedIpOnLaunchHasBeenSet = true; m_mapCustomerOwnedIpOnLaunch = value; }
260 
266  inline Subnet& WithMapCustomerOwnedIpOnLaunch(bool value) { SetMapCustomerOwnedIpOnLaunch(value); return *this;}
267 
268 
272  inline const Aws::String& GetCustomerOwnedIpv4Pool() const{ return m_customerOwnedIpv4Pool; }
273 
277  inline bool CustomerOwnedIpv4PoolHasBeenSet() const { return m_customerOwnedIpv4PoolHasBeenSet; }
278 
282  inline void SetCustomerOwnedIpv4Pool(const Aws::String& value) { m_customerOwnedIpv4PoolHasBeenSet = true; m_customerOwnedIpv4Pool = value; }
283 
287  inline void SetCustomerOwnedIpv4Pool(Aws::String&& value) { m_customerOwnedIpv4PoolHasBeenSet = true; m_customerOwnedIpv4Pool = std::move(value); }
288 
292  inline void SetCustomerOwnedIpv4Pool(const char* value) { m_customerOwnedIpv4PoolHasBeenSet = true; m_customerOwnedIpv4Pool.assign(value); }
293 
297  inline Subnet& WithCustomerOwnedIpv4Pool(const Aws::String& value) { SetCustomerOwnedIpv4Pool(value); return *this;}
298 
302  inline Subnet& WithCustomerOwnedIpv4Pool(Aws::String&& value) { SetCustomerOwnedIpv4Pool(std::move(value)); return *this;}
303 
307  inline Subnet& WithCustomerOwnedIpv4Pool(const char* value) { SetCustomerOwnedIpv4Pool(value); return *this;}
308 
309 
313  inline const SubnetState& GetState() const{ return m_state; }
314 
318  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
319 
323  inline void SetState(const SubnetState& value) { m_stateHasBeenSet = true; m_state = value; }
324 
328  inline void SetState(SubnetState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
329 
333  inline Subnet& WithState(const SubnetState& value) { SetState(value); return *this;}
334 
338  inline Subnet& WithState(SubnetState&& value) { SetState(std::move(value)); return *this;}
339 
340 
344  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
345 
349  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
350 
354  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
355 
359  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
360 
364  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
365 
369  inline Subnet& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
370 
374  inline Subnet& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
375 
379  inline Subnet& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
380 
381 
385  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
386 
390  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
391 
395  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
396 
400  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
401 
405  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
406 
410  inline Subnet& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
411 
415  inline Subnet& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
416 
420  inline Subnet& WithVpcId(const char* value) { SetVpcId(value); return *this;}
421 
422 
426  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
427 
431  inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
432 
436  inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
437 
441  inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
442 
446  inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
447 
451  inline Subnet& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
452 
456  inline Subnet& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
457 
461  inline Subnet& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
462 
463 
468  inline bool GetAssignIpv6AddressOnCreation() const{ return m_assignIpv6AddressOnCreation; }
469 
474  inline bool AssignIpv6AddressOnCreationHasBeenSet() const { return m_assignIpv6AddressOnCreationHasBeenSet; }
475 
480  inline void SetAssignIpv6AddressOnCreation(bool value) { m_assignIpv6AddressOnCreationHasBeenSet = true; m_assignIpv6AddressOnCreation = value; }
481 
486  inline Subnet& WithAssignIpv6AddressOnCreation(bool value) { SetAssignIpv6AddressOnCreation(value); return *this;}
487 
488 
492  inline const Aws::Vector<SubnetIpv6CidrBlockAssociation>& GetIpv6CidrBlockAssociationSet() const{ return m_ipv6CidrBlockAssociationSet; }
493 
497  inline bool Ipv6CidrBlockAssociationSetHasBeenSet() const { return m_ipv6CidrBlockAssociationSetHasBeenSet; }
498 
502  inline void SetIpv6CidrBlockAssociationSet(const Aws::Vector<SubnetIpv6CidrBlockAssociation>& value) { m_ipv6CidrBlockAssociationSetHasBeenSet = true; m_ipv6CidrBlockAssociationSet = value; }
503 
507  inline void SetIpv6CidrBlockAssociationSet(Aws::Vector<SubnetIpv6CidrBlockAssociation>&& value) { m_ipv6CidrBlockAssociationSetHasBeenSet = true; m_ipv6CidrBlockAssociationSet = std::move(value); }
508 
512  inline Subnet& WithIpv6CidrBlockAssociationSet(const Aws::Vector<SubnetIpv6CidrBlockAssociation>& value) { SetIpv6CidrBlockAssociationSet(value); return *this;}
513 
517  inline Subnet& WithIpv6CidrBlockAssociationSet(Aws::Vector<SubnetIpv6CidrBlockAssociation>&& value) { SetIpv6CidrBlockAssociationSet(std::move(value)); return *this;}
518 
522  inline Subnet& AddIpv6CidrBlockAssociationSet(const SubnetIpv6CidrBlockAssociation& value) { m_ipv6CidrBlockAssociationSetHasBeenSet = true; m_ipv6CidrBlockAssociationSet.push_back(value); return *this; }
523 
527  inline Subnet& AddIpv6CidrBlockAssociationSet(SubnetIpv6CidrBlockAssociation&& value) { m_ipv6CidrBlockAssociationSetHasBeenSet = true; m_ipv6CidrBlockAssociationSet.push_back(std::move(value)); return *this; }
528 
529 
533  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
534 
538  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
539 
543  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
544 
548  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
549 
553  inline Subnet& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
554 
558  inline Subnet& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
559 
563  inline Subnet& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
564 
568  inline Subnet& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
569 
570 
574  inline const Aws::String& GetSubnetArn() const{ return m_subnetArn; }
575 
579  inline bool SubnetArnHasBeenSet() const { return m_subnetArnHasBeenSet; }
580 
584  inline void SetSubnetArn(const Aws::String& value) { m_subnetArnHasBeenSet = true; m_subnetArn = value; }
585 
589  inline void SetSubnetArn(Aws::String&& value) { m_subnetArnHasBeenSet = true; m_subnetArn = std::move(value); }
590 
594  inline void SetSubnetArn(const char* value) { m_subnetArnHasBeenSet = true; m_subnetArn.assign(value); }
595 
599  inline Subnet& WithSubnetArn(const Aws::String& value) { SetSubnetArn(value); return *this;}
600 
604  inline Subnet& WithSubnetArn(Aws::String&& value) { SetSubnetArn(std::move(value)); return *this;}
605 
609  inline Subnet& WithSubnetArn(const char* value) { SetSubnetArn(value); return *this;}
610 
611 
615  inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
616 
620  inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
621 
625  inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; }
626 
630  inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); }
631 
635  inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); }
636 
640  inline Subnet& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
641 
645  inline Subnet& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
646 
650  inline Subnet& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
651 
652  private:
653 
654  Aws::String m_availabilityZone;
655  bool m_availabilityZoneHasBeenSet;
656 
657  Aws::String m_availabilityZoneId;
658  bool m_availabilityZoneIdHasBeenSet;
659 
660  int m_availableIpAddressCount;
661  bool m_availableIpAddressCountHasBeenSet;
662 
663  Aws::String m_cidrBlock;
664  bool m_cidrBlockHasBeenSet;
665 
666  bool m_defaultForAz;
667  bool m_defaultForAzHasBeenSet;
668 
669  bool m_mapPublicIpOnLaunch;
670  bool m_mapPublicIpOnLaunchHasBeenSet;
671 
672  bool m_mapCustomerOwnedIpOnLaunch;
673  bool m_mapCustomerOwnedIpOnLaunchHasBeenSet;
674 
675  Aws::String m_customerOwnedIpv4Pool;
676  bool m_customerOwnedIpv4PoolHasBeenSet;
677 
678  SubnetState m_state;
679  bool m_stateHasBeenSet;
680 
681  Aws::String m_subnetId;
682  bool m_subnetIdHasBeenSet;
683 
684  Aws::String m_vpcId;
685  bool m_vpcIdHasBeenSet;
686 
687  Aws::String m_ownerId;
688  bool m_ownerIdHasBeenSet;
689 
690  bool m_assignIpv6AddressOnCreation;
691  bool m_assignIpv6AddressOnCreationHasBeenSet;
692 
693  Aws::Vector<SubnetIpv6CidrBlockAssociation> m_ipv6CidrBlockAssociationSet;
694  bool m_ipv6CidrBlockAssociationSetHasBeenSet;
695 
696  Aws::Vector<Tag> m_tags;
697  bool m_tagsHasBeenSet;
698 
699  Aws::String m_subnetArn;
700  bool m_subnetArnHasBeenSet;
701 
702  Aws::String m_outpostArn;
703  bool m_outpostArnHasBeenSet;
704  };
705 
706 } // namespace Model
707 } // namespace EC2
708 } // namespace Aws
Aws::EC2::Model::Subnet::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: Subnet.h:400
Aws::EC2::Model::Subnet::SetCidrBlock
void SetCidrBlock(const char *value)
Definition: Subnet.h:176
Aws::EC2::Model::Subnet::AddTags
Subnet & AddTags(Tag &&value)
Definition: Subnet.h:568
Aws::EC2::Model::Subnet::SetCustomerOwnedIpv4Pool
void SetCustomerOwnedIpv4Pool(Aws::String &&value)
Definition: Subnet.h:287
Aws::EC2::Model::Subnet::WithOwnerId
Subnet & WithOwnerId(Aws::String &&value)
Definition: Subnet.h:456
Aws::EC2::Model::Subnet::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation
Definition: SubnetIpv6CidrBlockAssociation.h:34
Aws::EC2::Model::Subnet::SetAssignIpv6AddressOnCreation
void SetAssignIpv6AddressOnCreation(bool value)
Definition: Subnet.h:480
Aws::EC2::Model::Subnet::SetAvailableIpAddressCount
void SetAvailableIpAddressCount(int value)
Definition: Subnet.h:144
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::Subnet::WithAssignIpv6AddressOnCreation
Subnet & WithAssignIpv6AddressOnCreation(bool value)
Definition: Subnet.h:486
Aws::EC2::Model::Subnet::WithVpcId
Subnet & WithVpcId(Aws::String &&value)
Definition: Subnet.h:415
SubnetIpv6CidrBlockAssociation.h
Aws::EC2::Model::Subnet::WithOutpostArn
Subnet & WithOutpostArn(Aws::String &&value)
Definition: Subnet.h:645
Aws::EC2::Model::Subnet::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Subnet.h:538
Aws::EC2::Model::Subnet::SetCustomerOwnedIpv4Pool
void SetCustomerOwnedIpv4Pool(const char *value)
Definition: Subnet.h:292
Aws::EC2::Model::Subnet::SetIpv6CidrBlockAssociationSet
void SetIpv6CidrBlockAssociationSet(const Aws::Vector< SubnetIpv6CidrBlockAssociation > &value)
Definition: Subnet.h:502
Aws::EC2::Model::Subnet::AvailabilityZoneIdHasBeenSet
bool AvailabilityZoneIdHasBeenSet() const
Definition: Subnet.h:95
Aws::EC2::Model::Subnet::SetCustomerOwnedIpv4Pool
void SetCustomerOwnedIpv4Pool(const Aws::String &value)
Definition: Subnet.h:282
Aws::EC2::Model::Subnet::AssignIpv6AddressOnCreationHasBeenSet
bool AssignIpv6AddressOnCreationHasBeenSet() const
Definition: Subnet.h:474
Aws::EC2::Model::Subnet::WithCidrBlock
Subnet & WithCidrBlock(Aws::String &&value)
Definition: Subnet.h:186
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::Subnet::SetSubnetArn
void SetSubnetArn(const char *value)
Definition: Subnet.h:594
Aws::EC2::Model::Subnet::SetCidrBlock
void SetCidrBlock(Aws::String &&value)
Definition: Subnet.h:171
Aws::EC2::Model::Subnet::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: Subnet.h:359
Aws::EC2::Model::Subnet
Definition: Subnet.h:36
Aws::EC2::Model::Subnet::SetMapPublicIpOnLaunch
void SetMapPublicIpOnLaunch(bool value)
Definition: Subnet.h:231
Aws::EC2::Model::Subnet::SubnetArnHasBeenSet
bool SubnetArnHasBeenSet() const
Definition: Subnet.h:579
Aws::EC2::Model::Subnet::GetAssignIpv6AddressOnCreation
bool GetAssignIpv6AddressOnCreation() const
Definition: Subnet.h:468
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::Subnet::AddIpv6CidrBlockAssociationSet
Subnet & AddIpv6CidrBlockAssociationSet(SubnetIpv6CidrBlockAssociation &&value)
Definition: Subnet.h:527
Aws::EC2::Model::Subnet::WithCustomerOwnedIpv4Pool
Subnet & WithCustomerOwnedIpv4Pool(const Aws::String &value)
Definition: Subnet.h:297
Aws::EC2::Model::Subnet::WithVpcId
Subnet & WithVpcId(const char *value)
Definition: Subnet.h:420
Aws::EC2::Model::Subnet::WithOwnerId
Subnet & WithOwnerId(const Aws::String &value)
Definition: Subnet.h:451
Aws::EC2::Model::Subnet::MapCustomerOwnedIpOnLaunchHasBeenSet
bool MapCustomerOwnedIpOnLaunchHasBeenSet() const
Definition: Subnet.h:252
Aws::EC2::Model::Subnet::WithAvailabilityZoneId
Subnet & WithAvailabilityZoneId(Aws::String &&value)
Definition: Subnet.h:120
AWSStreamFwd.h
Aws::EC2::Model::Subnet::GetIpv6CidrBlockAssociationSet
const Aws::Vector< SubnetIpv6CidrBlockAssociation > & GetIpv6CidrBlockAssociationSet() const
Definition: Subnet.h:492
Aws::EC2::Model::Subnet::AddIpv6CidrBlockAssociationSet
Subnet & AddIpv6CidrBlockAssociationSet(const SubnetIpv6CidrBlockAssociation &value)
Definition: Subnet.h:522
AWSVector.h
Tag.h
Aws::EC2::Model::Subnet::SetOwnerId
void SetOwnerId(const Aws::String &value)
Definition: Subnet.h:436
Aws::EC2::Model::Subnet::OwnerIdHasBeenSet
bool OwnerIdHasBeenSet() const
Definition: Subnet.h:431
Aws::EC2::Model::Subnet::SetVpcId
void SetVpcId(const char *value)
Definition: Subnet.h:405
Aws::EC2::Model::Subnet::GetDefaultForAz
bool GetDefaultForAz() const
Definition: Subnet.h:197
Aws::EC2::Model::Subnet::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: Subnet.h:390
Aws::EC2::Model::Subnet::SetSubnetId
void SetSubnetId(const char *value)
Definition: Subnet.h:364
Aws::EC2::Model::Subnet::SetOwnerId
void SetOwnerId(Aws::String &&value)
Definition: Subnet.h:441
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::Subnet::WithMapCustomerOwnedIpOnLaunch
Subnet & WithMapCustomerOwnedIpOnLaunch(bool value)
Definition: Subnet.h:266
Aws::EC2::Model::Subnet::WithAvailabilityZoneId
Subnet & WithAvailabilityZoneId(const char *value)
Definition: Subnet.h:125
Aws::EC2::Model::Subnet::SetOutpostArn
void SetOutpostArn(const char *value)
Definition: Subnet.h:635
Aws::EC2::Model::Subnet::SetAvailabilityZoneId
void SetAvailabilityZoneId(Aws::String &&value)
Definition: Subnet.h:105
Aws::EC2::Model::Subnet::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: Subnet.h:69
Aws::EC2::Model::Subnet::DefaultForAzHasBeenSet
bool DefaultForAzHasBeenSet() const
Definition: Subnet.h:202
Aws::EC2::Model::Subnet::WithState
Subnet & WithState(SubnetState &&value)
Definition: Subnet.h:338
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::Subnet::GetMapCustomerOwnedIpOnLaunch
bool GetMapCustomerOwnedIpOnLaunch() const
Definition: Subnet.h:245
Aws::EC2::Model::Subnet::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: Subnet.h:64
Aws::EC2::Model::Subnet::WithSubnetArn
Subnet & WithSubnetArn(Aws::String &&value)
Definition: Subnet.h:604
Aws::EC2::Model::Subnet::SetOwnerId
void SetOwnerId(const char *value)
Definition: Subnet.h:446
Aws::EC2::Model::Subnet::SetCidrBlock
void SetCidrBlock(const Aws::String &value)
Definition: Subnet.h:166
Aws::EC2::Model::Subnet::WithAvailabilityZone
Subnet & WithAvailabilityZone(Aws::String &&value)
Definition: Subnet.h:79
Aws::EC2::Model::Subnet::WithState
Subnet & WithState(const SubnetState &value)
Definition: Subnet.h:333
Aws::EC2::Model::Subnet::WithCidrBlock
Subnet & WithCidrBlock(const Aws::String &value)
Definition: Subnet.h:181
Aws::EC2::Model::Subnet::SetMapCustomerOwnedIpOnLaunch
void SetMapCustomerOwnedIpOnLaunch(bool value)
Definition: Subnet.h:259
Aws::EC2::Model::Subnet::WithOwnerId
Subnet & WithOwnerId(const char *value)
Definition: Subnet.h:461
Aws::EC2::Model::Subnet::SetDefaultForAz
void SetDefaultForAz(bool value)
Definition: Subnet.h:207
Aws::EC2::Model::Subnet::GetCustomerOwnedIpv4Pool
const Aws::String & GetCustomerOwnedIpv4Pool() const
Definition: Subnet.h:272
Aws::EC2::Model::Subnet::GetAvailableIpAddressCount
int GetAvailableIpAddressCount() const
Definition: Subnet.h:132
Aws::EC2::Model::Subnet::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWSString.h
Aws::EC2::Model::Subnet::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: Subnet.h:54
Aws::EC2::Model::Subnet::WithTags
Subnet & WithTags(const Aws::Vector< Tag > &value)
Definition: Subnet.h:553
Aws::EC2::Model::Subnet::WithSubnetId
Subnet & WithSubnetId(Aws::String &&value)
Definition: Subnet.h:374
Aws::EC2::Model::Subnet::WithIpv6CidrBlockAssociationSet
Subnet & WithIpv6CidrBlockAssociationSet(Aws::Vector< SubnetIpv6CidrBlockAssociation > &&value)
Definition: Subnet.h:517
Aws::EC2::Model::Subnet::WithMapPublicIpOnLaunch
Subnet & WithMapPublicIpOnLaunch(bool value)
Definition: Subnet.h:237
Aws::EC2::Model::Subnet::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: Subnet.h:49
Aws::EC2::Model::Subnet::WithOutpostArn
Subnet & WithOutpostArn(const Aws::String &value)
Definition: Subnet.h:640
Aws::EC2::Model::Subnet::GetOutpostArn
const Aws::String & GetOutpostArn() const
Definition: Subnet.h:615
Aws::EC2::Model::Subnet::GetVpcId
const Aws::String & GetVpcId() const
Definition: Subnet.h:385
Aws::EC2::Model::Subnet::operator=
Subnet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Subnet::WithSubnetId
Subnet & WithSubnetId(const Aws::String &value)
Definition: Subnet.h:369
Aws::EC2::Model::Subnet::OutpostArnHasBeenSet
bool OutpostArnHasBeenSet() const
Definition: Subnet.h:620
Aws::EC2::Model::Subnet::SetState
void SetState(SubnetState &&value)
Definition: Subnet.h:328
Aws::EC2::Model::Subnet::SetIpv6CidrBlockAssociationSet
void SetIpv6CidrBlockAssociationSet(Aws::Vector< SubnetIpv6CidrBlockAssociation > &&value)
Definition: Subnet.h:507
Aws::EC2::Model::Subnet::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: Subnet.h:59
Aws::EC2::Model::Subnet::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Subnet.h:533
Aws::EC2::Model::Subnet::SetAvailabilityZoneId
void SetAvailabilityZoneId(const Aws::String &value)
Definition: Subnet.h:100
Aws::EC2::Model::Subnet::GetOwnerId
const Aws::String & GetOwnerId() const
Definition: Subnet.h:426
Aws::EC2::Model::Subnet::SetOutpostArn
void SetOutpostArn(const Aws::String &value)
Definition: Subnet.h:625
Aws::EC2::Model::Subnet::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Subnet.h:548
Aws::EC2::Model::Subnet::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: Subnet.h:395
Aws::EC2::Model::Subnet::AvailableIpAddressCountHasBeenSet
bool AvailableIpAddressCountHasBeenSet() const
Definition: Subnet.h:138
Aws::EC2::Model::Subnet::CustomerOwnedIpv4PoolHasBeenSet
bool CustomerOwnedIpv4PoolHasBeenSet() const
Definition: Subnet.h:277
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::Subnet::SetOutpostArn
void SetOutpostArn(Aws::String &&value)
Definition: Subnet.h:630
Aws::EC2::Model::Subnet::WithOutpostArn
Subnet & WithOutpostArn(const char *value)
Definition: Subnet.h:650
Aws::EC2::Model::Subnet::WithAvailableIpAddressCount
Subnet & WithAvailableIpAddressCount(int value)
Definition: Subnet.h:150
Aws::EC2::Model::Subnet::WithAvailabilityZoneId
Subnet & WithAvailabilityZoneId(const Aws::String &value)
Definition: Subnet.h:115
Aws::EC2::Model::Subnet::WithAvailabilityZone
Subnet & WithAvailabilityZone(const char *value)
Definition: Subnet.h:84
Aws::EC2::Model::Subnet::GetMapPublicIpOnLaunch
bool GetMapPublicIpOnLaunch() const
Definition: Subnet.h:219
Aws::EC2::Model::Subnet::WithSubnetArn
Subnet & WithSubnetArn(const Aws::String &value)
Definition: Subnet.h:599
Aws::EC2::Model::Subnet::WithCustomerOwnedIpv4Pool
Subnet & WithCustomerOwnedIpv4Pool(const char *value)
Definition: Subnet.h:307
Aws::EC2::Model::Subnet::SetSubnetArn
void SetSubnetArn(Aws::String &&value)
Definition: Subnet.h:589
Aws::EC2::Model::Subnet::GetSubnetArn
const Aws::String & GetSubnetArn() const
Definition: Subnet.h:574
Aws::EC2::Model::Subnet::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: Subnet.h:344
Aws::EC2::Model::Subnet::GetAvailabilityZoneId
const Aws::String & GetAvailabilityZoneId() const
Definition: Subnet.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::Subnet::GetCidrBlock
const Aws::String & GetCidrBlock() const
Definition: Subnet.h:156
Aws::EC2::Model::Subnet::AddTags
Subnet & AddTags(const Tag &value)
Definition: Subnet.h:563
Aws::EC2::Model::Subnet::Subnet
Subnet(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Subnet::StateHasBeenSet
bool StateHasBeenSet() const
Definition: Subnet.h:318
Aws::EC2::Model::Subnet::WithSubnetId
Subnet & WithSubnetId(const char *value)
Definition: Subnet.h:379
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::Subnet::WithCidrBlock
Subnet & WithCidrBlock(const char *value)
Definition: Subnet.h:191
Aws::EC2::Model::Subnet::CidrBlockHasBeenSet
bool CidrBlockHasBeenSet() const
Definition: Subnet.h:161
Aws::EC2::Model::Subnet::SetState
void SetState(const SubnetState &value)
Definition: Subnet.h:323
Aws::EC2::Model::Subnet::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: Subnet.h:349
Aws::EC2::Model::Subnet::WithSubnetArn
Subnet & WithSubnetArn(const char *value)
Definition: Subnet.h:609
Aws::EC2::Model::Subnet::WithCustomerOwnedIpv4Pool
Subnet & WithCustomerOwnedIpv4Pool(Aws::String &&value)
Definition: Subnet.h:302
Aws::EC2::Model::Subnet::WithDefaultForAz
Subnet & WithDefaultForAz(bool value)
Definition: Subnet.h:212
Aws::EC2::Model::Subnet::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: Subnet.h:354
Aws::EC2::Model::Subnet::SetAvailabilityZoneId
void SetAvailabilityZoneId(const char *value)
Definition: Subnet.h:110
EC2_EXPORTS.h
Aws::EC2::Model::Subnet::WithVpcId
Subnet & WithVpcId(const Aws::String &value)
Definition: Subnet.h:410
Aws::EC2::Model::Subnet::MapPublicIpOnLaunchHasBeenSet
bool MapPublicIpOnLaunchHasBeenSet() const
Definition: Subnet.h:225
Aws::EC2::Model::Subnet::WithAvailabilityZone
Subnet & WithAvailabilityZone(const Aws::String &value)
Definition: Subnet.h:74
Aws::EC2::Model::Subnet::WithTags
Subnet & WithTags(Aws::Vector< Tag > &&value)
Definition: Subnet.h:558
Aws::EC2::Model::Subnet::Subnet
Subnet()
Aws::EC2::Model::Subnet::Ipv6CidrBlockAssociationSetHasBeenSet
bool Ipv6CidrBlockAssociationSetHasBeenSet() const
Definition: Subnet.h:497
Aws::EC2::Model::SubnetState
SubnetState
Definition: SubnetState.h:17
Aws::EC2::Model::Subnet::SetSubnetArn
void SetSubnetArn(const Aws::String &value)
Definition: Subnet.h:584
SubnetState.h
Aws::EC2::Model::Subnet::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Subnet.h:543
Aws::EC2::Model::Subnet::WithIpv6CidrBlockAssociationSet
Subnet & WithIpv6CidrBlockAssociationSet(const Aws::Vector< SubnetIpv6CidrBlockAssociation > &value)
Definition: Subnet.h:512
Aws::EC2::Model::Subnet::GetState
const SubnetState & GetState() const
Definition: Subnet.h:313