7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/ECSServiceMetricName.h>
9#include <aws/compute-optimizer/model/ECSServiceMetricStatistic.h>
22namespace ComputeOptimizer
87 inline double GetValue()
const{
return m_value; }
89 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
95 bool m_nameHasBeenSet =
false;
98 bool m_statisticHasBeenSet =
false;
101 bool m_valueHasBeenSet =
false;
const ECSServiceMetricName & GetName() const
void SetStatistic(const ECSServiceMetricStatistic &value)
AWS_COMPUTEOPTIMIZER_API ECSServiceUtilizationMetric()
ECSServiceUtilizationMetric & WithName(const ECSServiceMetricName &value)
void SetValue(double value)
AWS_COMPUTEOPTIMIZER_API ECSServiceUtilizationMetric(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API ECSServiceUtilizationMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(ECSServiceMetricName &&value)
bool StatisticHasBeenSet() const
ECSServiceUtilizationMetric & WithValue(double value)
bool NameHasBeenSet() const
void SetStatistic(ECSServiceMetricStatistic &&value)
ECSServiceUtilizationMetric & WithName(ECSServiceMetricName &&value)
void SetName(const ECSServiceMetricName &value)
ECSServiceUtilizationMetric & WithStatistic(ECSServiceMetricStatistic &&value)
const ECSServiceMetricStatistic & GetStatistic() const
ECSServiceUtilizationMetric & WithStatistic(const ECSServiceMetricStatistic &value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValueHasBeenSet() const
ECSServiceMetricStatistic
Aws::Utils::Json::JsonValue JsonValue