/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The description of a block device mapping.See Also:
AWS
* API Reference
The block device name.
*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *The block device name.
*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *The block device name.
*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *The block device name.
*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *The block device name.
*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *The block device name.
*/ inline InstanceBlockDeviceMapping& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *The block device name.
*/ inline InstanceBlockDeviceMapping& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *The block device name.
*/ inline InstanceBlockDeviceMapping& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *The parameters used to automatically set up Amazon Elastic Block Store * (Amazon EBS) volumes when the instance is launched.
*/ inline const EbsInstanceBlockDevice& GetEbs() const{ return m_ebs; } /** *The parameters used to automatically set up Amazon Elastic Block Store * (Amazon EBS) volumes when the instance is launched.
*/ inline bool EbsHasBeenSet() const { return m_ebsHasBeenSet; } /** *The parameters used to automatically set up Amazon Elastic Block Store * (Amazon EBS) volumes when the instance is launched.
*/ inline void SetEbs(const EbsInstanceBlockDevice& value) { m_ebsHasBeenSet = true; m_ebs = value; } /** *The parameters used to automatically set up Amazon Elastic Block Store * (Amazon EBS) volumes when the instance is launched.
*/ inline void SetEbs(EbsInstanceBlockDevice&& value) { m_ebsHasBeenSet = true; m_ebs = std::move(value); } /** *The parameters used to automatically set up Amazon Elastic Block Store * (Amazon EBS) volumes when the instance is launched.
*/ inline InstanceBlockDeviceMapping& WithEbs(const EbsInstanceBlockDevice& value) { SetEbs(value); return *this;} /** *The parameters used to automatically set up Amazon Elastic Block Store * (Amazon 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 SnowDeviceManagement } // namespace Aws