7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-signals/model/MetricStat.h>
22namespace ApplicationSignals
69 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
70 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
108 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
129 inline void SetLabel(
const char* value) { m_labelHasBeenSet =
true; m_label.assign(value); }
145 inline void SetReturnData(
bool value) { m_returnDataHasBeenSet =
true; m_returnData = value; }
167 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
181 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
189 bool m_idHasBeenSet =
false;
192 bool m_metricStatHasBeenSet =
false;
195 bool m_expressionHasBeenSet =
false;
198 bool m_labelHasBeenSet =
false;
201 bool m_returnDataHasBeenSet =
false;
204 bool m_periodHasBeenSet =
false;
207 bool m_accountIdHasBeenSet =
false;
void SetAccountId(const char *value)
void SetAccountId(const Aws::String &value)
MetricDataQuery & WithMetricStat(const MetricStat &value)
MetricDataQuery & WithId(const char *value)
MetricDataQuery & WithLabel(const Aws::String &value)
MetricDataQuery & WithAccountId(Aws::String &&value)
MetricDataQuery & WithMetricStat(MetricStat &&value)
AWS_APPLICATIONSIGNALS_API MetricDataQuery(Aws::Utils::Json::JsonView jsonValue)
void SetLabel(const char *value)
MetricDataQuery & WithExpression(Aws::String &&value)
MetricDataQuery & WithAccountId(const char *value)
bool IdHasBeenSet() const
bool ReturnDataHasBeenSet() const
MetricDataQuery & WithReturnData(bool value)
void SetPeriod(int value)
MetricDataQuery & WithId(Aws::String &&value)
void SetExpression(const char *value)
void SetMetricStat(const MetricStat &value)
void SetLabel(const Aws::String &value)
void SetExpression(Aws::String &&value)
const Aws::String & GetId() const
void SetLabel(Aws::String &&value)
const MetricStat & GetMetricStat() const
AWS_APPLICATIONSIGNALS_API MetricDataQuery()
void SetId(const char *value)
MetricDataQuery & WithExpression(const Aws::String &value)
MetricDataQuery & WithExpression(const char *value)
const Aws::String & GetExpression() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
bool PeriodHasBeenSet() const
void SetReturnData(bool value)
MetricDataQuery & WithPeriod(int value)
const Aws::String & GetAccountId() const
void SetId(Aws::String &&value)
const Aws::String & GetLabel() const
bool ExpressionHasBeenSet() const
MetricDataQuery & WithLabel(const char *value)
void SetExpression(const Aws::String &value)
bool LabelHasBeenSet() const
void SetMetricStat(MetricStat &&value)
MetricDataQuery & WithId(const Aws::String &value)
bool GetReturnData() const
AWS_APPLICATIONSIGNALS_API MetricDataQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MetricStatHasBeenSet() const
void SetAccountId(Aws::String &&value)
MetricDataQuery & WithLabel(Aws::String &&value)
bool AccountIdHasBeenSet() const
MetricDataQuery & WithAccountId(const Aws::String &value)
void SetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue