7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/HistoricalMetric.h>
46 template<
typename MetricT = HistoricalMetric>
47 void SetMetric(MetricT&& value) { m_metricHasBeenSet =
true; m_metric = std::forward<MetricT>(value); }
48 template<
typename MetricT = HistoricalMetric>
56 inline double GetValue()
const {
return m_value; }
58 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
64 bool m_metricHasBeenSet =
false;
67 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