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

#include <VpnGateway.h>

Public Member Functions

 VpnGateway ()
 
 VpnGateway (const Aws::Utils::Xml::XmlNode &xmlNode)
 
VpnGatewayoperator= (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)
 
VpnGatewayWithAvailabilityZone (const Aws::String &value)
 
VpnGatewayWithAvailabilityZone (Aws::String &&value)
 
VpnGatewayWithAvailabilityZone (const char *value)
 
const VpnStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const VpnState &value)
 
void SetState (VpnState &&value)
 
VpnGatewayWithState (const VpnState &value)
 
VpnGatewayWithState (VpnState &&value)
 
const GatewayTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const GatewayType &value)
 
void SetType (GatewayType &&value)
 
VpnGatewayWithType (const GatewayType &value)
 
VpnGatewayWithType (GatewayType &&value)
 
const Aws::Vector< VpcAttachment > & GetVpcAttachments () const
 
bool VpcAttachmentsHasBeenSet () const
 
void SetVpcAttachments (const Aws::Vector< VpcAttachment > &value)
 
void SetVpcAttachments (Aws::Vector< VpcAttachment > &&value)
 
VpnGatewayWithVpcAttachments (const Aws::Vector< VpcAttachment > &value)
 
VpnGatewayWithVpcAttachments (Aws::Vector< VpcAttachment > &&value)
 
VpnGatewayAddVpcAttachments (const VpcAttachment &value)
 
VpnGatewayAddVpcAttachments (VpcAttachment &&value)
 
const Aws::StringGetVpnGatewayId () const
 
bool VpnGatewayIdHasBeenSet () const
 
void SetVpnGatewayId (const Aws::String &value)
 
void SetVpnGatewayId (Aws::String &&value)
 
void SetVpnGatewayId (const char *value)
 
VpnGatewayWithVpnGatewayId (const Aws::String &value)
 
VpnGatewayWithVpnGatewayId (Aws::String &&value)
 
VpnGatewayWithVpnGatewayId (const char *value)
 
long long GetAmazonSideAsn () const
 
bool AmazonSideAsnHasBeenSet () const
 
void SetAmazonSideAsn (long long value)
 
VpnGatewayWithAmazonSideAsn (long long value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
VpnGatewayWithTags (const Aws::Vector< Tag > &value)
 
VpnGatewayWithTags (Aws::Vector< Tag > &&value)
 
VpnGatewayAddTags (const Tag &value)
 
VpnGatewayAddTags (Tag &&value)
 

Detailed Description

Describes a virtual private gateway.

See Also:

AWS API Reference

Definition at line 36 of file VpnGateway.h.

Constructor & Destructor Documentation

◆ VpnGateway() [1/2]

Aws::EC2::Model::VpnGateway::VpnGateway ( )

◆ VpnGateway() [2/2]

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

Member Function Documentation

◆ AddTags() [1/2]

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

Any tags assigned to the virtual private gateway.

Definition at line 298 of file VpnGateway.h.

◆ AddTags() [2/2]

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

Any tags assigned to the virtual private gateway.

Definition at line 303 of file VpnGateway.h.

◆ AddVpcAttachments() [1/2]

VpnGateway& Aws::EC2::Model::VpnGateway::AddVpcAttachments ( const VpcAttachment value)
inline

Any VPCs attached to the virtual private gateway.

Definition at line 191 of file VpnGateway.h.

◆ AddVpcAttachments() [2/2]

VpnGateway& Aws::EC2::Model::VpnGateway::AddVpcAttachments ( VpcAttachment &&  value)
inline

Any VPCs attached to the virtual private gateway.

Definition at line 196 of file VpnGateway.h.

◆ AmazonSideAsnHasBeenSet()

bool Aws::EC2::Model::VpnGateway::AmazonSideAsnHasBeenSet ( ) const
inline

The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

Definition at line 250 of file VpnGateway.h.

◆ AvailabilityZoneHasBeenSet()

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

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

Definition at line 57 of file VpnGateway.h.

◆ GetAmazonSideAsn()

long long Aws::EC2::Model::VpnGateway::GetAmazonSideAsn ( ) const
inline

The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

Definition at line 244 of file VpnGateway.h.

◆ GetAvailabilityZone()

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

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

Definition at line 51 of file VpnGateway.h.

◆ GetState()

const VpnState& Aws::EC2::Model::VpnGateway::GetState ( ) const
inline

The current state of the virtual private gateway.

Definition at line 99 of file VpnGateway.h.

◆ GetTags()

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

Any tags assigned to the virtual private gateway.

Definition at line 268 of file VpnGateway.h.

◆ GetType()

const GatewayType& Aws::EC2::Model::VpnGateway::GetType ( ) const
inline

The type of VPN connection the virtual private gateway supports.

Definition at line 130 of file VpnGateway.h.

◆ GetVpcAttachments()

const Aws::Vector<VpcAttachment>& Aws::EC2::Model::VpnGateway::GetVpcAttachments ( ) const
inline

Any VPCs attached to the virtual private gateway.

Definition at line 161 of file VpnGateway.h.

◆ GetVpnGatewayId()

const Aws::String& Aws::EC2::Model::VpnGateway::GetVpnGatewayId ( ) const
inline

The ID of the virtual private gateway.

Definition at line 202 of file VpnGateway.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetAmazonSideAsn()

void Aws::EC2::Model::VpnGateway::SetAmazonSideAsn ( long long  value)
inline

The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

Definition at line 256 of file VpnGateway.h.

◆ SetAvailabilityZone() [1/3]

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

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

Definition at line 69 of file VpnGateway.h.

◆ SetAvailabilityZone() [2/3]

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

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

Definition at line 63 of file VpnGateway.h.

◆ SetAvailabilityZone() [3/3]

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

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

Definition at line 75 of file VpnGateway.h.

◆ SetState() [1/2]

void Aws::EC2::Model::VpnGateway::SetState ( const VpnState value)
inline

The current state of the virtual private gateway.

Definition at line 109 of file VpnGateway.h.

◆ SetState() [2/2]

void Aws::EC2::Model::VpnGateway::SetState ( VpnState &&  value)
inline

The current state of the virtual private gateway.

Definition at line 114 of file VpnGateway.h.

◆ SetTags() [1/2]

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

Any tags assigned to the virtual private gateway.

Definition at line 283 of file VpnGateway.h.

◆ SetTags() [2/2]

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

Any tags assigned to the virtual private gateway.

Definition at line 278 of file VpnGateway.h.

◆ SetType() [1/2]

void Aws::EC2::Model::VpnGateway::SetType ( const GatewayType value)
inline

The type of VPN connection the virtual private gateway supports.

Definition at line 140 of file VpnGateway.h.

◆ SetType() [2/2]

void Aws::EC2::Model::VpnGateway::SetType ( GatewayType &&  value)
inline

The type of VPN connection the virtual private gateway supports.

Definition at line 145 of file VpnGateway.h.

◆ SetVpcAttachments() [1/2]

void Aws::EC2::Model::VpnGateway::SetVpcAttachments ( Aws::Vector< VpcAttachment > &&  value)
inline

Any VPCs attached to the virtual private gateway.

Definition at line 176 of file VpnGateway.h.

◆ SetVpcAttachments() [2/2]

void Aws::EC2::Model::VpnGateway::SetVpcAttachments ( const Aws::Vector< VpcAttachment > &  value)
inline

Any VPCs attached to the virtual private gateway.

Definition at line 171 of file VpnGateway.h.

◆ SetVpnGatewayId() [1/3]

void Aws::EC2::Model::VpnGateway::SetVpnGatewayId ( Aws::String &&  value)
inline

The ID of the virtual private gateway.

Definition at line 217 of file VpnGateway.h.

◆ SetVpnGatewayId() [2/3]

void Aws::EC2::Model::VpnGateway::SetVpnGatewayId ( const Aws::String value)
inline

The ID of the virtual private gateway.

Definition at line 212 of file VpnGateway.h.

◆ SetVpnGatewayId() [3/3]

void Aws::EC2::Model::VpnGateway::SetVpnGatewayId ( const char *  value)
inline

The ID of the virtual private gateway.

Definition at line 222 of file VpnGateway.h.

◆ StateHasBeenSet()

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

The current state of the virtual private gateway.

Definition at line 104 of file VpnGateway.h.

◆ TagsHasBeenSet()

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

Any tags assigned to the virtual private gateway.

Definition at line 273 of file VpnGateway.h.

◆ TypeHasBeenSet()

bool Aws::EC2::Model::VpnGateway::TypeHasBeenSet ( ) const
inline

The type of VPN connection the virtual private gateway supports.

Definition at line 135 of file VpnGateway.h.

◆ VpcAttachmentsHasBeenSet()

bool Aws::EC2::Model::VpnGateway::VpcAttachmentsHasBeenSet ( ) const
inline

Any VPCs attached to the virtual private gateway.

Definition at line 166 of file VpnGateway.h.

◆ VpnGatewayIdHasBeenSet()

bool Aws::EC2::Model::VpnGateway::VpnGatewayIdHasBeenSet ( ) const
inline

The ID of the virtual private gateway.

Definition at line 207 of file VpnGateway.h.

◆ WithAmazonSideAsn()

VpnGateway& Aws::EC2::Model::VpnGateway::WithAmazonSideAsn ( long long  value)
inline

The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

Definition at line 262 of file VpnGateway.h.

◆ WithAvailabilityZone() [1/3]

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

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

Definition at line 87 of file VpnGateway.h.

◆ WithAvailabilityZone() [2/3]

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

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

Definition at line 81 of file VpnGateway.h.

◆ WithAvailabilityZone() [3/3]

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

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

Definition at line 93 of file VpnGateway.h.

◆ WithState() [1/2]

VpnGateway& Aws::EC2::Model::VpnGateway::WithState ( const VpnState value)
inline

The current state of the virtual private gateway.

Definition at line 119 of file VpnGateway.h.

◆ WithState() [2/2]

VpnGateway& Aws::EC2::Model::VpnGateway::WithState ( VpnState &&  value)
inline

The current state of the virtual private gateway.

Definition at line 124 of file VpnGateway.h.

◆ WithTags() [1/2]

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

Any tags assigned to the virtual private gateway.

Definition at line 293 of file VpnGateway.h.

◆ WithTags() [2/2]

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

Any tags assigned to the virtual private gateway.

Definition at line 288 of file VpnGateway.h.

◆ WithType() [1/2]

VpnGateway& Aws::EC2::Model::VpnGateway::WithType ( const GatewayType value)
inline

The type of VPN connection the virtual private gateway supports.

Definition at line 150 of file VpnGateway.h.

◆ WithType() [2/2]

VpnGateway& Aws::EC2::Model::VpnGateway::WithType ( GatewayType &&  value)
inline

The type of VPN connection the virtual private gateway supports.

Definition at line 155 of file VpnGateway.h.

◆ WithVpcAttachments() [1/2]

VpnGateway& Aws::EC2::Model::VpnGateway::WithVpcAttachments ( Aws::Vector< VpcAttachment > &&  value)
inline

Any VPCs attached to the virtual private gateway.

Definition at line 186 of file VpnGateway.h.

◆ WithVpcAttachments() [2/2]

VpnGateway& Aws::EC2::Model::VpnGateway::WithVpcAttachments ( const Aws::Vector< VpcAttachment > &  value)
inline

Any VPCs attached to the virtual private gateway.

Definition at line 181 of file VpnGateway.h.

◆ WithVpnGatewayId() [1/3]

VpnGateway& Aws::EC2::Model::VpnGateway::WithVpnGatewayId ( Aws::String &&  value)
inline

The ID of the virtual private gateway.

Definition at line 232 of file VpnGateway.h.

◆ WithVpnGatewayId() [2/3]

VpnGateway& Aws::EC2::Model::VpnGateway::WithVpnGatewayId ( const Aws::String value)
inline

The ID of the virtual private gateway.

Definition at line 227 of file VpnGateway.h.

◆ WithVpnGatewayId() [3/3]

VpnGateway& Aws::EC2::Model::VpnGateway::WithVpnGatewayId ( const char *  value)
inline

The ID of the virtual private gateway.

Definition at line 237 of file VpnGateway.h.


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