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

#include <ModifyVolumeRequest.h>

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

Public Member Functions

 ModifyVolumeRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
ModifyVolumeRequestWithDryRun (bool value)
 
const Aws::StringGetVolumeId () const
 
bool VolumeIdHasBeenSet () const
 
void SetVolumeId (const Aws::String &value)
 
void SetVolumeId (Aws::String &&value)
 
void SetVolumeId (const char *value)
 
ModifyVolumeRequestWithVolumeId (const Aws::String &value)
 
ModifyVolumeRequestWithVolumeId (Aws::String &&value)
 
ModifyVolumeRequestWithVolumeId (const char *value)
 
int GetSize () const
 
bool SizeHasBeenSet () const
 
void SetSize (int value)
 
ModifyVolumeRequestWithSize (int value)
 
const VolumeTypeGetVolumeType () const
 
bool VolumeTypeHasBeenSet () const
 
void SetVolumeType (const VolumeType &value)
 
void SetVolumeType (VolumeType &&value)
 
ModifyVolumeRequestWithVolumeType (const VolumeType &value)
 
ModifyVolumeRequestWithVolumeType (VolumeType &&value)
 
int GetIops () const
 
bool IopsHasBeenSet () const
 
void SetIops (int value)
 
ModifyVolumeRequestWithIops (int 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 ModifyVolumeRequest.h.

Constructor & Destructor Documentation

◆ ModifyVolumeRequest()

Aws::EC2::Model::ModifyVolumeRequest::ModifyVolumeRequest ( )

Member Function Documentation

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ GetDryRun()

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

◆ GetIops()

int Aws::EC2::Model::ModifyVolumeRequest::GetIops ( ) const
inline

The target IOPS rate of the volume.

This is only valid for Provisioned IOPS SSD (io1) volumes. For more information, see Provisioned IOPS SSD (io1) Volumes.

Default: If no IOPS value is specified, the existing value is retained.

Definition at line 209 of file ModifyVolumeRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 41 of file ModifyVolumeRequest.h.

◆ GetSize()

int Aws::EC2::Model::ModifyVolumeRequest::GetSize ( ) const
inline

The target size of the volume, in GiB. The target volume size must be greater than or equal to than the existing size of the volume. For information about available EBS volume sizes, see Amazon EBS Volume Types.

Default: If no size is specified, the existing size is retained.

Definition at line 132 of file ModifyVolumeRequest.h.

◆ GetVolumeId()

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

The ID of the volume.

Definition at line 86 of file ModifyVolumeRequest.h.

◆ GetVolumeType()

const VolumeType& Aws::EC2::Model::ModifyVolumeRequest::GetVolumeType ( ) const
inline

The target EBS volume type of the volume.

Default: If no type is specified, the existing type is retained.

Definition at line 169 of file ModifyVolumeRequest.h.

◆ IopsHasBeenSet()

bool Aws::EC2::Model::ModifyVolumeRequest::IopsHasBeenSet ( ) const
inline

The target IOPS rate of the volume.

This is only valid for Provisioned IOPS SSD (io1) volumes. For more information, see Provisioned IOPS SSD (io1) Volumes.

Default: If no IOPS value is specified, the existing value is retained.

Definition at line 218 of file ModifyVolumeRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDryRun()

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

◆ SetIops()

void Aws::EC2::Model::ModifyVolumeRequest::SetIops ( int  value)
inline

The target IOPS rate of the volume.

This is only valid for Provisioned IOPS SSD (io1) volumes. For more information, see Provisioned IOPS SSD (io1) Volumes.

Default: If no IOPS value is specified, the existing value is retained.

Definition at line 227 of file ModifyVolumeRequest.h.

◆ SetSize()

void Aws::EC2::Model::ModifyVolumeRequest::SetSize ( int  value)
inline

The target size of the volume, in GiB. The target volume size must be greater than or equal to than the existing size of the volume. For information about available EBS volume sizes, see Amazon EBS Volume Types.

Default: If no size is specified, the existing size is retained.

Definition at line 152 of file ModifyVolumeRequest.h.

◆ SetVolumeId() [1/3]

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

The ID of the volume.

Definition at line 96 of file ModifyVolumeRequest.h.

◆ SetVolumeId() [2/3]

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

The ID of the volume.

Definition at line 101 of file ModifyVolumeRequest.h.

◆ SetVolumeId() [3/3]

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

The ID of the volume.

Definition at line 106 of file ModifyVolumeRequest.h.

◆ SetVolumeType() [1/2]

void Aws::EC2::Model::ModifyVolumeRequest::SetVolumeType ( const VolumeType value)
inline

The target EBS volume type of the volume.

Default: If no type is specified, the existing type is retained.

Definition at line 181 of file ModifyVolumeRequest.h.

◆ SetVolumeType() [2/2]

void Aws::EC2::Model::ModifyVolumeRequest::SetVolumeType ( VolumeType &&  value)
inline

The target EBS volume type of the volume.

Default: If no type is specified, the existing type is retained.

Definition at line 187 of file ModifyVolumeRequest.h.

◆ SizeHasBeenSet()

bool Aws::EC2::Model::ModifyVolumeRequest::SizeHasBeenSet ( ) const
inline

The target size of the volume, in GiB. The target volume size must be greater than or equal to than the existing size of the volume. For information about available EBS volume sizes, see Amazon EBS Volume Types.

Default: If no size is specified, the existing size is retained.

Definition at line 142 of file ModifyVolumeRequest.h.

◆ VolumeIdHasBeenSet()

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

The ID of the volume.

Definition at line 91 of file ModifyVolumeRequest.h.

◆ VolumeTypeHasBeenSet()

bool Aws::EC2::Model::ModifyVolumeRequest::VolumeTypeHasBeenSet ( ) const
inline

The target EBS volume type of the volume.

Default: If no type is specified, the existing type is retained.

Definition at line 175 of file ModifyVolumeRequest.h.

◆ WithDryRun()

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

◆ WithIops()

ModifyVolumeRequest& Aws::EC2::Model::ModifyVolumeRequest::WithIops ( int  value)
inline

The target IOPS rate of the volume.

This is only valid for Provisioned IOPS SSD (io1) volumes. For more information, see Provisioned IOPS SSD (io1) Volumes.

Default: If no IOPS value is specified, the existing value is retained.

Definition at line 236 of file ModifyVolumeRequest.h.

◆ WithSize()

ModifyVolumeRequest& Aws::EC2::Model::ModifyVolumeRequest::WithSize ( int  value)
inline

The target size of the volume, in GiB. The target volume size must be greater than or equal to than the existing size of the volume. For information about available EBS volume sizes, see Amazon EBS Volume Types.

Default: If no size is specified, the existing size is retained.

Definition at line 162 of file ModifyVolumeRequest.h.

◆ WithVolumeId() [1/3]

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

The ID of the volume.

Definition at line 111 of file ModifyVolumeRequest.h.

◆ WithVolumeId() [2/3]

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

The ID of the volume.

Definition at line 116 of file ModifyVolumeRequest.h.

◆ WithVolumeId() [3/3]

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

The ID of the volume.

Definition at line 121 of file ModifyVolumeRequest.h.

◆ WithVolumeType() [1/2]

ModifyVolumeRequest& Aws::EC2::Model::ModifyVolumeRequest::WithVolumeType ( const VolumeType value)
inline

The target EBS volume type of the volume.

Default: If no type is specified, the existing type is retained.

Definition at line 193 of file ModifyVolumeRequest.h.

◆ WithVolumeType() [2/2]

ModifyVolumeRequest& Aws::EC2::Model::ModifyVolumeRequest::WithVolumeType ( VolumeType &&  value)
inline

The target EBS volume type of the volume.

Default: If no type is specified, the existing type is retained.

Definition at line 199 of file ModifyVolumeRequest.h.


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