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

#include <DiskSnapshot.h>

Public Member Functions

 DiskSnapshot ()
 
 DiskSnapshot (Aws::Utils::Json::JsonView jsonValue)
 
DiskSnapshotoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
DiskSnapshotWithName (const Aws::String &value)
 
DiskSnapshotWithName (Aws::String &&value)
 
DiskSnapshotWithName (const char *value)
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
DiskSnapshotWithArn (const Aws::String &value)
 
DiskSnapshotWithArn (Aws::String &&value)
 
DiskSnapshotWithArn (const char *value)
 
const Aws::StringGetSupportCode () const
 
bool SupportCodeHasBeenSet () const
 
void SetSupportCode (const Aws::String &value)
 
void SetSupportCode (Aws::String &&value)
 
void SetSupportCode (const char *value)
 
DiskSnapshotWithSupportCode (const Aws::String &value)
 
DiskSnapshotWithSupportCode (Aws::String &&value)
 
DiskSnapshotWithSupportCode (const char *value)
 
const Aws::Utils::DateTimeGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::Utils::DateTime &value)
 
void SetCreatedAt (Aws::Utils::DateTime &&value)
 
DiskSnapshotWithCreatedAt (const Aws::Utils::DateTime &value)
 
DiskSnapshotWithCreatedAt (Aws::Utils::DateTime &&value)
 
const ResourceLocationGetLocation () const
 
bool LocationHasBeenSet () const
 
void SetLocation (const ResourceLocation &value)
 
void SetLocation (ResourceLocation &&value)
 
DiskSnapshotWithLocation (const ResourceLocation &value)
 
DiskSnapshotWithLocation (ResourceLocation &&value)
 
const ResourceTypeGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const ResourceType &value)
 
void SetResourceType (ResourceType &&value)
 
DiskSnapshotWithResourceType (const ResourceType &value)
 
DiskSnapshotWithResourceType (ResourceType &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
DiskSnapshotWithTags (const Aws::Vector< Tag > &value)
 
DiskSnapshotWithTags (Aws::Vector< Tag > &&value)
 
DiskSnapshotAddTags (const Tag &value)
 
DiskSnapshotAddTags (Tag &&value)
 
int GetSizeInGb () const
 
bool SizeInGbHasBeenSet () const
 
void SetSizeInGb (int value)
 
DiskSnapshotWithSizeInGb (int value)
 
const DiskSnapshotStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const DiskSnapshotState &value)
 
void SetState (DiskSnapshotState &&value)
 
DiskSnapshotWithState (const DiskSnapshotState &value)
 
DiskSnapshotWithState (DiskSnapshotState &&value)
 
const Aws::StringGetProgress () const
 
bool ProgressHasBeenSet () const
 
void SetProgress (const Aws::String &value)
 
void SetProgress (Aws::String &&value)
 
void SetProgress (const char *value)
 
DiskSnapshotWithProgress (const Aws::String &value)
 
DiskSnapshotWithProgress (Aws::String &&value)
 
DiskSnapshotWithProgress (const char *value)
 
const Aws::StringGetFromDiskName () const
 
bool FromDiskNameHasBeenSet () const
 
void SetFromDiskName (const Aws::String &value)
 
void SetFromDiskName (Aws::String &&value)
 
void SetFromDiskName (const char *value)
 
DiskSnapshotWithFromDiskName (const Aws::String &value)
 
DiskSnapshotWithFromDiskName (Aws::String &&value)
 
DiskSnapshotWithFromDiskName (const char *value)
 
const Aws::StringGetFromDiskArn () const
 
bool FromDiskArnHasBeenSet () const
 
void SetFromDiskArn (const Aws::String &value)
 
void SetFromDiskArn (Aws::String &&value)
 
void SetFromDiskArn (const char *value)
 
DiskSnapshotWithFromDiskArn (const Aws::String &value)
 
DiskSnapshotWithFromDiskArn (Aws::String &&value)
 
DiskSnapshotWithFromDiskArn (const char *value)
 
const Aws::StringGetFromInstanceName () const
 
bool FromInstanceNameHasBeenSet () const
 
void SetFromInstanceName (const Aws::String &value)
 
void SetFromInstanceName (Aws::String &&value)
 
void SetFromInstanceName (const char *value)
 
DiskSnapshotWithFromInstanceName (const Aws::String &value)
 
DiskSnapshotWithFromInstanceName (Aws::String &&value)
 
DiskSnapshotWithFromInstanceName (const char *value)
 
const Aws::StringGetFromInstanceArn () const
 
bool FromInstanceArnHasBeenSet () const
 
void SetFromInstanceArn (const Aws::String &value)
 
void SetFromInstanceArn (Aws::String &&value)
 
void SetFromInstanceArn (const char *value)
 
DiskSnapshotWithFromInstanceArn (const Aws::String &value)
 
DiskSnapshotWithFromInstanceArn (Aws::String &&value)
 
DiskSnapshotWithFromInstanceArn (const char *value)
 
bool GetIsFromAutoSnapshot () const
 
bool IsFromAutoSnapshotHasBeenSet () const
 
void SetIsFromAutoSnapshot (bool value)
 
DiskSnapshotWithIsFromAutoSnapshot (bool value)
 

Detailed Description

Describes a block storage disk snapshot.

See Also:

AWS API Reference

Definition at line 37 of file DiskSnapshot.h.

Constructor & Destructor Documentation

◆ DiskSnapshot() [1/2]

Aws::Lightsail::Model::DiskSnapshot::DiskSnapshot ( )

◆ DiskSnapshot() [2/2]

Aws::Lightsail::Model::DiskSnapshot::DiskSnapshot ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddTags() [1/2]

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

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 332 of file DiskSnapshot.h.

◆ AddTags() [2/2]

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

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 340 of file DiskSnapshot.h.

◆ ArnHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the disk snapshot.

Definition at line 95 of file DiskSnapshot.h.

◆ CreatedAtHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::CreatedAtHasBeenSet ( ) const
inline

The date when the disk snapshot was created.

Definition at line 193 of file DiskSnapshot.h.

◆ FromDiskArnHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::FromDiskArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

Definition at line 495 of file DiskSnapshot.h.

◆ FromDiskNameHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::FromDiskNameHasBeenSet ( ) const
inline

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

Definition at line 446 of file DiskSnapshot.h.

◆ FromInstanceArnHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::FromInstanceArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

Definition at line 593 of file DiskSnapshot.h.

◆ FromInstanceNameHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::FromInstanceNameHasBeenSet ( ) const
inline

The unique name of the source instance from which the disk (system volume) snapshot was created.

Definition at line 544 of file DiskSnapshot.h.

◆ GetArn()

const Aws::String& Aws::Lightsail::Model::DiskSnapshot::GetArn ( ) const
inline

The Amazon Resource Name (ARN) of the disk snapshot.

Definition at line 90 of file DiskSnapshot.h.

◆ GetCreatedAt()

const Aws::Utils::DateTime& Aws::Lightsail::Model::DiskSnapshot::GetCreatedAt ( ) const
inline

The date when the disk snapshot was created.

Definition at line 188 of file DiskSnapshot.h.

◆ GetFromDiskArn()

const Aws::String& Aws::Lightsail::Model::DiskSnapshot::GetFromDiskArn ( ) const
inline

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

Definition at line 489 of file DiskSnapshot.h.

◆ GetFromDiskName()

const Aws::String& Aws::Lightsail::Model::DiskSnapshot::GetFromDiskName ( ) const
inline

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

Definition at line 440 of file DiskSnapshot.h.

◆ GetFromInstanceArn()

const Aws::String& Aws::Lightsail::Model::DiskSnapshot::GetFromInstanceArn ( ) const
inline

The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

Definition at line 587 of file DiskSnapshot.h.

◆ GetFromInstanceName()

const Aws::String& Aws::Lightsail::Model::DiskSnapshot::GetFromInstanceName ( ) const
inline

The unique name of the source instance from which the disk (system volume) snapshot was created.

Definition at line 538 of file DiskSnapshot.h.

◆ GetIsFromAutoSnapshot()

bool Aws::Lightsail::Model::DiskSnapshot::GetIsFromAutoSnapshot ( ) const
inline

A Boolean value indicating whether the snapshot was created from an automatic snapshot.

Definition at line 636 of file DiskSnapshot.h.

◆ GetLocation()

const ResourceLocation& Aws::Lightsail::Model::DiskSnapshot::GetLocation ( ) const
inline

The AWS Region and Availability Zone where the disk snapshot was created.

Definition at line 219 of file DiskSnapshot.h.

◆ GetName()

const Aws::String& Aws::Lightsail::Model::DiskSnapshot::GetName ( ) const
inline

The name of the disk snapshot (e.g., my-disk-snapshot).

Definition at line 49 of file DiskSnapshot.h.

◆ GetProgress()

const Aws::String& Aws::Lightsail::Model::DiskSnapshot::GetProgress ( ) const
inline

The progress of the disk snapshot operation.

Definition at line 398 of file DiskSnapshot.h.

◆ GetResourceType()

const ResourceType& Aws::Lightsail::Model::DiskSnapshot::GetResourceType ( ) const
inline

The Lightsail resource type (e.g., DiskSnapshot).

Definition at line 250 of file DiskSnapshot.h.

◆ GetSizeInGb()

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

The size of the disk in GB.

Definition at line 346 of file DiskSnapshot.h.

◆ GetState()

const DiskSnapshotState& Aws::Lightsail::Model::DiskSnapshot::GetState ( ) const
inline

The status of the disk snapshot operation.

Definition at line 367 of file DiskSnapshot.h.

◆ GetSupportCode()

const Aws::String& Aws::Lightsail::Model::DiskSnapshot::GetSupportCode ( ) const
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 133 of file DiskSnapshot.h.

◆ GetTags()

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

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 284 of file DiskSnapshot.h.

◆ IsFromAutoSnapshotHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::IsFromAutoSnapshotHasBeenSet ( ) const
inline

A Boolean value indicating whether the snapshot was created from an automatic snapshot.

Definition at line 642 of file DiskSnapshot.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Lightsail::Model::DiskSnapshot::Jsonize ( ) const

◆ LocationHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::LocationHasBeenSet ( ) const
inline

The AWS Region and Availability Zone where the disk snapshot was created.

Definition at line 224 of file DiskSnapshot.h.

◆ NameHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::NameHasBeenSet ( ) const
inline

The name of the disk snapshot (e.g., my-disk-snapshot).

Definition at line 54 of file DiskSnapshot.h.

◆ operator=()

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ProgressHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::ProgressHasBeenSet ( ) const
inline

The progress of the disk snapshot operation.

Definition at line 403 of file DiskSnapshot.h.

◆ ResourceTypeHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::ResourceTypeHasBeenSet ( ) const
inline

The Lightsail resource type (e.g., DiskSnapshot).

Definition at line 255 of file DiskSnapshot.h.

◆ SetArn() [1/3]

void Aws::Lightsail::Model::DiskSnapshot::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the disk snapshot.

Definition at line 100 of file DiskSnapshot.h.

◆ SetArn() [2/3]

void Aws::Lightsail::Model::DiskSnapshot::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the disk snapshot.

Definition at line 105 of file DiskSnapshot.h.

◆ SetArn() [3/3]

void Aws::Lightsail::Model::DiskSnapshot::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the disk snapshot.

Definition at line 110 of file DiskSnapshot.h.

◆ SetCreatedAt() [1/2]

void Aws::Lightsail::Model::DiskSnapshot::SetCreatedAt ( const Aws::Utils::DateTime value)
inline

The date when the disk snapshot was created.

Definition at line 198 of file DiskSnapshot.h.

◆ SetCreatedAt() [2/2]

void Aws::Lightsail::Model::DiskSnapshot::SetCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The date when the disk snapshot was created.

Definition at line 203 of file DiskSnapshot.h.

◆ SetFromDiskArn() [1/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromDiskArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

Definition at line 501 of file DiskSnapshot.h.

◆ SetFromDiskArn() [2/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromDiskArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

Definition at line 507 of file DiskSnapshot.h.

◆ SetFromDiskArn() [3/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromDiskArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

Definition at line 513 of file DiskSnapshot.h.

◆ SetFromDiskName() [1/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromDiskName ( const Aws::String value)
inline

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

Definition at line 452 of file DiskSnapshot.h.

◆ SetFromDiskName() [2/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromDiskName ( Aws::String &&  value)
inline

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

Definition at line 458 of file DiskSnapshot.h.

◆ SetFromDiskName() [3/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromDiskName ( const char *  value)
inline

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

Definition at line 464 of file DiskSnapshot.h.

◆ SetFromInstanceArn() [1/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

Definition at line 599 of file DiskSnapshot.h.

◆ SetFromInstanceArn() [2/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

Definition at line 605 of file DiskSnapshot.h.

◆ SetFromInstanceArn() [3/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

Definition at line 611 of file DiskSnapshot.h.

◆ SetFromInstanceName() [1/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceName ( const Aws::String value)
inline

The unique name of the source instance from which the disk (system volume) snapshot was created.

Definition at line 550 of file DiskSnapshot.h.

◆ SetFromInstanceName() [2/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceName ( Aws::String &&  value)
inline

The unique name of the source instance from which the disk (system volume) snapshot was created.

Definition at line 556 of file DiskSnapshot.h.

◆ SetFromInstanceName() [3/3]

void Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceName ( const char *  value)
inline

The unique name of the source instance from which the disk (system volume) snapshot was created.

Definition at line 562 of file DiskSnapshot.h.

◆ SetIsFromAutoSnapshot()

void Aws::Lightsail::Model::DiskSnapshot::SetIsFromAutoSnapshot ( bool  value)
inline

A Boolean value indicating whether the snapshot was created from an automatic snapshot.

Definition at line 648 of file DiskSnapshot.h.

◆ SetLocation() [1/2]

void Aws::Lightsail::Model::DiskSnapshot::SetLocation ( const ResourceLocation value)
inline

The AWS Region and Availability Zone where the disk snapshot was created.

Definition at line 229 of file DiskSnapshot.h.

◆ SetLocation() [2/2]

void Aws::Lightsail::Model::DiskSnapshot::SetLocation ( ResourceLocation &&  value)
inline

The AWS Region and Availability Zone where the disk snapshot was created.

Definition at line 234 of file DiskSnapshot.h.

◆ SetName() [1/3]

void Aws::Lightsail::Model::DiskSnapshot::SetName ( const Aws::String value)
inline

The name of the disk snapshot (e.g., my-disk-snapshot).

Definition at line 59 of file DiskSnapshot.h.

◆ SetName() [2/3]

void Aws::Lightsail::Model::DiskSnapshot::SetName ( Aws::String &&  value)
inline

The name of the disk snapshot (e.g., my-disk-snapshot).

Definition at line 64 of file DiskSnapshot.h.

◆ SetName() [3/3]

void Aws::Lightsail::Model::DiskSnapshot::SetName ( const char *  value)
inline

The name of the disk snapshot (e.g., my-disk-snapshot).

Definition at line 69 of file DiskSnapshot.h.

◆ SetProgress() [1/3]

void Aws::Lightsail::Model::DiskSnapshot::SetProgress ( const Aws::String value)
inline

The progress of the disk snapshot operation.

Definition at line 408 of file DiskSnapshot.h.

◆ SetProgress() [2/3]

void Aws::Lightsail::Model::DiskSnapshot::SetProgress ( Aws::String &&  value)
inline

The progress of the disk snapshot operation.

Definition at line 413 of file DiskSnapshot.h.

◆ SetProgress() [3/3]

void Aws::Lightsail::Model::DiskSnapshot::SetProgress ( const char *  value)
inline

The progress of the disk snapshot operation.

Definition at line 418 of file DiskSnapshot.h.

◆ SetResourceType() [1/2]

void Aws::Lightsail::Model::DiskSnapshot::SetResourceType ( const ResourceType value)
inline

The Lightsail resource type (e.g., DiskSnapshot).

Definition at line 260 of file DiskSnapshot.h.

◆ SetResourceType() [2/2]

void Aws::Lightsail::Model::DiskSnapshot::SetResourceType ( ResourceType &&  value)
inline

The Lightsail resource type (e.g., DiskSnapshot).

Definition at line 265 of file DiskSnapshot.h.

◆ SetSizeInGb()

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

The size of the disk in GB.

Definition at line 356 of file DiskSnapshot.h.

◆ SetState() [1/2]

void Aws::Lightsail::Model::DiskSnapshot::SetState ( const DiskSnapshotState value)
inline

The status of the disk snapshot operation.

Definition at line 377 of file DiskSnapshot.h.

◆ SetState() [2/2]

void Aws::Lightsail::Model::DiskSnapshot::SetState ( DiskSnapshotState &&  value)
inline

The status of the disk snapshot operation.

Definition at line 382 of file DiskSnapshot.h.

◆ SetSupportCode() [1/3]

void Aws::Lightsail::Model::DiskSnapshot::SetSupportCode ( const Aws::String value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 147 of file DiskSnapshot.h.

◆ SetSupportCode() [2/3]

void Aws::Lightsail::Model::DiskSnapshot::SetSupportCode ( Aws::String &&  value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 154 of file DiskSnapshot.h.

◆ SetSupportCode() [3/3]

void Aws::Lightsail::Model::DiskSnapshot::SetSupportCode ( const char *  value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 161 of file DiskSnapshot.h.

◆ SetTags() [1/2]

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

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 300 of file DiskSnapshot.h.

◆ SetTags() [2/2]

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

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 308 of file DiskSnapshot.h.

◆ SizeInGbHasBeenSet()

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

The size of the disk in GB.

Definition at line 351 of file DiskSnapshot.h.

◆ StateHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::StateHasBeenSet ( ) const
inline

The status of the disk snapshot operation.

Definition at line 372 of file DiskSnapshot.h.

◆ SupportCodeHasBeenSet()

bool Aws::Lightsail::Model::DiskSnapshot::SupportCodeHasBeenSet ( ) const
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 140 of file DiskSnapshot.h.

◆ TagsHasBeenSet()

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

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 292 of file DiskSnapshot.h.

◆ WithArn() [1/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the disk snapshot.

Definition at line 115 of file DiskSnapshot.h.

◆ WithArn() [2/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the disk snapshot.

Definition at line 120 of file DiskSnapshot.h.

◆ WithArn() [3/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the disk snapshot.

Definition at line 125 of file DiskSnapshot.h.

◆ WithCreatedAt() [1/2]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithCreatedAt ( const Aws::Utils::DateTime value)
inline

The date when the disk snapshot was created.

Definition at line 208 of file DiskSnapshot.h.

◆ WithCreatedAt() [2/2]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The date when the disk snapshot was created.

Definition at line 213 of file DiskSnapshot.h.

◆ WithFromDiskArn() [1/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromDiskArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

Definition at line 519 of file DiskSnapshot.h.

◆ WithFromDiskArn() [2/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromDiskArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

Definition at line 525 of file DiskSnapshot.h.

◆ WithFromDiskArn() [3/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromDiskArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

Definition at line 531 of file DiskSnapshot.h.

◆ WithFromDiskName() [1/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromDiskName ( const Aws::String value)
inline

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

Definition at line 470 of file DiskSnapshot.h.

◆ WithFromDiskName() [2/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromDiskName ( Aws::String &&  value)
inline

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

Definition at line 476 of file DiskSnapshot.h.

◆ WithFromDiskName() [3/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromDiskName ( const char *  value)
inline

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

Definition at line 482 of file DiskSnapshot.h.

◆ WithFromInstanceArn() [1/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

Definition at line 617 of file DiskSnapshot.h.

◆ WithFromInstanceArn() [2/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

Definition at line 623 of file DiskSnapshot.h.

◆ WithFromInstanceArn() [3/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

Definition at line 629 of file DiskSnapshot.h.

◆ WithFromInstanceName() [1/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceName ( const Aws::String value)
inline

The unique name of the source instance from which the disk (system volume) snapshot was created.

Definition at line 568 of file DiskSnapshot.h.

◆ WithFromInstanceName() [2/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceName ( Aws::String &&  value)
inline

The unique name of the source instance from which the disk (system volume) snapshot was created.

Definition at line 574 of file DiskSnapshot.h.

◆ WithFromInstanceName() [3/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceName ( const char *  value)
inline

The unique name of the source instance from which the disk (system volume) snapshot was created.

Definition at line 580 of file DiskSnapshot.h.

◆ WithIsFromAutoSnapshot()

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithIsFromAutoSnapshot ( bool  value)
inline

A Boolean value indicating whether the snapshot was created from an automatic snapshot.

Definition at line 654 of file DiskSnapshot.h.

◆ WithLocation() [1/2]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithLocation ( const ResourceLocation value)
inline

The AWS Region and Availability Zone where the disk snapshot was created.

Definition at line 239 of file DiskSnapshot.h.

◆ WithLocation() [2/2]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithLocation ( ResourceLocation &&  value)
inline

The AWS Region and Availability Zone where the disk snapshot was created.

Definition at line 244 of file DiskSnapshot.h.

◆ WithName() [1/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithName ( const Aws::String value)
inline

The name of the disk snapshot (e.g., my-disk-snapshot).

Definition at line 74 of file DiskSnapshot.h.

◆ WithName() [2/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithName ( Aws::String &&  value)
inline

The name of the disk snapshot (e.g., my-disk-snapshot).

Definition at line 79 of file DiskSnapshot.h.

◆ WithName() [3/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithName ( const char *  value)
inline

The name of the disk snapshot (e.g., my-disk-snapshot).

Definition at line 84 of file DiskSnapshot.h.

◆ WithProgress() [1/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithProgress ( const Aws::String value)
inline

The progress of the disk snapshot operation.

Definition at line 423 of file DiskSnapshot.h.

◆ WithProgress() [2/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithProgress ( Aws::String &&  value)
inline

The progress of the disk snapshot operation.

Definition at line 428 of file DiskSnapshot.h.

◆ WithProgress() [3/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithProgress ( const char *  value)
inline

The progress of the disk snapshot operation.

Definition at line 433 of file DiskSnapshot.h.

◆ WithResourceType() [1/2]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithResourceType ( const ResourceType value)
inline

The Lightsail resource type (e.g., DiskSnapshot).

Definition at line 270 of file DiskSnapshot.h.

◆ WithResourceType() [2/2]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithResourceType ( ResourceType &&  value)
inline

The Lightsail resource type (e.g., DiskSnapshot).

Definition at line 275 of file DiskSnapshot.h.

◆ WithSizeInGb()

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

The size of the disk in GB.

Definition at line 361 of file DiskSnapshot.h.

◆ WithState() [1/2]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithState ( const DiskSnapshotState value)
inline

The status of the disk snapshot operation.

Definition at line 387 of file DiskSnapshot.h.

◆ WithState() [2/2]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithState ( DiskSnapshotState &&  value)
inline

The status of the disk snapshot operation.

Definition at line 392 of file DiskSnapshot.h.

◆ WithSupportCode() [1/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithSupportCode ( const Aws::String value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 168 of file DiskSnapshot.h.

◆ WithSupportCode() [2/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithSupportCode ( Aws::String &&  value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 175 of file DiskSnapshot.h.

◆ WithSupportCode() [3/3]

DiskSnapshot& Aws::Lightsail::Model::DiskSnapshot::WithSupportCode ( const char *  value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 182 of file DiskSnapshot.h.

◆ WithTags() [1/2]

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

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 316 of file DiskSnapshot.h.

◆ WithTags() [2/2]

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

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 324 of file DiskSnapshot.h.


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