7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-autoscaling/model/PredictiveScalingMetricStat.h>
22namespace ApplicationAutoScaling
56 template<
typename IdT = Aws::String>
57 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
58 template<
typename IdT = Aws::String>
73 template<
typename ExpressionT = Aws::String>
74 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet =
true; m_expression = std::forward<ExpressionT>(value); }
75 template<
typename ExpressionT = Aws::String>
87 template<
typename MetricStatT = PredictiveScalingMetricStat>
88 void SetMetricStat(MetricStatT&& value) { m_metricStatHasBeenSet =
true; m_metricStat = std::forward<MetricStatT>(value); }
89 template<
typename MetricStatT = PredictiveScalingMetricStat>
101 template<
typename LabelT = Aws::String>
102 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
103 template<
typename LabelT = Aws::String>
120 inline void SetReturnData(
bool value) { m_returnDataHasBeenSet =
true; m_returnData = value; }
126 bool m_idHasBeenSet =
false;
129 bool m_expressionHasBeenSet =
false;
132 bool m_metricStatHasBeenSet =
false;
135 bool m_labelHasBeenSet =
false;
137 bool m_returnData{
false};
138 bool m_returnDataHasBeenSet =
false;
bool ReturnDataHasBeenSet() const
bool MetricStatHasBeenSet() const
bool GetReturnData() const
const PredictiveScalingMetricStat & GetMetricStat() const
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricDataQuery(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricDataQuery()=default
void SetMetricStat(MetricStatT &&value)
PredictiveScalingMetricDataQuery & WithReturnData(bool value)
void SetExpression(ExpressionT &&value)
PredictiveScalingMetricDataQuery & WithMetricStat(MetricStatT &&value)
void SetReturnData(bool value)
PredictiveScalingMetricDataQuery & WithLabel(LabelT &&value)
PredictiveScalingMetricDataQuery & WithExpression(ExpressionT &&value)
bool ExpressionHasBeenSet() const
const Aws::String & GetLabel() const
void SetLabel(LabelT &&value)
bool IdHasBeenSet() const
const Aws::String & GetExpression() const
bool LabelHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
PredictiveScalingMetricDataQuery & WithId(IdT &&value)
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricDataQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue