7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename PowerIdT = Aws::String>
49 void SetPowerId(PowerIdT&& value) { m_powerIdHasBeenSet =
true; m_powerId = std::forward<PowerIdT>(value); }
50 template<
typename PowerIdT = Aws::String>
58 inline double GetPrice()
const {
return m_price; }
60 inline void SetPrice(
double value) { m_priceHasBeenSet =
true; m_price = value; }
70 inline void SetCpuCount(
double value) { m_cpuCountHasBeenSet =
true; m_cpuCount = value; }
80 inline void SetRamSizeInGb(
double value) { m_ramSizeInGbHasBeenSet =
true; m_ramSizeInGb = value; }
90 template<
typename NameT = Aws::String>
91 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
92 template<
typename NameT = Aws::String>
103 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
109 bool m_powerIdHasBeenSet =
false;
112 bool m_priceHasBeenSet =
false;
114 double m_cpuCount{0.0};
115 bool m_cpuCountHasBeenSet =
false;
117 double m_ramSizeInGb{0.0};
118 bool m_ramSizeInGbHasBeenSet =
false;
121 bool m_nameHasBeenSet =
false;
123 bool m_isActive{
false};
124 bool m_isActiveHasBeenSet =
false;
bool NameHasBeenSet() const
void SetName(NameT &&value)
ContainerServicePower & WithPowerId(PowerIdT &&value)
ContainerServicePower & WithName(NameT &&value)
bool CpuCountHasBeenSet() const
void SetRamSizeInGb(double value)
bool PowerIdHasBeenSet() const
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
AWS_LIGHTSAIL_API ContainerServicePower & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrice(double value)
void SetPowerId(PowerIdT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool RamSizeInGbHasBeenSet() const
ContainerServicePower & WithCpuCount(double value)
AWS_LIGHTSAIL_API ContainerServicePower()=default
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