7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
73 inline void SetMetric(
const char* value) { m_metricHasBeenSet =
true; m_metric.assign(value); }
88 inline void SetGranularity(
const char* value) { m_granularityHasBeenSet =
true; m_granularity.assign(value); }
96 bool m_metricHasBeenSet =
false;
99 bool m_granularityHasBeenSet =
false;
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetGranularity(const Aws::String &value)
const Aws::String & GetGranularity() const
const Aws::String & GetMetric() const
void SetMetric(const Aws::String &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMetric(const char *value)
AWS_AUTOSCALING_API EnabledMetric()
EnabledMetric & WithMetric(Aws::String &&value)
EnabledMetric & WithGranularity(const Aws::String &value)
bool MetricHasBeenSet() const
void SetGranularity(Aws::String &&value)
bool GranularityHasBeenSet() const
EnabledMetric & WithMetric(const char *value)
AWS_AUTOSCALING_API EnabledMetric & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EnabledMetric & WithMetric(const Aws::String &value)
AWS_AUTOSCALING_API EnabledMetric(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetGranularity(const char *value)
EnabledMetric & WithGranularity(Aws::String &&value)
EnabledMetric & WithGranularity(const char *value)
void SetMetric(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream