AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Subnet.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/PrivateDnsNameOptionsOnLaunch.h>
12#include <aws/ec2/model/BlockPublicAccessStates.h>
13#include <aws/ec2/model/SubnetState.h>
14#include <aws/ec2/model/SubnetIpv6CidrBlockAssociation.h>
15#include <aws/ec2/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Xml
23{
24 class XmlNode;
25} // namespace Xml
26} // namespace Utils
27namespace EC2
28{
29namespace Model
30{
31
37 class Subnet
38 {
39 public:
40 AWS_EC2_API Subnet() = default;
41 AWS_EC2_API Subnet(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_EC2_API Subnet& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
53 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
54 template<typename AvailabilityZoneIdT = Aws::String>
55 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
56 template<typename AvailabilityZoneIdT = Aws::String>
57 Subnet& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) { SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value)); return *this;}
59
61
66 inline int GetEnableLniAtDeviceIndex() const { return m_enableLniAtDeviceIndex; }
67 inline bool EnableLniAtDeviceIndexHasBeenSet() const { return m_enableLniAtDeviceIndexHasBeenSet; }
68 inline void SetEnableLniAtDeviceIndex(int value) { m_enableLniAtDeviceIndexHasBeenSet = true; m_enableLniAtDeviceIndex = value; }
69 inline Subnet& WithEnableLniAtDeviceIndex(int value) { SetEnableLniAtDeviceIndex(value); return *this;}
71
73
78 inline bool GetMapCustomerOwnedIpOnLaunch() const { return m_mapCustomerOwnedIpOnLaunch; }
79 inline bool MapCustomerOwnedIpOnLaunchHasBeenSet() const { return m_mapCustomerOwnedIpOnLaunchHasBeenSet; }
80 inline void SetMapCustomerOwnedIpOnLaunch(bool value) { m_mapCustomerOwnedIpOnLaunchHasBeenSet = true; m_mapCustomerOwnedIpOnLaunch = value; }
81 inline Subnet& WithMapCustomerOwnedIpOnLaunch(bool value) { SetMapCustomerOwnedIpOnLaunch(value); return *this;}
83
85
88 inline const Aws::String& GetCustomerOwnedIpv4Pool() const { return m_customerOwnedIpv4Pool; }
89 inline bool CustomerOwnedIpv4PoolHasBeenSet() const { return m_customerOwnedIpv4PoolHasBeenSet; }
90 template<typename CustomerOwnedIpv4PoolT = Aws::String>
91 void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT&& value) { m_customerOwnedIpv4PoolHasBeenSet = true; m_customerOwnedIpv4Pool = std::forward<CustomerOwnedIpv4PoolT>(value); }
92 template<typename CustomerOwnedIpv4PoolT = Aws::String>
93 Subnet& WithCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT&& value) { SetCustomerOwnedIpv4Pool(std::forward<CustomerOwnedIpv4PoolT>(value)); return *this;}
95
97
100 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
101 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
102 template<typename OwnerIdT = Aws::String>
103 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
104 template<typename OwnerIdT = Aws::String>
105 Subnet& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
107
109
113 inline bool GetAssignIpv6AddressOnCreation() const { return m_assignIpv6AddressOnCreation; }
114 inline bool AssignIpv6AddressOnCreationHasBeenSet() const { return m_assignIpv6AddressOnCreationHasBeenSet; }
115 inline void SetAssignIpv6AddressOnCreation(bool value) { m_assignIpv6AddressOnCreationHasBeenSet = true; m_assignIpv6AddressOnCreation = value; }
116 inline Subnet& WithAssignIpv6AddressOnCreation(bool value) { SetAssignIpv6AddressOnCreation(value); return *this;}
118
120
123 inline const Aws::Vector<SubnetIpv6CidrBlockAssociation>& GetIpv6CidrBlockAssociationSet() const { return m_ipv6CidrBlockAssociationSet; }
124 inline bool Ipv6CidrBlockAssociationSetHasBeenSet() const { return m_ipv6CidrBlockAssociationSetHasBeenSet; }
125 template<typename Ipv6CidrBlockAssociationSetT = Aws::Vector<SubnetIpv6CidrBlockAssociation>>
126 void SetIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT&& value) { m_ipv6CidrBlockAssociationSetHasBeenSet = true; m_ipv6CidrBlockAssociationSet = std::forward<Ipv6CidrBlockAssociationSetT>(value); }
127 template<typename Ipv6CidrBlockAssociationSetT = Aws::Vector<SubnetIpv6CidrBlockAssociation>>
128 Subnet& WithIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT&& value) { SetIpv6CidrBlockAssociationSet(std::forward<Ipv6CidrBlockAssociationSetT>(value)); return *this;}
129 template<typename Ipv6CidrBlockAssociationSetT = SubnetIpv6CidrBlockAssociation>
130 Subnet& AddIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT&& value) { m_ipv6CidrBlockAssociationSetHasBeenSet = true; m_ipv6CidrBlockAssociationSet.emplace_back(std::forward<Ipv6CidrBlockAssociationSetT>(value)); return *this; }
132
134
137 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
138 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
139 template<typename TagsT = Aws::Vector<Tag>>
140 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
141 template<typename TagsT = Aws::Vector<Tag>>
142 Subnet& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
143 template<typename TagsT = Tag>
144 Subnet& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
146
148
151 inline const Aws::String& GetSubnetArn() const { return m_subnetArn; }
152 inline bool SubnetArnHasBeenSet() const { return m_subnetArnHasBeenSet; }
153 template<typename SubnetArnT = Aws::String>
154 void SetSubnetArn(SubnetArnT&& value) { m_subnetArnHasBeenSet = true; m_subnetArn = std::forward<SubnetArnT>(value); }
155 template<typename SubnetArnT = Aws::String>
156 Subnet& WithSubnetArn(SubnetArnT&& value) { SetSubnetArn(std::forward<SubnetArnT>(value)); return *this;}
158
160
163 inline const Aws::String& GetOutpostArn() const { return m_outpostArn; }
164 inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
165 template<typename OutpostArnT = Aws::String>
166 void SetOutpostArn(OutpostArnT&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::forward<OutpostArnT>(value); }
167 template<typename OutpostArnT = Aws::String>
168 Subnet& WithOutpostArn(OutpostArnT&& value) { SetOutpostArn(std::forward<OutpostArnT>(value)); return *this;}
170
172
177 inline bool GetEnableDns64() const { return m_enableDns64; }
178 inline bool EnableDns64HasBeenSet() const { return m_enableDns64HasBeenSet; }
179 inline void SetEnableDns64(bool value) { m_enableDns64HasBeenSet = true; m_enableDns64 = value; }
180 inline Subnet& WithEnableDns64(bool value) { SetEnableDns64(value); return *this;}
182
184
187 inline bool GetIpv6Native() const { return m_ipv6Native; }
188 inline bool Ipv6NativeHasBeenSet() const { return m_ipv6NativeHasBeenSet; }
189 inline void SetIpv6Native(bool value) { m_ipv6NativeHasBeenSet = true; m_ipv6Native = value; }
190 inline Subnet& WithIpv6Native(bool value) { SetIpv6Native(value); return *this;}
192
194
198 inline const PrivateDnsNameOptionsOnLaunch& GetPrivateDnsNameOptionsOnLaunch() const { return m_privateDnsNameOptionsOnLaunch; }
199 inline bool PrivateDnsNameOptionsOnLaunchHasBeenSet() const { return m_privateDnsNameOptionsOnLaunchHasBeenSet; }
200 template<typename PrivateDnsNameOptionsOnLaunchT = PrivateDnsNameOptionsOnLaunch>
201 void SetPrivateDnsNameOptionsOnLaunch(PrivateDnsNameOptionsOnLaunchT&& value) { m_privateDnsNameOptionsOnLaunchHasBeenSet = true; m_privateDnsNameOptionsOnLaunch = std::forward<PrivateDnsNameOptionsOnLaunchT>(value); }
202 template<typename PrivateDnsNameOptionsOnLaunchT = PrivateDnsNameOptionsOnLaunch>
203 Subnet& WithPrivateDnsNameOptionsOnLaunch(PrivateDnsNameOptionsOnLaunchT&& value) { SetPrivateDnsNameOptionsOnLaunch(std::forward<PrivateDnsNameOptionsOnLaunchT>(value)); return *this;}
205
207
210 inline const BlockPublicAccessStates& GetBlockPublicAccessStates() const { return m_blockPublicAccessStates; }
211 inline bool BlockPublicAccessStatesHasBeenSet() const { return m_blockPublicAccessStatesHasBeenSet; }
212 template<typename BlockPublicAccessStatesT = BlockPublicAccessStates>
213 void SetBlockPublicAccessStates(BlockPublicAccessStatesT&& value) { m_blockPublicAccessStatesHasBeenSet = true; m_blockPublicAccessStates = std::forward<BlockPublicAccessStatesT>(value); }
214 template<typename BlockPublicAccessStatesT = BlockPublicAccessStates>
215 Subnet& WithBlockPublicAccessStates(BlockPublicAccessStatesT&& value) { SetBlockPublicAccessStates(std::forward<BlockPublicAccessStatesT>(value)); return *this;}
217
219
226 inline const Aws::String& GetType() const { return m_type; }
227 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
228 template<typename TypeT = Aws::String>
229 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
230 template<typename TypeT = Aws::String>
231 Subnet& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
233
235
238 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
239 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
240 template<typename SubnetIdT = Aws::String>
241 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
242 template<typename SubnetIdT = Aws::String>
243 Subnet& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
245
247
254 inline SubnetState GetState() const { return m_state; }
255 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
256 inline void SetState(SubnetState value) { m_stateHasBeenSet = true; m_state = value; }
257 inline Subnet& WithState(SubnetState value) { SetState(value); return *this;}
259
261
264 inline const Aws::String& GetVpcId() const { return m_vpcId; }
265 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
266 template<typename VpcIdT = Aws::String>
267 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
268 template<typename VpcIdT = Aws::String>
269 Subnet& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
271
273
276 inline const Aws::String& GetCidrBlock() const { return m_cidrBlock; }
277 inline bool CidrBlockHasBeenSet() const { return m_cidrBlockHasBeenSet; }
278 template<typename CidrBlockT = Aws::String>
279 void SetCidrBlock(CidrBlockT&& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = std::forward<CidrBlockT>(value); }
280 template<typename CidrBlockT = Aws::String>
281 Subnet& WithCidrBlock(CidrBlockT&& value) { SetCidrBlock(std::forward<CidrBlockT>(value)); return *this;}
283
285
289 inline int GetAvailableIpAddressCount() const { return m_availableIpAddressCount; }
290 inline bool AvailableIpAddressCountHasBeenSet() const { return m_availableIpAddressCountHasBeenSet; }
291 inline void SetAvailableIpAddressCount(int value) { m_availableIpAddressCountHasBeenSet = true; m_availableIpAddressCount = value; }
292 inline Subnet& WithAvailableIpAddressCount(int value) { SetAvailableIpAddressCount(value); return *this;}
294
296
299 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
300 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
301 template<typename AvailabilityZoneT = Aws::String>
302 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
303 template<typename AvailabilityZoneT = Aws::String>
304 Subnet& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
306
308
311 inline bool GetDefaultForAz() const { return m_defaultForAz; }
312 inline bool DefaultForAzHasBeenSet() const { return m_defaultForAzHasBeenSet; }
313 inline void SetDefaultForAz(bool value) { m_defaultForAzHasBeenSet = true; m_defaultForAz = value; }
314 inline Subnet& WithDefaultForAz(bool value) { SetDefaultForAz(value); return *this;}
316
318
325 inline bool GetMapPublicIpOnLaunch() const { return m_mapPublicIpOnLaunch; }
326 inline bool MapPublicIpOnLaunchHasBeenSet() const { return m_mapPublicIpOnLaunchHasBeenSet; }
327 inline void SetMapPublicIpOnLaunch(bool value) { m_mapPublicIpOnLaunchHasBeenSet = true; m_mapPublicIpOnLaunch = value; }
328 inline Subnet& WithMapPublicIpOnLaunch(bool value) { SetMapPublicIpOnLaunch(value); return *this;}
330 private:
331
332 Aws::String m_availabilityZoneId;
333 bool m_availabilityZoneIdHasBeenSet = false;
334
335 int m_enableLniAtDeviceIndex{0};
336 bool m_enableLniAtDeviceIndexHasBeenSet = false;
337
338 bool m_mapCustomerOwnedIpOnLaunch{false};
339 bool m_mapCustomerOwnedIpOnLaunchHasBeenSet = false;
340
341 Aws::String m_customerOwnedIpv4Pool;
342 bool m_customerOwnedIpv4PoolHasBeenSet = false;
343
344 Aws::String m_ownerId;
345 bool m_ownerIdHasBeenSet = false;
346
347 bool m_assignIpv6AddressOnCreation{false};
348 bool m_assignIpv6AddressOnCreationHasBeenSet = false;
349
350 Aws::Vector<SubnetIpv6CidrBlockAssociation> m_ipv6CidrBlockAssociationSet;
351 bool m_ipv6CidrBlockAssociationSetHasBeenSet = false;
352
353 Aws::Vector<Tag> m_tags;
354 bool m_tagsHasBeenSet = false;
355
356 Aws::String m_subnetArn;
357 bool m_subnetArnHasBeenSet = false;
358
359 Aws::String m_outpostArn;
360 bool m_outpostArnHasBeenSet = false;
361
362 bool m_enableDns64{false};
363 bool m_enableDns64HasBeenSet = false;
364
365 bool m_ipv6Native{false};
366 bool m_ipv6NativeHasBeenSet = false;
367
368 PrivateDnsNameOptionsOnLaunch m_privateDnsNameOptionsOnLaunch;
369 bool m_privateDnsNameOptionsOnLaunchHasBeenSet = false;
370
371 BlockPublicAccessStates m_blockPublicAccessStates;
372 bool m_blockPublicAccessStatesHasBeenSet = false;
373
374 Aws::String m_type;
375 bool m_typeHasBeenSet = false;
376
377 Aws::String m_subnetId;
378 bool m_subnetIdHasBeenSet = false;
379
381 bool m_stateHasBeenSet = false;
382
383 Aws::String m_vpcId;
384 bool m_vpcIdHasBeenSet = false;
385
386 Aws::String m_cidrBlock;
387 bool m_cidrBlockHasBeenSet = false;
388
389 int m_availableIpAddressCount{0};
390 bool m_availableIpAddressCountHasBeenSet = false;
391
392 Aws::String m_availabilityZone;
393 bool m_availabilityZoneHasBeenSet = false;
394
395 bool m_defaultForAz{false};
396 bool m_defaultForAzHasBeenSet = false;
397
398 bool m_mapPublicIpOnLaunch{false};
399 bool m_mapPublicIpOnLaunchHasBeenSet = false;
400 };
401
402} // namespace Model
403} // namespace EC2
404} // namespace Aws
AWS_EC2_API Subnet(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AvailabilityZoneIdHasBeenSet() const
Definition Subnet.h:53
Subnet & WithTags(TagsT &&value)
Definition Subnet.h:142
const BlockPublicAccessStates & GetBlockPublicAccessStates() const
Definition Subnet.h:210
const Aws::String & GetType() const
Definition Subnet.h:226
void SetState(SubnetState value)
Definition Subnet.h:256
const Aws::String & GetOutpostArn() const
Definition Subnet.h:163
const Aws::String & GetCidrBlock() const
Definition Subnet.h:276
bool GetMapCustomerOwnedIpOnLaunch() const
Definition Subnet.h:78
void SetBlockPublicAccessStates(BlockPublicAccessStatesT &&value)
Definition Subnet.h:213
const Aws::Vector< Tag > & GetTags() const
Definition Subnet.h:137
void SetCidrBlock(CidrBlockT &&value)
Definition Subnet.h:279
void SetSubnetId(SubnetIdT &&value)
Definition Subnet.h:241
bool MapPublicIpOnLaunchHasBeenSet() const
Definition Subnet.h:326
void SetIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT &&value)
Definition Subnet.h:126
bool EnableLniAtDeviceIndexHasBeenSet() const
Definition Subnet.h:67
void SetSubnetArn(SubnetArnT &&value)
Definition Subnet.h:154
Subnet & WithMapPublicIpOnLaunch(bool value)
Definition Subnet.h:328
Subnet & WithIpv6Native(bool value)
Definition Subnet.h:190
bool GetIpv6Native() const
Definition Subnet.h:187
Subnet & WithCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
Definition Subnet.h:93
bool AvailabilityZoneHasBeenSet() const
Definition Subnet.h:300
AWS_EC2_API Subnet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
Definition Subnet.h:55
void SetIpv6Native(bool value)
Definition Subnet.h:189
Subnet & WithPrivateDnsNameOptionsOnLaunch(PrivateDnsNameOptionsOnLaunchT &&value)
Definition Subnet.h:203
const Aws::Vector< SubnetIpv6CidrBlockAssociation > & GetIpv6CidrBlockAssociationSet() const
Definition Subnet.h:123
Subnet & AddTags(TagsT &&value)
Definition Subnet.h:144
const PrivateDnsNameOptionsOnLaunch & GetPrivateDnsNameOptionsOnLaunch() const
Definition Subnet.h:198
const Aws::String & GetSubnetArn() const
Definition Subnet.h:151
bool Ipv6NativeHasBeenSet() const
Definition Subnet.h:188
void SetVpcId(VpcIdT &&value)
Definition Subnet.h:267
bool CustomerOwnedIpv4PoolHasBeenSet() const
Definition Subnet.h:89
bool TagsHasBeenSet() const
Definition Subnet.h:138
Subnet & AddIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT &&value)
Definition Subnet.h:130
AWS_EC2_API Subnet()=default
Subnet & WithCidrBlock(CidrBlockT &&value)
Definition Subnet.h:281
void SetMapCustomerOwnedIpOnLaunch(bool value)
Definition Subnet.h:80
const Aws::String & GetAvailabilityZone() const
Definition Subnet.h:299
void SetPrivateDnsNameOptionsOnLaunch(PrivateDnsNameOptionsOnLaunchT &&value)
Definition Subnet.h:201
bool GetEnableDns64() const
Definition Subnet.h:177
void SetDefaultForAz(bool value)
Definition Subnet.h:313
bool SubnetIdHasBeenSet() const
Definition Subnet.h:239
Subnet & WithDefaultForAz(bool value)
Definition Subnet.h:314
const Aws::String & GetCustomerOwnedIpv4Pool() const
Definition Subnet.h:88
bool BlockPublicAccessStatesHasBeenSet() const
Definition Subnet.h:211
Subnet & WithSubnetArn(SubnetArnT &&value)
Definition Subnet.h:156
void SetAvailableIpAddressCount(int value)
Definition Subnet.h:291
bool StateHasBeenSet() const
Definition Subnet.h:255
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:100
SubnetState GetState() const
Definition Subnet.h:254
Subnet & WithMapCustomerOwnedIpOnLaunch(bool value)
Definition Subnet.h:81
Subnet & WithVpcId(VpcIdT &&value)
Definition Subnet.h:269
Subnet & WithOwnerId(OwnerIdT &&value)
Definition Subnet.h:105
const Aws::String & GetVpcId() const
Definition Subnet.h:264
Subnet & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
Definition Subnet.h:57
Subnet & WithAvailabilityZone(AvailabilityZoneT &&value)
Definition Subnet.h:304
const Aws::String & GetSubnetId() const
Definition Subnet.h:238
bool EnableDns64HasBeenSet() const
Definition Subnet.h:178
int GetEnableLniAtDeviceIndex() const
Definition Subnet.h:66
void SetTags(TagsT &&value)
Definition Subnet.h:140
Subnet & WithBlockPublicAccessStates(BlockPublicAccessStatesT &&value)
Definition Subnet.h:215
bool SubnetArnHasBeenSet() const
Definition Subnet.h:152
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Subnet & WithIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT &&value)
Definition Subnet.h:128
Subnet & WithAssignIpv6AddressOnCreation(bool value)
Definition Subnet.h:116
void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
Definition Subnet.h:91
void SetAssignIpv6AddressOnCreation(bool value)
Definition Subnet.h:115
bool TypeHasBeenSet() const
Definition Subnet.h:227
bool Ipv6CidrBlockAssociationSetHasBeenSet() const
Definition Subnet.h:124
bool AvailableIpAddressCountHasBeenSet() const
Definition Subnet.h:290
void SetAvailabilityZone(AvailabilityZoneT &&value)
Definition Subnet.h:302
bool OwnerIdHasBeenSet() const
Definition Subnet.h:101
bool AssignIpv6AddressOnCreationHasBeenSet() const
Definition Subnet.h:114
bool OutpostArnHasBeenSet() const
Definition Subnet.h:164
Subnet & WithEnableLniAtDeviceIndex(int value)
Definition Subnet.h:69
Subnet & WithType(TypeT &&value)
Definition Subnet.h:231
bool PrivateDnsNameOptionsOnLaunchHasBeenSet() const
Definition Subnet.h:199
bool DefaultForAzHasBeenSet() const
Definition Subnet.h:312
Subnet & WithSubnetId(SubnetIdT &&value)
Definition Subnet.h:243
void SetMapPublicIpOnLaunch(bool value)
Definition Subnet.h:327
bool VpcIdHasBeenSet() const
Definition Subnet.h:265
bool CidrBlockHasBeenSet() const
Definition Subnet.h:277
int GetAvailableIpAddressCount() const
Definition Subnet.h:289
const Aws::String & GetAvailabilityZoneId() const
Definition Subnet.h:52
void SetEnableLniAtDeviceIndex(int value)
Definition Subnet.h:68
Subnet & WithState(SubnetState value)
Definition Subnet.h:257
Subnet & WithAvailableIpAddressCount(int value)
Definition Subnet.h:292
bool GetDefaultForAz() const
Definition Subnet.h:311
void SetOwnerId(OwnerIdT &&value)
Definition Subnet.h:103
Subnet & WithOutpostArn(OutpostArnT &&value)
Definition Subnet.h:168
Subnet & WithEnableDns64(bool value)
Definition Subnet.h:180
bool GetMapPublicIpOnLaunch() const
Definition Subnet.h:325
void SetEnableDns64(bool value)
Definition Subnet.h:179
void SetOutpostArn(OutpostArnT &&value)
Definition Subnet.h:166
bool MapCustomerOwnedIpOnLaunchHasBeenSet() const
Definition Subnet.h:79
void SetType(TypeT &&value)
Definition Subnet.h:229
bool GetAssignIpv6AddressOnCreation() const
Definition Subnet.h:113
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