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