AWS SDK for C++  1.9.104
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::Volume Class Reference

#include <Volume.h>

Public Member Functions

 Volume ()
 
 Volume (const Aws::Utils::Xml::XmlNode &xmlNode)
 
Volumeoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::Vector< VolumeAttachment > & GetAttachments () const
 
bool AttachmentsHasBeenSet () const
 
void SetAttachments (const Aws::Vector< VolumeAttachment > &value)
 
void SetAttachments (Aws::Vector< VolumeAttachment > &&value)
 
VolumeWithAttachments (const Aws::Vector< VolumeAttachment > &value)
 
VolumeWithAttachments (Aws::Vector< VolumeAttachment > &&value)
 
VolumeAddAttachments (const VolumeAttachment &value)
 
VolumeAddAttachments (VolumeAttachment &&value)
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
VolumeWithAvailabilityZone (const Aws::String &value)
 
VolumeWithAvailabilityZone (Aws::String &&value)
 
VolumeWithAvailabilityZone (const char *value)
 
const Aws::Utils::DateTimeGetCreateTime () const
 
bool CreateTimeHasBeenSet () const
 
void SetCreateTime (const Aws::Utils::DateTime &value)
 
void SetCreateTime (Aws::Utils::DateTime &&value)
 
VolumeWithCreateTime (const Aws::Utils::DateTime &value)
 
VolumeWithCreateTime (Aws::Utils::DateTime &&value)
 
bool GetEncrypted () const
 
bool EncryptedHasBeenSet () const
 
void SetEncrypted (bool value)
 
VolumeWithEncrypted (bool value)
 
const Aws::StringGetKmsKeyId () const
 
bool KmsKeyIdHasBeenSet () const
 
void SetKmsKeyId (const Aws::String &value)
 
void SetKmsKeyId (Aws::String &&value)
 
void SetKmsKeyId (const char *value)
 
VolumeWithKmsKeyId (const Aws::String &value)
 
VolumeWithKmsKeyId (Aws::String &&value)
 
VolumeWithKmsKeyId (const char *value)
 
const Aws::StringGetOutpostArn () const
 
bool OutpostArnHasBeenSet () const
 
void SetOutpostArn (const Aws::String &value)
 
void SetOutpostArn (Aws::String &&value)
 
void SetOutpostArn (const char *value)
 
VolumeWithOutpostArn (const Aws::String &value)
 
VolumeWithOutpostArn (Aws::String &&value)
 
VolumeWithOutpostArn (const char *value)
 
int GetSize () const
 
bool SizeHasBeenSet () const
 
void SetSize (int value)
 
VolumeWithSize (int value)
 
const Aws::StringGetSnapshotId () const
 
bool SnapshotIdHasBeenSet () const
 
void SetSnapshotId (const Aws::String &value)
 
void SetSnapshotId (Aws::String &&value)
 
void SetSnapshotId (const char *value)
 
VolumeWithSnapshotId (const Aws::String &value)
 
VolumeWithSnapshotId (Aws::String &&value)
 
VolumeWithSnapshotId (const char *value)
 
const VolumeStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const VolumeState &value)
 
void SetState (VolumeState &&value)
 
VolumeWithState (const VolumeState &value)
 
VolumeWithState (VolumeState &&value)
 
const Aws::StringGetVolumeId () const
 
bool VolumeIdHasBeenSet () const
 
void SetVolumeId (const Aws::String &value)
 
void SetVolumeId (Aws::String &&value)
 
void SetVolumeId (const char *value)
 
VolumeWithVolumeId (const Aws::String &value)
 
VolumeWithVolumeId (Aws::String &&value)
 
VolumeWithVolumeId (const char *value)
 
int GetIops () const
 
bool IopsHasBeenSet () const
 
void SetIops (int value)
 
VolumeWithIops (int value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
VolumeWithTags (const Aws::Vector< Tag > &value)
 
VolumeWithTags (Aws::Vector< Tag > &&value)
 
VolumeAddTags (const Tag &value)
 
VolumeAddTags (Tag &&value)
 
const VolumeTypeGetVolumeType () const
 
bool VolumeTypeHasBeenSet () const
 
void SetVolumeType (const VolumeType &value)
 
void SetVolumeType (VolumeType &&value)
 
VolumeWithVolumeType (const VolumeType &value)
 
VolumeWithVolumeType (VolumeType &&value)
 
bool GetFastRestored () const
 
bool FastRestoredHasBeenSet () const
 
void SetFastRestored (bool value)
 
VolumeWithFastRestored (bool value)
 
bool GetMultiAttachEnabled () const
 
bool MultiAttachEnabledHasBeenSet () const
 
void SetMultiAttachEnabled (bool value)
 
VolumeWithMultiAttachEnabled (bool value)
 
int GetThroughput () const
 
bool ThroughputHasBeenSet () const
 
void SetThroughput (int value)
 
VolumeWithThroughput (int value)
 
const ResponseMetadataGetResponseMetadata () const
 
bool ResponseMetadataHasBeenSet () const
 
void SetResponseMetadata (const ResponseMetadata &value)
 
void SetResponseMetadata (ResponseMetadata &&value)
 
VolumeWithResponseMetadata (const ResponseMetadata &value)
 
VolumeWithResponseMetadata (ResponseMetadata &&value)
 

Detailed Description

Describes a volume.

See Also:

AWS API Reference

Definition at line 38 of file Volume.h.

Constructor & Destructor Documentation

◆ Volume() [1/2]

Aws::EC2::Model::Volume::Volume ( )

◆ Volume() [2/2]

Aws::EC2::Model::Volume::Volume ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddAttachments() [1/2]

Volume& Aws::EC2::Model::Volume::AddAttachments ( const VolumeAttachment value)
inline

Information about the volume attachments.

Definition at line 82 of file Volume.h.

◆ AddAttachments() [2/2]

Volume& Aws::EC2::Model::Volume::AddAttachments ( VolumeAttachment &&  value)
inline

Information about the volume attachments.

Definition at line 87 of file Volume.h.

◆ AddTags() [1/2]

Volume& Aws::EC2::Model::Volume::AddTags ( const Tag value)
inline

Any tags assigned to the volume.

Definition at line 477 of file Volume.h.

◆ AddTags() [2/2]

Volume& Aws::EC2::Model::Volume::AddTags ( Tag &&  value)
inline

Any tags assigned to the volume.

Definition at line 482 of file Volume.h.

◆ AttachmentsHasBeenSet()

bool Aws::EC2::Model::Volume::AttachmentsHasBeenSet ( ) const
inline

Information about the volume attachments.

Definition at line 57 of file Volume.h.

◆ AvailabilityZoneHasBeenSet()

bool Aws::EC2::Model::Volume::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone for the volume.

Definition at line 98 of file Volume.h.

◆ CreateTimeHasBeenSet()

bool Aws::EC2::Model::Volume::CreateTimeHasBeenSet ( ) const
inline

The time stamp when volume creation was initiated.

Definition at line 139 of file Volume.h.

◆ EncryptedHasBeenSet()

bool Aws::EC2::Model::Volume::EncryptedHasBeenSet ( ) const
inline

Indicates whether the volume is encrypted.

Definition at line 170 of file Volume.h.

◆ FastRestoredHasBeenSet()

bool Aws::EC2::Model::Volume::FastRestoredHasBeenSet ( ) const
inline

Indicates whether the volume was created using fast snapshot restore.

Definition at line 524 of file Volume.h.

◆ GetAttachments()

const Aws::Vector<VolumeAttachment>& Aws::EC2::Model::Volume::GetAttachments ( ) const
inline

Information about the volume attachments.

Definition at line 52 of file Volume.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::EC2::Model::Volume::GetAvailabilityZone ( ) const
inline

The Availability Zone for the volume.

Definition at line 93 of file Volume.h.

◆ GetCreateTime()

const Aws::Utils::DateTime& Aws::EC2::Model::Volume::GetCreateTime ( ) const
inline

The time stamp when volume creation was initiated.

Definition at line 134 of file Volume.h.

◆ GetEncrypted()

bool Aws::EC2::Model::Volume::GetEncrypted ( ) const
inline

Indicates whether the volume is encrypted.

Definition at line 165 of file Volume.h.

◆ GetFastRestored()

bool Aws::EC2::Model::Volume::GetFastRestored ( ) const
inline

Indicates whether the volume was created using fast snapshot restore.

Definition at line 519 of file Volume.h.

◆ GetIops()

int Aws::EC2::Model::Volume::GetIops ( ) const
inline

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

Definition at line 414 of file Volume.h.

◆ GetKmsKeyId()

const Aws::String& Aws::EC2::Model::Volume::GetKmsKeyId ( ) const
inline

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

Definition at line 187 of file Volume.h.

◆ GetMultiAttachEnabled()

bool Aws::EC2::Model::Volume::GetMultiAttachEnabled ( ) const
inline

Indicates whether Amazon EBS Multi-Attach is enabled.

Definition at line 540 of file Volume.h.

◆ GetOutpostArn()

const Aws::String& Aws::EC2::Model::Volume::GetOutpostArn ( ) const
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 235 of file Volume.h.

◆ GetResponseMetadata()

const ResponseMetadata& Aws::EC2::Model::Volume::GetResponseMetadata ( ) const
inline

Definition at line 580 of file Volume.h.

◆ GetSize()

int Aws::EC2::Model::Volume::GetSize ( ) const
inline

The size of the volume, in GiBs.

Definition at line 276 of file Volume.h.

◆ GetSnapshotId()

const Aws::String& Aws::EC2::Model::Volume::GetSnapshotId ( ) const
inline

The snapshot from which the volume was created, if applicable.

Definition at line 297 of file Volume.h.

◆ GetState()

const VolumeState& Aws::EC2::Model::Volume::GetState ( ) const
inline

The volume state.

Definition at line 338 of file Volume.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::EC2::Model::Volume::GetTags ( ) const
inline

Any tags assigned to the volume.

Definition at line 447 of file Volume.h.

◆ GetThroughput()

int Aws::EC2::Model::Volume::GetThroughput ( ) const
inline

The throughput that the volume supports, in MiB/s.

Definition at line 561 of file Volume.h.

◆ GetVolumeId()

const Aws::String& Aws::EC2::Model::Volume::GetVolumeId ( ) const
inline

The ID of the volume.

Definition at line 369 of file Volume.h.

◆ GetVolumeType()

const VolumeType& Aws::EC2::Model::Volume::GetVolumeType ( ) const
inline

The volume type.

Definition at line 488 of file Volume.h.

◆ IopsHasBeenSet()

bool Aws::EC2::Model::Volume::IopsHasBeenSet ( ) const
inline

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

Definition at line 423 of file Volume.h.

◆ KmsKeyIdHasBeenSet()

bool Aws::EC2::Model::Volume::KmsKeyIdHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

Definition at line 193 of file Volume.h.

◆ MultiAttachEnabledHasBeenSet()

bool Aws::EC2::Model::Volume::MultiAttachEnabledHasBeenSet ( ) const
inline

Indicates whether Amazon EBS Multi-Attach is enabled.

Definition at line 545 of file Volume.h.

◆ operator=()

Volume& Aws::EC2::Model::Volume::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutpostArnHasBeenSet()

bool Aws::EC2::Model::Volume::OutpostArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 240 of file Volume.h.

◆ OutputToStream() [1/2]

void Aws::EC2::Model::Volume::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::Volume::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ ResponseMetadataHasBeenSet()

bool Aws::EC2::Model::Volume::ResponseMetadataHasBeenSet ( ) const
inline

Definition at line 583 of file Volume.h.

◆ SetAttachments() [1/2]

void Aws::EC2::Model::Volume::SetAttachments ( Aws::Vector< VolumeAttachment > &&  value)
inline

Information about the volume attachments.

Definition at line 67 of file Volume.h.

◆ SetAttachments() [2/2]

void Aws::EC2::Model::Volume::SetAttachments ( const Aws::Vector< VolumeAttachment > &  value)
inline

Information about the volume attachments.

Definition at line 62 of file Volume.h.

◆ SetAvailabilityZone() [1/3]

void Aws::EC2::Model::Volume::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone for the volume.

Definition at line 108 of file Volume.h.

◆ SetAvailabilityZone() [2/3]

void Aws::EC2::Model::Volume::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone for the volume.

Definition at line 103 of file Volume.h.

◆ SetAvailabilityZone() [3/3]

void Aws::EC2::Model::Volume::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone for the volume.

Definition at line 113 of file Volume.h.

◆ SetCreateTime() [1/2]

void Aws::EC2::Model::Volume::SetCreateTime ( Aws::Utils::DateTime &&  value)
inline

The time stamp when volume creation was initiated.

Definition at line 149 of file Volume.h.

◆ SetCreateTime() [2/2]

void Aws::EC2::Model::Volume::SetCreateTime ( const Aws::Utils::DateTime value)
inline

The time stamp when volume creation was initiated.

Definition at line 144 of file Volume.h.

◆ SetEncrypted()

void Aws::EC2::Model::Volume::SetEncrypted ( bool  value)
inline

Indicates whether the volume is encrypted.

Definition at line 175 of file Volume.h.

◆ SetFastRestored()

void Aws::EC2::Model::Volume::SetFastRestored ( bool  value)
inline

Indicates whether the volume was created using fast snapshot restore.

Definition at line 529 of file Volume.h.

◆ SetIops()

void Aws::EC2::Model::Volume::SetIops ( int  value)
inline

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

Definition at line 432 of file Volume.h.

◆ SetKmsKeyId() [1/3]

void Aws::EC2::Model::Volume::SetKmsKeyId ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

Definition at line 205 of file Volume.h.

◆ SetKmsKeyId() [2/3]

void Aws::EC2::Model::Volume::SetKmsKeyId ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

Definition at line 199 of file Volume.h.

◆ SetKmsKeyId() [3/3]

void Aws::EC2::Model::Volume::SetKmsKeyId ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

Definition at line 211 of file Volume.h.

◆ SetMultiAttachEnabled()

void Aws::EC2::Model::Volume::SetMultiAttachEnabled ( bool  value)
inline

Indicates whether Amazon EBS Multi-Attach is enabled.

Definition at line 550 of file Volume.h.

◆ SetOutpostArn() [1/3]

void Aws::EC2::Model::Volume::SetOutpostArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 250 of file Volume.h.

◆ SetOutpostArn() [2/3]

void Aws::EC2::Model::Volume::SetOutpostArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 245 of file Volume.h.

◆ SetOutpostArn() [3/3]

void Aws::EC2::Model::Volume::SetOutpostArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 255 of file Volume.h.

◆ SetResponseMetadata() [1/2]

void Aws::EC2::Model::Volume::SetResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 586 of file Volume.h.

◆ SetResponseMetadata() [2/2]

void Aws::EC2::Model::Volume::SetResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 589 of file Volume.h.

◆ SetSize()

void Aws::EC2::Model::Volume::SetSize ( int  value)
inline

The size of the volume, in GiBs.

Definition at line 286 of file Volume.h.

◆ SetSnapshotId() [1/3]

void Aws::EC2::Model::Volume::SetSnapshotId ( Aws::String &&  value)
inline

The snapshot from which the volume was created, if applicable.

Definition at line 312 of file Volume.h.

◆ SetSnapshotId() [2/3]

void Aws::EC2::Model::Volume::SetSnapshotId ( const Aws::String value)
inline

The snapshot from which the volume was created, if applicable.

Definition at line 307 of file Volume.h.

◆ SetSnapshotId() [3/3]

void Aws::EC2::Model::Volume::SetSnapshotId ( const char *  value)
inline

The snapshot from which the volume was created, if applicable.

Definition at line 317 of file Volume.h.

◆ SetState() [1/2]

void Aws::EC2::Model::Volume::SetState ( const VolumeState value)
inline

The volume state.

Definition at line 348 of file Volume.h.

◆ SetState() [2/2]

void Aws::EC2::Model::Volume::SetState ( VolumeState &&  value)
inline

The volume state.

Definition at line 353 of file Volume.h.

◆ SetTags() [1/2]

void Aws::EC2::Model::Volume::SetTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the volume.

Definition at line 462 of file Volume.h.

◆ SetTags() [2/2]

void Aws::EC2::Model::Volume::SetTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the volume.

Definition at line 457 of file Volume.h.

◆ SetThroughput()

void Aws::EC2::Model::Volume::SetThroughput ( int  value)
inline

The throughput that the volume supports, in MiB/s.

Definition at line 571 of file Volume.h.

◆ SetVolumeId() [1/3]

void Aws::EC2::Model::Volume::SetVolumeId ( Aws::String &&  value)
inline

The ID of the volume.

Definition at line 384 of file Volume.h.

◆ SetVolumeId() [2/3]

void Aws::EC2::Model::Volume::SetVolumeId ( const Aws::String value)
inline

The ID of the volume.

Definition at line 379 of file Volume.h.

◆ SetVolumeId() [3/3]

void Aws::EC2::Model::Volume::SetVolumeId ( const char *  value)
inline

The ID of the volume.

Definition at line 389 of file Volume.h.

◆ SetVolumeType() [1/2]

void Aws::EC2::Model::Volume::SetVolumeType ( const VolumeType value)
inline

The volume type.

Definition at line 498 of file Volume.h.

◆ SetVolumeType() [2/2]

void Aws::EC2::Model::Volume::SetVolumeType ( VolumeType &&  value)
inline

The volume type.

Definition at line 503 of file Volume.h.

◆ SizeHasBeenSet()

bool Aws::EC2::Model::Volume::SizeHasBeenSet ( ) const
inline

The size of the volume, in GiBs.

Definition at line 281 of file Volume.h.

◆ SnapshotIdHasBeenSet()

bool Aws::EC2::Model::Volume::SnapshotIdHasBeenSet ( ) const
inline

The snapshot from which the volume was created, if applicable.

Definition at line 302 of file Volume.h.

◆ StateHasBeenSet()

bool Aws::EC2::Model::Volume::StateHasBeenSet ( ) const
inline

The volume state.

Definition at line 343 of file Volume.h.

◆ TagsHasBeenSet()

bool Aws::EC2::Model::Volume::TagsHasBeenSet ( ) const
inline

Any tags assigned to the volume.

Definition at line 452 of file Volume.h.

◆ ThroughputHasBeenSet()

bool Aws::EC2::Model::Volume::ThroughputHasBeenSet ( ) const
inline

The throughput that the volume supports, in MiB/s.

Definition at line 566 of file Volume.h.

◆ VolumeIdHasBeenSet()

bool Aws::EC2::Model::Volume::VolumeIdHasBeenSet ( ) const
inline

The ID of the volume.

Definition at line 374 of file Volume.h.

◆ VolumeTypeHasBeenSet()

bool Aws::EC2::Model::Volume::VolumeTypeHasBeenSet ( ) const
inline

The volume type.

Definition at line 493 of file Volume.h.

◆ WithAttachments() [1/2]

Volume& Aws::EC2::Model::Volume::WithAttachments ( Aws::Vector< VolumeAttachment > &&  value)
inline

Information about the volume attachments.

Definition at line 77 of file Volume.h.

◆ WithAttachments() [2/2]

Volume& Aws::EC2::Model::Volume::WithAttachments ( const Aws::Vector< VolumeAttachment > &  value)
inline

Information about the volume attachments.

Definition at line 72 of file Volume.h.

◆ WithAvailabilityZone() [1/3]

Volume& Aws::EC2::Model::Volume::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone for the volume.

Definition at line 123 of file Volume.h.

◆ WithAvailabilityZone() [2/3]

Volume& Aws::EC2::Model::Volume::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone for the volume.

Definition at line 118 of file Volume.h.

◆ WithAvailabilityZone() [3/3]

Volume& Aws::EC2::Model::Volume::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone for the volume.

Definition at line 128 of file Volume.h.

◆ WithCreateTime() [1/2]

Volume& Aws::EC2::Model::Volume::WithCreateTime ( Aws::Utils::DateTime &&  value)
inline

The time stamp when volume creation was initiated.

Definition at line 159 of file Volume.h.

◆ WithCreateTime() [2/2]

Volume& Aws::EC2::Model::Volume::WithCreateTime ( const Aws::Utils::DateTime value)
inline

The time stamp when volume creation was initiated.

Definition at line 154 of file Volume.h.

◆ WithEncrypted()

Volume& Aws::EC2::Model::Volume::WithEncrypted ( bool  value)
inline

Indicates whether the volume is encrypted.

Definition at line 180 of file Volume.h.

◆ WithFastRestored()

Volume& Aws::EC2::Model::Volume::WithFastRestored ( bool  value)
inline

Indicates whether the volume was created using fast snapshot restore.

Definition at line 534 of file Volume.h.

◆ WithIops()

Volume& Aws::EC2::Model::Volume::WithIops ( int  value)
inline

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

Definition at line 441 of file Volume.h.

◆ WithKmsKeyId() [1/3]

Volume& Aws::EC2::Model::Volume::WithKmsKeyId ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

Definition at line 223 of file Volume.h.

◆ WithKmsKeyId() [2/3]

Volume& Aws::EC2::Model::Volume::WithKmsKeyId ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

Definition at line 217 of file Volume.h.

◆ WithKmsKeyId() [3/3]

Volume& Aws::EC2::Model::Volume::WithKmsKeyId ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

Definition at line 229 of file Volume.h.

◆ WithMultiAttachEnabled()

Volume& Aws::EC2::Model::Volume::WithMultiAttachEnabled ( bool  value)
inline

Indicates whether Amazon EBS Multi-Attach is enabled.

Definition at line 555 of file Volume.h.

◆ WithOutpostArn() [1/3]

Volume& Aws::EC2::Model::Volume::WithOutpostArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 265 of file Volume.h.

◆ WithOutpostArn() [2/3]

Volume& Aws::EC2::Model::Volume::WithOutpostArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 260 of file Volume.h.

◆ WithOutpostArn() [3/3]

Volume& Aws::EC2::Model::Volume::WithOutpostArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 270 of file Volume.h.

◆ WithResponseMetadata() [1/2]

Volume& Aws::EC2::Model::Volume::WithResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 592 of file Volume.h.

◆ WithResponseMetadata() [2/2]

Volume& Aws::EC2::Model::Volume::WithResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 595 of file Volume.h.

◆ WithSize()

Volume& Aws::EC2::Model::Volume::WithSize ( int  value)
inline

The size of the volume, in GiBs.

Definition at line 291 of file Volume.h.

◆ WithSnapshotId() [1/3]

Volume& Aws::EC2::Model::Volume::WithSnapshotId ( Aws::String &&  value)
inline

The snapshot from which the volume was created, if applicable.

Definition at line 327 of file Volume.h.

◆ WithSnapshotId() [2/3]

Volume& Aws::EC2::Model::Volume::WithSnapshotId ( const Aws::String value)
inline

The snapshot from which the volume was created, if applicable.

Definition at line 322 of file Volume.h.

◆ WithSnapshotId() [3/3]

Volume& Aws::EC2::Model::Volume::WithSnapshotId ( const char *  value)
inline

The snapshot from which the volume was created, if applicable.

Definition at line 332 of file Volume.h.

◆ WithState() [1/2]

Volume& Aws::EC2::Model::Volume::WithState ( const VolumeState value)
inline

The volume state.

Definition at line 358 of file Volume.h.

◆ WithState() [2/2]

Volume& Aws::EC2::Model::Volume::WithState ( VolumeState &&  value)
inline

The volume state.

Definition at line 363 of file Volume.h.

◆ WithTags() [1/2]

Volume& Aws::EC2::Model::Volume::WithTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the volume.

Definition at line 472 of file Volume.h.

◆ WithTags() [2/2]

Volume& Aws::EC2::Model::Volume::WithTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the volume.

Definition at line 467 of file Volume.h.

◆ WithThroughput()

Volume& Aws::EC2::Model::Volume::WithThroughput ( int  value)
inline

The throughput that the volume supports, in MiB/s.

Definition at line 576 of file Volume.h.

◆ WithVolumeId() [1/3]

Volume& Aws::EC2::Model::Volume::WithVolumeId ( Aws::String &&  value)
inline

The ID of the volume.

Definition at line 399 of file Volume.h.

◆ WithVolumeId() [2/3]

Volume& Aws::EC2::Model::Volume::WithVolumeId ( const Aws::String value)
inline

The ID of the volume.

Definition at line 394 of file Volume.h.

◆ WithVolumeId() [3/3]

Volume& Aws::EC2::Model::Volume::WithVolumeId ( const char *  value)
inline

The ID of the volume.

Definition at line 404 of file Volume.h.

◆ WithVolumeType() [1/2]

Volume& Aws::EC2::Model::Volume::WithVolumeType ( const VolumeType value)
inline

The volume type.

Definition at line 508 of file Volume.h.

◆ WithVolumeType() [2/2]

Volume& Aws::EC2::Model::Volume::WithVolumeType ( VolumeType &&  value)
inline

The volume type.

Definition at line 513 of file Volume.h.


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