/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a disk.See Also:
AWS
* API Reference
The disk name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The disk name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The disk name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The disk name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The disk name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The disk name.
*/ inline DiskInfo& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The disk name.
*/ inline DiskInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The disk name.
*/ inline DiskInfo& WithName(const char* value) { SetName(value); return *this;} /** *The disk path.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The disk path.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The disk path.
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *The disk path.
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The disk path.
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *The disk path.
*/ inline DiskInfo& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The disk path.
*/ inline DiskInfo& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The disk path.
*/ inline DiskInfo& WithPath(const char* value) { SetPath(value); return *this;} /** *The size of the disk in GB (e.g., 32
).
The size of the disk in GB (e.g., 32
).
The size of the disk in GB (e.g., 32
).
The size of the disk in GB (e.g., 32
).
A Boolean value indicating whether this disk is a system disk (has an * operating system loaded on it).
*/ inline bool GetIsSystemDisk() const{ return m_isSystemDisk; } /** *A Boolean value indicating whether this disk is a system disk (has an * operating system loaded on it).
*/ inline bool IsSystemDiskHasBeenSet() const { return m_isSystemDiskHasBeenSet; } /** *A Boolean value indicating whether this disk is a system disk (has an * operating system loaded on it).
*/ inline void SetIsSystemDisk(bool value) { m_isSystemDiskHasBeenSet = true; m_isSystemDisk = value; } /** *A Boolean value indicating whether this disk is a system disk (has an * operating system loaded on it).
*/ inline DiskInfo& WithIsSystemDisk(bool value) { SetIsSystemDisk(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_path; bool m_pathHasBeenSet = false; int m_sizeInGb; bool m_sizeInGbHasBeenSet = false; bool m_isSystemDisk; bool m_isSystemDiskHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws