7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/HistoricalMetric.h>
40 template <
typename MetricT = HistoricalMetric>
42 m_metricHasBeenSet =
true;
43 m_metric = std::forward<MetricT>(value);
45 template <
typename MetricT = HistoricalMetric>
56 inline double GetValue()
const {
return m_value; }
59 m_valueHasBeenSet =
true;
71 bool m_metricHasBeenSet =
false;
72 bool m_valueHasBeenSet =
false;
void SetValue(double value)
bool ValueHasBeenSet() const
AWS_CONNECT_API HistoricalMetricData()=default
bool MetricHasBeenSet() const
HistoricalMetricData & WithValue(double value)
AWS_CONNECT_API HistoricalMetricData(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API HistoricalMetricData & operator=(Aws::Utils::Json::JsonView jsonValue)
const HistoricalMetric & GetMetric() const
HistoricalMetricData & WithMetric(MetricT &&value)
void SetMetric(MetricT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue