7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
42 template <
typename PowerIdT = Aws::String>
44 m_powerIdHasBeenSet =
true;
45 m_powerId = std::forward<PowerIdT>(value);
47 template <
typename PowerIdT = Aws::String>
58 inline double GetPrice()
const {
return m_price; }
61 m_priceHasBeenSet =
true;
77 m_cpuCountHasBeenSet =
true;
93 m_ramSizeInGbHasBeenSet =
true;
94 m_ramSizeInGb = value;
108 template <
typename NameT = Aws::String>
110 m_nameHasBeenSet =
true;
111 m_name = std::forward<NameT>(value);
113 template <
typename NameT = Aws::String>
115 SetName(std::forward<NameT>(value));
128 m_isActiveHasBeenSet =
true;
138 bool m_powerIdHasBeenSet =
false;
141 bool m_priceHasBeenSet =
false;
143 double m_cpuCount{0.0};
144 bool m_cpuCountHasBeenSet =
false;
146 double m_ramSizeInGb{0.0};
147 bool m_ramSizeInGbHasBeenSet =
false;
150 bool m_nameHasBeenSet =
false;
152 bool m_isActive{
false};
153 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