7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/MetricStat.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AutoScaling {
55 template <
typename IdT = Aws::String>
57 m_idHasBeenSet =
true;
58 m_id = std::forward<IdT>(value);
60 template <
typename IdT = Aws::String>
62 SetId(std::forward<IdT>(value));
78 template <
typename ExpressionT = Aws::String>
80 m_expressionHasBeenSet =
true;
81 m_expression = std::forward<ExpressionT>(value);
83 template <
typename ExpressionT = Aws::String>
98 template <
typename MetricStatT = MetricStat>
100 m_metricStatHasBeenSet =
true;
101 m_metricStat = std::forward<MetricStatT>(value);
103 template <
typename MetricStatT = MetricStat>
118 template <
typename LabelT = Aws::String>
120 m_labelHasBeenSet =
true;
121 m_label = std::forward<LabelT>(value);
123 template <
typename LabelT = Aws::String>
125 SetLabel(std::forward<LabelT>(value));
144 m_returnDataHasBeenSet =
true;
145 m_returnData = value;
161 bool m_returnData{
false};
162 bool m_idHasBeenSet =
false;
163 bool m_expressionHasBeenSet =
false;
164 bool m_metricStatHasBeenSet =
false;
165 bool m_labelHasBeenSet =
false;
166 bool m_returnDataHasBeenSet =
false;
bool ReturnDataHasBeenSet() const
MetricDataQuery & WithId(IdT &&value)
bool GetReturnData() const
void SetMetricStat(MetricStatT &&value)
AWS_AUTOSCALING_API MetricDataQuery()=default
void SetExpression(ExpressionT &&value)
const Aws::String & GetExpression() const
void SetReturnData(bool value)
bool LabelHasBeenSet() const
MetricDataQuery & WithReturnData(bool value)
const Aws::String & GetId() const
MetricDataQuery & WithMetricStat(MetricStatT &&value)
bool ExpressionHasBeenSet() const
AWS_AUTOSCALING_API MetricDataQuery & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API MetricDataQuery(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool IdHasBeenSet() const
const MetricStat & GetMetricStat() const
MetricDataQuery & WithExpression(ExpressionT &&value)
bool MetricStatHasBeenSet() const
MetricDataQuery & WithLabel(LabelT &&value)
const Aws::String & GetLabel() const
void SetLabel(LabelT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream