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
68 template<
typename IdT = Aws::String>
69 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
70 template<
typename IdT = Aws::String>
83 template<
typename MetricStatT = MetricStat>
84 void SetMetricStat(MetricStatT&& value) { m_metricStatHasBeenSet =
true; m_metricStat = std::forward<MetricStatT>(value); }
85 template<
typename MetricStatT = MetricStat>
104 template<
typename ExpressionT = Aws::String>
105 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet =
true; m_expression = std::forward<ExpressionT>(value); }
106 template<
typename ExpressionT = Aws::String>
123 template<
typename LabelT = Aws::String>
124 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
125 template<
typename LabelT = Aws::String>
139 inline void SetReturnData(
bool value) { m_returnDataHasBeenSet =
true; m_returnData = value; }
161 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
173 template<
typename AccountIdT = Aws::String>
174 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
175 template<
typename AccountIdT = Aws::String>
181 bool m_idHasBeenSet =
false;
184 bool m_metricStatHasBeenSet =
false;
187 bool m_expressionHasBeenSet =
false;
190 bool m_labelHasBeenSet =
false;
192 bool m_returnData{
false};
193 bool m_returnDataHasBeenSet =
false;
196 bool m_periodHasBeenSet =
false;
199 bool m_accountIdHasBeenSet =
false;
MetricDataQuery & WithExpression(ExpressionT &&value)
AWS_APPLICATIONSIGNALS_API MetricDataQuery(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
bool ReturnDataHasBeenSet() const
MetricDataQuery & WithReturnData(bool value)
void SetPeriod(int value)
MetricDataQuery & WithId(IdT &&value)
MetricDataQuery & WithLabel(LabelT &&value)
const Aws::String & GetId() const
const MetricStat & GetMetricStat() const
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)
void SetMetricStat(MetricStatT &&value)
const Aws::String & GetAccountId() const
const Aws::String & GetLabel() const
bool ExpressionHasBeenSet() const
MetricDataQuery & WithMetricStat(MetricStatT &&value)
void SetLabel(LabelT &&value)
bool LabelHasBeenSet() const
bool GetReturnData() const
AWS_APPLICATIONSIGNALS_API MetricDataQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricDataQuery & WithAccountId(AccountIdT &&value)
bool MetricStatHasBeenSet() const
AWS_APPLICATIONSIGNALS_API MetricDataQuery()=default
bool AccountIdHasBeenSet() const
void SetExpression(ExpressionT &&value)
void SetAccountId(AccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue