/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a block device mapping.See Also:
AWS
* API Reference
The device name (for example, /dev/sdh
or
* xvdh
).
The device name (for example, /dev/sdh
or
* xvdh
).
The device name (for example, /dev/sdh
or
* xvdh
).
The device name (for example, /dev/sdh
or
* xvdh
).
The device name (for example, /dev/sdh
or
* xvdh
).
The device name (for example, /dev/sdh
or
* xvdh
).
The device name (for example, /dev/sdh
or
* xvdh
).
The device name (for example, /dev/sdh
or
* xvdh
).
Parameters used to automatically set up EBS volumes when the instance is * launched.
*/ inline const EbsInstanceBlockDevice& GetEbs() const{ return m_ebs; } /** *Parameters used to automatically set up EBS volumes when the instance is * launched.
*/ inline bool EbsHasBeenSet() const { return m_ebsHasBeenSet; } /** *Parameters used to automatically set up EBS volumes when the instance is * launched.
*/ inline void SetEbs(const EbsInstanceBlockDevice& value) { m_ebsHasBeenSet = true; m_ebs = value; } /** *Parameters used to automatically set up EBS volumes when the instance is * launched.
*/ inline void SetEbs(EbsInstanceBlockDevice&& value) { m_ebsHasBeenSet = true; m_ebs = std::move(value); } /** *Parameters used to automatically set up EBS volumes when the instance is * launched.
*/ inline InstanceBlockDeviceMapping& WithEbs(const EbsInstanceBlockDevice& value) { SetEbs(value); return *this;} /** *Parameters used to automatically set up EBS volumes when the instance is * launched.
*/ inline InstanceBlockDeviceMapping& WithEbs(EbsInstanceBlockDevice&& value) { SetEbs(std::move(value)); return *this;} private: Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; EbsInstanceBlockDevice m_ebs; bool m_ebsHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws