/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the hardware for the instance.See Also:
AWS
* API Reference
The number of vCPUs the instance has.
*/ inline int GetCpuCount() const{ return m_cpuCount; } /** *The number of vCPUs the instance has.
*/ inline bool CpuCountHasBeenSet() const { return m_cpuCountHasBeenSet; } /** *The number of vCPUs the instance has.
*/ inline void SetCpuCount(int value) { m_cpuCountHasBeenSet = true; m_cpuCount = value; } /** *The number of vCPUs the instance has.
*/ inline InstanceHardware& WithCpuCount(int value) { SetCpuCount(value); return *this;} /** *The disks attached to the instance.
*/ inline const Aws::VectorThe disks attached to the instance.
*/ inline bool DisksHasBeenSet() const { return m_disksHasBeenSet; } /** *The disks attached to the instance.
*/ inline void SetDisks(const Aws::VectorThe disks attached to the instance.
*/ inline void SetDisks(Aws::VectorThe disks attached to the instance.
*/ inline InstanceHardware& WithDisks(const Aws::VectorThe disks attached to the instance.
*/ inline InstanceHardware& WithDisks(Aws::VectorThe disks attached to the instance.
*/ inline InstanceHardware& AddDisks(const Disk& value) { m_disksHasBeenSet = true; m_disks.push_back(value); return *this; } /** *The disks attached to the instance.
*/ inline InstanceHardware& AddDisks(Disk&& value) { m_disksHasBeenSet = true; m_disks.push_back(std::move(value)); return *this; } /** *The amount of RAM in GB on the instance (e.g., 1.0
).
The amount of RAM in GB on the instance (e.g., 1.0
).
The amount of RAM in GB on the instance (e.g., 1.0
).
The amount of RAM in GB on the instance (e.g., 1.0
).