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

#include <Disk.h>

Public Member Functions

 Disk ()
 
 Disk (Aws::Utils::Json::JsonView jsonValue)
 
Diskoperator= (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)
 
DiskWithName (const Aws::String &value)
 
DiskWithName (Aws::String &&value)
 
DiskWithName (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)
 
DiskWithArn (const Aws::String &value)
 
DiskWithArn (Aws::String &&value)
 
DiskWithArn (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)
 
DiskWithSupportCode (const Aws::String &value)
 
DiskWithSupportCode (Aws::String &&value)
 
DiskWithSupportCode (const char *value)
 
const Aws::Utils::DateTimeGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::Utils::DateTime &value)
 
void SetCreatedAt (Aws::Utils::DateTime &&value)
 
DiskWithCreatedAt (const Aws::Utils::DateTime &value)
 
DiskWithCreatedAt (Aws::Utils::DateTime &&value)
 
const ResourceLocationGetLocation () const
 
bool LocationHasBeenSet () const
 
void SetLocation (const ResourceLocation &value)
 
void SetLocation (ResourceLocation &&value)
 
DiskWithLocation (const ResourceLocation &value)
 
DiskWithLocation (ResourceLocation &&value)
 
const ResourceTypeGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const ResourceType &value)
 
void SetResourceType (ResourceType &&value)
 
DiskWithResourceType (const ResourceType &value)
 
DiskWithResourceType (ResourceType &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
DiskWithTags (const Aws::Vector< Tag > &value)
 
DiskWithTags (Aws::Vector< Tag > &&value)
 
DiskAddTags (const Tag &value)
 
DiskAddTags (Tag &&value)
 
const Aws::Vector< AddOn > & GetAddOns () const
 
bool AddOnsHasBeenSet () const
 
void SetAddOns (const Aws::Vector< AddOn > &value)
 
void SetAddOns (Aws::Vector< AddOn > &&value)
 
DiskWithAddOns (const Aws::Vector< AddOn > &value)
 
DiskWithAddOns (Aws::Vector< AddOn > &&value)
 
DiskAddAddOns (const AddOn &value)
 
DiskAddAddOns (AddOn &&value)
 
int GetSizeInGb () const
 
bool SizeInGbHasBeenSet () const
 
void SetSizeInGb (int value)
 
DiskWithSizeInGb (int value)
 
bool GetIsSystemDisk () const
 
bool IsSystemDiskHasBeenSet () const
 
void SetIsSystemDisk (bool value)
 
DiskWithIsSystemDisk (bool value)
 
int GetIops () const
 
bool IopsHasBeenSet () const
 
void SetIops (int value)
 
DiskWithIops (int value)
 
const Aws::StringGetPath () const
 
bool PathHasBeenSet () const
 
void SetPath (const Aws::String &value)
 
void SetPath (Aws::String &&value)
 
void SetPath (const char *value)
 
DiskWithPath (const Aws::String &value)
 
DiskWithPath (Aws::String &&value)
 
DiskWithPath (const char *value)
 
const DiskStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const DiskState &value)
 
void SetState (DiskState &&value)
 
DiskWithState (const DiskState &value)
 
DiskWithState (DiskState &&value)
 
const Aws::StringGetAttachedTo () const
 
bool AttachedToHasBeenSet () const
 
void SetAttachedTo (const Aws::String &value)
 
void SetAttachedTo (Aws::String &&value)
 
void SetAttachedTo (const char *value)
 
DiskWithAttachedTo (const Aws::String &value)
 
DiskWithAttachedTo (Aws::String &&value)
 
DiskWithAttachedTo (const char *value)
 
bool GetIsAttached () const
 
bool IsAttachedHasBeenSet () const
 
void SetIsAttached (bool value)
 
DiskWithIsAttached (bool value)
 

Detailed Description

Describes a system disk or a block storage disk.

See Also:

AWS API Reference

Definition at line 38 of file Disk.h.

Constructor & Destructor Documentation

◆ Disk() [1/2]

Aws::Lightsail::Model::Disk::Disk ( )

◆ Disk() [2/2]

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

Member Function Documentation

◆ AddAddOns() [1/2]

Disk& Aws::Lightsail::Model::Disk::AddAddOns ( const AddOn value)
inline

An array of objects representing the add-ons enabled on the disk.

Definition at line 377 of file Disk.h.

◆ AddAddOns() [2/2]

Disk& Aws::Lightsail::Model::Disk::AddAddOns ( AddOn &&  value)
inline

An array of objects representing the add-ons enabled on the disk.

Definition at line 382 of file Disk.h.

◆ AddOnsHasBeenSet()

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

An array of objects representing the add-ons enabled on the disk.

Definition at line 352 of file Disk.h.

◆ AddTags() [1/2]

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

◆ AddTags() [2/2]

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

◆ ArnHasBeenSet()

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

The Amazon Resource Name (ARN) of the disk.

Definition at line 96 of file Disk.h.

◆ AttachedToHasBeenSet()

bool Aws::Lightsail::Model::Disk::AttachedToHasBeenSet ( ) const
inline

The resources to which the disk is attached.

Definition at line 532 of file Disk.h.

◆ CreatedAtHasBeenSet()

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

The date when the disk was created.

Definition at line 194 of file Disk.h.

◆ GetAddOns()

const Aws::Vector<AddOn>& Aws::Lightsail::Model::Disk::GetAddOns ( ) const
inline

An array of objects representing the add-ons enabled on the disk.

Definition at line 347 of file Disk.h.

◆ GetArn()

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

The Amazon Resource Name (ARN) of the disk.

Definition at line 91 of file Disk.h.

◆ GetAttachedTo()

const Aws::String& Aws::Lightsail::Model::Disk::GetAttachedTo ( ) const
inline

The resources to which the disk is attached.

Definition at line 527 of file Disk.h.

◆ GetCreatedAt()

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

The date when the disk was created.

Definition at line 189 of file Disk.h.

◆ GetIops()

int Aws::Lightsail::Model::Disk::GetIops ( ) const
inline

The input/output operations per second (IOPS) of the disk.

Definition at line 434 of file Disk.h.

◆ GetIsAttached()

bool Aws::Lightsail::Model::Disk::GetIsAttached ( ) const
inline

A Boolean value indicating whether the disk is attached.

Definition at line 568 of file Disk.h.

◆ GetIsSystemDisk()

bool Aws::Lightsail::Model::Disk::GetIsSystemDisk ( ) const
inline

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

Definition at line 410 of file Disk.h.

◆ GetLocation()

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

The AWS Region and Availability Zone where the disk is located.

Definition at line 220 of file Disk.h.

◆ GetName()

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

The unique name of the disk.

Definition at line 50 of file Disk.h.

◆ GetPath()

const Aws::String& Aws::Lightsail::Model::Disk::GetPath ( ) const
inline

The disk path.

Definition at line 455 of file Disk.h.

◆ GetResourceType()

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

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

Definition at line 251 of file Disk.h.

◆ GetSizeInGb()

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

The size of the disk in GB.

Definition at line 388 of file Disk.h.

◆ GetState()

const DiskState& Aws::Lightsail::Model::Disk::GetState ( ) const
inline

Describes the status of the disk.

Definition at line 496 of file Disk.h.

◆ GetSupportCode()

const Aws::String& Aws::Lightsail::Model::Disk::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 134 of file Disk.h.

◆ GetTags()

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

◆ IopsHasBeenSet()

bool Aws::Lightsail::Model::Disk::IopsHasBeenSet ( ) const
inline

The input/output operations per second (IOPS) of the disk.

Definition at line 439 of file Disk.h.

◆ IsAttachedHasBeenSet()

bool Aws::Lightsail::Model::Disk::IsAttachedHasBeenSet ( ) const
inline

A Boolean value indicating whether the disk is attached.

Definition at line 573 of file Disk.h.

◆ IsSystemDiskHasBeenSet()

bool Aws::Lightsail::Model::Disk::IsSystemDiskHasBeenSet ( ) const
inline

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

Definition at line 416 of file Disk.h.

◆ Jsonize()

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

◆ LocationHasBeenSet()

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

The AWS Region and Availability Zone where the disk is located.

Definition at line 225 of file Disk.h.

◆ NameHasBeenSet()

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

The unique name of the disk.

Definition at line 55 of file Disk.h.

◆ operator=()

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

◆ PathHasBeenSet()

bool Aws::Lightsail::Model::Disk::PathHasBeenSet ( ) const
inline

The disk path.

Definition at line 460 of file Disk.h.

◆ ResourceTypeHasBeenSet()

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

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

Definition at line 256 of file Disk.h.

◆ SetAddOns() [1/2]

void Aws::Lightsail::Model::Disk::SetAddOns ( const Aws::Vector< AddOn > &  value)
inline

An array of objects representing the add-ons enabled on the disk.

Definition at line 357 of file Disk.h.

◆ SetAddOns() [2/2]

