7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pi/PI_EXPORTS.h>
41 template <
typename MetricT = Aws::String>
43 m_metricHasBeenSet =
true;
44 m_metric = std::forward<MetricT>(value);
46 template <
typename MetricT = Aws::String>
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 template <
typename UnitT = Aws::String>
79 m_unitHasBeenSet =
true;
80 m_unit = std::forward<UnitT>(value);
82 template <
typename UnitT = Aws::String>
84 SetUnit(std::forward<UnitT>(value));
94 bool m_metricHasBeenSet =
false;
95 bool m_descriptionHasBeenSet =
false;
96 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