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

#include <AttachVolumeRequest.h>

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

Public Member Functions

 AttachVolumeRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetDevice () const
 
bool DeviceHasBeenSet () const
 
void SetDevice (const Aws::String &value)
 
void SetDevice (Aws::String &&value)
 
void SetDevice (const char *value)
 
AttachVolumeRequestWithDevice (const Aws::String &value)
 
AttachVolumeRequestWithDevice (Aws::String &&value)
 
AttachVolumeRequestWithDevice (const char *value)
 
const Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
AttachVolumeRequestWithInstanceId (const Aws::String &value)
 
AttachVolumeRequestWithInstanceId (Aws::String &&value)
 
AttachVolumeRequestWithInstanceId (const char *value)
 
const Aws::StringGetVolumeId () const
 
bool VolumeIdHasBeenSet () const
 
void SetVolumeId (const Aws::String &value)
 
void SetVolumeId (Aws::String &&value)
 
void SetVolumeId (const char *value)
 
AttachVolumeRequestWithVolumeId (const Aws::String &value)
 
AttachVolumeRequestWithVolumeId (Aws::String &&value)
 
AttachVolumeRequestWithVolumeId (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
AttachVolumeRequestWithDryRun (bool 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 31 of file AttachVolumeRequest.h.

Constructor & Destructor Documentation

◆ AttachVolumeRequest()

Aws::EC2::Model::AttachVolumeRequest::AttachVolumeRequest ( )

Member Function Documentation

◆ DeviceHasBeenSet()

bool Aws::EC2::Model::AttachVolumeRequest::DeviceHasBeenSet ( ) const
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 59 of file AttachVolumeRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::AttachVolumeRequest::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 202 of file AttachVolumeRequest.h.

◆ DumpBodyToUrl()

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

◆ GetDevice()

const Aws::String& Aws::EC2::Model::AttachVolumeRequest::GetDevice ( ) const
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 53 of file AttachVolumeRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::AttachVolumeRequest::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 194 of file AttachVolumeRequest.h.

◆ GetInstanceId()

const Aws::String& Aws::EC2::Model::AttachVolumeRequest::GetInstanceId ( ) const
inline

The ID of the instance.

Definition at line 101 of file AttachVolumeRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 40 of file AttachVolumeRequest.h.

◆ GetVolumeId()

const Aws::String& Aws::EC2::Model::AttachVolumeRequest::GetVolumeId ( ) const
inline

The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

Definition at line 143 of file AttachVolumeRequest.h.

◆ InstanceIdHasBeenSet()

bool Aws::EC2::Model::AttachVolumeRequest::InstanceIdHasBeenSet ( ) const
inline

The ID of the instance.

Definition at line 106 of file AttachVolumeRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDevice() [1/3]

void Aws::EC2::Model::AttachVolumeRequest::SetDevice ( const Aws::String value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 65 of file AttachVolumeRequest.h.

◆ SetDevice() [2/3]

void Aws::EC2::Model::AttachVolumeRequest::SetDevice ( Aws::String &&  value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 71 of file AttachVolumeRequest.h.

◆ SetDevice() [3/3]

void Aws::EC2::Model::AttachVolumeRequest::SetDevice ( const char *  value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 77 of file AttachVolumeRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::AttachVolumeRequest::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 210 of file AttachVolumeRequest.h.

◆ SetInstanceId() [1/3]

void Aws::EC2::Model::AttachVolumeRequest::SetInstanceId ( const Aws::String value)
inline

The ID of the instance.

Definition at line 111 of file AttachVolumeRequest.h.

◆ SetInstanceId() [2/3]

void Aws::EC2::Model::AttachVolumeRequest::SetInstanceId ( Aws::String &&  value)
inline

The ID of the instance.

Definition at line 116 of file AttachVolumeRequest.h.

◆ SetInstanceId() [3/3]

void Aws::EC2::Model::AttachVolumeRequest::SetInstanceId ( const char *  value)
inline

The ID of the instance.

Definition at line 121 of file AttachVolumeRequest.h.

◆ SetVolumeId() [1/3]

void Aws::EC2::Model::AttachVolumeRequest::SetVolumeId ( const Aws::String value)
inline

The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

Definition at line 155 of file AttachVolumeRequest.h.

◆ SetVolumeId() [2/3]

void Aws::EC2::Model::AttachVolumeRequest::SetVolumeId ( Aws::String &&  value)
inline

The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

Definition at line 161 of file AttachVolumeRequest.h.

◆ SetVolumeId() [3/3]

void Aws::EC2::Model::AttachVolumeRequest::SetVolumeId ( const char *  value)
inline

The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

Definition at line 167 of file AttachVolumeRequest.h.

◆ VolumeIdHasBeenSet()

bool Aws::EC2::Model::AttachVolumeRequest::VolumeIdHasBeenSet ( ) const
inline

The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

Definition at line 149 of file AttachVolumeRequest.h.

◆ WithDevice() [1/3]

AttachVolumeRequest& Aws::EC2::Model::AttachVolumeRequest::WithDevice ( const Aws::String value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 83 of file AttachVolumeRequest.h.

◆ WithDevice() [2/3]

AttachVolumeRequest& Aws::EC2::Model::AttachVolumeRequest::WithDevice ( Aws::String &&  value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 89 of file AttachVolumeRequest.h.

◆ WithDevice() [3/3]

AttachVolumeRequest& Aws::EC2::Model::AttachVolumeRequest::WithDevice ( const char *  value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 95 of file AttachVolumeRequest.h.

◆ WithDryRun()

AttachVolumeRequest& Aws::EC2::Model::AttachVolumeRequest::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 218 of file AttachVolumeRequest.h.

◆ WithInstanceId() [1/3]

AttachVolumeRequest& Aws::EC2::Model::AttachVolumeRequest::WithInstanceId ( const Aws::String value)
inline

The ID of the instance.

Definition at line 126 of file AttachVolumeRequest.h.

◆ WithInstanceId() [2/3]

AttachVolumeRequest& Aws::EC2::Model::AttachVolumeRequest::WithInstanceId ( Aws::String &&  value)
inline

The ID of the instance.

Definition at line 131 of file AttachVolumeRequest.h.

◆ WithInstanceId() [3/3]

AttachVolumeRequest& Aws::EC2::Model::AttachVolumeRequest::WithInstanceId ( const char *  value)
inline

The ID of the instance.

Definition at line 136 of file AttachVolumeRequest.h.

◆ WithVolumeId() [1/3]

AttachVolumeRequest& Aws::EC2::Model::AttachVolumeRequest::WithVolumeId ( const Aws::String value)
inline

The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

Definition at line 173 of file AttachVolumeRequest.h.

◆ WithVolumeId() [2/3]

AttachVolumeRequest& Aws::EC2::Model::AttachVolumeRequest::WithVolumeId ( Aws::String &&  value)
inline

The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

Definition at line 179 of file AttachVolumeRequest.h.

◆ WithVolumeId() [3/3]

AttachVolumeRequest& Aws::EC2::Model::AttachVolumeRequest::WithVolumeId ( const char *  value)
inline

The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

Definition at line 185 of file AttachVolumeRequest.h.


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