7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/MetricV2.h>
47 inline void SetMetric(
const MetricV2& value) { m_metricHasBeenSet =
true; m_metric = value; }
48 inline void SetMetric(
MetricV2&& value) { m_metricHasBeenSet =
true; m_metric = std::move(value); }
57 inline double GetValue()
const{
return m_value; }
59 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
65 bool m_metricHasBeenSet =
false;
68 bool m_valueHasBeenSet =
false;
bool MetricHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MetricDataV2 & WithValue(double value)
MetricDataV2 & WithMetric(MetricV2 &&value)
const MetricV2 & GetMetric() const
AWS_CONNECT_API MetricDataV2()
void SetMetric(const MetricV2 &value)
MetricDataV2 & WithMetric(const MetricV2 &value)
AWS_CONNECT_API MetricDataV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
AWS_CONNECT_API MetricDataV2(Aws::Utils::Json::JsonView jsonValue)
void SetMetric(MetricV2 &&value)
void SetValue(double value)
Aws::Utils::Json::JsonValue JsonValue