AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
PredictiveScalingMetricDataQuery.h
1
6#pragma once
7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/model/PredictiveScalingMetricStat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ApplicationAutoScaling {
21namespace Model {
22
33 public:
34 AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricDataQuery() = default;
35 AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricDataQuery(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricDataQuery& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template <typename IdT = Aws::String>
51 void SetId(IdT&& value) {
52 m_idHasBeenSet = true;
53 m_id = std::forward<IdT>(value);
54 }
55 template <typename IdT = Aws::String>
57 SetId(std::forward<IdT>(value));
58 return *this;
59 }
61
63
71 inline const Aws::String& GetExpression() const { return m_expression; }
72 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
73 template <typename ExpressionT = Aws::String>
74 void SetExpression(ExpressionT&& value) {
75 m_expressionHasBeenSet = true;
76 m_expression = std::forward<ExpressionT>(value);
77 }
78 template <typename ExpressionT = Aws::String>
80 SetExpression(std::forward<ExpressionT>(value));
81 return *this;
82 }
84
86
91 inline const PredictiveScalingMetricStat& GetMetricStat() const { return m_metricStat; }
92 inline bool MetricStatHasBeenSet() const { return m_metricStatHasBeenSet; }
93 template <typename MetricStatT = PredictiveScalingMetricStat>
94 void SetMetricStat(MetricStatT&& value) {
95 m_metricStatHasBeenSet = true;
96 m_metricStat = std::forward<MetricStatT>(value);
97 }
98 template <typename MetricStatT = PredictiveScalingMetricStat>
100 SetMetricStat(std::forward<MetricStatT>(value));
101 return *this;
102 }
104
106
111 inline const Aws::String& GetLabel() const { return m_label; }
112 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
113 template <typename LabelT = Aws::String>
114 void SetLabel(LabelT&& value) {
115 m_labelHasBeenSet = true;
116 m_label = std::forward<LabelT>(value);
117 }
118 template <typename LabelT = Aws::String>
120 SetLabel(std::forward<LabelT>(value));
121 return *this;
122 }
124
126
136 inline bool GetReturnData() const { return m_returnData; }
137 inline bool ReturnDataHasBeenSet() const { return m_returnDataHasBeenSet; }
138 inline void SetReturnData(bool value) {
139 m_returnDataHasBeenSet = true;
140 m_returnData = value;
141 }
143 SetReturnData(value);
144 return *this;
145 }
147 private:
148 Aws::String m_id;
149
150 Aws::String m_expression;
151
152 PredictiveScalingMetricStat m_metricStat;
153
154 Aws::String m_label;
155
156 bool m_returnData{false};
157 bool m_idHasBeenSet = false;
158 bool m_expressionHasBeenSet = false;
159 bool m_metricStatHasBeenSet = false;
160 bool m_labelHasBeenSet = false;
161 bool m_returnDataHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace ApplicationAutoScaling
166} // namespace Aws
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricDataQuery(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricDataQuery()=default
PredictiveScalingMetricDataQuery & WithMetricStat(MetricStatT &&value)
PredictiveScalingMetricDataQuery & WithExpression(ExpressionT &&value)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
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