AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::OpsWorks::Model::EbsBlockDevice Class Reference

#include <EbsBlockDevice.h>

Public Member Functions

 EbsBlockDevice ()
 
 EbsBlockDevice (Aws::Utils::Json::JsonView jsonValue)
 
EbsBlockDeviceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetSnapshotId () const
 
bool SnapshotIdHasBeenSet () const
 
void SetSnapshotId (const Aws::String &value)
 
void SetSnapshotId (Aws::String &&value)
 
void SetSnapshotId (const char *value)
 
EbsBlockDeviceWithSnapshotId (const Aws::String &value)
 
EbsBlockDeviceWithSnapshotId (Aws::String &&value)
 
EbsBlockDeviceWithSnapshotId (const char *value)
 
int GetIops () const
 
bool IopsHasBeenSet () const
 
void SetIops (int value)
 
EbsBlockDeviceWithIops (int value)
 
int GetVolumeSize () const
 
bool VolumeSizeHasBeenSet () const
 
void SetVolumeSize (int value)
 
EbsBlockDeviceWithVolumeSize (int value)
 
const VolumeTypeGetVolumeType () const
 
bool VolumeTypeHasBeenSet () const
 
void SetVolumeType (const VolumeType &value)
 
void SetVolumeType (VolumeType &&value)
 
EbsBlockDeviceWithVolumeType (const VolumeType &value)
 
EbsBlockDeviceWithVolumeType (VolumeType &&value)
 
bool GetDeleteOnTermination () const
 
bool DeleteOnTerminationHasBeenSet () const
 
void SetDeleteOnTermination (bool value)
 
EbsBlockDeviceWithDeleteOnTermination (bool value)
 

Detailed Description

Describes an Amazon EBS volume. This data type maps directly to the Amazon EC2 EbsBlockDevice data type.

See Also:

AWS API Reference

Definition at line 35 of file EbsBlockDevice.h.

Constructor & Destructor Documentation

◆ EbsBlockDevice() [1/2]

Aws::OpsWorks::Model::EbsBlockDevice::EbsBlockDevice ( )

◆ EbsBlockDevice() [2/2]

Aws::OpsWorks::Model::EbsBlockDevice::EbsBlockDevice ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ DeleteOnTerminationHasBeenSet()

bool Aws::OpsWorks::Model::EbsBlockDevice::DeleteOnTerminationHasBeenSet ( ) const
inline

Whether the volume is deleted on instance termination.

Definition at line 220 of file EbsBlockDevice.h.

◆ GetDeleteOnTermination()

bool Aws::OpsWorks::Model::EbsBlockDevice::GetDeleteOnTermination ( ) const
inline

Whether the volume is deleted on instance termination.

Definition at line 215 of file EbsBlockDevice.h.

◆ GetIops()

int Aws::OpsWorks::Model::EbsBlockDevice::GetIops ( ) const
inline

The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

Definition at line 90 of file EbsBlockDevice.h.

◆ GetSnapshotId()

const Aws::String& Aws::OpsWorks::Model::EbsBlockDevice::GetSnapshotId ( ) const
inline

The snapshot ID.

Definition at line 47 of file EbsBlockDevice.h.

◆ GetVolumeSize()

int Aws::OpsWorks::Model::EbsBlockDevice::GetVolumeSize ( ) const
inline

The volume size, in GiB. For more information, see EbsBlockDevice.

Definition at line 118 of file EbsBlockDevice.h.

◆ GetVolumeType()

const VolumeType& Aws::OpsWorks::Model::EbsBlockDevice::GetVolumeType ( ) const
inline

The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes.

If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).

Definition at line 149 of file EbsBlockDevice.h.

◆ IopsHasBeenSet()

bool Aws::OpsWorks::Model::EbsBlockDevice::IopsHasBeenSet ( ) const
inline

The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

Definition at line 97 of file EbsBlockDevice.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::OpsWorks::Model::EbsBlockDevice::Jsonize ( ) const

◆ operator=()

EbsBlockDevice& Aws::OpsWorks::Model::EbsBlockDevice::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetDeleteOnTermination()

void Aws::OpsWorks::Model::EbsBlockDevice::SetDeleteOnTermination ( bool  value)
inline

Whether the volume is deleted on instance termination.

Definition at line 225 of file EbsBlockDevice.h.

◆ SetIops()

void Aws::OpsWorks::Model::EbsBlockDevice::SetIops ( int  value)
inline

The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

Definition at line 104 of file EbsBlockDevice.h.

◆ SetSnapshotId() [1/3]

void Aws::OpsWorks::Model::EbsBlockDevice::SetSnapshotId ( const Aws::String value)
inline

The snapshot ID.

Definition at line 57 of file EbsBlockDevice.h.

◆ SetSnapshotId() [2/3]

void Aws::OpsWorks::Model::EbsBlockDevice::SetSnapshotId ( Aws::String &&  value)
inline

The snapshot ID.

Definition at line 62 of file EbsBlockDevice.h.

◆ SetSnapshotId() [3/3]

void Aws::OpsWorks::Model::EbsBlockDevice::SetSnapshotId ( const char *  value)
inline

The snapshot ID.

Definition at line 67 of file EbsBlockDevice.h.

◆ SetVolumeSize()

void Aws::OpsWorks::Model::EbsBlockDevice::SetVolumeSize ( int  value)
inline

The volume size, in GiB. For more information, see EbsBlockDevice.

Definition at line 130 of file EbsBlockDevice.h.

◆ SetVolumeType() [1/2]

void Aws::OpsWorks::Model::EbsBlockDevice::SetVolumeType ( const VolumeType value)
inline

The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes.

If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).

Definition at line 173 of file EbsBlockDevice.h.

◆ SetVolumeType() [2/2]

void Aws::OpsWorks::Model::EbsBlockDevice::SetVolumeType ( VolumeType &&  value)
inline

The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes.

If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).

Definition at line 185 of file EbsBlockDevice.h.

◆ SnapshotIdHasBeenSet()

bool Aws::OpsWorks::Model::EbsBlockDevice::SnapshotIdHasBeenSet ( ) const
inline

The snapshot ID.

Definition at line 52 of file EbsBlockDevice.h.

◆ VolumeSizeHasBeenSet()

bool Aws::OpsWorks::Model::EbsBlockDevice::VolumeSizeHasBeenSet ( ) const
inline

The volume size, in GiB. For more information, see EbsBlockDevice.

Definition at line 124 of file EbsBlockDevice.h.

◆ VolumeTypeHasBeenSet()

bool Aws::OpsWorks::Model::EbsBlockDevice::VolumeTypeHasBeenSet ( ) const
inline

The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes.

If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).

Definition at line 161 of file EbsBlockDevice.h.

◆ WithDeleteOnTermination()

EbsBlockDevice& Aws::OpsWorks::Model::EbsBlockDevice::WithDeleteOnTermination ( bool  value)
inline

Whether the volume is deleted on instance termination.

Definition at line 230 of file EbsBlockDevice.h.

◆ WithIops()

EbsBlockDevice& Aws::OpsWorks::Model::EbsBlockDevice::WithIops ( int  value)
inline

The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

Definition at line 111 of file EbsBlockDevice.h.

◆ WithSnapshotId() [1/3]

EbsBlockDevice& Aws::OpsWorks::Model::EbsBlockDevice::WithSnapshotId ( const Aws::String value)
inline

The snapshot ID.

Definition at line 72 of file EbsBlockDevice.h.

◆ WithSnapshotId() [2/3]

EbsBlockDevice& Aws::OpsWorks::Model::EbsBlockDevice::WithSnapshotId ( Aws::String &&  value)
inline

The snapshot ID.

Definition at line 77 of file EbsBlockDevice.h.

◆ WithSnapshotId() [3/3]

EbsBlockDevice& Aws::OpsWorks::Model::EbsBlockDevice::WithSnapshotId ( const char *  value)
inline

The snapshot ID.

Definition at line 82 of file EbsBlockDevice.h.

◆ WithVolumeSize()

EbsBlockDevice& Aws::OpsWorks::Model::EbsBlockDevice::WithVolumeSize ( int  value)
inline

The volume size, in GiB. For more information, see EbsBlockDevice.

Definition at line 136 of file EbsBlockDevice.h.

◆ WithVolumeType() [1/2]

EbsBlockDevice& Aws::OpsWorks::Model::EbsBlockDevice::WithVolumeType ( const VolumeType value)
inline

The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes.

If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).

Definition at line 197 of file EbsBlockDevice.h.

◆ WithVolumeType() [2/2]

EbsBlockDevice& Aws::OpsWorks::Model::EbsBlockDevice::WithVolumeType ( VolumeType &&  value)
inline

The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes.

If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).

Definition at line 209 of file EbsBlockDevice.h.


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