7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/model/PredictiveScalingMetric.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ApplicationAutoScaling {
48 template <
typename MetricT = PredictiveScalingMetric>
50 m_metricHasBeenSet =
true;
51 m_metric = std::forward<MetricT>(value);
53 template <
typename MetricT = PredictiveScalingMetric>
71 template <
typename StatT = Aws::String>
73 m_statHasBeenSet =
true;
74 m_stat = std::forward<StatT>(value);
76 template <
typename StatT = Aws::String>
78 SetStat(std::forward<StatT>(value));
92 template <
typename UnitT = Aws::String>
94 m_unitHasBeenSet =
true;
95 m_unit = std::forward<UnitT>(value);
97 template <
typename UnitT = Aws::String>
99 SetUnit(std::forward<UnitT>(value));
109 bool m_metricHasBeenSet =
false;
110 bool m_statHasBeenSet =
false;
111 bool m_unitHasBeenSet =
false;
void SetUnit(UnitT &&value)
const PredictiveScalingMetric & GetMetric() const
const Aws::String & GetUnit() const
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricStat(Aws::Utils::Json::JsonView jsonValue)
bool UnitHasBeenSet() const
void SetMetric(MetricT &&value)
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricStat & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricStat()=default
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
PredictiveScalingMetricStat & WithUnit(UnitT &&value)
PredictiveScalingMetricStat & WithMetric(MetricT &&value)
void SetStat(StatT &&value)
bool MetricHasBeenSet() const
const Aws::String & GetStat() const
PredictiveScalingMetricStat & WithStat(StatT &&value)
bool StatHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue