AWS SDK for C++  1.7.228
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::EC2::Model::CreateVpcRequest Class Reference

#include <CreateVpcRequest.h>

+ Inheritance diagram for Aws::EC2::Model::CreateVpcRequest:

Public Member Functions

 CreateVpcRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetCidrBlock () const
 
bool CidrBlockHasBeenSet () const
 
void SetCidrBlock (const Aws::String &value)
 
void SetCidrBlock (Aws::String &&value)
 
void SetCidrBlock (const char *value)
 
CreateVpcRequestWithCidrBlock (const Aws::String &value)
 
CreateVpcRequestWithCidrBlock (Aws::String &&value)
 
CreateVpcRequestWithCidrBlock (const char *value)
 
bool GetAmazonProvidedIpv6CidrBlock () const
 
bool AmazonProvidedIpv6CidrBlockHasBeenSet () const
 
void SetAmazonProvidedIpv6CidrBlock (bool value)
 
CreateVpcRequestWithAmazonProvidedIpv6CidrBlock (bool value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateVpcRequestWithDryRun (bool value)
 
const TenancyGetInstanceTenancy () const
 
bool InstanceTenancyHasBeenSet () const
 
void SetInstanceTenancy (const Tenancy &value)
 
void SetInstanceTenancy (Tenancy &&value)
 
CreateVpcRequestWithInstanceTenancy (const Tenancy &value)
 
CreateVpcRequestWithInstanceTenancy (Tenancy &&value)
 
- Public Member Functions inherited from Aws::EC2::EC2Request
virtual ~EC2Request ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::EC2::EC2Request
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 32 of file CreateVpcRequest.h.

Constructor & Destructor Documentation

◆ CreateVpcRequest()

Aws::EC2::Model::CreateVpcRequest::CreateVpcRequest ( )

Member Function Documentation

◆ AmazonProvidedIpv6CidrBlockHasBeenSet()

bool Aws::EC2::Model::CreateVpcRequest::AmazonProvidedIpv6CidrBlockHasBeenSet ( ) const
inline

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block.

Definition at line 111 of file CreateVpcRequest.h.

◆ CidrBlockHasBeenSet()

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

The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

Definition at line 60 of file CreateVpcRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::CreateVpcRequest::DryRunHasBeenSet ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 142 of file CreateVpcRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::CreateVpcRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetAmazonProvidedIpv6CidrBlock()

bool Aws::EC2::Model::CreateVpcRequest::GetAmazonProvidedIpv6CidrBlock ( ) const
inline

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block.

Definition at line 104 of file CreateVpcRequest.h.

◆ GetCidrBlock()

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

The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

Definition at line 54 of file CreateVpcRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::CreateVpcRequest::GetDryRun ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 134 of file CreateVpcRequest.h.

◆ GetInstanceTenancy()

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

The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

Definition at line 172 of file CreateVpcRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::EC2::Model::CreateVpcRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 41 of file CreateVpcRequest.h.

◆ InstanceTenancyHasBeenSet()

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

The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

Definition at line 185 of file CreateVpcRequest.h.

◆ SerializePayload()

Aws::String Aws::EC2::Model::CreateVpcRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAmazonProvidedIpv6CidrBlock()

void Aws::EC2::Model::CreateVpcRequest::SetAmazonProvidedIpv6CidrBlock ( bool  value)
inline

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block.

Definition at line 118 of file CreateVpcRequest.h.

◆ SetCidrBlock() [1/3]

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

The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

Definition at line 66 of file CreateVpcRequest.h.

◆ SetCidrBlock() [2/3]

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

The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

Definition at line 72 of file CreateVpcRequest.h.

◆ SetCidrBlock() [3/3]

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

The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

Definition at line 78 of file CreateVpcRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::CreateVpcRequest::SetDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 150 of file CreateVpcRequest.h.

◆ SetInstanceTenancy() [1/2]

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

The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

Definition at line 198 of file CreateVpcRequest.h.

◆ SetInstanceTenancy() [2/2]

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

The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

Definition at line 211 of file CreateVpcRequest.h.

◆ WithAmazonProvidedIpv6CidrBlock()

CreateVpcRequest& Aws::EC2::Model::CreateVpcRequest::WithAmazonProvidedIpv6CidrBlock ( bool  value)
inline

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block.

Definition at line 125 of file CreateVpcRequest.h.

◆ WithCidrBlock() [1/3]

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

The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

Definition at line 84 of file CreateVpcRequest.h.

◆ WithCidrBlock() [2/3]

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

The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

Definition at line 90 of file CreateVpcRequest.h.

◆ WithCidrBlock() [3/3]

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

The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

Definition at line 96 of file CreateVpcRequest.h.

◆ WithDryRun()

CreateVpcRequest& Aws::EC2::Model::CreateVpcRequest::WithDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 158 of file CreateVpcRequest.h.

◆ WithInstanceTenancy() [1/2]

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

The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

Definition at line 224 of file CreateVpcRequest.h.

◆ WithInstanceTenancy() [2/2]

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

The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

Definition at line 237 of file CreateVpcRequest.h.


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