7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/application-autoscaling/model/MetricStatistic.h>
11#include <aws/application-autoscaling/model/MetricDimension.h>
12#include <aws/application-autoscaling/model/TargetTrackingMetricDataQuery.h>
25namespace ApplicationAutoScaling
75 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
89 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
134 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
157 bool m_metricNameHasBeenSet =
false;
160 bool m_namespaceHasBeenSet =
false;
163 bool m_dimensionsHasBeenSet =
false;
166 bool m_statisticHasBeenSet =
false;
169 bool m_unitHasBeenSet =
false;
172 bool m_metricsHasBeenSet =
false;
bool MetricsHasBeenSet() const
CustomizedMetricSpecification & AddMetrics(TargetTrackingMetricDataQuery &&value)
void SetMetricName(const char *value)
void SetMetricName(Aws::String &&value)
CustomizedMetricSpecification & WithMetricName(const char *value)
CustomizedMetricSpecification & WithStatistic(MetricStatistic &&value)
void SetDimensions(Aws::Vector< MetricDimension > &&value)
bool StatisticHasBeenSet() const
CustomizedMetricSpecification & AddMetrics(const TargetTrackingMetricDataQuery &value)
void SetUnit(const Aws::String &value)
CustomizedMetricSpecification & WithNamespace(const Aws::String &value)
CustomizedMetricSpecification & AddDimensions(const MetricDimension &value)
bool UnitHasBeenSet() const
CustomizedMetricSpecification & WithDimensions(Aws::Vector< MetricDimension > &&value)
void SetMetrics(Aws::Vector< TargetTrackingMetricDataQuery > &&value)
void SetUnit(Aws::String &&value)
CustomizedMetricSpecification & WithMetricName(const Aws::String &value)
CustomizedMetricSpecification & WithUnit(Aws::String &&value)
AWS_APPLICATIONAUTOSCALING_API CustomizedMetricSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomizedMetricSpecification & WithMetrics(const Aws::Vector< TargetTrackingMetricDataQuery > &value)
CustomizedMetricSpecification & WithNamespace(const char *value)
const Aws::String & GetUnit() const
void SetStatistic(const MetricStatistic &value)
AWS_APPLICATIONAUTOSCALING_API CustomizedMetricSpecification()
const MetricStatistic & GetStatistic() const
CustomizedMetricSpecification & AddDimensions(MetricDimension &&value)
void SetNamespace(Aws::String &&value)
bool DimensionsHasBeenSet() const
void SetStatistic(MetricStatistic &&value)
void SetNamespace(const char *value)
AWS_APPLICATIONAUTOSCALING_API CustomizedMetricSpecification(Aws::Utils::Json::JsonView jsonValue)
bool MetricNameHasBeenSet() const
CustomizedMetricSpecification & WithMetricName(Aws::String &&value)
void SetMetrics(const Aws::Vector< TargetTrackingMetricDataQuery > &value)
CustomizedMetricSpecification & WithUnit(const char *value)
CustomizedMetricSpecification & WithNamespace(Aws::String &&value)
void SetUnit(const char *value)
const Aws::Vector< MetricDimension > & GetDimensions() const
CustomizedMetricSpecification & WithStatistic(const MetricStatistic &value)
void SetDimensions(const Aws::Vector< MetricDimension > &value)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
bool NamespaceHasBeenSet() const
void SetNamespace(const Aws::String &value)
CustomizedMetricSpecification & WithDimensions(const Aws::Vector< MetricDimension > &value)
const Aws::Vector< TargetTrackingMetricDataQuery > & GetMetrics() const
CustomizedMetricSpecification & WithMetrics(Aws::Vector< TargetTrackingMetricDataQuery > &&value)
void SetMetricName(const Aws::String &value)
CustomizedMetricSpecification & WithUnit(const Aws::String &value)
const Aws::String & GetMetricName() const
const Aws::String & GetNamespace() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue