AWS SDK for C++  1.9.107
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::Subnet Class Reference

#include <Subnet.h>

Public Member Functions

 Subnet ()
 
 Subnet (const Aws::Utils::Xml::XmlNode &xmlNode)
 
Subnetoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
SubnetWithAvailabilityZone (const Aws::String &value)
 
SubnetWithAvailabilityZone (Aws::String &&value)
 
SubnetWithAvailabilityZone (const char *value)
 
const Aws::StringGetAvailabilityZoneId () const
 
bool AvailabilityZoneIdHasBeenSet () const
 
void SetAvailabilityZoneId (const Aws::String &value)
 
void SetAvailabilityZoneId (Aws::String &&value)
 
void SetAvailabilityZoneId (const char *value)
 
SubnetWithAvailabilityZoneId (const Aws::String &value)
 
SubnetWithAvailabilityZoneId (Aws::String &&value)
 
SubnetWithAvailabilityZoneId (const char *value)
 
int GetAvailableIpAddressCount () const
 
bool AvailableIpAddressCountHasBeenSet () const
 
void SetAvailableIpAddressCount (int value)
 
SubnetWithAvailableIpAddressCount (int value)
 
const Aws::StringGetCidrBlock () const
 
bool CidrBlockHasBeenSet () const
 
void SetCidrBlock (const Aws::String &value)
 
void SetCidrBlock (Aws::String &&value)
 
void SetCidrBlock (const char *value)
 
SubnetWithCidrBlock (const Aws::String &value)
 
SubnetWithCidrBlock (Aws::String &&value)
 
SubnetWithCidrBlock (const char *value)
 
bool GetDefaultForAz () const
 
bool DefaultForAzHasBeenSet () const
 
void SetDefaultForAz (bool value)
 
SubnetWithDefaultForAz (bool value)
 
bool GetMapPublicIpOnLaunch () const
 
bool MapPublicIpOnLaunchHasBeenSet () const
 
void SetMapPublicIpOnLaunch (bool value)
 
SubnetWithMapPublicIpOnLaunch (bool value)
 
bool GetMapCustomerOwnedIpOnLaunch () const
 
bool MapCustomerOwnedIpOnLaunchHasBeenSet () const
 
void SetMapCustomerOwnedIpOnLaunch (bool value)
 
SubnetWithMapCustomerOwnedIpOnLaunch (bool value)
 
const Aws::StringGetCustomerOwnedIpv4Pool () const
 
bool CustomerOwnedIpv4PoolHasBeenSet () const
 
void SetCustomerOwnedIpv4Pool (const Aws::String &value)
 
void SetCustomerOwnedIpv4Pool (Aws::String &&value)
 
void SetCustomerOwnedIpv4Pool (const char *value)
 
SubnetWithCustomerOwnedIpv4Pool (const Aws::String &value)
 
SubnetWithCustomerOwnedIpv4Pool (Aws::String &&value)
 
SubnetWithCustomerOwnedIpv4Pool (const char *value)
 
const SubnetStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const SubnetState &value)
 
void SetState (SubnetState &&value)
 
SubnetWithState (const SubnetState &value)
 
SubnetWithState (SubnetState &&value)
 
const Aws::StringGetSubnetId () const
 
bool SubnetIdHasBeenSet () const
 
void SetSubnetId (const Aws::String &value)
 
void SetSubnetId (Aws::String &&value)
 
void SetSubnetId (const char *value)
 
SubnetWithSubnetId (const Aws::String &value)
 
SubnetWithSubnetId (Aws::String &&value)
 
SubnetWithSubnetId (const char *value)
 
const Aws::StringGetVpcId () const
 
bool VpcIdHasBeenSet () const
 
void SetVpcId (const Aws::String &value)
 
void SetVpcId (Aws::String &&value)
 
void SetVpcId (const char *value)
 
SubnetWithVpcId (const Aws::String &value)
 
SubnetWithVpcId (Aws::String &&value)
 
SubnetWithVpcId (const char *value)
 
const Aws::StringGetOwnerId () const
 
bool OwnerIdHasBeenSet () const
 
void SetOwnerId (const Aws::String &value)
 
void SetOwnerId (Aws::String &&value)
 
void SetOwnerId (const char *value)
 
SubnetWithOwnerId (const Aws::String &value)
 
SubnetWithOwnerId (Aws::String &&value)
 
SubnetWithOwnerId (const char *value)
 
bool GetAssignIpv6AddressOnCreation () const
 
bool AssignIpv6AddressOnCreationHasBeenSet () const
 
void SetAssignIpv6AddressOnCreation (bool value)
 
SubnetWithAssignIpv6AddressOnCreation (bool value)
 
const Aws::Vector< SubnetIpv6CidrBlockAssociation > & GetIpv6CidrBlockAssociationSet () const
 
bool Ipv6CidrBlockAssociationSetHasBeenSet () const
 
void SetIpv6CidrBlockAssociationSet (const Aws::Vector< SubnetIpv6CidrBlockAssociation > &value)
 
void SetIpv6CidrBlockAssociationSet (Aws::Vector< SubnetIpv6CidrBlockAssociation > &&value)
 
SubnetWithIpv6CidrBlockAssociationSet (const Aws::Vector< SubnetIpv6CidrBlockAssociation > &value)
 
SubnetWithIpv6CidrBlockAssociationSet (Aws::Vector< SubnetIpv6CidrBlockAssociation > &&value)
 
SubnetAddIpv6CidrBlockAssociationSet (const SubnetIpv6CidrBlockAssociation &value)
 
SubnetAddIpv6CidrBlockAssociationSet (SubnetIpv6CidrBlockAssociation &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
SubnetWithTags (const Aws::Vector< Tag > &value)
 
SubnetWithTags (Aws::Vector< Tag > &&value)
 
SubnetAddTags (const Tag &value)
 
SubnetAddTags (Tag &&value)
 
const Aws::StringGetSubnetArn () const
 
bool SubnetArnHasBeenSet () const
 
void SetSubnetArn (const Aws::String &value)
 
void SetSubnetArn (Aws::String &&value)
 
void SetSubnetArn (const char *value)
 
SubnetWithSubnetArn (const Aws::String &value)
 
SubnetWithSubnetArn (Aws::String &&value)
 
SubnetWithSubnetArn (const char *value)
 
const Aws::StringGetOutpostArn () const
 
bool OutpostArnHasBeenSet () const
 
void SetOutpostArn (const Aws::String &value)
 
void SetOutpostArn (Aws::String &&value)
 
void SetOutpostArn (const char *value)
 
SubnetWithOutpostArn (const Aws::String &value)
 
SubnetWithOutpostArn (Aws::String &&value)
 
SubnetWithOutpostArn (const char *value)
 

Detailed Description

Describes a subnet.

See Also:

AWS API Reference

Definition at line 35 of file Subnet.h.

Constructor & Destructor Documentation

◆ Subnet() [1/2]

Aws::EC2::Model::Subnet::Subnet ( )

◆ Subnet() [2/2]

Aws::EC2::Model::Subnet::Subnet ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddIpv6CidrBlockAssociationSet() [1/2]

Subnet& Aws::EC2::Model::Subnet::AddIpv6CidrBlockAssociationSet ( const SubnetIpv6CidrBlockAssociation value)
inline

Information about the IPv6 CIDR blocks associated with the subnet.

Definition at line 522 of file Subnet.h.

◆ AddIpv6CidrBlockAssociationSet() [2/2]

Subnet& Aws::EC2::Model::Subnet::AddIpv6CidrBlockAssociationSet ( SubnetIpv6CidrBlockAssociation &&  value)
inline

Information about the IPv6 CIDR blocks associated with the subnet.

Definition at line 527 of file Subnet.h.

◆ AddTags() [1/2]

Subnet& Aws::EC2::Model::Subnet::AddTags ( const Tag value)
inline

Any tags assigned to the subnet.

Definition at line 563 of file Subnet.h.

◆ AddTags() [2/2]

Subnet& Aws::EC2::Model::Subnet::AddTags ( Tag &&  value)
inline

Any tags assigned to the subnet.

Definition at line 568 of file Subnet.h.

◆ AssignIpv6AddressOnCreationHasBeenSet()

bool Aws::EC2::Model::Subnet::AssignIpv6AddressOnCreationHasBeenSet ( ) const
inline

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives an IPv6 address.

Definition at line 474 of file Subnet.h.

◆ AvailabilityZoneHasBeenSet()

bool Aws::EC2::Model::Subnet::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone of the subnet.

Definition at line 54 of file Subnet.h.

◆ AvailabilityZoneIdHasBeenSet()

bool Aws::EC2::Model::Subnet::AvailabilityZoneIdHasBeenSet ( ) const
inline

The AZ ID of the subnet.

Definition at line 95 of file Subnet.h.

◆ AvailableIpAddressCountHasBeenSet()

bool Aws::EC2::Model::Subnet::AvailableIpAddressCountHasBeenSet ( ) const
inline

The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any stopped instances are considered unavailable.

Definition at line 138 of file Subnet.h.

◆ CidrBlockHasBeenSet()

bool Aws::EC2::Model::Subnet::CidrBlockHasBeenSet ( ) const
inline

The IPv4 CIDR block assigned to the subnet.

Definition at line 161 of file Subnet.h.

◆ CustomerOwnedIpv4PoolHasBeenSet()

bool Aws::EC2::Model::Subnet::CustomerOwnedIpv4PoolHasBeenSet ( ) const
inline

The customer-owned IPv4 address pool associated with the subnet.

Definition at line 277 of file Subnet.h.

◆ DefaultForAzHasBeenSet()

bool Aws::EC2::Model::Subnet::DefaultForAzHasBeenSet ( ) const
inline

Indicates whether this is the default subnet for the Availability Zone.

Definition at line 202 of file Subnet.h.

◆ GetAssignIpv6AddressOnCreation()

bool Aws::EC2::Model::Subnet::GetAssignIpv6AddressOnCreation ( ) const
inline

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives an IPv6 address.

Definition at line 468 of file Subnet.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::EC2::Model::Subnet::GetAvailabilityZone ( ) const
inline

The Availability Zone of the subnet.

Definition at line 49 of file Subnet.h.

◆ GetAvailabilityZoneId()

const Aws::String& Aws::EC2::Model::Subnet::GetAvailabilityZoneId ( ) const
inline

The AZ ID of the subnet.

Definition at line 90 of file Subnet.h.

◆ GetAvailableIpAddressCount()

int Aws::EC2::Model::Subnet::GetAvailableIpAddressCount ( ) const
inline

The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any stopped instances are considered unavailable.

Definition at line 132 of file Subnet.h.

◆ GetCidrBlock()

const Aws::String& Aws::EC2::Model::Subnet::GetCidrBlock ( ) const
inline

The IPv4 CIDR block assigned to the subnet.

Definition at line 156 of file Subnet.h.

◆ GetCustomerOwnedIpv4Pool()

const Aws::String& Aws::EC2::Model::Subnet::GetCustomerOwnedIpv4Pool ( ) const
inline

The customer-owned IPv4 address pool associated with the subnet.

Definition at line 272 of file Subnet.h.

◆ GetDefaultForAz()

bool Aws::EC2::Model::Subnet::GetDefaultForAz ( ) const
inline

Indicates whether this is the default subnet for the Availability Zone.

Definition at line 197 of file Subnet.h.

◆ GetIpv6CidrBlockAssociationSet()

const Aws::Vector<SubnetIpv6CidrBlockAssociation>& Aws::EC2::Model::Subnet::GetIpv6CidrBlockAssociationSet ( ) const
inline

Information about the IPv6 CIDR blocks associated with the subnet.

Definition at line 492 of file Subnet.h.

◆ GetMapCustomerOwnedIpOnLaunch()

bool Aws::EC2::Model::Subnet::GetMapCustomerOwnedIpOnLaunch ( ) const
inline

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives a customer-owned IPv4 address.

Definition at line 245 of file Subnet.h.

◆ GetMapPublicIpOnLaunch()

bool Aws::EC2::Model::Subnet::GetMapPublicIpOnLaunch ( ) const
inline

Indicates whether instances launched in this subnet receive a public IPv4 address.

Definition at line 219 of file Subnet.h.

◆ GetOutpostArn()

const Aws::String& Aws::EC2::Model::Subnet::GetOutpostArn ( ) const
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 615 of file Subnet.h.

◆ GetOwnerId()

const Aws::String& Aws::EC2::Model::Subnet::GetOwnerId ( ) const
inline

The ID of the Amazon Web Services account that owns the subnet.

Definition at line 426 of file Subnet.h.

◆ GetState()

const SubnetState& Aws::EC2::Model::Subnet::GetState ( ) const
inline

The current state of the subnet.

Definition at line 313 of file Subnet.h.

◆ GetSubnetArn()

const Aws::String& Aws::EC2::Model::Subnet::GetSubnetArn ( ) const
inline

The Amazon Resource Name (ARN) of the subnet.

Definition at line 574 of file Subnet.h.

◆ GetSubnetId()

const Aws::String& Aws::EC2::Model::Subnet::GetSubnetId ( ) const
inline

The ID of the subnet.

Definition at line 344 of file Subnet.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::EC2::Model::Subnet::GetTags ( ) const
inline

Any tags assigned to the subnet.

Definition at line 533 of file Subnet.h.

◆ GetVpcId()

const Aws::String& Aws::EC2::Model::Subnet::GetVpcId ( ) const
inline

The ID of the VPC the subnet is in.

Definition at line 385 of file Subnet.h.

◆ Ipv6CidrBlockAssociationSetHasBeenSet()

bool Aws::EC2::Model::Subnet::Ipv6CidrBlockAssociationSetHasBeenSet ( ) const
inline

Information about the IPv6 CIDR blocks associated with the subnet.

Definition at line 497 of file Subnet.h.

◆ MapCustomerOwnedIpOnLaunchHasBeenSet()

bool Aws::EC2::Model::Subnet::MapCustomerOwnedIpOnLaunchHasBeenSet ( ) const
inline

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives a customer-owned IPv4 address.

Definition at line 252 of file Subnet.h.

◆ MapPublicIpOnLaunchHasBeenSet()

bool Aws::EC2::Model::Subnet::MapPublicIpOnLaunchHasBeenSet ( ) const
inline

Indicates whether instances launched in this subnet receive a public IPv4 address.

Definition at line 225 of file Subnet.h.

◆ operator=()

Subnet& Aws::EC2::Model::Subnet::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutpostArnHasBeenSet()

bool Aws::EC2::Model::Subnet::OutpostArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 620 of file Subnet.h.

◆ OutputToStream() [1/2]

void Aws::EC2::Model::Subnet::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::Subnet::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ OwnerIdHasBeenSet()

bool Aws::EC2::Model::Subnet::OwnerIdHasBeenSet ( ) const
inline

The ID of the Amazon Web Services account that owns the subnet.

Definition at line 431 of file Subnet.h.

◆ SetAssignIpv6AddressOnCreation()

void Aws::EC2::Model::Subnet::SetAssignIpv6AddressOnCreation ( bool  value)
inline

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives an IPv6 address.

Definition at line 480 of file Subnet.h.

◆ SetAvailabilityZone() [1/3]

void Aws::EC2::Model::Subnet::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone of the subnet.

Definition at line 64 of file Subnet.h.

◆ SetAvailabilityZone() [2/3]

void Aws::EC2::Model::Subnet::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone of the subnet.

Definition at line 59 of file Subnet.h.

◆ SetAvailabilityZone() [3/3]

void Aws::EC2::Model::Subnet::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone of the subnet.

Definition at line 69 of file Subnet.h.

◆ SetAvailabilityZoneId() [1/3]

void Aws::EC2::Model::Subnet::SetAvailabilityZoneId ( Aws::String &&  value)
inline

The AZ ID of the subnet.

Definition at line 105 of file Subnet.h.

◆ SetAvailabilityZoneId() [2/3]

void Aws::EC2::Model::Subnet::SetAvailabilityZoneId ( const Aws::String value)
inline

The AZ ID of the subnet.

Definition at line 100 of file Subnet.h.

◆ SetAvailabilityZoneId() [3/3]

void Aws::EC2::Model::Subnet::SetAvailabilityZoneId ( const char *  value)
inline

The AZ ID of the subnet.

Definition at line 110 of file Subnet.h.

◆ SetAvailableIpAddressCount()

void Aws::EC2::Model::Subnet::SetAvailableIpAddressCount ( int  value)
inline

The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any stopped instances are considered unavailable.

Definition at line 144 of file Subnet.h.

◆ SetCidrBlock() [1/3]

void Aws::EC2::Model::Subnet::SetCidrBlock ( Aws::String &&  value)
inline

The IPv4 CIDR block assigned to the subnet.

Definition at line 171 of file Subnet.h.

◆ SetCidrBlock() [2/3]

void Aws::EC2::Model::Subnet::SetCidrBlock ( const Aws::String value)
inline

The IPv4 CIDR block assigned to the subnet.

Definition at line 166 of file Subnet.h.

◆ SetCidrBlock() [3/3]

void Aws::EC2::Model::Subnet::SetCidrBlock ( const char *  value)
inline

The IPv4 CIDR block assigned to the subnet.

Definition at line 176 of file Subnet.h.

◆ SetCustomerOwnedIpv4Pool() [1/3]

void Aws::EC2::Model::Subnet::SetCustomerOwnedIpv4Pool ( Aws::String &&  value)
inline

The customer-owned IPv4 address pool associated with the subnet.

Definition at line 287 of file Subnet.h.

◆ SetCustomerOwnedIpv4Pool() [2/3]

void Aws::EC2::Model::Subnet::SetCustomerOwnedIpv4Pool ( const Aws::String value)
inline

The customer-owned IPv4 address pool associated with the subnet.

Definition at line 282 of file Subnet.h.

◆ SetCustomerOwnedIpv4Pool() [3/3]

void Aws::EC2::Model::Subnet::SetCustomerOwnedIpv4Pool ( const char *  value)
inline

The customer-owned IPv4 address pool associated with the subnet.

Definition at line 292 of file Subnet.h.

◆ SetDefaultForAz()

void Aws::EC2::Model::Subnet::SetDefaultForAz ( bool  value)
inline

Indicates whether this is the default subnet for the Availability Zone.

Definition at line 207 of file Subnet.h.

◆ SetIpv6CidrBlockAssociationSet() [1/2]

void Aws::EC2::Model::Subnet::SetIpv6CidrBlockAssociationSet ( Aws::Vector< SubnetIpv6CidrBlockAssociation > &&  value)
inline

Information about the IPv6 CIDR blocks associated with the subnet.

Definition at line 507 of file Subnet.h.

◆ SetIpv6CidrBlockAssociationSet() [2/2]

void Aws::EC2::Model::Subnet::SetIpv6CidrBlockAssociationSet ( const Aws::Vector< SubnetIpv6CidrBlockAssociation > &  value)
inline

Information about the IPv6 CIDR blocks associated with the subnet.

Definition at line 502 of file Subnet.h.

◆ SetMapCustomerOwnedIpOnLaunch()

void Aws::EC2::Model::Subnet::SetMapCustomerOwnedIpOnLaunch ( bool  value)
inline

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives a customer-owned IPv4 address.

Definition at line 259 of file Subnet.h.

◆ SetMapPublicIpOnLaunch()

void Aws::EC2::Model::Subnet::SetMapPublicIpOnLaunch ( bool  value)
inline

Indicates whether instances launched in this subnet receive a public IPv4 address.

Definition at line 231 of file Subnet.h.

◆ SetOutpostArn() [1/3]

void Aws::EC2::Model::Subnet::SetOutpostArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 630 of file Subnet.h.

◆ SetOutpostArn() [2/3]

void Aws::EC2::Model::Subnet::SetOutpostArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 625 of file Subnet.h.

◆ SetOutpostArn() [3/3]

void Aws::EC2::Model::Subnet::SetOutpostArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 635 of file Subnet.h.

◆ SetOwnerId() [1/3]

void Aws::EC2::Model::Subnet::SetOwnerId ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account that owns the subnet.

Definition at line 441 of file Subnet.h.

◆ SetOwnerId() [2/3]

void Aws::EC2::Model::Subnet::SetOwnerId ( const Aws::String value)
inline

The ID of the Amazon Web Services account that owns the subnet.

Definition at line 436 of file Subnet.h.

◆ SetOwnerId() [3/3]

void Aws::EC2::Model::Subnet::SetOwnerId ( const char *  value)
inline

The ID of the Amazon Web Services account that owns the subnet.

Definition at line 446 of file Subnet.h.

◆ SetState() [1/2]

void Aws::EC2::Model::Subnet::SetState ( const SubnetState value)
inline

The current state of the subnet.

Definition at line 323 of file Subnet.h.

◆ SetState() [2/2]

void Aws::EC2::Model::Subnet::SetState ( SubnetState &&  value)
inline

The current state of the subnet.

Definition at line 328 of file Subnet.h.

◆ SetSubnetArn() [1/3]

void Aws::EC2::Model::Subnet::SetSubnetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the subnet.

Definition at line 589 of file Subnet.h.

◆ SetSubnetArn() [2/3]

void Aws::EC2::Model::Subnet::SetSubnetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the subnet.

Definition at line 584 of file Subnet.h.

◆ SetSubnetArn() [3/3]

void Aws::EC2::Model::Subnet::SetSubnetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the subnet.

Definition at line 594 of file Subnet.h.

◆ SetSubnetId() [1/3]

void Aws::EC2::Model::Subnet::SetSubnetId ( Aws::String &&  value)
inline

The ID of the subnet.

Definition at line 359 of file Subnet.h.

◆ SetSubnetId() [2/3]

void Aws::EC2::Model::Subnet::SetSubnetId ( const Aws::String value)
inline

The ID of the subnet.

Definition at line 354 of file Subnet.h.

◆ SetSubnetId() [3/3]

void Aws::EC2::Model::Subnet::SetSubnetId ( const char *  value)
inline

The ID of the subnet.

Definition at line 364 of file Subnet.h.

◆ SetTags() [1/2]

void Aws::EC2::Model::Subnet::SetTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the subnet.

Definition at line 548 of file Subnet.h.

◆ SetTags() [2/2]

void Aws::EC2::Model::Subnet::SetTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the subnet.

Definition at line 543 of file Subnet.h.

◆ SetVpcId() [1/3]

void Aws::EC2::Model::Subnet::SetVpcId ( Aws::String &&  value)
inline

The ID of the VPC the subnet is in.

Definition at line 400 of file Subnet.h.

◆ SetVpcId() [2/3]

void Aws::EC2::Model::Subnet::SetVpcId ( const Aws::String value)
inline

The ID of the VPC the subnet is in.

Definition at line 395 of file Subnet.h.

◆ SetVpcId() [3/3]

void Aws::EC2::Model::Subnet::SetVpcId ( const char *  value)
inline

The ID of the VPC the subnet is in.

Definition at line 405 of file Subnet.h.

◆ StateHasBeenSet()

bool Aws::EC2::Model::Subnet::StateHasBeenSet ( ) const
inline

The current state of the subnet.

Definition at line 318 of file Subnet.h.

◆ SubnetArnHasBeenSet()

bool Aws::EC2::Model::Subnet::SubnetArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the subnet.

Definition at line 579 of file Subnet.h.

◆ SubnetIdHasBeenSet()

bool Aws::EC2::Model::Subnet::SubnetIdHasBeenSet ( ) const
inline

The ID of the subnet.

Definition at line 349 of file Subnet.h.

◆ TagsHasBeenSet()

bool Aws::EC2::Model::Subnet::TagsHasBeenSet ( ) const
inline

Any tags assigned to the subnet.

Definition at line 538 of file Subnet.h.

◆ VpcIdHasBeenSet()

bool Aws::EC2::Model::Subnet::VpcIdHasBeenSet ( ) const
inline

The ID of the VPC the subnet is in.

Definition at line 390 of file Subnet.h.

◆ WithAssignIpv6AddressOnCreation()

Subnet& Aws::EC2::Model::Subnet::WithAssignIpv6AddressOnCreation ( bool  value)
inline

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives an IPv6 address.

Definition at line 486 of file Subnet.h.

◆ WithAvailabilityZone() [1/3]

Subnet& Aws::EC2::Model::Subnet::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone of the subnet.

Definition at line 79 of file Subnet.h.

◆ WithAvailabilityZone() [2/3]

Subnet& Aws::EC2::Model::Subnet::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone of the subnet.

Definition at line 74 of file Subnet.h.

◆ WithAvailabilityZone() [3/3]

Subnet& Aws::EC2::Model::Subnet::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone of the subnet.

Definition at line 84 of file Subnet.h.

◆ WithAvailabilityZoneId() [1/3]

Subnet& Aws::EC2::Model::Subnet::WithAvailabilityZoneId ( Aws::String &&  value)
inline

The AZ ID of the subnet.

Definition at line 120 of file Subnet.h.

◆ WithAvailabilityZoneId() [2/3]

Subnet& Aws::EC2::Model::Subnet::WithAvailabilityZoneId ( const Aws::String value)
inline

The AZ ID of the subnet.

Definition at line 115 of file Subnet.h.

◆ WithAvailabilityZoneId() [3/3]

Subnet& Aws::EC2::Model::Subnet::WithAvailabilityZoneId ( const char *  value)
inline

The AZ ID of the subnet.

Definition at line 125 of file Subnet.h.

◆ WithAvailableIpAddressCount()

Subnet& Aws::EC2::Model::Subnet::WithAvailableIpAddressCount ( int  value)
inline

The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any stopped instances are considered unavailable.

Definition at line 150 of file Subnet.h.

◆ WithCidrBlock() [1/3]

Subnet& Aws::EC2::Model::Subnet::WithCidrBlock ( Aws::String &&  value)
inline

The IPv4 CIDR block assigned to the subnet.

Definition at line 186 of file Subnet.h.

◆ WithCidrBlock() [2/3]

Subnet& Aws::EC2::Model::Subnet::WithCidrBlock ( const Aws::String value)
inline

The IPv4 CIDR block assigned to the subnet.

Definition at line 181 of file Subnet.h.

◆ WithCidrBlock() [3/3]

Subnet& Aws::EC2::Model::Subnet::WithCidrBlock ( const char *  value)
inline

The IPv4 CIDR block assigned to the subnet.

Definition at line 191 of file Subnet.h.

◆ WithCustomerOwnedIpv4Pool() [1/3]

Subnet& Aws::EC2::Model::Subnet::WithCustomerOwnedIpv4Pool ( Aws::String &&  value)
inline

The customer-owned IPv4 address pool associated with the subnet.

Definition at line 302 of file Subnet.h.

◆ WithCustomerOwnedIpv4Pool() [2/3]

Subnet& Aws::EC2::Model::Subnet::WithCustomerOwnedIpv4Pool ( const Aws::String value)
inline

The customer-owned IPv4 address pool associated with the subnet.

Definition at line 297 of file Subnet.h.

◆ WithCustomerOwnedIpv4Pool() [3/3]

Subnet& Aws::EC2::Model::Subnet::WithCustomerOwnedIpv4Pool ( const char *  value)
inline

The customer-owned IPv4 address pool associated with the subnet.

Definition at line 307 of file Subnet.h.

◆ WithDefaultForAz()

Subnet& Aws::EC2::Model::Subnet::WithDefaultForAz ( bool  value)
inline

Indicates whether this is the default subnet for the Availability Zone.

Definition at line 212 of file Subnet.h.

◆ WithIpv6CidrBlockAssociationSet() [1/2]

Subnet& Aws::EC2::Model::Subnet::WithIpv6CidrBlockAssociationSet ( Aws::Vector< SubnetIpv6CidrBlockAssociation > &&  value)
inline

Information about the IPv6 CIDR blocks associated with the subnet.

Definition at line 517 of file Subnet.h.

◆ WithIpv6CidrBlockAssociationSet() [2/2]

Subnet& Aws::EC2::Model::Subnet::WithIpv6CidrBlockAssociationSet ( const Aws::Vector< SubnetIpv6CidrBlockAssociation > &  value)
inline

Information about the IPv6 CIDR blocks associated with the subnet.

Definition at line 512 of file Subnet.h.

◆ WithMapCustomerOwnedIpOnLaunch()

Subnet& Aws::EC2::Model::Subnet::WithMapCustomerOwnedIpOnLaunch ( bool  value)
inline

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives a customer-owned IPv4 address.

Definition at line 266 of file Subnet.h.

◆ WithMapPublicIpOnLaunch()

Subnet& Aws::EC2::Model::Subnet::WithMapPublicIpOnLaunch ( bool  value)
inline

Indicates whether instances launched in this subnet receive a public IPv4 address.

Definition at line 237 of file Subnet.h.

◆ WithOutpostArn() [1/3]

Subnet& Aws::EC2::Model::Subnet::WithOutpostArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 645 of file Subnet.h.

◆ WithOutpostArn() [2/3]

Subnet& Aws::EC2::Model::Subnet::WithOutpostArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 640 of file Subnet.h.

◆ WithOutpostArn() [3/3]

Subnet& Aws::EC2::Model::Subnet::WithOutpostArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 650 of file Subnet.h.

◆ WithOwnerId() [1/3]

Subnet& Aws::EC2::Model::Subnet::WithOwnerId ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account that owns the subnet.

Definition at line 456 of file Subnet.h.

◆ WithOwnerId() [2/3]

Subnet& Aws::EC2::Model::Subnet::WithOwnerId ( const Aws::String value)
inline

The ID of the Amazon Web Services account that owns the subnet.

Definition at line 451 of file Subnet.h.

◆ WithOwnerId() [3/3]

Subnet& Aws::EC2::Model::Subnet::WithOwnerId ( const char *  value)
inline

The ID of the Amazon Web Services account that owns the subnet.

Definition at line 461 of file Subnet.h.

◆ WithState() [1/2]

Subnet& Aws::EC2::Model::Subnet::WithState ( const SubnetState value)
inline

The current state of the subnet.

Definition at line 333 of file Subnet.h.

◆ WithState() [2/2]

Subnet& Aws::EC2::Model::Subnet::WithState ( SubnetState &&  value)
inline

The current state of the subnet.

Definition at line 338 of file Subnet.h.

◆ WithSubnetArn() [1/3]

Subnet& Aws::EC2::Model::Subnet::WithSubnetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the subnet.

Definition at line 604 of file Subnet.h.

◆ WithSubnetArn() [2/3]

Subnet& Aws::EC2::Model::Subnet::WithSubnetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the subnet.

Definition at line 599 of file Subnet.h.

◆ WithSubnetArn() [3/3]

Subnet& Aws::EC2::Model::Subnet::WithSubnetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the subnet.

Definition at line 609 of file Subnet.h.

◆ WithSubnetId() [1/3]

Subnet& Aws::EC2::Model::Subnet::WithSubnetId ( Aws::String &&  value)
inline

The ID of the subnet.

Definition at line 374 of file Subnet.h.

◆ WithSubnetId() [2/3]

Subnet& Aws::EC2::Model::Subnet::WithSubnetId ( const Aws::String value)
inline

The ID of the subnet.

Definition at line 369 of file Subnet.h.

◆ WithSubnetId() [3/3]

Subnet& Aws::EC2::Model::Subnet::WithSubnetId ( const char *  value)
inline

The ID of the subnet.

Definition at line 379 of file Subnet.h.

◆ WithTags() [1/2]

Subnet& Aws::EC2::Model::Subnet::WithTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the subnet.

Definition at line 558 of file Subnet.h.

◆ WithTags() [2/2]

Subnet& Aws::EC2::Model::Subnet::WithTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the subnet.

Definition at line 553 of file Subnet.h.

◆ WithVpcId() [1/3]

Subnet& Aws::EC2::Model::Subnet::WithVpcId ( Aws::String &&  value)
inline

The ID of the VPC the subnet is in.

Definition at line 415 of file Subnet.h.

◆ WithVpcId() [2/3]

Subnet& Aws::EC2::Model::Subnet::WithVpcId ( const Aws::String value)
inline

The ID of the VPC the subnet is in.

Definition at line 410 of file Subnet.h.

◆ WithVpcId() [3/3]

Subnet& Aws::EC2::Model::Subnet::WithVpcId ( const char *  value)
inline

The ID of the VPC the subnet is in.

Definition at line 420 of file Subnet.h.


The documentation for this class was generated from the following file: