7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename MetricT = Aws::String>
48 void SetMetric(MetricT&& value) { m_metricHasBeenSet =
true; m_metric = std::forward<MetricT>(value); }
49 template<
typename MetricT = Aws::String>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
71 template<
typename UnitT = Aws::String>
72 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
73 template<
typename UnitT = Aws::String>
79 bool m_metricHasBeenSet =
false;
82 bool m_descriptionHasBeenSet =
false;
85 bool m_unitHasBeenSet =
false;
AWS_PI_API ResponseResourceMetric()=default
void SetUnit(UnitT &&value)
AWS_PI_API ResponseResourceMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
ResponseResourceMetric & WithUnit(UnitT &&value)
const Aws::String & GetUnit() const
AWS_PI_API ResponseResourceMetric(Aws::Utils::Json::JsonView jsonValue)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
ResponseResourceMetric & WithMetric(MetricT &&value)
void SetMetric(MetricT &&value)
bool UnitHasBeenSet() const
const Aws::String & GetMetric() const
bool DescriptionHasBeenSet() const
bool MetricHasBeenSet() const
ResponseResourceMetric & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue