7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/HistoricalMetricName.h>
9#include <aws/connect/model/Threshold.h>
10#include <aws/connect/model/Statistic.h>
11#include <aws/connect/model/Unit.h>
63 template<
typename ThresholdT = Threshold>
64 void SetThreshold(ThresholdT&& value) { m_thresholdHasBeenSet =
true; m_threshold = std::forward<ThresholdT>(value); }
65 template<
typename ThresholdT = Threshold>
85 inline void SetUnit(
Unit value) { m_unitHasBeenSet =
true; m_unit = value; }
91 bool m_nameHasBeenSet =
false;
93 Threshold m_threshold;
94 bool m_thresholdHasBeenSet =
false;
97 bool m_statisticHasBeenSet =
false;
100 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