AWS SDK for C++  1.9.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::AutoScaling::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::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 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 EbsGetEbs () const
 
bool EbsHasBeenSet () const
 
void SetEbs (const Ebs &value)
 
void SetEbs (Ebs &&value)
 
BlockDeviceMappingWithEbs (const Ebs &value)
 
BlockDeviceMappingWithEbs (Ebs &&value)
 
bool GetNoDevice () const
 
bool NoDeviceHasBeenSet () const
 
void SetNoDevice (bool value)
 
BlockDeviceMappingWithNoDevice (bool 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::AutoScaling::Model::BlockDeviceMapping::BlockDeviceMapping ( )

◆ BlockDeviceMapping() [2/2]

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

Member Function Documentation

◆ DeviceNameHasBeenSet()

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

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

Definition at line 116 of file BlockDeviceMapping.h.

◆ EbsHasBeenSet()

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

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

You can specify either VirtualName or Ebs, but not both.

Definition at line 185 of file BlockDeviceMapping.h.

◆ GetDeviceName()

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

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

Definition at line 107 of file BlockDeviceMapping.h.

◆ GetEbs()

const Ebs& Aws::AutoScaling::Model::BlockDeviceMapping::GetEbs ( ) const
inline

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

You can specify either VirtualName or Ebs, but not both.

Definition at line 178 of file BlockDeviceMapping.h.

◆ GetNoDevice()

bool Aws::AutoScaling::Model::BlockDeviceMapping::GetNoDevice ( ) const
inline

Setting this value to true suppresses the specified device included in the block device mapping of the AMI.

If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.

If you specify NoDevice, you cannot specify Ebs.

Definition at line 224 of file BlockDeviceMapping.h.

◆ GetVirtualName()

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

The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

Definition at line 48 of file BlockDeviceMapping.h.

◆ NoDeviceHasBeenSet()

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

Setting this value to true suppresses the specified device included in the block device mapping of the AMI.

If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.

If you specify NoDevice, you cannot specify Ebs.

Definition at line 234 of file BlockDeviceMapping.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetDeviceName() [1/3]

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

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

Definition at line 134 of file BlockDeviceMapping.h.

◆ SetDeviceName() [2/3]

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

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

Definition at line 125 of file BlockDeviceMapping.h.

◆ SetDeviceName() [3/3]

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

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

Definition at line 143 of file BlockDeviceMapping.h.

◆ SetEbs() [1/2]

void Aws::AutoScaling::Model::BlockDeviceMapping::SetEbs ( const Ebs value)
inline

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

You can specify either VirtualName or Ebs, but not both.

Definition at line 192 of file BlockDeviceMapping.h.

◆ SetEbs() [2/2]

void Aws::AutoScaling::Model::BlockDeviceMapping::SetEbs ( Ebs &&  value)
inline

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

You can specify either VirtualName or Ebs, but not both.

Definition at line 199 of file BlockDeviceMapping.h.

◆ SetNoDevice()

void Aws::AutoScaling::Model::BlockDeviceMapping::SetNoDevice ( bool  value)
inline

Setting this value to true suppresses the specified device included in the block device mapping of the AMI.

If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.

If you specify NoDevice, you cannot specify Ebs.

Definition at line 244 of file BlockDeviceMapping.h.

◆ SetVirtualName() [1/3]

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

The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

Definition at line 69 of file BlockDeviceMapping.h.

◆ SetVirtualName() [2/3]

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

The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

Definition at line 62 of file BlockDeviceMapping.h.

◆ SetVirtualName() [3/3]

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

The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

Definition at line 76 of file BlockDeviceMapping.h.

◆ VirtualNameHasBeenSet()

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

The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

Definition at line 55 of file BlockDeviceMapping.h.

◆ WithDeviceName() [1/3]

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

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

Definition at line 161 of file BlockDeviceMapping.h.

◆ WithDeviceName() [2/3]

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

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

Definition at line 152 of file BlockDeviceMapping.h.

◆ WithDeviceName() [3/3]

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

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

Definition at line 170 of file BlockDeviceMapping.h.

◆ WithEbs() [1/2]

BlockDeviceMapping& Aws::AutoScaling::Model::BlockDeviceMapping::WithEbs ( const Ebs value)
inline

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

You can specify either VirtualName or Ebs, but not both.

Definition at line 206 of file BlockDeviceMapping.h.

◆ WithEbs() [2/2]

BlockDeviceMapping& Aws::AutoScaling::Model::BlockDeviceMapping::WithEbs ( Ebs &&  value)
inline

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

You can specify either VirtualName or Ebs, but not both.

Definition at line 213 of file BlockDeviceMapping.h.

◆ WithNoDevice()

BlockDeviceMapping& Aws::AutoScaling::Model::BlockDeviceMapping::WithNoDevice ( bool  value)
inline

Setting this value to true suppresses the specified device included in the block device mapping of the AMI.

If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.

If you specify NoDevice, you cannot specify Ebs.

Definition at line 254 of file BlockDeviceMapping.h.

◆ WithVirtualName() [1/3]

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

The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

Definition at line 90 of file BlockDeviceMapping.h.

◆ WithVirtualName() [2/3]

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

The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

Definition at line 83 of file BlockDeviceMapping.h.

◆ WithVirtualName() [3/3]

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

The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

Definition at line 97 of file BlockDeviceMapping.h.


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