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