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

#include <ModifyVpcAttributeRequest.h>

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

Public Member Functions

 ModifyVpcAttributeRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const AttributeBooleanValueGetEnableDnsHostnames () const
 
bool EnableDnsHostnamesHasBeenSet () const
 
void SetEnableDnsHostnames (const AttributeBooleanValue &value)
 
void SetEnableDnsHostnames (AttributeBooleanValue &&value)
 
ModifyVpcAttributeRequestWithEnableDnsHostnames (const AttributeBooleanValue &value)
 
ModifyVpcAttributeRequestWithEnableDnsHostnames (AttributeBooleanValue &&value)
 
const AttributeBooleanValueGetEnableDnsSupport () const
 
bool EnableDnsSupportHasBeenSet () const
 
void SetEnableDnsSupport (const AttributeBooleanValue &value)
 
void SetEnableDnsSupport (AttributeBooleanValue &&value)
 
ModifyVpcAttributeRequestWithEnableDnsSupport (const AttributeBooleanValue &value)
 
ModifyVpcAttributeRequestWithEnableDnsSupport (AttributeBooleanValue &&value)
 
const Aws::StringGetVpcId () const
 
bool VpcIdHasBeenSet () const
 
void SetVpcId (const Aws::String &value)
 
void SetVpcId (Aws::String &&value)
 
void SetVpcId (const char *value)
 
ModifyVpcAttributeRequestWithVpcId (const Aws::String &value)
 
ModifyVpcAttributeRequestWithVpcId (Aws::String &&value)
 
ModifyVpcAttributeRequestWithVpcId (const char *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 ModifyVpcAttributeRequest.h.

Constructor & Destructor Documentation

◆ ModifyVpcAttributeRequest()

Aws::EC2::Model::ModifyVpcAttributeRequest::ModifyVpcAttributeRequest ( )

Member Function Documentation

◆ DumpBodyToUrl()

void Aws::EC2::Model::ModifyVpcAttributeRequest::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.

◆ EnableDnsHostnamesHasBeenSet()

bool Aws::EC2::Model::ModifyVpcAttributeRequest::EnableDnsHostnamesHasBeenSet ( ) const
inline

Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

Definition at line 66 of file ModifyVpcAttributeRequest.h.

◆ EnableDnsSupportHasBeenSet()

bool Aws::EC2::Model::ModifyVpcAttributeRequest::EnableDnsSupportHasBeenSet ( ) const
inline

Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

Definition at line 125 of file ModifyVpcAttributeRequest.h.

◆ GetEnableDnsHostnames()

const AttributeBooleanValue& Aws::EC2::Model::ModifyVpcAttributeRequest::GetEnableDnsHostnames ( ) const
inline

Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

Definition at line 57 of file ModifyVpcAttributeRequest.h.

◆ GetEnableDnsSupport()

const AttributeBooleanValue& Aws::EC2::Model::ModifyVpcAttributeRequest::GetEnableDnsSupport ( ) const
inline

Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

Definition at line 114 of file ModifyVpcAttributeRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 41 of file ModifyVpcAttributeRequest.h.

◆ GetVpcId()

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

The ID of the VPC.

Definition at line 175 of file ModifyVpcAttributeRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetEnableDnsHostnames() [1/2]

void Aws::EC2::Model::ModifyVpcAttributeRequest::SetEnableDnsHostnames ( const AttributeBooleanValue value)
inline

Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

Definition at line 75 of file ModifyVpcAttributeRequest.h.

◆ SetEnableDnsHostnames() [2/2]

void Aws::EC2::Model::ModifyVpcAttributeRequest::SetEnableDnsHostnames ( AttributeBooleanValue &&  value)
inline

Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

Definition at line 84 of file ModifyVpcAttributeRequest.h.

◆ SetEnableDnsSupport() [1/2]

void Aws::EC2::Model::ModifyVpcAttributeRequest::SetEnableDnsSupport ( const AttributeBooleanValue value)
inline

Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

Definition at line 136 of file ModifyVpcAttributeRequest.h.

◆ SetEnableDnsSupport() [2/2]

void Aws::EC2::Model::ModifyVpcAttributeRequest::SetEnableDnsSupport ( AttributeBooleanValue &&  value)
inline

Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

Definition at line 147 of file ModifyVpcAttributeRequest.h.

◆ SetVpcId() [1/3]

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

The ID of the VPC.

Definition at line 185 of file ModifyVpcAttributeRequest.h.

◆ SetVpcId() [2/3]

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

The ID of the VPC.

Definition at line 190 of file ModifyVpcAttributeRequest.h.

◆ SetVpcId() [3/3]

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

The ID of the VPC.

Definition at line 195 of file ModifyVpcAttributeRequest.h.

◆ VpcIdHasBeenSet()

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

The ID of the VPC.

Definition at line 180 of file ModifyVpcAttributeRequest.h.

◆ WithEnableDnsHostnames() [1/2]

ModifyVpcAttributeRequest& Aws::EC2::Model::ModifyVpcAttributeRequest::WithEnableDnsHostnames ( const AttributeBooleanValue value)
inline

Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

Definition at line 93 of file ModifyVpcAttributeRequest.h.

◆ WithEnableDnsHostnames() [2/2]

ModifyVpcAttributeRequest& Aws::EC2::Model::ModifyVpcAttributeRequest::WithEnableDnsHostnames ( AttributeBooleanValue &&  value)
inline

Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

Definition at line 102 of file ModifyVpcAttributeRequest.h.

◆ WithEnableDnsSupport() [1/2]

ModifyVpcAttributeRequest& Aws::EC2::Model::ModifyVpcAttributeRequest::WithEnableDnsSupport ( const AttributeBooleanValue value)
inline

Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

Definition at line 158 of file ModifyVpcAttributeRequest.h.

◆ WithEnableDnsSupport() [2/2]

ModifyVpcAttributeRequest& Aws::EC2::Model::ModifyVpcAttributeRequest::WithEnableDnsSupport ( AttributeBooleanValue &&  value)
inline

Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

Definition at line 169 of file ModifyVpcAttributeRequest.h.

◆ WithVpcId() [1/3]

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

The ID of the VPC.

Definition at line 200 of file ModifyVpcAttributeRequest.h.

◆ WithVpcId() [2/3]

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

The ID of the VPC.

Definition at line 205 of file ModifyVpcAttributeRequest.h.

◆ WithVpcId() [3/3]

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

The ID of the VPC.

Definition at line 210 of file ModifyVpcAttributeRequest.h.


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