7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/autoscaling/model/Metric.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
59 inline void SetMetric(
const Metric& value) { m_metricHasBeenSet =
true; m_metric = value; }
60 inline void SetMetric(
Metric&& value) { m_metricHasBeenSet =
true; m_metric = std::move(value); }
78 inline void SetStat(
const char* value) { m_statHasBeenSet =
true; m_stat.assign(value); }
95 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
103 bool m_metricHasBeenSet =
false;
106 bool m_statHasBeenSet =
false;
109 bool m_unitHasBeenSet =
false;
void SetUnit(const char *value)
MetricStat & WithMetric(Metric &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API MetricStat & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetStat() const
bool StatHasBeenSet() const
MetricStat & WithMetric(const Metric &value)
MetricStat & WithUnit(Aws::String &&value)
MetricStat & WithStat(const Aws::String &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool UnitHasBeenSet() const
MetricStat & WithUnit(const Aws::String &value)
const Metric & GetMetric() const
AWS_AUTOSCALING_API MetricStat()
void SetMetric(const Metric &value)
MetricStat & WithStat(const char *value)
void SetUnit(const Aws::String &value)
void SetStat(const Aws::String &value)
MetricStat & WithUnit(const char *value)
void SetStat(Aws::String &&value)
const Aws::String & GetUnit() const
AWS_AUTOSCALING_API MetricStat(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMetric(Metric &&value)
void SetStat(const char *value)
void SetUnit(Aws::String &&value)
MetricStat & WithStat(Aws::String &&value)
bool MetricHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream