7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/monitoring/CloudWatch_EXPORTS.h>
10#include <aws/monitoring/model/MetricStat.h>
55 AWS_CLOUDWATCH_API
MetricDataQuery(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
57 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
70 template <
typename IdT = Aws::String>
72 m_idHasBeenSet =
true;
73 m_id = std::forward<IdT>(value);
75 template <
typename IdT = Aws::String>
77 SetId(std::forward<IdT>(value));
92 template <
typename MetricStatT = MetricStat>
94 m_metricStatHasBeenSet =
true;
95 m_metricStat = std::forward<MetricStatT>(value);
97 template <
typename MetricStatT = MetricStat>
122 template <
typename ExpressionT = Aws::String>
124 m_expressionHasBeenSet =
true;
125 m_expression = std::forward<ExpressionT>(value);
127 template <
typename ExpressionT = Aws::String>
147 template <
typename LabelT = Aws::String>
149 m_labelHasBeenSet =
true;
150 m_label = std::forward<LabelT>(value);
152 template <
typename LabelT = Aws::String>
154 SetLabel(std::forward<LabelT>(value));
173 m_returnDataHasBeenSet =
true;
174 m_returnData = value;
195 m_periodHasBeenSet =
true;
214 template <
typename AccountIdT = Aws::String>
216 m_accountIdHasBeenSet =
true;
217 m_accountId = std::forward<AccountIdT>(value);
219 template <
typename AccountIdT = Aws::String>
234 bool m_returnData{
false};
239 bool m_idHasBeenSet =
false;
240 bool m_metricStatHasBeenSet =
false;
241 bool m_expressionHasBeenSet =
false;
242 bool m_labelHasBeenSet =
false;
243 bool m_returnDataHasBeenSet =
false;
244 bool m_periodHasBeenSet =
false;
245 bool m_accountIdHasBeenSet =
false;
AWS_CLOUDWATCH_API MetricDataQuery(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetLabel() const
const MetricStat & GetMetricStat() const
bool ReturnDataHasBeenSet() const
bool IdHasBeenSet() const
MetricDataQuery & WithAccountId(AccountIdT &&value)
const Aws::String & GetExpression() const
void SetExpression(ExpressionT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetAccountId() const
AWS_CLOUDWATCH_API MetricDataQuery()=default
MetricDataQuery & WithMetricStat(MetricStatT &&value)
bool LabelHasBeenSet() const
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
MetricDataQuery & WithExpression(ExpressionT &&value)
void SetMetricStat(MetricStatT &&value)
void SetPeriod(int64_t value)
AWS_CLOUDWATCH_API MetricDataQuery & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetId() const
void SetReturnData(bool value)
bool AccountIdHasBeenSet() const
bool ExpressionHasBeenSet() const
MetricDataQuery & WithPeriod(int64_t value)
MetricDataQuery & WithReturnData(bool value)
bool MetricStatHasBeenSet() const
int64_t GetPeriod() const
void SetLabel(LabelT &&value)
bool PeriodHasBeenSet() const
MetricDataQuery & WithId(IdT &&value)
bool GetReturnData() const
MetricDataQuery & WithLabel(LabelT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String