/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing a block storage device on the Recovery
* Instance.See Also:
AWS
* API Reference
The amount of storage on the disk in bytes.
*/ inline long long GetBytes() const{ return m_bytes; } /** *The amount of storage on the disk in bytes.
*/ inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; } /** *The amount of storage on the disk in bytes.
*/ inline void SetBytes(long long value) { m_bytesHasBeenSet = true; m_bytes = value; } /** *The amount of storage on the disk in bytes.
*/ inline RecoveryInstanceDisk& WithBytes(long long value) { SetBytes(value); return *this;} /** *The EBS Volume ID of this disk.
*/ inline const Aws::String& GetEbsVolumeID() const{ return m_ebsVolumeID; } /** *The EBS Volume ID of this disk.
*/ inline bool EbsVolumeIDHasBeenSet() const { return m_ebsVolumeIDHasBeenSet; } /** *The EBS Volume ID of this disk.
*/ inline void SetEbsVolumeID(const Aws::String& value) { m_ebsVolumeIDHasBeenSet = true; m_ebsVolumeID = value; } /** *The EBS Volume ID of this disk.
*/ inline void SetEbsVolumeID(Aws::String&& value) { m_ebsVolumeIDHasBeenSet = true; m_ebsVolumeID = std::move(value); } /** *The EBS Volume ID of this disk.
*/ inline void SetEbsVolumeID(const char* value) { m_ebsVolumeIDHasBeenSet = true; m_ebsVolumeID.assign(value); } /** *The EBS Volume ID of this disk.
*/ inline RecoveryInstanceDisk& WithEbsVolumeID(const Aws::String& value) { SetEbsVolumeID(value); return *this;} /** *The EBS Volume ID of this disk.
*/ inline RecoveryInstanceDisk& WithEbsVolumeID(Aws::String&& value) { SetEbsVolumeID(std::move(value)); return *this;} /** *The EBS Volume ID of this disk.
*/ inline RecoveryInstanceDisk& WithEbsVolumeID(const char* value) { SetEbsVolumeID(value); return *this;} /** *The internal device name of this disk. This is the name that is visible on * the machine itself and not from the EC2 console.
*/ inline const Aws::String& GetInternalDeviceName() const{ return m_internalDeviceName; } /** *The internal device name of this disk. This is the name that is visible on * the machine itself and not from the EC2 console.
*/ inline bool InternalDeviceNameHasBeenSet() const { return m_internalDeviceNameHasBeenSet; } /** *The internal device name of this disk. This is the name that is visible on * the machine itself and not from the EC2 console.
*/ inline void SetInternalDeviceName(const Aws::String& value) { m_internalDeviceNameHasBeenSet = true; m_internalDeviceName = value; } /** *The internal device name of this disk. This is the name that is visible on * the machine itself and not from the EC2 console.
*/ inline void SetInternalDeviceName(Aws::String&& value) { m_internalDeviceNameHasBeenSet = true; m_internalDeviceName = std::move(value); } /** *The internal device name of this disk. This is the name that is visible on * the machine itself and not from the EC2 console.
*/ inline void SetInternalDeviceName(const char* value) { m_internalDeviceNameHasBeenSet = true; m_internalDeviceName.assign(value); } /** *The internal device name of this disk. This is the name that is visible on * the machine itself and not from the EC2 console.
*/ inline RecoveryInstanceDisk& WithInternalDeviceName(const Aws::String& value) { SetInternalDeviceName(value); return *this;} /** *The internal device name of this disk. This is the name that is visible on * the machine itself and not from the EC2 console.
*/ inline RecoveryInstanceDisk& WithInternalDeviceName(Aws::String&& value) { SetInternalDeviceName(std::move(value)); return *this;} /** *The internal device name of this disk. This is the name that is visible on * the machine itself and not from the EC2 console.
*/ inline RecoveryInstanceDisk& WithInternalDeviceName(const char* value) { SetInternalDeviceName(value); return *this;} private: long long m_bytes; bool m_bytesHasBeenSet = false; Aws::String m_ebsVolumeID; bool m_ebsVolumeIDHasBeenSet = false; Aws::String m_internalDeviceName; bool m_internalDeviceNameHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws