AWS SDK for C++  1.8.54
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::CreateDiskRequest Class Reference

#include <CreateDiskRequest.h>

+ Inheritance diagram for Aws::Lightsail::Model::CreateDiskRequest:

Public Member Functions

 CreateDiskRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetDiskName () const
 
bool DiskNameHasBeenSet () const
 
void SetDiskName (const Aws::String &value)
 
void SetDiskName (Aws::String &&value)
 
void SetDiskName (const char *value)
 
CreateDiskRequestWithDiskName (const Aws::String &value)
 
CreateDiskRequestWithDiskName (Aws::String &&value)
 
CreateDiskRequestWithDiskName (const char *value)
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
CreateDiskRequestWithAvailabilityZone (const Aws::String &value)
 
CreateDiskRequestWithAvailabilityZone (Aws::String &&value)
 
CreateDiskRequestWithAvailabilityZone (const char *value)
 
int GetSizeInGb () const
 
bool SizeInGbHasBeenSet () const
 
void SetSizeInGb (int value)
 
CreateDiskRequestWithSizeInGb (int value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateDiskRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateDiskRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateDiskRequestAddTags (const Tag &value)
 
CreateDiskRequestAddTags (Tag &&value)
 
const Aws::Vector< AddOnRequest > & GetAddOns () const
 
bool AddOnsHasBeenSet () const
 
void SetAddOns (const Aws::Vector< AddOnRequest > &value)
 
void SetAddOns (Aws::Vector< AddOnRequest > &&value)
 
CreateDiskRequestWithAddOns (const Aws::Vector< AddOnRequest > &value)
 
CreateDiskRequestWithAddOns (Aws::Vector< AddOnRequest > &&value)
 
CreateDiskRequestAddAddOns (const AddOnRequest &value)
 
CreateDiskRequestAddAddOns (AddOnRequest &&value)
 
- Public Member Functions inherited from Aws::Lightsail::LightsailRequest
virtual ~LightsailRequest ()
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 24 of file CreateDiskRequest.h.

Constructor & Destructor Documentation

◆ CreateDiskRequest()

Aws::Lightsail::Model::CreateDiskRequest::CreateDiskRequest ( )

Member Function Documentation

◆ AddAddOns() [1/2]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::AddAddOns ( const AddOnRequest value)
inline

An array of objects that represent the add-ons to enable for the new disk.

Definition at line 272 of file CreateDiskRequest.h.

◆ AddAddOns() [2/2]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::AddAddOns ( AddOnRequest &&  value)
inline

An array of objects that represent the add-ons to enable for the new disk.

Definition at line 278 of file CreateDiskRequest.h.

◆ AddOnsHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskRequest::AddOnsHasBeenSet ( ) const
inline

An array of objects that represent the add-ons to enable for the new disk.

Definition at line 242 of file CreateDiskRequest.h.

◆ AddTags() [1/2]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::AddTags ( const Tag value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 222 of file CreateDiskRequest.h.

◆ AddTags() [2/2]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::AddTags ( Tag &&  value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 229 of file CreateDiskRequest.h.

◆ AvailabilityZoneHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskRequest::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone where you want to create the disk (e.g., us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk.

Use the get regions operation to list the Availability Zones where Lightsail is currently available.

Definition at line 97 of file CreateDiskRequest.h.

◆ DiskNameHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskRequest::DiskNameHasBeenSet ( ) const
inline

The unique Lightsail disk name (e.g., my-disk).

Definition at line 48 of file CreateDiskRequest.h.

◆ GetAddOns()

const Aws::Vector<AddOnRequest>& Aws::Lightsail::Model::CreateDiskRequest::GetAddOns ( ) const
inline

An array of objects that represent the add-ons to enable for the new disk.

Definition at line 236 of file CreateDiskRequest.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::Lightsail::Model::CreateDiskRequest::GetAvailabilityZone ( ) const
inline

The Availability Zone where you want to create the disk (e.g., us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk.

Use the get regions operation to list the Availability Zones where Lightsail is currently available.

Definition at line 88 of file CreateDiskRequest.h.

◆ GetDiskName()

const Aws::String& Aws::Lightsail::Model::CreateDiskRequest::GetDiskName ( ) const
inline

The unique Lightsail disk name (e.g., my-disk).

Definition at line 43 of file CreateDiskRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Lightsail::Model::CreateDiskRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Lightsail::LightsailRequest.

◆ GetServiceRequestName()

virtual const char* Aws::Lightsail::Model::CreateDiskRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file CreateDiskRequest.h.

◆ GetSizeInGb()

int Aws::Lightsail::Model::CreateDiskRequest::GetSizeInGb ( ) const
inline

The size of the disk in GB (e.g., 32).

Definition at line 157 of file CreateDiskRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Lightsail::Model::CreateDiskRequest::GetTags ( ) const
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 180 of file CreateDiskRequest.h.

◆ SerializePayload()

Aws::String Aws::Lightsail::Model::CreateDiskRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAddOns() [1/2]

void Aws::Lightsail::Model::CreateDiskRequest::SetAddOns ( const Aws::Vector< AddOnRequest > &  value)
inline

An array of objects that represent the add-ons to enable for the new disk.

Definition at line 248 of file CreateDiskRequest.h.

◆ SetAddOns() [2/2]

void Aws::Lightsail::Model::CreateDiskRequest::SetAddOns ( Aws::Vector< AddOnRequest > &&  value)
inline

An array of objects that represent the add-ons to enable for the new disk.

Definition at line 254 of file CreateDiskRequest.h.

◆ SetAvailabilityZone() [1/3]

void Aws::Lightsail::Model::CreateDiskRequest::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone where you want to create the disk (e.g., us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk.

Use the get regions operation to list the Availability Zones where Lightsail is currently available.

Definition at line 106 of file CreateDiskRequest.h.

◆ SetAvailabilityZone() [2/3]

void Aws::Lightsail::Model::CreateDiskRequest::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone where you want to create the disk (e.g., us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk.

Use the get regions operation to list the Availability Zones where Lightsail is currently available.

Definition at line 115 of file CreateDiskRequest.h.

◆ SetAvailabilityZone() [3/3]

void Aws::Lightsail::Model::CreateDiskRequest::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone where you want to create the disk (e.g., us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk.

Use the get regions operation to list the Availability Zones where Lightsail is currently available.

Definition at line 124 of file CreateDiskRequest.h.

◆ SetDiskName() [1/3]

void Aws::Lightsail::Model::CreateDiskRequest::SetDiskName ( const Aws::String value)
inline

The unique Lightsail disk name (e.g., my-disk).

Definition at line 53 of file CreateDiskRequest.h.

◆ SetDiskName() [2/3]

void Aws::Lightsail::Model::CreateDiskRequest::SetDiskName ( Aws::String &&  value)
inline

The unique Lightsail disk name (e.g., my-disk).

Definition at line 58 of file CreateDiskRequest.h.

◆ SetDiskName() [3/3]

void Aws::Lightsail::Model::CreateDiskRequest::SetDiskName ( const char *  value)
inline

The unique Lightsail disk name (e.g., my-disk).

Definition at line 63 of file CreateDiskRequest.h.

◆ SetSizeInGb()

void Aws::Lightsail::Model::CreateDiskRequest::SetSizeInGb ( int  value)
inline

The size of the disk in GB (e.g., 32).

Definition at line 167 of file CreateDiskRequest.h.

◆ SetTags() [1/2]

void Aws::Lightsail::Model::CreateDiskRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 194 of file CreateDiskRequest.h.

◆ SetTags() [2/2]

void Aws::Lightsail::Model::CreateDiskRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 201 of file CreateDiskRequest.h.

◆ SizeInGbHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskRequest::SizeInGbHasBeenSet ( ) const
inline

The size of the disk in GB (e.g., 32).

Definition at line 162 of file CreateDiskRequest.h.

◆ TagsHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskRequest::TagsHasBeenSet ( ) const
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 187 of file CreateDiskRequest.h.

◆ WithAddOns() [1/2]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithAddOns ( const Aws::Vector< AddOnRequest > &  value)
inline

An array of objects that represent the add-ons to enable for the new disk.

Definition at line 260 of file CreateDiskRequest.h.

◆ WithAddOns() [2/2]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithAddOns ( Aws::Vector< AddOnRequest > &&  value)
inline

An array of objects that represent the add-ons to enable for the new disk.

Definition at line 266 of file CreateDiskRequest.h.

◆ WithAvailabilityZone() [1/3]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone where you want to create the disk (e.g., us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk.

Use the get regions operation to list the Availability Zones where Lightsail is currently available.

Definition at line 133 of file CreateDiskRequest.h.

◆ WithAvailabilityZone() [2/3]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone where you want to create the disk (e.g., us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk.

Use the get regions operation to list the Availability Zones where Lightsail is currently available.

Definition at line 142 of file CreateDiskRequest.h.

◆ WithAvailabilityZone() [3/3]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone where you want to create the disk (e.g., us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk.

Use the get regions operation to list the Availability Zones where Lightsail is currently available.

Definition at line 151 of file CreateDiskRequest.h.

◆ WithDiskName() [1/3]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithDiskName ( const Aws::String value)
inline

The unique Lightsail disk name (e.g., my-disk).

Definition at line 68 of file CreateDiskRequest.h.

◆ WithDiskName() [2/3]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithDiskName ( Aws::String &&  value)
inline

The unique Lightsail disk name (e.g., my-disk).

Definition at line 73 of file CreateDiskRequest.h.

◆ WithDiskName() [3/3]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithDiskName ( const char *  value)
inline

The unique Lightsail disk name (e.g., my-disk).

Definition at line 78 of file CreateDiskRequest.h.

◆ WithSizeInGb()

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithSizeInGb ( int  value)
inline

The size of the disk in GB (e.g., 32).

Definition at line 172 of file CreateDiskRequest.h.

◆ WithTags() [1/2]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 208 of file CreateDiskRequest.h.

◆ WithTags() [2/2]

CreateDiskRequest& Aws::Lightsail::Model::CreateDiskRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 215 of file CreateDiskRequest.h.


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