7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/MetricName.h>
9#include <aws/compute-optimizer/model/MetricStatistic.h>
22namespace ComputeOptimizer
149 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
155 bool m_nameHasBeenSet =
false;
158 bool m_statisticHasBeenSet =
false;
161 bool m_valueHasBeenSet =
false;
UtilizationMetric & WithValue(double value)
UtilizationMetric & WithStatistic(const MetricStatistic &value)
bool NameHasBeenSet() const
const MetricStatistic & GetStatistic() const
void SetName(const MetricName &value)
AWS_COMPUTEOPTIMIZER_API UtilizationMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(MetricName &&value)
UtilizationMetric & WithStatistic(MetricStatistic &&value)
void SetStatistic(const MetricStatistic &value)
AWS_COMPUTEOPTIMIZER_API UtilizationMetric()
UtilizationMetric & WithName(const MetricName &value)
const MetricName & GetName() const
AWS_COMPUTEOPTIMIZER_API UtilizationMetric(Aws::Utils::Json::JsonView jsonValue)
bool StatisticHasBeenSet() const
bool ValueHasBeenSet() const
void SetStatistic(MetricStatistic &&value)
void SetValue(double value)
UtilizationMetric & WithName(MetricName &&value)
Aws::Utils::Json::JsonValue JsonValue