/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The disk identifier.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 Disk& WithBytes(long long value) { SetBytes(value); return *this;} /** *The disk or device name.
*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *The disk or device name.
*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *The disk or device name.
*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *The disk or device name.
*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *The disk or device name.
*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *The disk or device name.
*/ inline Disk& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *The disk or device name.
*/ inline Disk& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *The disk or device name.
*/ inline Disk& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} private: long long m_bytes; bool m_bytesHasBeenSet = false; Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws