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

#include <Vpc.h>

Public Member Functions

 Vpc ()
 
 Vpc (const Aws::Utils::Xml::XmlNode &xmlNode)
 
Vpcoperator= (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::StringGetCidrBlock () const
 
bool CidrBlockHasBeenSet () const
 
void SetCidrBlock (const Aws::String &value)
 
void SetCidrBlock (Aws::String &&value)
 
void SetCidrBlock (const char *value)
 
VpcWithCidrBlock (const Aws::String &value)
 
VpcWithCidrBlock (Aws::String &&value)
 
VpcWithCidrBlock (const char *value)
 
const Aws::StringGetDhcpOptionsId () const
 
bool DhcpOptionsIdHasBeenSet () const
 
void SetDhcpOptionsId (const Aws::String &value)
 
void SetDhcpOptionsId (Aws::String &&value)
 
void SetDhcpOptionsId (const char *value)
 
VpcWithDhcpOptionsId (const Aws::String &value)
 
VpcWithDhcpOptionsId (Aws::String &&value)
 
VpcWithDhcpOptionsId (const char *value)
 
const VpcStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const VpcState &value)
 
void SetState (VpcState &&value)
 
VpcWithState (const VpcState &value)
 
VpcWithState (VpcState &&value)
 
const Aws::StringGetVpcId () const
 
bool VpcIdHasBeenSet () const
 
void SetVpcId (const Aws::String &value)
 
void SetVpcId (Aws::String &&value)
 
void SetVpcId (const char *value)
 
VpcWithVpcId (const Aws::String &value)
 
VpcWithVpcId (Aws::String &&value)
 
VpcWithVpcId (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)
 
VpcWithOwnerId (const Aws::String &value)
 
VpcWithOwnerId (Aws::String &&value)
 
VpcWithOwnerId (const char *value)
 
const TenancyGetInstanceTenancy () const
 
bool InstanceTenancyHasBeenSet () const
 
void SetInstanceTenancy (const Tenancy &value)
 
void SetInstanceTenancy (Tenancy &&value)
 
VpcWithInstanceTenancy (const Tenancy &value)
 
VpcWithInstanceTenancy (Tenancy &&value)
 
const Aws::Vector< VpcIpv6CidrBlockAssociation > & GetIpv6CidrBlockAssociationSet () const
 
bool Ipv6CidrBlockAssociationSetHasBeenSet () const
 
void SetIpv6CidrBlockAssociationSet (const Aws::Vector< VpcIpv6CidrBlockAssociation > &value)
 
void SetIpv6CidrBlockAssociationSet (Aws::Vector< VpcIpv6CidrBlockAssociation > &&value)
 
VpcWithIpv6CidrBlockAssociationSet (const Aws::Vector< VpcIpv6CidrBlockAssociation > &value)
 
VpcWithIpv6CidrBlockAssociationSet (Aws::Vector< VpcIpv6CidrBlockAssociation > &&value)
 
VpcAddIpv6CidrBlockAssociationSet (const VpcIpv6CidrBlockAssociation &value)
 
VpcAddIpv6CidrBlockAssociationSet (VpcIpv6CidrBlockAssociation &&value)
 
const Aws::Vector< VpcCidrBlockAssociation > & GetCidrBlockAssociationSet () const
 
bool CidrBlockAssociationSetHasBeenSet () const
 
void SetCidrBlockAssociationSet (const Aws::Vector< VpcCidrBlockAssociation > &value)
 
void SetCidrBlockAssociationSet (Aws::Vector< VpcCidrBlockAssociation > &&value)
 
VpcWithCidrBlockAssociationSet (const Aws::Vector< VpcCidrBlockAssociation > &value)
 
VpcWithCidrBlockAssociationSet (Aws::Vector< VpcCidrBlockAssociation > &&value)
 
VpcAddCidrBlockAssociationSet (const VpcCidrBlockAssociation &value)
 
VpcAddCidrBlockAssociationSet (VpcCidrBlockAssociation &&value)
 
bool GetIsDefault () const
 
bool IsDefaultHasBeenSet () const
 
void SetIsDefault (bool value)
 
VpcWithIsDefault (bool value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
VpcWithTags (const Aws::Vector< Tag > &value)
 
VpcWithTags (Aws::Vector< Tag > &&value)
 
VpcAddTags (const Tag &value)
 
VpcAddTags (Tag &&value)
 

Detailed Description

Describes a VPC.

See Also:

AWS API Reference

Definition at line 37 of file Vpc.h.

Constructor & Destructor Documentation

◆ Vpc() [1/2]

Aws::EC2::Model::Vpc::Vpc ( )

◆ Vpc() [2/2]

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

Member Function Documentation

◆ AddCidrBlockAssociationSet() [1/2]

Vpc& Aws::EC2::Model::Vpc::AddCidrBlockAssociationSet ( const VpcCidrBlockAssociation value)
inline

Information about the IPv4 CIDR blocks associated with the VPC.

Definition at line 348 of file Vpc.h.

◆ AddCidrBlockAssociationSet() [2/2]

Vpc& Aws::EC2::Model::Vpc::AddCidrBlockAssociationSet ( VpcCidrBlockAssociation &&  value)
inline

Information about the IPv4 CIDR blocks associated with the VPC.

Definition at line 353 of file Vpc.h.

◆ AddIpv6CidrBlockAssociationSet() [1/2]

Vpc& Aws::EC2::Model::Vpc::AddIpv6CidrBlockAssociationSet ( const VpcIpv6CidrBlockAssociation value)
inline

Information about the IPv6 CIDR blocks associated with the VPC.

Definition at line 307 of file Vpc.h.

◆ AddIpv6CidrBlockAssociationSet() [2/2]

Vpc& Aws::EC2::Model::Vpc::AddIpv6CidrBlockAssociationSet ( VpcIpv6CidrBlockAssociation &&  value)
inline

Information about the IPv6 CIDR blocks associated with the VPC.

Definition at line 312 of file Vpc.h.

◆ AddTags() [1/2]

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

Any tags assigned to the VPC.

Definition at line 410 of file Vpc.h.

◆ AddTags() [2/2]

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

Any tags assigned to the VPC.

Definition at line 415 of file Vpc.h.

◆ CidrBlockAssociationSetHasBeenSet()

bool Aws::EC2::Model::Vpc::CidrBlockAssociationSetHasBeenSet ( ) const
inline

Information about the IPv4 CIDR blocks associated with the VPC.

Definition at line 323 of file Vpc.h.

◆ CidrBlockHasBeenSet()

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

The primary IPv4 CIDR block for the VPC.

Definition at line 56 of file Vpc.h.

◆ DhcpOptionsIdHasBeenSet()

bool Aws::EC2::Model::Vpc::DhcpOptionsIdHasBeenSet ( ) const
inline

The ID of the set of DHCP options you've associated with the VPC.

Definition at line 97 of file Vpc.h.

◆ GetCidrBlock()

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

The primary IPv4 CIDR block for the VPC.

Definition at line 51 of file Vpc.h.

◆ GetCidrBlockAssociationSet()

const Aws::Vector<VpcCidrBlockAssociation>& Aws::EC2::Model::Vpc::GetCidrBlockAssociationSet ( ) const
inline

Information about the IPv4 CIDR blocks associated with the VPC.

Definition at line 318 of file Vpc.h.

◆ GetDhcpOptionsId()

const Aws::String& Aws::EC2::Model::Vpc::GetDhcpOptionsId ( ) const
inline

The ID of the set of DHCP options you've associated with the VPC.

Definition at line 92 of file Vpc.h.

◆ GetInstanceTenancy()

const Tenancy& Aws::EC2::Model::Vpc::GetInstanceTenancy ( ) const
inline

The allowed tenancy of instances launched into the VPC.

Definition at line 246 of file Vpc.h.

◆ GetIpv6CidrBlockAssociationSet()

const Aws::Vector<VpcIpv6CidrBlockAssociation>& Aws::EC2::Model::Vpc::GetIpv6CidrBlockAssociationSet ( ) const
inline

Information about the IPv6 CIDR blocks associated with the VPC.

Definition at line 277 of file Vpc.h.

◆ GetIsDefault()

bool Aws::EC2::Model::Vpc::GetIsDefault ( ) const
inline

Indicates whether the VPC is the default VPC.

Definition at line 359 of file Vpc.h.

◆ GetOwnerId()

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

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

Definition at line 205 of file Vpc.h.

◆ GetState()

const VpcState& Aws::EC2::Model::Vpc::GetState ( ) const
inline

The current state of the VPC.

Definition at line 133 of file Vpc.h.

◆ GetTags()

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

Any tags assigned to the VPC.

Definition at line 380 of file Vpc.h.

◆ GetVpcId()

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

The ID of the VPC.

Definition at line 164 of file Vpc.h.

◆ InstanceTenancyHasBeenSet()

bool Aws::EC2::Model::Vpc::InstanceTenancyHasBeenSet ( ) const
inline

The allowed tenancy of instances launched into the VPC.

Definition at line 251 of file Vpc.h.

◆ Ipv6CidrBlockAssociationSetHasBeenSet()

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

Information about the IPv6 CIDR blocks associated with the VPC.

Definition at line 282 of file Vpc.h.

◆ IsDefaultHasBeenSet()

bool Aws::EC2::Model::Vpc::IsDefaultHasBeenSet ( ) const
inline

Indicates whether the VPC is the default VPC.

Definition at line 364 of file Vpc.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ OwnerIdHasBeenSet()

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

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

Definition at line 210 of file Vpc.h.

◆ SetCidrBlock() [1/3]

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

The primary IPv4 CIDR block for the VPC.

Definition at line 66 of file Vpc.h.

◆ SetCidrBlock() [2/3]

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

The primary IPv4 CIDR block for the VPC.

Definition at line 61 of file Vpc.h.

◆ SetCidrBlock() [3/3]

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

The primary IPv4 CIDR block for the VPC.

Definition at line 71 of file Vpc.h.

◆ SetCidrBlockAssociationSet() [1/2]

void Aws::EC2::Model::Vpc::SetCidrBlockAssociationSet ( Aws::Vector< VpcCidrBlockAssociation > &&  value)
inline

Information about the IPv4 CIDR blocks associated with the VPC.

Definition at line 333 of file Vpc.h.

◆ SetCidrBlockAssociationSet() [2/2]

void Aws::EC2::Model::Vpc::SetCidrBlockAssociationSet ( const Aws::Vector< VpcCidrBlockAssociation > &  value)
inline

Information about the IPv4 CIDR blocks associated with the VPC.

Definition at line 328 of file Vpc.h.

◆ SetDhcpOptionsId() [1/3]

void Aws::EC2::Model::Vpc::SetDhcpOptionsId ( Aws::String &&  value)
inline

The ID of the set of DHCP options you've associated with the VPC.

Definition at line 107 of file Vpc.h.

◆ SetDhcpOptionsId() [2/3]

void Aws::EC2::Model::Vpc::SetDhcpOptionsId ( const Aws::String value)
inline

The ID of the set of DHCP options you've associated with the VPC.

Definition at line 102 of file Vpc.h.

◆ SetDhcpOptionsId() [3/3]

void Aws::EC2::Model::Vpc::SetDhcpOptionsId ( const char *  value)
inline

The ID of the set of DHCP options you've associated with the VPC.

Definition at line 112 of file Vpc.h.

◆ SetInstanceTenancy() [1/2]

void Aws::EC2::Model::Vpc::SetInstanceTenancy ( const Tenancy value)
inline

The allowed tenancy of instances launched into the VPC.

Definition at line 256 of file Vpc.h.

◆ SetInstanceTenancy() [2/2]

void Aws::EC2::Model::Vpc::SetInstanceTenancy ( Tenancy &&  value)
inline

The allowed tenancy of instances launched into the VPC.

Definition at line 261 of file Vpc.h.

◆ SetIpv6CidrBlockAssociationSet() [1/2]

void Aws::EC2::Model::Vpc::SetIpv6CidrBlockAssociationSet ( Aws::Vector< VpcIpv6CidrBlockAssociation > &&  value)
inline

Information about the IPv6 CIDR blocks associated with the VPC.

Definition at line 292 of file Vpc.h.

◆ SetIpv6CidrBlockAssociationSet() [2/2]

void Aws::EC2::Model::Vpc::SetIpv6CidrBlockAssociationSet ( const Aws::Vector< VpcIpv6CidrBlockAssociation > &  value)
inline

Information about the IPv6 CIDR blocks associated with the VPC.

Definition at line 287 of file Vpc.h.

◆ SetIsDefault()

void Aws::EC2::Model::Vpc::SetIsDefault ( bool  value)
inline

Indicates whether the VPC is the default VPC.

Definition at line 369 of file Vpc.h.

◆ SetOwnerId() [1/3]

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

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

Definition at line 220 of file Vpc.h.

◆ SetOwnerId() [2/3]

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

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

Definition at line 215 of file Vpc.h.

◆ SetOwnerId() [3/3]

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

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

Definition at line 225 of file Vpc.h.

◆ SetState() [1/2]

void Aws::EC2::Model::Vpc::SetState ( const VpcState value)
inline

The current state of the VPC.

Definition at line 143 of file Vpc.h.

◆ SetState() [2/2]

void Aws::EC2::Model::Vpc::SetState ( VpcState &&  value)
inline

The current state of the VPC.

Definition at line 148 of file Vpc.h.

◆ SetTags() [1/2]

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

Any tags assigned to the VPC.

Definition at line 395 of file Vpc.h.

◆ SetTags() [2/2]

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

Any tags assigned to the VPC.

Definition at line 390 of file Vpc.h.

◆ SetVpcId() [1/3]

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

The ID of the VPC.

Definition at line 179 of file Vpc.h.

◆ SetVpcId() [2/3]

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

The ID of the VPC.

Definition at line 174 of file Vpc.h.

◆ SetVpcId() [3/3]

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

The ID of the VPC.

Definition at line 184 of file Vpc.h.

◆ StateHasBeenSet()

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

The current state of the VPC.

Definition at line 138 of file Vpc.h.

◆ TagsHasBeenSet()

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

Any tags assigned to the VPC.

Definition at line 385 of file Vpc.h.

◆ VpcIdHasBeenSet()

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

The ID of the VPC.

Definition at line 169 of file Vpc.h.

◆ WithCidrBlock() [1/3]

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

The primary IPv4 CIDR block for the VPC.

Definition at line 81 of file Vpc.h.

◆ WithCidrBlock() [2/3]

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

The primary IPv4 CIDR block for the VPC.

Definition at line 76 of file Vpc.h.

◆ WithCidrBlock() [3/3]

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

The primary IPv4 CIDR block for the VPC.

Definition at line 86 of file Vpc.h.

◆ WithCidrBlockAssociationSet() [1/2]

Vpc& Aws::EC2::Model::Vpc::WithCidrBlockAssociationSet ( Aws::Vector< VpcCidrBlockAssociation > &&  value)
inline

Information about the IPv4 CIDR blocks associated with the VPC.

Definition at line 343 of file Vpc.h.

◆ WithCidrBlockAssociationSet() [2/2]

Vpc& Aws::EC2::Model::Vpc::WithCidrBlockAssociationSet ( const Aws::Vector< VpcCidrBlockAssociation > &  value)
inline

Information about the IPv4 CIDR blocks associated with the VPC.

Definition at line 338 of file Vpc.h.

◆ WithDhcpOptionsId() [1/3]

Vpc& Aws::EC2::Model::Vpc::WithDhcpOptionsId ( Aws::String &&  value)
inline

The ID of the set of DHCP options you've associated with the VPC.

Definition at line 122 of file Vpc.h.

◆ WithDhcpOptionsId() [2/3]

Vpc& Aws::EC2::Model::Vpc::WithDhcpOptionsId ( const Aws::String value)
inline

The ID of the set of DHCP options you've associated with the VPC.

Definition at line 117 of file Vpc.h.

◆ WithDhcpOptionsId() [3/3]

Vpc& Aws::EC2::Model::Vpc::WithDhcpOptionsId ( const char *  value)
inline

The ID of the set of DHCP options you've associated with the VPC.

Definition at line 127 of file Vpc.h.

◆ WithInstanceTenancy() [1/2]

Vpc& Aws::EC2::Model::Vpc::WithInstanceTenancy ( const Tenancy value)
inline

The allowed tenancy of instances launched into the VPC.

Definition at line 266 of file Vpc.h.

◆ WithInstanceTenancy() [2/2]

Vpc& Aws::EC2::Model::Vpc::WithInstanceTenancy ( Tenancy &&  value)
inline

The allowed tenancy of instances launched into the VPC.

Definition at line 271 of file Vpc.h.

◆ WithIpv6CidrBlockAssociationSet() [1/2]

Vpc& Aws::EC2::Model::Vpc::WithIpv6CidrBlockAssociationSet ( Aws::Vector< VpcIpv6CidrBlockAssociation > &&  value)
inline

Information about the IPv6 CIDR blocks associated with the VPC.

Definition at line 302 of file Vpc.h.

◆ WithIpv6CidrBlockAssociationSet() [2/2]

Vpc& Aws::EC2::Model::Vpc::WithIpv6CidrBlockAssociationSet ( const Aws::Vector< VpcIpv6CidrBlockAssociation > &  value)
inline

Information about the IPv6 CIDR blocks associated with the VPC.

Definition at line 297 of file Vpc.h.

◆ WithIsDefault()

Vpc& Aws::EC2::Model::Vpc::WithIsDefault ( bool  value)
inline

Indicates whether the VPC is the default VPC.

Definition at line 374 of file Vpc.h.

◆ WithOwnerId() [1/3]

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

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

Definition at line 235 of file Vpc.h.

◆ WithOwnerId() [2/3]

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

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

Definition at line 230 of file Vpc.h.

◆ WithOwnerId() [3/3]

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

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

Definition at line 240 of file Vpc.h.

◆ WithState() [1/2]

Vpc& Aws::EC2::Model::Vpc::WithState ( const VpcState value)
inline

The current state of the VPC.

Definition at line 153 of file Vpc.h.

◆ WithState() [2/2]

Vpc& Aws::EC2::Model::Vpc::WithState ( VpcState &&  value)
inline

The current state of the VPC.

Definition at line 158 of file Vpc.h.

◆ WithTags() [1/2]

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

Any tags assigned to the VPC.

Definition at line 405 of file Vpc.h.

◆ WithTags() [2/2]

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

Any tags assigned to the VPC.

Definition at line 400 of file Vpc.h.

◆ WithVpcId() [1/3]

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

The ID of the VPC.

Definition at line 194 of file Vpc.h.

◆ WithVpcId() [2/3]

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

The ID of the VPC.

Definition at line 189 of file Vpc.h.

◆ WithVpcId() [3/3]

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

The ID of the VPC.

Definition at line 199 of file Vpc.h.


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