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

#include <CreateDiskSnapshotRequest.h>

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

Public Member Functions

 CreateDiskSnapshotRequest ()
 
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)
 
CreateDiskSnapshotRequestWithDiskName (const Aws::String &value)
 
CreateDiskSnapshotRequestWithDiskName (Aws::String &&value)
 
CreateDiskSnapshotRequestWithDiskName (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)
 
CreateDiskSnapshotRequestWithDiskSnapshotName (const Aws::String &value)
 
CreateDiskSnapshotRequestWithDiskSnapshotName (Aws::String &&value)
 
CreateDiskSnapshotRequestWithDiskSnapshotName (const char *value)
 
const Aws::StringGetInstanceName () const
 
bool InstanceNameHasBeenSet () const
 
void SetInstanceName (const Aws::String &value)
 
void SetInstanceName (Aws::String &&value)
 
void SetInstanceName (const char *value)
 
CreateDiskSnapshotRequestWithInstanceName (const Aws::String &value)
 
CreateDiskSnapshotRequestWithInstanceName (Aws::String &&value)
 
CreateDiskSnapshotRequestWithInstanceName (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateDiskSnapshotRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateDiskSnapshotRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateDiskSnapshotRequestAddTags (const Tag &value)
 
CreateDiskSnapshotRequestAddTags (Tag &&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 23 of file CreateDiskSnapshotRequest.h.

Constructor & Destructor Documentation

◆ CreateDiskSnapshotRequest()

Aws::Lightsail::Model::CreateDiskSnapshotRequest::CreateDiskSnapshotRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

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

◆ AddTags() [2/2]

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

◆ DiskNameHasBeenSet()

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

The unique name of the source disk (e.g., Disk-Virginia-1).

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

Definition at line 53 of file CreateDiskSnapshotRequest.h.

◆ DiskSnapshotNameHasBeenSet()

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

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

Definition at line 114 of file CreateDiskSnapshotRequest.h.

◆ GetDiskName()

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

The unique name of the source disk (e.g., Disk-Virginia-1).

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

Definition at line 45 of file CreateDiskSnapshotRequest.h.

◆ GetDiskSnapshotName()

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

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

Definition at line 108 of file CreateDiskSnapshotRequest.h.

◆ GetInstanceName()

const Aws::String& Aws::Lightsail::Model::CreateDiskSnapshotRequest::GetInstanceName ( ) const
inline

The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.

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

Definition at line 161 of file CreateDiskSnapshotRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::Lightsail::LightsailRequest.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file CreateDiskSnapshotRequest.h.

◆ GetTags()

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

◆ InstanceNameHasBeenSet()

bool Aws::Lightsail::Model::CreateDiskSnapshotRequest::InstanceNameHasBeenSet ( ) const
inline

The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.

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

Definition at line 171 of file CreateDiskSnapshotRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDiskName() [1/3]

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

The unique name of the source disk (e.g., Disk-Virginia-1).

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

Definition at line 61 of file CreateDiskSnapshotRequest.h.

◆ SetDiskName() [2/3]

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

The unique name of the source disk (e.g., Disk-Virginia-1).

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

Definition at line 69 of file CreateDiskSnapshotRequest.h.

◆ SetDiskName() [3/3]

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

The unique name of the source disk (e.g., Disk-Virginia-1).

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

Definition at line 77 of file CreateDiskSnapshotRequest.h.

◆ SetDiskSnapshotName() [1/3]

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

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

Definition at line 120 of file CreateDiskSnapshotRequest.h.

◆ SetDiskSnapshotName() [2/3]

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

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

Definition at line 126 of file CreateDiskSnapshotRequest.h.

◆ SetDiskSnapshotName() [3/3]

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

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

Definition at line 132 of file CreateDiskSnapshotRequest.h.

◆ SetInstanceName() [1/3]

void Aws::Lightsail::Model::CreateDiskSnapshotRequest::SetInstanceName ( const Aws::String value)
inline

The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.

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

Definition at line 181 of file CreateDiskSnapshotRequest.h.

◆ SetInstanceName() [2/3]

void Aws::Lightsail::Model::CreateDiskSnapshotRequest::SetInstanceName ( Aws::String &&  value)
inline

The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.

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

Definition at line 191 of file CreateDiskSnapshotRequest.h.

◆ SetInstanceName() [3/3]

void Aws::Lightsail::Model::CreateDiskSnapshotRequest::SetInstanceName ( const char *  value)
inline

The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.

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

Definition at line 201 of file CreateDiskSnapshotRequest.h.

◆ SetTags() [1/2]

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

◆ SetTags() [2/2]

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

◆ TagsHasBeenSet()

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

◆ WithDiskName() [1/3]

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

The unique name of the source disk (e.g., Disk-Virginia-1).

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

Definition at line 85 of file CreateDiskSnapshotRequest.h.

◆ WithDiskName() [2/3]

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

The unique name of the source disk (e.g., Disk-Virginia-1).

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

Definition at line 93 of file CreateDiskSnapshotRequest.h.

◆ WithDiskName() [3/3]

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

The unique name of the source disk (e.g., Disk-Virginia-1).

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

Definition at line 101 of file CreateDiskSnapshotRequest.h.

◆ WithDiskSnapshotName() [1/3]

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

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

Definition at line 138 of file CreateDiskSnapshotRequest.h.

◆ WithDiskSnapshotName() [2/3]

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

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

Definition at line 144 of file CreateDiskSnapshotRequest.h.

◆ WithDiskSnapshotName() [3/3]

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

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

Definition at line 150 of file CreateDiskSnapshotRequest.h.

◆ WithInstanceName() [1/3]

CreateDiskSnapshotRequest& Aws::Lightsail::Model::CreateDiskSnapshotRequest::WithInstanceName ( const Aws::String value)
inline

The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.

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

Definition at line 211 of file CreateDiskSnapshotRequest.h.

◆ WithInstanceName() [2/3]

CreateDiskSnapshotRequest& Aws::Lightsail::Model::CreateDiskSnapshotRequest::WithInstanceName ( Aws::String &&  value)
inline

The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.

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

Definition at line 221 of file CreateDiskSnapshotRequest.h.

◆ WithInstanceName() [3/3]

CreateDiskSnapshotRequest& Aws::Lightsail::Model::CreateDiskSnapshotRequest::WithInstanceName ( const char *  value)
inline

The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.

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

Definition at line 231 of file CreateDiskSnapshotRequest.h.

◆ WithTags() [1/2]

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

◆ WithTags() [2/2]

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


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