/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a block device mapping. This data type maps directly to the Amazon
* EC2 BlockDeviceMapping
* data type. See Also:
AWS
* API Reference
The device name that is exposed to the instance, such as
* /dev/sdh
. For the root device, you can use the explicit device name
* or you can set this parameter to ROOT_DEVICE
and AWS OpsWorks
* Stacks will provide the correct device name.
The device name that is exposed to the instance, such as
* /dev/sdh
. For the root device, you can use the explicit device name
* or you can set this parameter to ROOT_DEVICE
and AWS OpsWorks
* Stacks will provide the correct device name.
The device name that is exposed to the instance, such as
* /dev/sdh
. For the root device, you can use the explicit device name
* or you can set this parameter to ROOT_DEVICE
and AWS OpsWorks
* Stacks will provide the correct device name.
The device name that is exposed to the instance, such as
* /dev/sdh
. For the root device, you can use the explicit device name
* or you can set this parameter to ROOT_DEVICE
and AWS OpsWorks
* Stacks will provide the correct device name.
The device name that is exposed to the instance, such as
* /dev/sdh
. For the root device, you can use the explicit device name
* or you can set this parameter to ROOT_DEVICE
and AWS OpsWorks
* Stacks will provide the correct device name.
The device name that is exposed to the instance, such as
* /dev/sdh
. For the root device, you can use the explicit device name
* or you can set this parameter to ROOT_DEVICE
and AWS OpsWorks
* Stacks will provide the correct device name.
The device name that is exposed to the instance, such as
* /dev/sdh
. For the root device, you can use the explicit device name
* or you can set this parameter to ROOT_DEVICE
and AWS OpsWorks
* Stacks will provide the correct device name.
The device name that is exposed to the instance, such as
* /dev/sdh
. For the root device, you can use the explicit device name
* or you can set this parameter to ROOT_DEVICE
and AWS OpsWorks
* Stacks will provide the correct device name.
Suppresses the specified device included in the AMI's block device * mapping.
*/ inline const Aws::String& GetNoDevice() const{ return m_noDevice; } /** *Suppresses the specified device included in the AMI's block device * mapping.
*/ inline bool NoDeviceHasBeenSet() const { return m_noDeviceHasBeenSet; } /** *Suppresses the specified device included in the AMI's block device * mapping.
*/ inline void SetNoDevice(const Aws::String& value) { m_noDeviceHasBeenSet = true; m_noDevice = value; } /** *Suppresses the specified device included in the AMI's block device * mapping.
*/ inline void SetNoDevice(Aws::String&& value) { m_noDeviceHasBeenSet = true; m_noDevice = std::move(value); } /** *Suppresses the specified device included in the AMI's block device * mapping.
*/ inline void SetNoDevice(const char* value) { m_noDeviceHasBeenSet = true; m_noDevice.assign(value); } /** *Suppresses the specified device included in the AMI's block device * mapping.
*/ inline BlockDeviceMapping& WithNoDevice(const Aws::String& value) { SetNoDevice(value); return *this;} /** *Suppresses the specified device included in the AMI's block device * mapping.
*/ inline BlockDeviceMapping& WithNoDevice(Aws::String&& value) { SetNoDevice(std::move(value)); return *this;} /** *Suppresses the specified device included in the AMI's block device * mapping.
*/ inline BlockDeviceMapping& WithNoDevice(const char* value) { SetNoDevice(value); return *this;} /** *The virtual device name. For more information, see BlockDeviceMapping.
*/ inline const Aws::String& GetVirtualName() const{ return m_virtualName; } /** *The virtual device name. For more information, see BlockDeviceMapping.
*/ inline bool VirtualNameHasBeenSet() const { return m_virtualNameHasBeenSet; } /** *The virtual device name. For more information, see BlockDeviceMapping.
*/ inline void SetVirtualName(const Aws::String& value) { m_virtualNameHasBeenSet = true; m_virtualName = value; } /** *The virtual device name. For more information, see BlockDeviceMapping.
*/ inline void SetVirtualName(Aws::String&& value) { m_virtualNameHasBeenSet = true; m_virtualName = std::move(value); } /** *The virtual device name. For more information, see BlockDeviceMapping.
*/ inline void SetVirtualName(const char* value) { m_virtualNameHasBeenSet = true; m_virtualName.assign(value); } /** *The virtual device name. For more information, see BlockDeviceMapping.
*/ inline BlockDeviceMapping& WithVirtualName(const Aws::String& value) { SetVirtualName(value); return *this;} /** *The virtual device name. For more information, see BlockDeviceMapping.
*/ inline BlockDeviceMapping& WithVirtualName(Aws::String&& value) { SetVirtualName(std::move(value)); return *this;} /** *The virtual device name. For more information, see BlockDeviceMapping.
*/ inline BlockDeviceMapping& WithVirtualName(const char* value) { SetVirtualName(value); return *this;} /** *An EBSBlockDevice
that defines how to configure an Amazon EBS
* volume when the instance is launched.
An EBSBlockDevice
that defines how to configure an Amazon EBS
* volume when the instance is launched.
An EBSBlockDevice
that defines how to configure an Amazon EBS
* volume when the instance is launched.
An EBSBlockDevice
that defines how to configure an Amazon EBS
* volume when the instance is launched.
An EBSBlockDevice
that defines how to configure an Amazon EBS
* volume when the instance is launched.
An EBSBlockDevice
that defines how to configure an Amazon EBS
* volume when the instance is launched.