7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/autoscaling/model/MetricStat.h>
61 template<
typename IdT = Aws::String>
62 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
63 template<
typename IdT = Aws::String>
78 template<
typename ExpressionT = Aws::String>
79 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet =
true; m_expression = std::forward<ExpressionT>(value); }
80 template<
typename ExpressionT = Aws::String>
92 template<
typename MetricStatT = MetricStat>
93 void SetMetricStat(MetricStatT&& value) { m_metricStatHasBeenSet =
true; m_metricStat = std::forward<MetricStatT>(value); }
94 template<
typename MetricStatT = MetricStat>
106 template<
typename LabelT = Aws::String>
107 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
108 template<
typename LabelT = Aws::String>
125 inline void SetReturnData(
bool value) { m_returnDataHasBeenSet =
true; m_returnData = value; }
131 bool m_idHasBeenSet =
false;
134 bool m_expressionHasBeenSet =
false;
137 bool m_metricStatHasBeenSet =
false;
140 bool m_labelHasBeenSet =
false;
142 bool m_returnData{
false};
143 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