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

#include <ScheduledInstancesEbs.h>

Public Member Functions

 ScheduledInstancesEbs ()
 
 ScheduledInstancesEbs (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ScheduledInstancesEbsoperator= (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
 
bool GetDeleteOnTermination () const
 
bool DeleteOnTerminationHasBeenSet () const
 
void SetDeleteOnTermination (bool value)
 
ScheduledInstancesEbsWithDeleteOnTermination (bool value)
 
bool GetEncrypted () const
 
bool EncryptedHasBeenSet () const
 
void SetEncrypted (bool value)
 
ScheduledInstancesEbsWithEncrypted (bool value)
 
int GetIops () const
 
bool IopsHasBeenSet () const
 
void SetIops (int value)
 
ScheduledInstancesEbsWithIops (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)
 
ScheduledInstancesEbsWithSnapshotId (const Aws::String &value)
 
ScheduledInstancesEbsWithSnapshotId (Aws::String &&value)
 
ScheduledInstancesEbsWithSnapshotId (const char *value)
 
int GetVolumeSize () const
 
bool VolumeSizeHasBeenSet () const
 
void SetVolumeSize (int value)
 
ScheduledInstancesEbsWithVolumeSize (int value)
 
const Aws::StringGetVolumeType () const
 
bool VolumeTypeHasBeenSet () const
 
void SetVolumeType (const Aws::String &value)
 
void SetVolumeType (Aws::String &&value)
 
void SetVolumeType (const char *value)
 
ScheduledInstancesEbsWithVolumeType (const Aws::String &value)
 
ScheduledInstancesEbsWithVolumeType (Aws::String &&value)
 
ScheduledInstancesEbsWithVolumeType (const char *value)
 

Detailed Description

Describes an EBS volume for a Scheduled Instance.

See Also:


AWS API Reference

Definition at line 32 of file ScheduledInstancesEbs.h.

Constructor & Destructor Documentation

◆ ScheduledInstancesEbs() [1/2]

Aws::EC2::Model::ScheduledInstancesEbs::ScheduledInstancesEbs ( )

◆ ScheduledInstancesEbs() [2/2]

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

Member Function Documentation

◆ DeleteOnTerminationHasBeenSet()

bool Aws::EC2::Model::ScheduledInstancesEbs::DeleteOnTerminationHasBeenSet ( ) const
inline

Indicates whether the volume is deleted on instance termination.

Definition at line 51 of file ScheduledInstancesEbs.h.

◆ EncryptedHasBeenSet()

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

Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.

Definition at line 74 of file ScheduledInstancesEbs.h.

◆ GetDeleteOnTermination()

bool Aws::EC2::Model::ScheduledInstancesEbs::GetDeleteOnTermination ( ) const
inline

Indicates whether the volume is deleted on instance termination.

Definition at line 46 of file ScheduledInstancesEbs.h.

◆ GetEncrypted()

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

Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.

Definition at line 68 of file ScheduledInstancesEbs.h.

◆ GetIops()

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

The number of I/O operations per second (IOPS) to provision for an io1 or io2 volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB for io2. Range is 100 to 64,000 IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only on instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide.

This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.

Definition at line 103 of file ScheduledInstancesEbs.h.

◆ GetSnapshotId()

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

The ID of the snapshot.

Definition at line 157 of file ScheduledInstancesEbs.h.

◆ GetVolumeSize()

int Aws::EC2::Model::ScheduledInstancesEbs::GetVolumeSize ( ) const
inline

The size of the volume, in GiB.

Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.

Definition at line 200 of file ScheduledInstancesEbs.h.

◆ GetVolumeType()

const Aws::String& Aws::EC2::Model::ScheduledInstancesEbs::GetVolumeType ( ) const
inline

The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

Default: gp2

Definition at line 230 of file ScheduledInstancesEbs.h.

◆ IopsHasBeenSet()

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

The number of I/O operations per second (IOPS) to provision for an io1 or io2 volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB for io2. Range is 100 to 64,000 IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only on instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide.

This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.

Definition at line 119 of file ScheduledInstancesEbs.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetDeleteOnTermination()

void Aws::EC2::Model::ScheduledInstancesEbs::SetDeleteOnTermination ( bool  value)
inline

Indicates whether the volume is deleted on instance termination.

Definition at line 56 of file ScheduledInstancesEbs.h.

◆ SetEncrypted()

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

Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.

Definition at line 80 of file ScheduledInstancesEbs.h.

◆ SetIops()

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

The number of I/O operations per second (IOPS) to provision for an io1 or io2 volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB for io2. Range is 100 to 64,000 IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only on instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide.

This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.

Definition at line 135 of file ScheduledInstancesEbs.h.

◆ SetSnapshotId() [1/3]

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

The ID of the snapshot.

Definition at line 172 of file ScheduledInstancesEbs.h.

◆ SetSnapshotId() [2/3]

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

The ID of the snapshot.

Definition at line 167 of file ScheduledInstancesEbs.h.

◆ SetSnapshotId() [3/3]

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

The ID of the snapshot.

Definition at line 177 of file ScheduledInstancesEbs.h.

◆ SetVolumeSize()

void Aws::EC2::Model::ScheduledInstancesEbs::SetVolumeSize ( int  value)
inline

The size of the volume, in GiB.

Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.

Definition at line 214 of file ScheduledInstancesEbs.h.

◆ SetVolumeType() [1/3]

void Aws::EC2::Model::ScheduledInstancesEbs::SetVolumeType ( Aws::String &&  value)
inline

The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

Default: gp2

Definition at line 254 of file ScheduledInstancesEbs.h.

◆ SetVolumeType() [2/3]

void Aws::EC2::Model::ScheduledInstancesEbs::SetVolumeType ( const Aws::String value)
inline

The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

Default: gp2

Definition at line 246 of file ScheduledInstancesEbs.h.

◆ SetVolumeType() [3/3]

void Aws::EC2::Model::ScheduledInstancesEbs::SetVolumeType ( const char *  value)
inline

The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

Default: gp2

Definition at line 262 of file ScheduledInstancesEbs.h.

◆ SnapshotIdHasBeenSet()

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

The ID of the snapshot.

Definition at line 162 of file ScheduledInstancesEbs.h.

◆ VolumeSizeHasBeenSet()

bool Aws::EC2::Model::ScheduledInstancesEbs::VolumeSizeHasBeenSet ( ) const
inline

The size of the volume, in GiB.

Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.

Definition at line 207 of file ScheduledInstancesEbs.h.

◆ VolumeTypeHasBeenSet()

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

The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

Default: gp2

Definition at line 238 of file ScheduledInstancesEbs.h.

◆ WithDeleteOnTermination()

ScheduledInstancesEbs& Aws::EC2::Model::ScheduledInstancesEbs::WithDeleteOnTermination ( bool  value)
inline

Indicates whether the volume is deleted on instance termination.

Definition at line 61 of file ScheduledInstancesEbs.h.

◆ WithEncrypted()

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

Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.

Definition at line 86 of file ScheduledInstancesEbs.h.

◆ WithIops()

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

The number of I/O operations per second (IOPS) to provision for an io1 or io2 volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB for io2. Range is 100 to 64,000 IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only on instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide.

This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.

Definition at line 151 of file ScheduledInstancesEbs.h.

◆ WithSnapshotId() [1/3]

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

The ID of the snapshot.

Definition at line 187 of file ScheduledInstancesEbs.h.

◆ WithSnapshotId() [2/3]

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

The ID of the snapshot.

Definition at line 182 of file ScheduledInstancesEbs.h.

◆ WithSnapshotId() [3/3]

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

The ID of the snapshot.

Definition at line 192 of file ScheduledInstancesEbs.h.

◆ WithVolumeSize()

ScheduledInstancesEbs& Aws::EC2::Model::ScheduledInstancesEbs::WithVolumeSize ( int  value)
inline

The size of the volume, in GiB.

Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.

Definition at line 221 of file ScheduledInstancesEbs.h.

◆ WithVolumeType() [1/3]

ScheduledInstancesEbs& Aws::EC2::Model::ScheduledInstancesEbs::WithVolumeType ( Aws::String &&  value)
inline

The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

Default: gp2

Definition at line 278 of file ScheduledInstancesEbs.h.

◆ WithVolumeType() [2/3]

ScheduledInstancesEbs& Aws::EC2::Model::ScheduledInstancesEbs::WithVolumeType ( const Aws::String value)
inline

The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

Default: gp2

Definition at line 270 of file ScheduledInstancesEbs.h.

◆ WithVolumeType() [3/3]

ScheduledInstancesEbs& Aws::EC2::Model::ScheduledInstancesEbs::WithVolumeType ( const char *  value)
inline

The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

Default: gp2

Definition at line 286 of file ScheduledInstancesEbs.h.


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