/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the instance store features that are supported by the instance
* type.See Also:
AWS
* API Reference
The total size of the disks, in GB.
*/ inline long long GetTotalSizeInGB() const{ return m_totalSizeInGB; } /** *The total size of the disks, in GB.
*/ inline bool TotalSizeInGBHasBeenSet() const { return m_totalSizeInGBHasBeenSet; } /** *The total size of the disks, in GB.
*/ inline void SetTotalSizeInGB(long long value) { m_totalSizeInGBHasBeenSet = true; m_totalSizeInGB = value; } /** *The total size of the disks, in GB.
*/ inline InstanceStorageInfo& WithTotalSizeInGB(long long value) { SetTotalSizeInGB(value); return *this;} /** *Describes the disks that are available for the instance type.
*/ inline const Aws::VectorDescribes the disks that are available for the instance type.
*/ inline bool DisksHasBeenSet() const { return m_disksHasBeenSet; } /** *Describes the disks that are available for the instance type.
*/ inline void SetDisks(const Aws::VectorDescribes the disks that are available for the instance type.
*/ inline void SetDisks(Aws::VectorDescribes the disks that are available for the instance type.
*/ inline InstanceStorageInfo& WithDisks(const Aws::VectorDescribes the disks that are available for the instance type.
*/ inline InstanceStorageInfo& WithDisks(Aws::VectorDescribes the disks that are available for the instance type.
*/ inline InstanceStorageInfo& AddDisks(const DiskInfo& value) { m_disksHasBeenSet = true; m_disks.push_back(value); return *this; } /** *Describes the disks that are available for the instance type.
*/ inline InstanceStorageInfo& AddDisks(DiskInfo&& value) { m_disksHasBeenSet = true; m_disks.push_back(std::move(value)); return *this; } /** *Indicates whether non-volatile memory express (NVMe) is supported.
*/ inline const EphemeralNvmeSupport& GetNvmeSupport() const{ return m_nvmeSupport; } /** *Indicates whether non-volatile memory express (NVMe) is supported.
*/ inline bool NvmeSupportHasBeenSet() const { return m_nvmeSupportHasBeenSet; } /** *Indicates whether non-volatile memory express (NVMe) is supported.
*/ inline void SetNvmeSupport(const EphemeralNvmeSupport& value) { m_nvmeSupportHasBeenSet = true; m_nvmeSupport = value; } /** *Indicates whether non-volatile memory express (NVMe) is supported.
*/ inline void SetNvmeSupport(EphemeralNvmeSupport&& value) { m_nvmeSupportHasBeenSet = true; m_nvmeSupport = std::move(value); } /** *Indicates whether non-volatile memory express (NVMe) is supported.
*/ inline InstanceStorageInfo& WithNvmeSupport(const EphemeralNvmeSupport& value) { SetNvmeSupport(value); return *this;} /** *Indicates whether non-volatile memory express (NVMe) is supported.
*/ inline InstanceStorageInfo& WithNvmeSupport(EphemeralNvmeSupport&& value) { SetNvmeSupport(std::move(value)); return *this;} /** *Indicates whether data is encrypted at rest.
*/ inline const InstanceStorageEncryptionSupport& GetEncryptionSupport() const{ return m_encryptionSupport; } /** *Indicates whether data is encrypted at rest.
*/ inline bool EncryptionSupportHasBeenSet() const { return m_encryptionSupportHasBeenSet; } /** *Indicates whether data is encrypted at rest.
*/ inline void SetEncryptionSupport(const InstanceStorageEncryptionSupport& value) { m_encryptionSupportHasBeenSet = true; m_encryptionSupport = value; } /** *Indicates whether data is encrypted at rest.
*/ inline void SetEncryptionSupport(InstanceStorageEncryptionSupport&& value) { m_encryptionSupportHasBeenSet = true; m_encryptionSupport = std::move(value); } /** *Indicates whether data is encrypted at rest.
*/ inline InstanceStorageInfo& WithEncryptionSupport(const InstanceStorageEncryptionSupport& value) { SetEncryptionSupport(value); return *this;} /** *Indicates whether data is encrypted at rest.
*/ inline InstanceStorageInfo& WithEncryptionSupport(InstanceStorageEncryptionSupport&& value) { SetEncryptionSupport(std::move(value)); return *this;} private: long long m_totalSizeInGB; bool m_totalSizeInGBHasBeenSet = false; Aws::Vector