7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/monitoring/model/MetricStat.h>
79 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
80 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
122 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
143 inline void SetLabel(
const char* value) { m_labelHasBeenSet =
true; m_label.assign(value); }
162 inline void SetReturnData(
bool value) { m_returnDataHasBeenSet =
true; m_returnData = value; }
178 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
194 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
202 bool m_idHasBeenSet =
false;
205 bool m_metricStatHasBeenSet =
false;
208 bool m_expressionHasBeenSet =
false;
211 bool m_labelHasBeenSet =
false;
214 bool m_returnDataHasBeenSet =
false;
217 bool m_periodHasBeenSet =
false;
220 bool m_accountIdHasBeenSet =
false;
const Aws::String & GetLabel() const
MetricDataQuery & WithLabel(const Aws::String &value)
MetricDataQuery & WithMetricStat(MetricStat &&value)
const MetricStat & GetMetricStat() const
void SetPeriod(int value)
void SetExpression(const Aws::String &value)
void SetMetricStat(const MetricStat &value)
bool ReturnDataHasBeenSet() const
bool IdHasBeenSet() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDWATCH_API MetricDataQuery()
void SetExpression(Aws::String &&value)
const Aws::String & GetExpression() const
MetricDataQuery & WithId(const char *value)
MetricDataQuery & WithAccountId(Aws::String &&value)
const Aws::String & GetAccountId() const
MetricDataQuery & WithAccountId(const Aws::String &value)
void SetLabel(const char *value)
void SetAccountId(const char *value)
MetricDataQuery & WithExpression(Aws::String &&value)
void SetId(const Aws::String &value)
bool LabelHasBeenSet() const
MetricDataQuery & WithExpression(const Aws::String &value)
MetricDataQuery & WithLabel(Aws::String &&value)
void SetId(const char *value)
MetricDataQuery & WithLabel(const char *value)
const Aws::String & GetId() const
MetricDataQuery & WithId(const Aws::String &value)
void SetReturnData(bool value)
MetricDataQuery & WithAccountId(const char *value)
void SetId(Aws::String &&value)
bool AccountIdHasBeenSet() const
void SetAccountId(Aws::String &&value)
void SetExpression(const char *value)
bool ExpressionHasBeenSet() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
MetricDataQuery & WithReturnData(bool value)
MetricDataQuery & WithExpression(const char *value)
bool MetricStatHasBeenSet() const
void SetMetricStat(MetricStat &&value)
void SetAccountId(const Aws::String &value)
AWS_CLOUDWATCH_API MetricDataQuery(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDWATCH_API MetricDataQuery & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLabel(const Aws::String &value)
bool PeriodHasBeenSet() const
MetricDataQuery & WithPeriod(int value)
void SetLabel(Aws::String &&value)
bool GetReturnData() const
MetricDataQuery & WithMetricStat(const MetricStat &value)
MetricDataQuery & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream