7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetPowerId(
const char* value) { m_powerIdHasBeenSet =
true; m_powerId.assign(value); }
60 inline double GetPrice()
const{
return m_price; }
62 inline void SetPrice(
double value) { m_priceHasBeenSet =
true; m_price = value; }
72 inline void SetCpuCount(
double value) { m_cpuCountHasBeenSet =
true; m_cpuCount = value; }
82 inline void SetRamSizeInGb(
double value) { m_ramSizeInGbHasBeenSet =
true; m_ramSizeInGb = value; }
94 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
107 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
113 bool m_powerIdHasBeenSet =
false;
116 bool m_priceHasBeenSet =
false;
119 bool m_cpuCountHasBeenSet =
false;
121 double m_ramSizeInGb;
122 bool m_ramSizeInGbHasBeenSet =
false;
125 bool m_nameHasBeenSet =
false;
128 bool m_isActiveHasBeenSet =
false;
void SetPowerId(Aws::String &&value)
bool NameHasBeenSet() const
ContainerServicePower & WithPowerId(Aws::String &&value)
ContainerServicePower & WithPowerId(const Aws::String &value)
void SetPowerId(const char *value)
bool CpuCountHasBeenSet() const
void SetRamSizeInGb(double value)
bool PowerIdHasBeenSet() const
void SetPowerId(const Aws::String &value)
void SetName(const Aws::String &value)
ContainerServicePower & WithName(const Aws::String &value)
ContainerServicePower & WithPowerId(const char *value)
ContainerServicePower & WithIsActive(bool value)
ContainerServicePower & WithRamSizeInGb(double value)
void SetIsActive(bool value)
const Aws::String & GetName() const
double GetCpuCount() const
const Aws::String & GetPowerId() const
void SetCpuCount(double value)
bool IsActiveHasBeenSet() const
double GetRamSizeInGb() const
void SetName(const char *value)
AWS_LIGHTSAIL_API ContainerServicePower()
AWS_LIGHTSAIL_API ContainerServicePower & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrice(double value)
ContainerServicePower & WithName(const char *value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
bool RamSizeInGbHasBeenSet() const
ContainerServicePower & WithName(Aws::String &&value)
ContainerServicePower & WithCpuCount(double value)
AWS_LIGHTSAIL_API ContainerServicePower(Aws::Utils::Json::JsonView jsonValue)
bool PriceHasBeenSet() const
ContainerServicePower & WithPrice(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue