7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/ScaleUnit.h>
47 inline double GetValue()
const{
return m_value; }
49 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
59 inline void SetUnit(
const ScaleUnit& value) { m_unitHasBeenSet =
true; m_unit = value; }
60 inline void SetUnit(
ScaleUnit&& value) { m_unitHasBeenSet =
true; m_unit = std::move(value); }
67 bool m_valueHasBeenSet =
false;
70 bool m_unitHasBeenSet =
false;
bool ValueHasBeenSet() const
void SetValue(double value)
Scale & WithValue(double value)
AWS_ECS_API Scale(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(const ScaleUnit &value)
AWS_ECS_API Scale & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UnitHasBeenSet() const
Scale & WithUnit(ScaleUnit &&value)
Scale & WithUnit(const ScaleUnit &value)
const ScaleUnit & GetUnit() const
void SetUnit(ScaleUnit &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue