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

#include <CreateDiskFromSnapshotRequest.h>

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

Public Member Functions

 CreateDiskFromSnapshotRequest ()
 
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)
 
CreateDiskFromSnapshotRequestWithDiskName (const Aws::String &value)
 
CreateDiskFromSnapshotRequestWithDiskName (Aws::String &&value)
 
CreateDiskFromSnapshotRequestWithDiskName (const char *value)
 
const Aws::StringGetDiskSnapshotName () const
 
bool DiskSnapshotNameHasBeenSet () const
 
void SetDiskSnapshotName (const Aws::String &value)
 
void SetDiskSnapshotName (Aws::String &&value)
 
void SetDiskSnapshotName (const char *value)
 
CreateDiskFromSnapshotRequestWithDiskSnapshotName (const Aws::String &value)
 
CreateDiskFromSnapshotRequestWithDiskSnapshotName (Aws::String &&value)
 
CreateDiskFromSnapshotRequestWithDiskSnapshotName (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)
 
CreateDiskFromSnapshotRequestWithAvailabilityZone (const Aws::String &value)
 
CreateDiskFromSnapshotRequestWithAvailabilityZone (Aws::String &&value)
 
CreateDiskFromSnapshotRequestWithAvailabilityZone (const char *value)
 
int GetSizeInGb () const
 
bool SizeInGbHasBeenSet () const
 
void SetSizeInGb (int value)
 
CreateDiskFromSnapshotRequestWithSizeInGb (int value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateDiskFromSnapshotRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateDiskFromSnapshotRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateDiskFromSnapshotRequestAddTags (const Tag &value)
 
CreateDiskFromSnapshotRequestAddTags (Tag &&value)
 
const Aws::Vector< AddOnRequest > & GetAddOns () const
 
bool AddOnsHasBeenSet () const
 
void SetAddOns (const Aws::Vector< AddOnRequest > &value)
 
void SetAddOns (Aws::Vector< AddOnRequest > &&value)
 
CreateDiskFromSnapshotRequestWithAddOns (const Aws::Vector< AddOnRequest > &value)
 
CreateDiskFromSnapshotRequestWithAddOns (Aws::Vector< AddOnRequest > &&value)
 
CreateDiskFromSnapshotRequestAddAddOns (const AddOnRequest &value)
 
CreateDiskFromSnapshotRequestAddAddOns (AddOnRequest &&value)
 
const Aws::StringGetSourceDiskName () const
 
bool SourceDiskNameHasBeenSet () const
 
void SetSourceDiskName (const Aws::String &value)
 
void SetSourceDiskName (Aws::String &&value)
 
void SetSourceDiskName (const char *value)
 
CreateDiskFromSnapshotRequestWithSourceDiskName (const Aws::String &value)
 
CreateDiskFromSnapshotRequestWithSourceDiskName (Aws::String &&value)
 
CreateDiskFromSnapshotRequestWithSourceDiskName (const char *value)
 
const Aws::StringGetRestoreDate () const
 
bool RestoreDateHasBeenSet () const
 
void SetRestoreDate (const Aws::String &value)
 
void SetRestoreDate (Aws::String &&value)
 
void SetRestoreDate (const char *value)
 
CreateDiskFromSnapshotRequestWithRestoreDate (const Aws::String &value)
 
CreateDiskFromSnapshotRequestWithRestoreDate (Aws::String &&value)
 
CreateDiskFromSnapshotRequestWithRestoreDate (const char *value)
 
bool GetUseLatestRestorableAutoSnapshot () const
 
bool UseLatestRestorableAutoSnapshotHasBeenSet () const
 
void SetUseLatestRestorableAutoSnapshot (bool value)
 
CreateDiskFromSnapshotRequestWithUseLatestRestorableAutoSnapshot (bool 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 CreateDiskFromSnapshotRequest.h.

Constructor & Destructor Documentation

◆ CreateDiskFromSnapshotRequest()

Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::CreateDiskFromSnapshotRequest ( )

Member Function Documentation

◆ AddAddOns() [1/2]

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

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

Definition at line 337 of file CreateDiskFromSnapshotRequest.h.

◆ AddAddOns() [2/2]

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

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

Definition at line 343 of file CreateDiskFromSnapshotRequest.h.

◆ AddOnsHasBeenSet()

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

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

Definition at line 307 of file CreateDiskFromSnapshotRequest.h.

◆ AddTags() [1/2]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::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 287 of file CreateDiskFromSnapshotRequest.h.

◆ AddTags() [2/2]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::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 294 of file CreateDiskFromSnapshotRequest.h.

◆ AvailabilityZoneHasBeenSet()

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

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

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

Definition at line 168 of file CreateDiskFromSnapshotRequest.h.

◆ DiskNameHasBeenSet()

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

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

Definition at line 48 of file CreateDiskFromSnapshotRequest.h.

◆ DiskSnapshotNameHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::DiskSnapshotNameHasBeenSet ( ) const
inline

The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.

Constraint:

  • This parameter cannot be defined together with the source disk name parameter. The disk snapshot name and source disk name parameters are mutually exclusive.

Definition at line 97 of file CreateDiskFromSnapshotRequest.h.

◆ GetAddOns()

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

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

Definition at line 301 of file CreateDiskFromSnapshotRequest.h.

◆ GetAvailabilityZone()

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

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

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

Definition at line 160 of file CreateDiskFromSnapshotRequest.h.

◆ GetDiskName()

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

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

Definition at line 43 of file CreateDiskFromSnapshotRequest.h.

◆ GetDiskSnapshotName()

const Aws::String& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetDiskSnapshotName ( ) const
inline

The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.

Constraint:

  • This parameter cannot be defined together with the source disk name parameter. The disk snapshot name and source disk name parameters are mutually exclusive.

Definition at line 88 of file CreateDiskFromSnapshotRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::Lightsail::LightsailRequest.

◆ GetRestoreDate()

const Aws::String& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetRestoreDate ( ) const
inline

The date of the automatic snapshot to use for the new disk. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 456 of file CreateDiskFromSnapshotRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file CreateDiskFromSnapshotRequest.h.

◆ GetSizeInGb()

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

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

Definition at line 222 of file CreateDiskFromSnapshotRequest.h.

◆ GetSourceDiskName()

const Aws::String& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetSourceDiskName ( ) const
inline

The name of the source disk from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the disk snapshot name parameter. The source disk name and disk snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 356 of file CreateDiskFromSnapshotRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::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 245 of file CreateDiskFromSnapshotRequest.h.

◆ GetUseLatestRestorableAutoSnapshot()

bool Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetUseLatestRestorableAutoSnapshot ( ) const
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 574 of file CreateDiskFromSnapshotRequest.h.

◆ RestoreDateHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::RestoreDateHasBeenSet ( ) const
inline

The date of the automatic snapshot to use for the new disk. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 471 of file CreateDiskFromSnapshotRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAddOns() [1/2]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::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 313 of file CreateDiskFromSnapshotRequest.h.

◆ SetAddOns() [2/2]

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

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

Definition at line 319 of file CreateDiskFromSnapshotRequest.h.

◆ SetAvailabilityZone() [1/3]

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

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

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

Definition at line 176 of file CreateDiskFromSnapshotRequest.h.

◆ SetAvailabilityZone() [2/3]

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

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

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

Definition at line 184 of file CreateDiskFromSnapshotRequest.h.

◆ SetAvailabilityZone() [3/3]

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

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

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

Definition at line 192 of file CreateDiskFromSnapshotRequest.h.

◆ SetDiskName() [1/3]

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

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

Definition at line 53 of file CreateDiskFromSnapshotRequest.h.

◆ SetDiskName() [2/3]

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

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

Definition at line 58 of file CreateDiskFromSnapshotRequest.h.

◆ SetDiskName() [3/3]

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

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

Definition at line 63 of file CreateDiskFromSnapshotRequest.h.

◆ SetDiskSnapshotName() [1/3]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetDiskSnapshotName ( const Aws::String value)
inline

The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.

Constraint:

  • This parameter cannot be defined together with the source disk name parameter. The disk snapshot name and source disk name parameters are mutually exclusive.

Definition at line 106 of file CreateDiskFromSnapshotRequest.h.

◆ SetDiskSnapshotName() [2/3]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetDiskSnapshotName ( Aws::String &&  value)
inline

The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.

Constraint:

  • This parameter cannot be defined together with the source disk name parameter. The disk snapshot name and source disk name parameters are mutually exclusive.

Definition at line 115 of file CreateDiskFromSnapshotRequest.h.

◆ SetDiskSnapshotName() [3/3]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetDiskSnapshotName ( const char *  value)
inline

The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.

Constraint:

  • This parameter cannot be defined together with the source disk name parameter. The disk snapshot name and source disk name parameters are mutually exclusive.

Definition at line 124 of file CreateDiskFromSnapshotRequest.h.

◆ SetRestoreDate() [1/3]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetRestoreDate ( const Aws::String value)
inline

The date of the automatic snapshot to use for the new disk. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 486 of file CreateDiskFromSnapshotRequest.h.

◆ SetRestoreDate() [2/3]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetRestoreDate ( Aws::String &&  value)
inline

The date of the automatic snapshot to use for the new disk. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 501 of file CreateDiskFromSnapshotRequest.h.

◆ SetRestoreDate() [3/3]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetRestoreDate ( const char *  value)
inline

The date of the automatic snapshot to use for the new disk. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 516 of file CreateDiskFromSnapshotRequest.h.

◆ SetSizeInGb()

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

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

Definition at line 232 of file CreateDiskFromSnapshotRequest.h.

◆ SetSourceDiskName() [1/3]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetSourceDiskName ( const Aws::String value)
inline

The name of the source disk from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the disk snapshot name parameter. The source disk name and disk snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 380 of file CreateDiskFromSnapshotRequest.h.

◆ SetSourceDiskName() [2/3]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetSourceDiskName ( Aws::String &&  value)
inline

The name of the source disk from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the disk snapshot name parameter. The source disk name and disk snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 392 of file CreateDiskFromSnapshotRequest.h.

◆ SetSourceDiskName() [3/3]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetSourceDiskName ( const char *  value)
inline

The name of the source disk from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the disk snapshot name parameter. The source disk name and disk snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 404 of file CreateDiskFromSnapshotRequest.h.

◆ SetTags() [1/2]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::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 259 of file CreateDiskFromSnapshotRequest.h.

◆ SetTags() [2/2]

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::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 266 of file CreateDiskFromSnapshotRequest.h.

◆ SetUseLatestRestorableAutoSnapshot()

void Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetUseLatestRestorableAutoSnapshot ( bool  value)
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 598 of file CreateDiskFromSnapshotRequest.h.

◆ SizeInGbHasBeenSet()

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

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

Definition at line 227 of file CreateDiskFromSnapshotRequest.h.

◆ SourceDiskNameHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SourceDiskNameHasBeenSet ( ) const
inline

The name of the source disk from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the disk snapshot name parameter. The source disk name and disk snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 368 of file CreateDiskFromSnapshotRequest.h.

◆ TagsHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::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 252 of file CreateDiskFromSnapshotRequest.h.

◆ UseLatestRestorableAutoSnapshotHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::UseLatestRestorableAutoSnapshotHasBeenSet ( ) const
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 586 of file CreateDiskFromSnapshotRequest.h.

◆ WithAddOns() [1/2]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::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 325 of file CreateDiskFromSnapshotRequest.h.

◆ WithAddOns() [2/2]

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

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

Definition at line 331 of file CreateDiskFromSnapshotRequest.h.

◆ WithAvailabilityZone() [1/3]

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

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

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

Definition at line 200 of file CreateDiskFromSnapshotRequest.h.

◆ WithAvailabilityZone() [2/3]

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

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

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

Definition at line 208 of file CreateDiskFromSnapshotRequest.h.

◆ WithAvailabilityZone() [3/3]

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

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

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

Definition at line 216 of file CreateDiskFromSnapshotRequest.h.

◆ WithDiskName() [1/3]

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

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

Definition at line 68 of file CreateDiskFromSnapshotRequest.h.

◆ WithDiskName() [2/3]

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

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

Definition at line 73 of file CreateDiskFromSnapshotRequest.h.

◆ WithDiskName() [3/3]

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

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

Definition at line 78 of file CreateDiskFromSnapshotRequest.h.

◆ WithDiskSnapshotName() [1/3]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithDiskSnapshotName ( const Aws::String value)
inline

The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.

Constraint:

  • This parameter cannot be defined together with the source disk name parameter. The disk snapshot name and source disk name parameters are mutually exclusive.

Definition at line 133 of file CreateDiskFromSnapshotRequest.h.

◆ WithDiskSnapshotName() [2/3]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithDiskSnapshotName ( Aws::String &&  value)
inline

The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.

Constraint:

  • This parameter cannot be defined together with the source disk name parameter. The disk snapshot name and source disk name parameters are mutually exclusive.

Definition at line 142 of file CreateDiskFromSnapshotRequest.h.

◆ WithDiskSnapshotName() [3/3]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithDiskSnapshotName ( const char *  value)
inline

The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.

Constraint:

  • This parameter cannot be defined together with the source disk name parameter. The disk snapshot name and source disk name parameters are mutually exclusive.

Definition at line 151 of file CreateDiskFromSnapshotRequest.h.

◆ WithRestoreDate() [1/3]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithRestoreDate ( const Aws::String value)
inline

The date of the automatic snapshot to use for the new disk. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 531 of file CreateDiskFromSnapshotRequest.h.

◆ WithRestoreDate() [2/3]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithRestoreDate ( Aws::String &&  value)
inline

The date of the automatic snapshot to use for the new disk. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 546 of file CreateDiskFromSnapshotRequest.h.

◆ WithRestoreDate() [3/3]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithRestoreDate ( const char *  value)
inline

The date of the automatic snapshot to use for the new disk. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 561 of file CreateDiskFromSnapshotRequest.h.

◆ WithSizeInGb()

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

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

Definition at line 237 of file CreateDiskFromSnapshotRequest.h.

◆ WithSourceDiskName() [1/3]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithSourceDiskName ( const Aws::String value)
inline

The name of the source disk from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the disk snapshot name parameter. The source disk name and disk snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 416 of file CreateDiskFromSnapshotRequest.h.

◆ WithSourceDiskName() [2/3]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithSourceDiskName ( Aws::String &&  value)
inline

The name of the source disk from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the disk snapshot name parameter. The source disk name and disk snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 428 of file CreateDiskFromSnapshotRequest.h.

◆ WithSourceDiskName() [3/3]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithSourceDiskName ( const char *  value)
inline

The name of the source disk from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the disk snapshot name parameter. The source disk name and disk snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 440 of file CreateDiskFromSnapshotRequest.h.

◆ WithTags() [1/2]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::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 273 of file CreateDiskFromSnapshotRequest.h.

◆ WithTags() [2/2]

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::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 280 of file CreateDiskFromSnapshotRequest.h.

◆ WithUseLatestRestorableAutoSnapshot()

CreateDiskFromSnapshotRequest& Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithUseLatestRestorableAutoSnapshot ( bool  value)
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 610 of file CreateDiskFromSnapshotRequest.h.


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