7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lightsail/model/Disk.h>
47 inline void SetCpuCount(
int value) { m_cpuCountHasBeenSet =
true; m_cpuCount = value; }
71 inline void SetRamSizeInGb(
double value) { m_ramSizeInGbHasBeenSet =
true; m_ramSizeInGb = value; }
77 bool m_cpuCountHasBeenSet =
false;
80 bool m_disksHasBeenSet =
false;
83 bool m_ramSizeInGbHasBeenSet =
false;
void SetDisks(Aws::Vector< Disk > &&value)
AWS_LIGHTSAIL_API InstanceHardware & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceHardware & WithRamSizeInGb(double value)
void SetRamSizeInGb(double value)
AWS_LIGHTSAIL_API InstanceHardware(Aws::Utils::Json::JsonView jsonValue)
double GetRamSizeInGb() const
InstanceHardware & AddDisks(Disk &&value)
bool CpuCountHasBeenSet() const
InstanceHardware & WithCpuCount(int value)
InstanceHardware & AddDisks(const Disk &value)
const Aws::Vector< Disk > & GetDisks() const
void SetDisks(const Aws::Vector< Disk > &value)
InstanceHardware & WithDisks(Aws::Vector< Disk > &&value)
bool DisksHasBeenSet() const
bool RamSizeInGbHasBeenSet() const
InstanceHardware & WithDisks(const Aws::Vector< Disk > &value)
void SetCpuCount(int value)
AWS_LIGHTSAIL_API InstanceHardware()
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue