7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/CustomizableMetricName.h>
9#include <aws/compute-optimizer/model/CustomizableMetricParameters.h>
22namespace ComputeOptimizer
71 bool m_metricNameHasBeenSet =
false;
74 bool m_metricParametersHasBeenSet =
false;
AWS_COMPUTEOPTIMIZER_API UtilizationPreference()
UtilizationPreference & WithMetricParameters(const CustomizableMetricParameters &value)
bool MetricParametersHasBeenSet() const
const CustomizableMetricParameters & GetMetricParameters() const
UtilizationPreference & WithMetricParameters(CustomizableMetricParameters &&value)
AWS_COMPUTEOPTIMIZER_API UtilizationPreference & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMetricParameters(const CustomizableMetricParameters &value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetricParameters(CustomizableMetricParameters &&value)
bool MetricNameHasBeenSet() const
void SetMetricName(CustomizableMetricName &&value)
const CustomizableMetricName & GetMetricName() const
AWS_COMPUTEOPTIMIZER_API UtilizationPreference(Aws::Utils::Json::JsonView jsonValue)
UtilizationPreference & WithMetricName(CustomizableMetricName &&value)
void SetMetricName(const CustomizableMetricName &value)
UtilizationPreference & WithMetricName(const CustomizableMetricName &value)
Aws::Utils::Json::JsonValue JsonValue