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>
89 inline void SetUnit(
const Unit& value) { m_unitHasBeenSet =
true; m_unit = value; }
90 inline void SetUnit(
Unit&& value) { m_unitHasBeenSet =
true; m_unit = std::move(value); }
97 bool m_nameHasBeenSet =
false;
100 bool m_thresholdHasBeenSet =
false;
103 bool m_statisticHasBeenSet =
false;
106 bool m_unitHasBeenSet =
false;
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
HistoricalMetric & WithName(const HistoricalMetricName &value)
void SetName(HistoricalMetricName &&value)
const Statistic & GetStatistic() const
void SetStatistic(const Statistic &value)
void SetUnit(const Unit &value)
AWS_CONNECT_API HistoricalMetric(Aws::Utils::Json::JsonView jsonValue)
bool StatisticHasBeenSet() const
void SetStatistic(Statistic &&value)
HistoricalMetric & WithUnit(const Unit &value)
const HistoricalMetricName & GetName() const
bool NameHasBeenSet() const
bool UnitHasBeenSet() const
AWS_CONNECT_API HistoricalMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
HistoricalMetric & WithName(HistoricalMetricName &&value)
HistoricalMetric & WithThreshold(const Threshold &value)
const Unit & GetUnit() const
HistoricalMetric & WithThreshold(Threshold &&value)
HistoricalMetric & WithUnit(Unit &&value)
void SetUnit(Unit &&value)
void SetThreshold(Threshold &&value)
AWS_CONNECT_API HistoricalMetric()
const Threshold & GetThreshold() const
HistoricalMetric & WithStatistic(const Statistic &value)
bool ThresholdHasBeenSet() const
HistoricalMetric & WithStatistic(Statistic &&value)
void SetName(const HistoricalMetricName &value)
void SetThreshold(const Threshold &value)
Aws::Utils::Json::JsonValue JsonValue