void Aws::Lightsail::Model::Disk::SetAddOns ( Aws::Vector< AddOn > &&  value)
inline

An array of objects representing the add-ons enabled on the disk.

Definition at line 362 of file Disk.h.

◆ SetArn() [1/3]

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

The Amazon Resource Name (ARN) of the disk.

Definition at line 101 of file Disk.h.

◆ SetArn() [2/3]

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

The Amazon Resource Name (ARN) of the disk.

Definition at line 106 of file Disk.h.

◆ SetArn() [3/3]

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

The Amazon Resource Name (ARN) of the disk.

Definition at line 111 of file Disk.h.

◆ SetAttachedTo() [1/3]

void Aws::Lightsail::Model::Disk::SetAttachedTo ( const Aws::String value)
inline

The resources to which the disk is attached.

Definition at line 537 of file Disk.h.

◆ SetAttachedTo() [2/3]

void Aws::Lightsail::Model::Disk::SetAttachedTo ( Aws::String &&  value)
inline

The resources to which the disk is attached.

Definition at line 542 of file Disk.h.

◆ SetAttachedTo() [3/3]

void Aws::Lightsail::Model::Disk::SetAttachedTo ( const char *  value)
inline

The resources to which the disk is attached.

Definition at line 547 of file Disk.h.

◆ SetCreatedAt() [1/2]

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

The date when the disk was created.

Definition at line 199 of file Disk.h.

◆ SetCreatedAt() [2/2]

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

The date when the disk was created.

Definition at line 204 of file Disk.h.

◆ SetIops()

void Aws::Lightsail::Model::Disk::SetIops ( int  value)
inline

The input/output operations per second (IOPS) of the disk.

Definition at line 444 of file Disk.h.

◆ SetIsAttached()

void Aws::Lightsail::Model::Disk::SetIsAttached ( bool  value)
inline

A Boolean value indicating whether the disk is attached.

Definition at line 578 of file Disk.h.

◆ SetIsSystemDisk()

void Aws::Lightsail::Model::Disk::SetIsSystemDisk ( bool  value)
inline

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

Definition at line 422 of file Disk.h.

◆ SetLocation() [1/2]

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

The AWS Region and Availability Zone where the disk is located.

Definition at line 230 of file Disk.h.

◆ SetLocation() [2/2]

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

The AWS Region and Availability Zone where the disk is located.

Definition at line 235 of file Disk.h.

◆ SetName() [1/3]

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

The unique name of the disk.

Definition at line 60 of file Disk.h.

◆ SetName() [2/3]

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

The unique name of the disk.

Definition at line 65 of file Disk.h.

◆ SetName() [3/3]

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

The unique name of the disk.

Definition at line 70 of file Disk.h.

◆ SetPath() [1/3]

void Aws::Lightsail::Model::Disk::SetPath ( const Aws::String value)
inline

The disk path.

Definition at line 465 of file Disk.h.

◆ SetPath() [2/3]

void Aws::Lightsail::Model::Disk::SetPath ( Aws::String &&  value)
inline

The disk path.

Definition at line 470 of file Disk.h.

◆ SetPath() [3/3]

void Aws::Lightsail::Model::Disk::SetPath ( const char *  value)
inline

The disk path.

Definition at line 475 of file Disk.h.

◆ SetResourceType() [1/2]

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

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

Definition at line 261 of file Disk.h.

◆ SetResourceType() [2/2]

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

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

Definition at line 266 of file Disk.h.

◆ SetSizeInGb()

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

The size of the disk in GB.

Definition at line 398 of file Disk.h.

◆ SetState() [1/2]

void Aws::Lightsail::Model::Disk::SetState ( const DiskState value)
inline

Describes the status of the disk.

Definition at line 506 of file Disk.h.

◆ SetState() [2/2]

void Aws::Lightsail::Model::Disk::SetState ( DiskState &&  value)
inline

Describes the status of the disk.

Definition at line 511 of file Disk.h.

◆ SetSupportCode() [1/3]

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

◆ SetSupportCode() [2/3]

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

◆ SetSupportCode() [3/3]

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

◆ SetTags() [1/2]

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

◆ SetTags() [2/2]

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

◆ SizeInGbHasBeenSet()

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

The size of the disk in GB.

Definition at line 393 of file Disk.h.

◆ StateHasBeenSet()

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

Describes the status of the disk.

Definition at line 501 of file Disk.h.

◆ SupportCodeHasBeenSet()

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

◆ TagsHasBeenSet()

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

◆ WithAddOns() [1/2]

Disk& Aws::Lightsail::Model::Disk::WithAddOns ( const Aws::Vector< AddOn > &  value)
inline

An array of objects representing the add-ons enabled on the disk.

Definition at line 367 of file Disk.h.

◆ WithAddOns() [2/2]

Disk& Aws::Lightsail::Model::Disk::WithAddOns ( Aws::Vector< AddOn > &&  value)
inline

An array of objects representing the add-ons enabled on the disk.

Definition at line 372 of file Disk.h.

◆ WithArn() [1/3]

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

The Amazon Resource Name (ARN) of the disk.

Definition at line 116 of file Disk.h.

◆ WithArn() [2/3]

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

The Amazon Resource Name (ARN) of the disk.

Definition at line 121 of file Disk.h.

◆ WithArn() [3/3]

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

The Amazon Resource Name (ARN) of the disk.

Definition at line 126 of file Disk.h.

◆ WithAttachedTo() [1/3]

Disk& Aws::Lightsail::Model::Disk::WithAttachedTo ( const Aws::String value)
inline

The resources to which the disk is attached.

Definition at line 552 of file Disk.h.

◆ WithAttachedTo() [2/3]

Disk& Aws::Lightsail::Model::Disk::WithAttachedTo ( Aws::String &&  value)
inline

The resources to which the disk is attached.

Definition at line 557 of file Disk.h.

◆ WithAttachedTo() [3/3]

Disk& Aws::Lightsail::Model::Disk::WithAttachedTo ( const char *  value)
inline

The resources to which the disk is attached.

Definition at line 562 of file Disk.h.

◆ WithCreatedAt() [1/2]

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

The date when the disk was created.

Definition at line 209 of file Disk.h.

◆ WithCreatedAt() [2/2]

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

The date when the disk was created.

Definition at line 214 of file Disk.h.

◆ WithIops()

Disk& Aws::Lightsail::Model::Disk::WithIops ( int  value)
inline

The input/output operations per second (IOPS) of the disk.

Definition at line 449 of file Disk.h.

◆ WithIsAttached()

Disk& Aws::Lightsail::Model::Disk::WithIsAttached ( bool  value)
inline

A Boolean value indicating whether the disk is attached.

Definition at line 583 of file Disk.h.

◆ WithIsSystemDisk()

Disk& Aws::Lightsail::Model::Disk::WithIsSystemDisk ( bool  value)
inline

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

Definition at line 428 of file Disk.h.

◆ WithLocation() [1/2]

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

The AWS Region and Availability Zone where the disk is located.

Definition at line 240 of file Disk.h.

◆ WithLocation() [2/2]

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

The AWS Region and Availability Zone where the disk is located.

Definition at line 245 of file Disk.h.

◆ WithName() [1/3]

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

The unique name of the disk.

Definition at line 75 of file Disk.h.

◆ WithName() [2/3]

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

The unique name of the disk.

Definition at line 80 of file Disk.h.

◆ WithName() [3/3]

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

The unique name of the disk.

Definition at line 85 of file Disk.h.

◆ WithPath() [1/3]

Disk& Aws::Lightsail::Model::Disk::WithPath ( const Aws::String value)
inline

The disk path.

Definition at line 480 of file Disk.h.

◆ WithPath() [2/3]

Disk& Aws::Lightsail::Model::Disk::WithPath ( Aws::String &&  value)
inline

The disk path.

Definition at line 485 of file Disk.h.

◆ WithPath() [3/3]

Disk& Aws::Lightsail::Model::Disk::WithPath ( const char *  value)
inline

The disk path.

Definition at line 490 of file Disk.h.

◆ WithResourceType() [1/2]

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

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

Definition at line 271 of file Disk.h.

◆ WithResourceType() [2/2]

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

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

Definition at line 276 of file Disk.h.

◆ WithSizeInGb()

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

The size of the disk in GB.

Definition at line 403 of file Disk.h.

◆ WithState() [1/2]

Disk& Aws::Lightsail::Model::Disk::WithState ( const DiskState value)
inline

Describes the status of the disk.

Definition at line 516 of file Disk.h.

◆ WithState() [2/2]

Disk& Aws::Lightsail::Model::Disk::WithState ( DiskState &&  value)
inline

Describes the status of the disk.

Definition at line 521 of file Disk.h.

◆ WithSupportCode() [1/3]

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

◆ WithSupportCode() [2/3]

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

◆ WithSupportCode() [3/3]

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

◆ WithTags() [1/2]

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

◆ WithTags() [2/2]

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


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