7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/MetricStat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ApplicationSignals {
62 template <
typename IdT = Aws::String>
64 m_idHasBeenSet =
true;
65 m_id = std::forward<IdT>(value);
67 template <
typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
83 template <
typename MetricStatT = MetricStat>
85 m_metricStatHasBeenSet =
true;
86 m_metricStat = std::forward<MetricStatT>(value);
88 template <
typename MetricStatT = MetricStat>
110 template <
typename ExpressionT = Aws::String>
112 m_expressionHasBeenSet =
true;
113 m_expression = std::forward<ExpressionT>(value);
115 template <
typename ExpressionT = Aws::String>
135 template <
typename LabelT = Aws::String>
137 m_labelHasBeenSet =
true;
138 m_label = std::forward<LabelT>(value);
140 template <
typename LabelT = Aws::String>
142 SetLabel(std::forward<LabelT>(value));
158 m_returnDataHasBeenSet =
true;
159 m_returnData = value;
186 m_periodHasBeenSet =
true;
203 template <
typename AccountIdT = Aws::String>
205 m_accountIdHasBeenSet =
true;
206 m_accountId = std::forward<AccountIdT>(value);
208 template <
typename AccountIdT = Aws::String>
223 bool m_returnData{
false};
228 bool m_idHasBeenSet =
false;
229 bool m_metricStatHasBeenSet =
false;
230 bool m_expressionHasBeenSet =
false;
231 bool m_labelHasBeenSet =
false;
232 bool m_returnDataHasBeenSet =
false;
233 bool m_periodHasBeenSet =
false;
234 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