7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/HistoricalMetricName.h>
9#include <aws/connect/model/Statistic.h>
10#include <aws/connect/model/Threshold.h>
11#include <aws/connect/model/Unit.h>
126 m_nameHasBeenSet =
true;
141 template <
typename ThresholdT = Threshold>
143 m_thresholdHasBeenSet =
true;
144 m_threshold = std::forward<ThresholdT>(value);
146 template <
typename ThresholdT = Threshold>
160 m_statisticHasBeenSet =
true;
176 m_unitHasBeenSet =
true;
187 Threshold m_threshold;
192 bool m_nameHasBeenSet =
false;
193 bool m_thresholdHasBeenSet =
false;
194 bool m_statisticHasBeenSet =
false;
195 bool m_unitHasBeenSet =
false;
HistoricalMetric & WithUnit(Unit value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
HistoricalMetric & WithThreshold(ThresholdT &&value)
HistoricalMetric & WithName(HistoricalMetricName value)
AWS_CONNECT_API HistoricalMetric(Aws::Utils::Json::JsonView jsonValue)
bool StatisticHasBeenSet() const
HistoricalMetricName GetName() const
bool NameHasBeenSet() const
bool UnitHasBeenSet() const
AWS_CONNECT_API HistoricalMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
HistoricalMetric & WithStatistic(Statistic value)
Statistic GetStatistic() const
void SetName(HistoricalMetricName value)
const Threshold & GetThreshold() const
AWS_CONNECT_API HistoricalMetric()=default
void SetStatistic(Statistic value)
bool ThresholdHasBeenSet() const
void SetThreshold(ThresholdT &&value)
Aws::Utils::Json::JsonValue JsonValue