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>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/autoscaling/model/MetricStatistic.h>
12#include <aws/autoscaling/model/MetricDimension.h>
13#include <aws/autoscaling/model/TargetTrackingMetricDataQuery.h>
77 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
91 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
136 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
159 bool m_metricNameHasBeenSet =
false;
162 bool m_namespaceHasBeenSet =
false;
165 bool m_dimensionsHasBeenSet =
false;
168 bool m_statisticHasBeenSet =
false;
171 bool m_unitHasBeenSet =
false;
174 bool m_metricsHasBeenSet =
false;
CustomizedMetricSpecification & WithUnit(const char *value)
const Aws::Vector< MetricDimension > & GetDimensions() const
bool NamespaceHasBeenSet() const
const Aws::Vector< TargetTrackingMetricDataQuery > & GetMetrics() const
CustomizedMetricSpecification & WithMetrics(const Aws::Vector< TargetTrackingMetricDataQuery > &value)
CustomizedMetricSpecification & AddDimensions(MetricDimension &&value)
bool MetricNameHasBeenSet() const
CustomizedMetricSpecification & WithStatistic(MetricStatistic &&value)
CustomizedMetricSpecification & WithNamespace(Aws::String &&value)
CustomizedMetricSpecification & AddDimensions(const MetricDimension &value)
CustomizedMetricSpecification & WithUnit(Aws::String &&value)
void SetStatistic(const MetricStatistic &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CustomizedMetricSpecification & WithNamespace(const char *value)
void SetMetricName(const char *value)
CustomizedMetricSpecification & WithDimensions(const Aws::Vector< MetricDimension > &value)
CustomizedMetricSpecification & WithMetrics(Aws::Vector< TargetTrackingMetricDataQuery > &&value)
void SetDimensions(const Aws::Vector< MetricDimension > &value)
AWS_AUTOSCALING_API CustomizedMetricSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DimensionsHasBeenSet() const
void SetMetrics(const Aws::Vector< TargetTrackingMetricDataQuery > &value)
bool UnitHasBeenSet() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CustomizedMetricSpecification & WithMetricName(Aws::String &&value)
void SetNamespace(const Aws::String &value)
void SetUnit(const char *value)
CustomizedMetricSpecification & WithMetricName(const char *value)
void SetStatistic(MetricStatistic &&value)
const Aws::String & GetNamespace() const
const MetricStatistic & GetStatistic() const
void SetMetricName(Aws::String &&value)
void SetUnit(const Aws::String &value)
CustomizedMetricSpecification & AddMetrics(const TargetTrackingMetricDataQuery &value)
bool StatisticHasBeenSet() const
AWS_AUTOSCALING_API CustomizedMetricSpecification()
void SetNamespace(const char *value)
const Aws::String & GetUnit() const
CustomizedMetricSpecification & WithStatistic(const MetricStatistic &value)
AWS_AUTOSCALING_API CustomizedMetricSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetMetricName() const
void SetNamespace(Aws::String &&value)
void SetMetrics(Aws::Vector< TargetTrackingMetricDataQuery > &&value)
void SetMetricName(const Aws::String &value)
CustomizedMetricSpecification & WithUnit(const Aws::String &value)
CustomizedMetricSpecification & WithDimensions(Aws::Vector< MetricDimension > &&value)
bool MetricsHasBeenSet() const
void SetUnit(Aws::String &&value)
CustomizedMetricSpecification & WithNamespace(const Aws::String &value)
CustomizedMetricSpecification & AddMetrics(TargetTrackingMetricDataQuery &&value)
void SetDimensions(Aws::Vector< MetricDimension > &&value)
CustomizedMetricSpecification & WithMetricName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream