7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/CurrentMetricName.h>
9#include <aws/connect/model/Unit.h>
63 inline void SetUnit(
const Unit& value) { m_unitHasBeenSet =
true; m_unit = value; }
64 inline void SetUnit(
Unit&& value) { m_unitHasBeenSet =
true; m_unit = std::move(value); }
71 bool m_nameHasBeenSet =
false;
74 bool m_unitHasBeenSet =
false;
void SetName(CurrentMetricName &&value)
void SetName(const CurrentMetricName &value)
const CurrentMetricName & GetName() const
bool UnitHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Unit & GetUnit() const
bool NameHasBeenSet() const
AWS_CONNECT_API CurrentMetric()
CurrentMetric & WithName(CurrentMetricName &&value)
CurrentMetric & WithUnit(const Unit &value)
AWS_CONNECT_API CurrentMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(Unit &&value)
AWS_CONNECT_API CurrentMetric(Aws::Utils::Json::JsonView jsonValue)
CurrentMetric & WithName(const CurrentMetricName &value)
CurrentMetric & WithUnit(Unit &&value)
void SetUnit(const Unit &value)
Aws::Utils::Json::JsonValue JsonValue