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

#include <BlockDeviceMapping.h>

Public Member Functions

 BlockDeviceMapping ()
 
 BlockDeviceMapping (const Aws::Utils::Xml::XmlNode &xmlNode)
 
BlockDeviceMappingoperator= (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::StringGetDeviceName () const
 
bool DeviceNameHasBeenSet () const
 
void SetDeviceName (const Aws::String &value)
 
void SetDeviceName (Aws::String &&value)
 
void SetDeviceName (const char *value)
 
BlockDeviceMappingWithDeviceName (const Aws::String &value)
 
BlockDeviceMappingWithDeviceName (Aws::String &&value)
 
BlockDeviceMappingWithDeviceName (const char *value)
 
const Aws::StringGetVirtualName () const
 
bool VirtualNameHasBeenSet () const
 
void SetVirtualName (const Aws::String &value)
 
void SetVirtualName (Aws::String &&value)
 
void SetVirtualName (const char *value)
 
BlockDeviceMappingWithVirtualName (const Aws::String &value)
 
BlockDeviceMappingWithVirtualName (Aws::String &&value)
 
BlockDeviceMappingWithVirtualName (const char *value)
 
const EbsBlockDeviceGetEbs () const
 
bool EbsHasBeenSet () const
 
void SetEbs (const EbsBlockDevice &value)
 
void SetEbs (EbsBlockDevice &&value)
 
BlockDeviceMappingWithEbs (const EbsBlockDevice &value)
 
BlockDeviceMappingWithEbs (EbsBlockDevice &&value)
 
const Aws::StringGetNoDevice () const
 
bool NoDeviceHasBeenSet () const
 
void SetNoDevice (const Aws::String &value)
 
void SetNoDevice (Aws::String &&value)
 
void SetNoDevice (const char *value)
 
BlockDeviceMappingWithNoDevice (const Aws::String &value)
 
BlockDeviceMappingWithNoDevice (Aws::String &&value)
 
BlockDeviceMappingWithNoDevice (const char *value)
 

Detailed Description

Describes a block device mapping.

See Also:

AWS API Reference

Definition at line 32 of file BlockDeviceMapping.h.

Constructor & Destructor Documentation

◆ BlockDeviceMapping() [1/2]

Aws::EC2::Model::BlockDeviceMapping::BlockDeviceMapping ( )

◆ BlockDeviceMapping() [2/2]

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

Member Function Documentation

◆ DeviceNameHasBeenSet()

bool Aws::EC2::Model::BlockDeviceMapping::DeviceNameHasBeenSet ( ) const
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 53 of file BlockDeviceMapping.h.

◆ EbsHasBeenSet()

bool Aws::EC2::Model::BlockDeviceMapping::EbsHasBeenSet ( ) const
inline

Parameters used to automatically set up EBS volumes when the instance is launched.

Definition at line 223 of file BlockDeviceMapping.h.

◆ GetDeviceName()

const Aws::String& Aws::EC2::Model::BlockDeviceMapping::GetDeviceName ( ) const
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 47 of file BlockDeviceMapping.h.

◆ GetEbs()

const EbsBlockDevice& Aws::EC2::Model::BlockDeviceMapping::GetEbs ( ) const
inline

Parameters used to automatically set up EBS volumes when the instance is launched.

Definition at line 217 of file BlockDeviceMapping.h.

◆ GetNoDevice()

const Aws::String& Aws::EC2::Model::BlockDeviceMapping::GetNoDevice ( ) const
inline

To omit the device from the block device mapping, specify an empty string.

Definition at line 254 of file BlockDeviceMapping.h.

◆ GetVirtualName()

const Aws::String& Aws::EC2::Model::BlockDeviceMapping::GetVirtualName ( ) const
inline

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

Definition at line 105 of file BlockDeviceMapping.h.

◆ NoDeviceHasBeenSet()

bool Aws::EC2::Model::BlockDeviceMapping::NoDeviceHasBeenSet ( ) const
inline

To omit the device from the block device mapping, specify an empty string.

Definition at line 260 of file BlockDeviceMapping.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetDeviceName() [1/3]

void Aws::EC2::Model::BlockDeviceMapping::SetDeviceName ( Aws::String &&  value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 65 of file BlockDeviceMapping.h.

◆ SetDeviceName() [2/3]

void Aws::EC2::Model::BlockDeviceMapping::SetDeviceName ( const Aws::String value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 59 of file BlockDeviceMapping.h.

◆ SetDeviceName() [3/3]

void Aws::EC2::Model::BlockDeviceMapping::SetDeviceName ( const char *  value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 71 of file BlockDeviceMapping.h.

◆ SetEbs() [1/2]

void Aws::EC2::Model::BlockDeviceMapping::SetEbs ( const EbsBlockDevice value)
inline

Parameters used to automatically set up EBS volumes when the instance is launched.

Definition at line 229 of file BlockDeviceMapping.h.

◆ SetEbs() [2/2]

void Aws::EC2::Model::BlockDeviceMapping::SetEbs ( EbsBlockDevice &&  value)
inline

Parameters used to automatically set up EBS volumes when the instance is launched.

Definition at line 235 of file BlockDeviceMapping.h.

◆ SetNoDevice() [1/3]

void Aws::EC2::Model::BlockDeviceMapping::SetNoDevice ( Aws::String &&  value)
inline

To omit the device from the block device mapping, specify an empty string.

Definition at line 272 of file BlockDeviceMapping.h.

◆ SetNoDevice() [2/3]

void Aws::EC2::Model::BlockDeviceMapping::SetNoDevice ( const Aws::String value)
inline

To omit the device from the block device mapping, specify an empty string.

Definition at line 266 of file BlockDeviceMapping.h.

◆ SetNoDevice() [3/3]

void Aws::EC2::Model::BlockDeviceMapping::SetNoDevice ( const char *  value)
inline

To omit the device from the block device mapping, specify an empty string.

Definition at line 278 of file BlockDeviceMapping.h.

◆ SetVirtualName() [1/3]

void Aws::EC2::Model::BlockDeviceMapping::SetVirtualName ( Aws::String &&  value)
inline

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

Definition at line 150 of file BlockDeviceMapping.h.

◆ SetVirtualName() [2/3]

void Aws::EC2::Model::BlockDeviceMapping::SetVirtualName ( const Aws::String value)
inline

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

Definition at line 135 of file BlockDeviceMapping.h.

◆ SetVirtualName() [3/3]

void Aws::EC2::Model::BlockDeviceMapping::SetVirtualName ( const char *  value)
inline

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

Definition at line 165 of file BlockDeviceMapping.h.

◆ VirtualNameHasBeenSet()

bool Aws::EC2::Model::BlockDeviceMapping::VirtualNameHasBeenSet ( ) const
inline

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

Definition at line 120 of file BlockDeviceMapping.h.

◆ WithDeviceName() [1/3]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithDeviceName ( Aws::String &&  value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 83 of file BlockDeviceMapping.h.

◆ WithDeviceName() [2/3]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithDeviceName ( const Aws::String value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 77 of file BlockDeviceMapping.h.

◆ WithDeviceName() [3/3]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithDeviceName ( const char *  value)
inline

The device name (for example, /dev/sdh or xvdh).

Definition at line 89 of file BlockDeviceMapping.h.

◆ WithEbs() [1/2]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithEbs ( const EbsBlockDevice value)
inline

Parameters used to automatically set up EBS volumes when the instance is launched.

Definition at line 241 of file BlockDeviceMapping.h.

◆ WithEbs() [2/2]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithEbs ( EbsBlockDevice &&  value)
inline

Parameters used to automatically set up EBS volumes when the instance is launched.

Definition at line 247 of file BlockDeviceMapping.h.

◆ WithNoDevice() [1/3]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithNoDevice ( Aws::String &&  value)
inline

To omit the device from the block device mapping, specify an empty string.

Definition at line 290 of file BlockDeviceMapping.h.

◆ WithNoDevice() [2/3]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithNoDevice ( const Aws::String value)
inline

To omit the device from the block device mapping, specify an empty string.

Definition at line 284 of file BlockDeviceMapping.h.

◆ WithNoDevice() [3/3]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithNoDevice ( const char *  value)
inline

To omit the device from the block device mapping, specify an empty string.

Definition at line 296 of file BlockDeviceMapping.h.

◆ WithVirtualName() [1/3]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithVirtualName ( Aws::String &&  value)
inline

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

Definition at line 195 of file BlockDeviceMapping.h.

◆ WithVirtualName() [2/3]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithVirtualName ( const Aws::String value)
inline

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

Definition at line 180 of file BlockDeviceMapping.h.

◆ WithVirtualName() [3/3]

BlockDeviceMapping& Aws::EC2::Model::BlockDeviceMapping::WithVirtualName ( const char *  value)
inline

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

Definition at line 210 of file BlockDeviceMapping.h.


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