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>
54 inline void SetMetric(
const Metric& value) { m_metricHasBeenSet =
true; m_metric = value; }
55 inline void SetMetric(
Metric&& value) { m_metricHasBeenSet =
true; m_metric = std::move(value); }
72 inline void SetStat(
const char* value) { m_statHasBeenSet =
true; m_stat.assign(value); }
89 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
97 bool m_metricHasBeenSet =
false;
100 bool m_statHasBeenSet =
false;
103 bool m_unitHasBeenSet =
false;
bool MetricHasBeenSet() const
TargetTrackingMetricStat & WithMetric(const Metric &value)
void SetStat(const char *value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API TargetTrackingMetricStat & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetUnit(const char *value)
TargetTrackingMetricStat & WithStat(const char *value)
TargetTrackingMetricStat & WithUnit(const char *value)
void SetMetric(Metric &&value)
bool UnitHasBeenSet() const
void SetMetric(const Metric &value)
bool StatHasBeenSet() const
void SetUnit(Aws::String &&value)
AWS_AUTOSCALING_API TargetTrackingMetricStat(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStat(const Aws::String &value)
TargetTrackingMetricStat & WithStat(Aws::String &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TargetTrackingMetricStat & WithMetric(Metric &&value)
void SetUnit(const Aws::String &value)
TargetTrackingMetricStat & WithUnit(Aws::String &&value)
TargetTrackingMetricStat & WithUnit(const Aws::String &value)
const Aws::String & GetStat() const
const Metric & GetMetric() const
void SetStat(Aws::String &&value)
const Aws::String & GetUnit() const
AWS_AUTOSCALING_API TargetTrackingMetricStat()
TargetTrackingMetricStat & WithStat(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream