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>
62 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
63 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
82 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
112 inline void SetLabel(
const char* value) { m_labelHasBeenSet =
true; m_label.assign(value); }
131 inline void SetReturnData(
bool value) { m_returnDataHasBeenSet =
true; m_returnData = value; }
137 bool m_idHasBeenSet =
false;
140 bool m_expressionHasBeenSet =
false;
143 bool m_metricStatHasBeenSet =
false;
146 bool m_labelHasBeenSet =
false;
149 bool m_returnDataHasBeenSet =
false;
MetricDataQuery & WithMetricStat(const MetricStat &value)
MetricDataQuery & WithId(const Aws::String &value)
bool ReturnDataHasBeenSet() const
MetricDataQuery & WithMetricStat(MetricStat &&value)
bool GetReturnData() const
const Aws::String & GetExpression() const
void SetReturnData(bool value)
bool LabelHasBeenSet() const
MetricDataQuery & WithReturnData(bool value)
void SetExpression(const char *value)
void SetExpression(Aws::String &&value)
const Aws::String & GetId() const
void SetId(Aws::String &&value)
void SetExpression(const Aws::String &value)
void SetId(const char *value)
bool ExpressionHasBeenSet() const
void SetLabel(const Aws::String &value)
MetricDataQuery & WithExpression(const Aws::String &value)
MetricDataQuery & WithId(const char *value)
MetricDataQuery & WithLabel(const char *value)
AWS_AUTOSCALING_API MetricDataQuery & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMetricStat(MetricStat &&value)
AWS_AUTOSCALING_API MetricDataQuery(const Aws::Utils::Xml::XmlNode &xmlNode)
MetricDataQuery & WithLabel(Aws::String &&value)
void SetLabel(const char *value)
MetricDataQuery & WithExpression(const char *value)
MetricDataQuery & WithLabel(const Aws::String &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetMetricStat(const MetricStat &value)
MetricDataQuery & WithId(Aws::String &&value)
void SetId(const Aws::String &value)
MetricDataQuery & WithExpression(Aws::String &&value)
void SetLabel(Aws::String &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API MetricDataQuery()
bool IdHasBeenSet() const
const MetricStat & GetMetricStat() const
bool MetricStatHasBeenSet() const
const Aws::String & GetLabel() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream