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

#include <NatGateway.h>

Public Member Functions

 NatGateway ()
 
 NatGateway (const Aws::Utils::Xml::XmlNode &xmlNode)
 
NatGatewayoperator= (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::Utils::DateTimeGetCreateTime () const
 
bool CreateTimeHasBeenSet () const
 
void SetCreateTime (const Aws::Utils::DateTime &value)
 
void SetCreateTime (Aws::Utils::DateTime &&value)
 
NatGatewayWithCreateTime (const Aws::Utils::DateTime &value)
 
NatGatewayWithCreateTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetDeleteTime () const
 
bool DeleteTimeHasBeenSet () const
 
void SetDeleteTime (const Aws::Utils::DateTime &value)
 
void SetDeleteTime (Aws::Utils::DateTime &&value)
 
NatGatewayWithDeleteTime (const Aws::Utils::DateTime &value)
 
NatGatewayWithDeleteTime (Aws::Utils::DateTime &&value)
 
const Aws::StringGetFailureCode () const
 
bool FailureCodeHasBeenSet () const
 
void SetFailureCode (const Aws::String &value)
 
void SetFailureCode (Aws::String &&value)
 
void SetFailureCode (const char *value)
 
NatGatewayWithFailureCode (const Aws::String &value)
 
NatGatewayWithFailureCode (Aws::String &&value)
 
NatGatewayWithFailureCode (const char *value)
 
const Aws::StringGetFailureMessage () const
 
bool FailureMessageHasBeenSet () const
 
void SetFailureMessage (const Aws::String &value)
 
void SetFailureMessage (Aws::String &&value)
 
void SetFailureMessage (const char *value)
 
NatGatewayWithFailureMessage (const Aws::String &value)
 
NatGatewayWithFailureMessage (Aws::String &&value)
 
NatGatewayWithFailureMessage (const char *value)
 
const Aws::Vector< NatGatewayAddress > & GetNatGatewayAddresses () const
 
bool NatGatewayAddressesHasBeenSet () const
 
void SetNatGatewayAddresses (const Aws::Vector< NatGatewayAddress > &value)
 
void SetNatGatewayAddresses (Aws::Vector< NatGatewayAddress > &&value)
 
NatGatewayWithNatGatewayAddresses (const Aws::Vector< NatGatewayAddress > &value)
 
NatGatewayWithNatGatewayAddresses (Aws::Vector< NatGatewayAddress > &&value)
 
NatGatewayAddNatGatewayAddresses (const NatGatewayAddress &value)
 
NatGatewayAddNatGatewayAddresses (NatGatewayAddress &&value)
 
const Aws::StringGetNatGatewayId () const
 
bool NatGatewayIdHasBeenSet () const
 
void SetNatGatewayId (const Aws::String &value)
 
void SetNatGatewayId (Aws::String &&value)
 
void SetNatGatewayId (const char *value)
 
NatGatewayWithNatGatewayId (const Aws::String &value)
 
NatGatewayWithNatGatewayId (Aws::String &&value)
 
NatGatewayWithNatGatewayId (const char *value)
 
const ProvisionedBandwidthGetProvisionedBandwidth () const
 
bool ProvisionedBandwidthHasBeenSet () const
 
void SetProvisionedBandwidth (const ProvisionedBandwidth &value)
 
void SetProvisionedBandwidth (ProvisionedBandwidth &&value)
 
NatGatewayWithProvisionedBandwidth (const ProvisionedBandwidth &value)
 
NatGatewayWithProvisionedBandwidth (ProvisionedBandwidth &&value)
 
const NatGatewayStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const NatGatewayState &value)
 
void SetState (NatGatewayState &&value)
 
NatGatewayWithState (const NatGatewayState &value)
 
NatGatewayWithState (NatGatewayState &&value)
 
const Aws::StringGetSubnetId () const
 
bool SubnetIdHasBeenSet () const
 
void SetSubnetId (const Aws::String &value)
 
void SetSubnetId (Aws::String &&value)
 
void SetSubnetId (const char *value)
 
NatGatewayWithSubnetId (const Aws::String &value)
 
NatGatewayWithSubnetId (Aws::String &&value)
 
NatGatewayWithSubnetId (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)
 
NatGatewayWithVpcId (const Aws::String &value)
 
NatGatewayWithVpcId (Aws::String &&value)
 
NatGatewayWithVpcId (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
NatGatewayWithTags (const Aws::Vector< Tag > &value)
 
NatGatewayWithTags (Aws::Vector< Tag > &&value)
 
NatGatewayAddTags (const Tag &value)
 
NatGatewayAddTags (Tag &&value)
 
const ConnectivityTypeGetConnectivityType () const
 
bool ConnectivityTypeHasBeenSet () const
 
void SetConnectivityType (const ConnectivityType &value)
 
void SetConnectivityType (ConnectivityType &&value)
 
NatGatewayWithConnectivityType (const ConnectivityType &value)
 
NatGatewayWithConnectivityType (ConnectivityType &&value)
 

Detailed Description

Describes a NAT gateway.

See Also:

AWS API Reference

Definition at line 38 of file NatGateway.h.

Constructor & Destructor Documentation

◆ NatGateway() [1/2]

Aws::EC2::Model::NatGateway::NatGateway ( )

◆ NatGateway() [2/2]

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

Member Function Documentation

◆ AddNatGatewayAddresses() [1/2]

NatGateway& Aws::EC2::Model::NatGateway::AddNatGatewayAddresses ( const NatGatewayAddress value)
inline

Information about the IP addresses and network interface associated with the NAT gateway.

Definition at line 361 of file NatGateway.h.

◆ AddNatGatewayAddresses() [2/2]

NatGateway& Aws::EC2::Model::NatGateway::AddNatGatewayAddresses ( NatGatewayAddress &&  value)
inline

Information about the IP addresses and network interface associated with the NAT gateway.

Definition at line 367 of file NatGateway.h.

◆ AddTags() [1/2]

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

The tags for the NAT gateway.

Definition at line 666 of file NatGateway.h.

◆ AddTags() [2/2]

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

The tags for the NAT gateway.

Definition at line 671 of file NatGateway.h.

◆ ConnectivityTypeHasBeenSet()

bool Aws::EC2::Model::NatGateway::ConnectivityTypeHasBeenSet ( ) const
inline

Indicates whether the NAT gateway supports public or private connectivity.

Definition at line 684 of file NatGateway.h.

◆ CreateTimeHasBeenSet()

bool Aws::EC2::Model::NatGateway::CreateTimeHasBeenSet ( ) const
inline

The date and time the NAT gateway was created.

Definition at line 57 of file NatGateway.h.

◆ DeleteTimeHasBeenSet()

bool Aws::EC2::Model::NatGateway::DeleteTimeHasBeenSet ( ) const
inline

The date and time the NAT gateway was deleted, if applicable.

Definition at line 88 of file NatGateway.h.

◆ FailureCodeHasBeenSet()

bool Aws::EC2::Model::NatGateway::FailureCodeHasBeenSet ( ) const
inline

If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound)

Definition at line 127 of file NatGateway.h.

◆ FailureMessageHasBeenSet()

bool Aws::EC2::Model::NatGateway::FailureMessageHasBeenSet ( ) const
inline

If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.

  • For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"

  • For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"

  • For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"

  • For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"

  • For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."</p> </li> <li> <p>For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."

Definition at line 216 of file NatGateway.h.

◆ GetConnectivityType()

const ConnectivityType& Aws::EC2::Model::NatGateway::GetConnectivityType ( ) const
inline

Indicates whether the NAT gateway supports public or private connectivity.

Definition at line 678 of file NatGateway.h.

◆ GetCreateTime()

const Aws::Utils::DateTime& Aws::EC2::Model::NatGateway::GetCreateTime ( ) const
inline

The date and time the NAT gateway was created.

Definition at line 52 of file NatGateway.h.

◆ GetDeleteTime()

const Aws::Utils::DateTime& Aws::EC2::Model::NatGateway::GetDeleteTime ( ) const
inline

The date and time the NAT gateway was deleted, if applicable.

Definition at line 83 of file NatGateway.h.

◆ GetFailureCode()

const Aws::String& Aws::EC2::Model::NatGateway::GetFailureCode ( ) const
inline

If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound)

Definition at line 118 of file NatGateway.h.

◆ GetFailureMessage()

const Aws::String& Aws::EC2::Model::NatGateway::GetFailureMessage ( ) const
inline

If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.

  • For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"

  • For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"

  • For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"

  • For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"

  • For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."</p> </li> <li> <p>For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."

Definition at line 199 of file NatGateway.h.

◆ GetNatGatewayAddresses()

const Aws::Vector<NatGatewayAddress>& Aws::EC2::Model::NatGateway::GetNatGatewayAddresses ( ) const
inline

Information about the IP addresses and network interface associated with the NAT gateway.

Definition at line 325 of file NatGateway.h.

◆ GetNatGatewayId()

const Aws::String& Aws::EC2::Model::NatGateway::GetNatGatewayId ( ) const
inline

The ID of the NAT gateway.

Definition at line 373 of file NatGateway.h.

◆ GetProvisionedBandwidth()

const ProvisionedBandwidth& Aws::EC2::Model::NatGateway::GetProvisionedBandwidth ( ) const
inline

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

Definition at line 417 of file NatGateway.h.

◆ GetState()

const NatGatewayState& Aws::EC2::Model::NatGateway::GetState ( ) const
inline

The state of the NAT gateway.

  • pending: The NAT gateway is being created and is not ready to process traffic.

  • failed: The NAT gateway could not be created. Check the failureCode and failureMessage fields for the reason.

  • available: The NAT gateway is able to process traffic. This status remains until you delete the NAT gateway, and does not indicate the health of the NAT gateway.

  • deleting: The NAT gateway is in the process of being terminated and may still be processing traffic.

  • deleted: The NAT gateway has been terminated and is no longer processing traffic.

Definition at line 473 of file NatGateway.h.

◆ GetSubnetId()

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

The ID of the subnet in which the NAT gateway is located.

Definition at line 554 of file NatGateway.h.

◆ GetTags()

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

The tags for the NAT gateway.

Definition at line 636 of file NatGateway.h.

◆ GetVpcId()

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

The ID of the VPC in which the NAT gateway is located.

Definition at line 595 of file NatGateway.h.

◆ NatGatewayAddressesHasBeenSet()

bool Aws::EC2::Model::NatGateway::NatGatewayAddressesHasBeenSet ( ) const
inline

Information about the IP addresses and network interface associated with the NAT gateway.

Definition at line 331 of file NatGateway.h.

◆ NatGatewayIdHasBeenSet()

bool Aws::EC2::Model::NatGateway::NatGatewayIdHasBeenSet ( ) const
inline

The ID of the NAT gateway.

Definition at line 378 of file NatGateway.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ ProvisionedBandwidthHasBeenSet()

bool Aws::EC2::Model::NatGateway::ProvisionedBandwidthHasBeenSet ( ) const
inline

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

Definition at line 425 of file NatGateway.h.

◆ SetConnectivityType() [1/2]

void Aws::EC2::Model::NatGateway::SetConnectivityType ( ConnectivityType &&  value)
inline

Indicates whether the NAT gateway supports public or private connectivity.

Definition at line 696 of file NatGateway.h.

◆ SetConnectivityType() [2/2]

void Aws::EC2::Model::NatGateway::SetConnectivityType ( const ConnectivityType value)
inline

Indicates whether the NAT gateway supports public or private connectivity.

Definition at line 690 of file NatGateway.h.

◆ SetCreateTime() [1/2]

void Aws::EC2::Model::NatGateway::SetCreateTime ( Aws::Utils::DateTime &&  value)
inline

The date and time the NAT gateway was created.

Definition at line 67 of file NatGateway.h.

◆ SetCreateTime() [2/2]

void Aws::EC2::Model::NatGateway::SetCreateTime ( const Aws::Utils::DateTime value)
inline

The date and time the NAT gateway was created.

Definition at line 62 of file NatGateway.h.

◆ SetDeleteTime() [1/2]

void Aws::EC2::Model::NatGateway::SetDeleteTime ( Aws::Utils::DateTime &&  value)
inline

The date and time the NAT gateway was deleted, if applicable.

Definition at line 98 of file NatGateway.h.

◆ SetDeleteTime() [2/2]

void Aws::EC2::Model::NatGateway::SetDeleteTime ( const Aws::Utils::DateTime value)
inline

The date and time the NAT gateway was deleted, if applicable.

Definition at line 93 of file NatGateway.h.

◆ SetFailureCode() [1/3]

void Aws::EC2::Model::NatGateway::SetFailureCode ( Aws::String &&  value)
inline

If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound)

Definition at line 145 of file NatGateway.h.

◆ SetFailureCode() [2/3]

void Aws::EC2::Model::NatGateway::SetFailureCode ( const Aws::String value)
inline

If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound)

Definition at line 136 of file NatGateway.h.

◆ SetFailureCode() [3/3]

void Aws::EC2::Model::NatGateway::SetFailureCode ( const char *  value)
inline

If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound)

Definition at line 154 of file NatGateway.h.

◆ SetFailureMessage() [1/3]

void Aws::EC2::Model::NatGateway::SetFailureMessage ( Aws::String &&  value)
inline

If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.

  • For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"

  • For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"

  • For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"

  • For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"

  • For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."</p> </li> <li> <p>For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."

Definition at line 250 of file NatGateway.h.

◆ SetFailureMessage() [2/3]

void Aws::EC2::Model::NatGateway::SetFailureMessage ( const Aws::String value)
inline

If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.

  • For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"

  • For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"

  • For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"

  • For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"

  • For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."</p> </li> <li> <p>For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."

Definition at line 233 of file NatGateway.h.

◆ SetFailureMessage() [3/3]

void Aws::EC2::Model::NatGateway::SetFailureMessage ( const char *  value)
inline

If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.

  • For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"

  • For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"

  • For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"

  • For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"

  • For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."</p> </li> <li> <p>For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."

Definition at line 267 of file NatGateway.h.

◆ SetNatGatewayAddresses() [1/2]

void Aws::EC2::Model::NatGateway::SetNatGatewayAddresses ( Aws::Vector< NatGatewayAddress > &&  value)
inline

Information about the IP addresses and network interface associated with the NAT gateway.

Definition at line 343 of file NatGateway.h.

◆ SetNatGatewayAddresses() [2/2]

void Aws::EC2::Model::NatGateway::SetNatGatewayAddresses ( const Aws::Vector< NatGatewayAddress > &  value)
inline

Information about the IP addresses and network interface associated with the NAT gateway.

Definition at line 337 of file NatGateway.h.

◆ SetNatGatewayId() [1/3]

void Aws::EC2::Model::NatGateway::SetNatGatewayId ( Aws::String &&  value)
inline

The ID of the NAT gateway.

Definition at line 388 of file NatGateway.h.

◆ SetNatGatewayId() [2/3]

void Aws::EC2::Model::NatGateway::SetNatGatewayId ( const Aws::String value)
inline

The ID of the NAT gateway.

Definition at line 383 of file NatGateway.h.

◆ SetNatGatewayId() [3/3]

void Aws::EC2::Model::NatGateway::SetNatGatewayId ( const char *  value)
inline

The ID of the NAT gateway.

Definition at line 393 of file NatGateway.h.

◆ SetProvisionedBandwidth() [1/2]

void Aws::EC2::Model::NatGateway::SetProvisionedBandwidth ( const ProvisionedBandwidth value)
inline

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

Definition at line 433 of file NatGateway.h.

◆ SetProvisionedBandwidth() [2/2]

void Aws::EC2::Model::NatGateway::SetProvisionedBandwidth ( ProvisionedBandwidth &&  value)
inline

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

Definition at line 441 of file NatGateway.h.

◆ SetState() [1/2]

void Aws::EC2::Model::NatGateway::SetState ( const NatGatewayState value)
inline

The state of the NAT gateway.

  • pending: The NAT gateway is being created and is not ready to process traffic.

  • failed: The NAT gateway could not be created. Check the failureCode and failureMessage fields for the reason.

  • available: The NAT gateway is able to process traffic. This status remains until you delete the NAT gateway, and does not indicate the health of the NAT gateway.

  • deleting: The NAT gateway is in the process of being terminated and may still be processing traffic.

  • deleted: The NAT gateway has been terminated and is no longer processing traffic.

Definition at line 503 of file NatGateway.h.

◆ SetState() [2/2]

void Aws::EC2::Model::NatGateway::SetState ( NatGatewayState &&  value)
inline

The state of the NAT gateway.

  • pending: The NAT gateway is being created and is not ready to process traffic.

  • failed: The NAT gateway could not be created. Check the failureCode and failureMessage fields for the reason.

  • available: The NAT gateway is able to process traffic. This status remains until you delete the NAT gateway, and does not indicate the health of the NAT gateway.

  • deleting: The NAT gateway is in the process of being terminated and may still be processing traffic.

  • deleted: The NAT gateway has been terminated and is no longer processing traffic.

Definition at line 518 of file NatGateway.h.

◆ SetSubnetId() [1/3]

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

The ID of the subnet in which the NAT gateway is located.

Definition at line 569 of file NatGateway.h.

◆ SetSubnetId() [2/3]

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

The ID of the subnet in which the NAT gateway is located.

Definition at line 564 of file NatGateway.h.

◆ SetSubnetId() [3/3]

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

The ID of the subnet in which the NAT gateway is located.

Definition at line 574 of file NatGateway.h.

◆ SetTags() [1/2]

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

The tags for the NAT gateway.

Definition at line 651 of file NatGateway.h.

◆ SetTags() [2/2]

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

The tags for the NAT gateway.

Definition at line 646 of file NatGateway.h.

◆ SetVpcId() [1/3]

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

The ID of the VPC in which the NAT gateway is located.

Definition at line 610 of file NatGateway.h.

◆ SetVpcId() [2/3]

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

The ID of the VPC in which the NAT gateway is located.

Definition at line 605 of file NatGateway.h.

◆ SetVpcId() [3/3]

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

The ID of the VPC in which the NAT gateway is located.

Definition at line 615 of file NatGateway.h.

◆ StateHasBeenSet()

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

The state of the NAT gateway.

  • pending: The NAT gateway is being created and is not ready to process traffic.

  • failed: The NAT gateway could not be created. Check the failureCode and failureMessage fields for the reason.

  • available: The NAT gateway is able to process traffic. This status remains until you delete the NAT gateway, and does not indicate the health of the NAT gateway.

  • deleting: The NAT gateway is in the process of being terminated and may still be processing traffic.

  • deleted: The NAT gateway has been terminated and is no longer processing traffic.

Definition at line 488 of file NatGateway.h.

◆ SubnetIdHasBeenSet()

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

The ID of the subnet in which the NAT gateway is located.

Definition at line 559 of file NatGateway.h.

◆ TagsHasBeenSet()

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

The tags for the NAT gateway.

Definition at line 641 of file NatGateway.h.

◆ VpcIdHasBeenSet()

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

The ID of the VPC in which the NAT gateway is located.

Definition at line 600 of file NatGateway.h.

◆ WithConnectivityType() [1/2]

NatGateway& Aws::EC2::Model::NatGateway::WithConnectivityType ( ConnectivityType &&  value)
inline

Indicates whether the NAT gateway supports public or private connectivity.

Definition at line 708 of file NatGateway.h.

◆ WithConnectivityType() [2/2]

NatGateway& Aws::EC2::Model::NatGateway::WithConnectivityType ( const ConnectivityType value)
inline

Indicates whether the NAT gateway supports public or private connectivity.

Definition at line 702 of file NatGateway.h.

◆ WithCreateTime() [1/2]

NatGateway& Aws::EC2::Model::NatGateway::WithCreateTime ( Aws::Utils::DateTime &&  value)
inline

The date and time the NAT gateway was created.

Definition at line 77 of file NatGateway.h.

◆ WithCreateTime() [2/2]

NatGateway& Aws::EC2::Model::NatGateway::WithCreateTime ( const Aws::Utils::DateTime value)
inline

The date and time the NAT gateway was created.

Definition at line 72 of file NatGateway.h.

◆ WithDeleteTime() [1/2]

NatGateway& Aws::EC2::Model::NatGateway::WithDeleteTime ( Aws::Utils::DateTime &&  value)
inline

The date and time the NAT gateway was deleted, if applicable.

Definition at line 108 of file NatGateway.h.

◆ WithDeleteTime() [2/2]

NatGateway& Aws::EC2::Model::NatGateway::WithDeleteTime ( const Aws::Utils::DateTime value)
inline

The date and time the NAT gateway was deleted, if applicable.

Definition at line 103 of file NatGateway.h.

◆ WithFailureCode() [1/3]

NatGateway& Aws::EC2::Model::NatGateway::WithFailureCode ( Aws::String &&  value)
inline

If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound)

Definition at line 172 of file NatGateway.h.

◆ WithFailureCode() [2/3]

NatGateway& Aws::EC2::Model::NatGateway::WithFailureCode ( const Aws::String value)
inline

If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound)

Definition at line 163 of file NatGateway.h.

◆ WithFailureCode() [3/3]

NatGateway& Aws::EC2::Model::NatGateway::WithFailureCode ( const char *  value)
inline

If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound)

Definition at line 181 of file NatGateway.h.

◆ WithFailureMessage() [1/3]

NatGateway& Aws::EC2::Model::NatGateway::WithFailureMessage ( Aws::String &&  value)
inline

If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.

  • For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"

  • For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"

  • For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"

  • For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"

  • For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."</p> </li> <li> <p>For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."

Definition at line 301 of file NatGateway.h.

◆ WithFailureMessage() [2/3]

NatGateway& Aws::EC2::Model::NatGateway::WithFailureMessage ( const Aws::String value)
inline

If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.

  • For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"

  • For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"

  • For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"

  • For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"

  • For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."</p> </li> <li> <p>For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."

Definition at line 284 of file NatGateway.h.

◆ WithFailureMessage() [3/3]

NatGateway& Aws::EC2::Model::NatGateway::WithFailureMessage ( const char *  value)
inline

If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.

  • For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"

  • For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"

  • For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"

  • For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"

  • For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."</p> </li> <li> <p>For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."

Definition at line 318 of file NatGateway.h.

◆ WithNatGatewayAddresses() [1/2]

NatGateway& Aws::EC2::Model::NatGateway::WithNatGatewayAddresses ( Aws::Vector< NatGatewayAddress > &&  value)
inline

Information about the IP addresses and network interface associated with the NAT gateway.

Definition at line 355 of file NatGateway.h.

◆ WithNatGatewayAddresses() [2/2]

NatGateway& Aws::EC2::Model::NatGateway::WithNatGatewayAddresses ( const Aws::Vector< NatGatewayAddress > &  value)
inline

Information about the IP addresses and network interface associated with the NAT gateway.

Definition at line 349 of file NatGateway.h.

◆ WithNatGatewayId() [1/3]

NatGateway& Aws::EC2::Model::NatGateway::WithNatGatewayId ( Aws::String &&  value)
inline

The ID of the NAT gateway.

Definition at line 403 of file NatGateway.h.

◆ WithNatGatewayId() [2/3]

NatGateway& Aws::EC2::Model::NatGateway::WithNatGatewayId ( const Aws::String value)
inline

The ID of the NAT gateway.

Definition at line 398 of file NatGateway.h.

◆ WithNatGatewayId() [3/3]

NatGateway& Aws::EC2::Model::NatGateway::WithNatGatewayId ( const char *  value)
inline

The ID of the NAT gateway.

Definition at line 408 of file NatGateway.h.

◆ WithProvisionedBandwidth() [1/2]

NatGateway& Aws::EC2::Model::NatGateway::WithProvisionedBandwidth ( const ProvisionedBandwidth value)
inline

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

Definition at line 449 of file NatGateway.h.

◆ WithProvisionedBandwidth() [2/2]

NatGateway& Aws::EC2::Model::NatGateway::WithProvisionedBandwidth ( ProvisionedBandwidth &&  value)
inline

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

Definition at line 457 of file NatGateway.h.

◆ WithState() [1/2]

NatGateway& Aws::EC2::Model::NatGateway::WithState ( const NatGatewayState value)
inline

The state of the NAT gateway.

  • pending: The NAT gateway is being created and is not ready to process traffic.

  • failed: The NAT gateway could not be created. Check the failureCode and failureMessage fields for the reason.

  • available: The NAT gateway is able to process traffic. This status remains until you delete the NAT gateway, and does not indicate the health of the NAT gateway.

  • deleting: The NAT gateway is in the process of being terminated and may still be processing traffic.

  • deleted: The NAT gateway has been terminated and is no longer processing traffic.

Definition at line 533 of file NatGateway.h.

◆ WithState() [2/2]

NatGateway& Aws::EC2::Model::NatGateway::WithState ( NatGatewayState &&  value)
inline

The state of the NAT gateway.

  • pending: The NAT gateway is being created and is not ready to process traffic.

  • failed: The NAT gateway could not be created. Check the failureCode and failureMessage fields for the reason.

  • available: The NAT gateway is able to process traffic. This status remains until you delete the NAT gateway, and does not indicate the health of the NAT gateway.

  • deleting: The NAT gateway is in the process of being terminated and may still be processing traffic.

  • deleted: The NAT gateway has been terminated and is no longer processing traffic.

Definition at line 548 of file NatGateway.h.

◆ WithSubnetId() [1/3]

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

The ID of the subnet in which the NAT gateway is located.

Definition at line 584 of file NatGateway.h.

◆ WithSubnetId() [2/3]

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

The ID of the subnet in which the NAT gateway is located.

Definition at line 579 of file NatGateway.h.

◆ WithSubnetId() [3/3]

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

The ID of the subnet in which the NAT gateway is located.

Definition at line 589 of file NatGateway.h.

◆ WithTags() [1/2]

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

The tags for the NAT gateway.

Definition at line 661 of file NatGateway.h.

◆ WithTags() [2/2]

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

The tags for the NAT gateway.

Definition at line 656 of file NatGateway.h.

◆ WithVpcId() [1/3]

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

The ID of the VPC in which the NAT gateway is located.

Definition at line 625 of file NatGateway.h.

◆ WithVpcId() [2/3]

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

The ID of the VPC in which the NAT gateway is located.

Definition at line 620 of file NatGateway.h.

◆ WithVpcId() [3/3]

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

The ID of the VPC in which the NAT gateway is located.

Definition at line 630 of file NatGateway.h.


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