7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetMetric(
const char* value) { m_metricHasBeenSet =
true; m_metric.assign(value); }
63 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
77 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
85 bool m_metricHasBeenSet =
false;
88 bool m_descriptionHasBeenSet =
false;
91 bool m_unitHasBeenSet =
false;
ResponseResourceMetric & WithMetric(const Aws::String &value)
ResponseResourceMetric & WithMetric(Aws::String &&value)
void SetMetric(Aws::String &&value)
AWS_PI_API ResponseResourceMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(Aws::String &&value)
ResponseResourceMetric & WithDescription(const Aws::String &value)
const Aws::String & GetUnit() const
AWS_PI_API ResponseResourceMetric(Aws::Utils::Json::JsonView jsonValue)
ResponseResourceMetric & WithUnit(const Aws::String &value)
void SetMetric(const char *value)
void SetUnit(const char *value)
ResponseResourceMetric & WithDescription(const char *value)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetric(const Aws::String &value)
ResponseResourceMetric & WithUnit(const char *value)
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
void SetUnit(const Aws::String &value)
void SetUnit(Aws::String &&value)
const Aws::String & GetDescription() const
ResponseResourceMetric & WithUnit(Aws::String &&value)
bool UnitHasBeenSet() const
const Aws::String & GetMetric() const
ResponseResourceMetric & WithMetric(const char *value)
ResponseResourceMetric & WithDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool MetricHasBeenSet() const
AWS_PI_API ResponseResourceMetric()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue