7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/autoscaling-plans/model/MetricStatistic.h>
11#include <aws/autoscaling-plans/model/MetricDimension.h>
24namespace AutoScalingPlans
66 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
80 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
122 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
130 bool m_metricNameHasBeenSet =
false;
133 bool m_namespaceHasBeenSet =
false;
136 bool m_dimensionsHasBeenSet =
false;
139 bool m_statisticHasBeenSet =
false;
142 bool m_unitHasBeenSet =
false;
void SetDimensions(const Aws::Vector< MetricDimension > &value)
CustomizedScalingMetricSpecification & WithUnit(const char *value)
CustomizedScalingMetricSpecification & WithStatistic(const MetricStatistic &value)
AWS_AUTOSCALINGPLANS_API CustomizedScalingMetricSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AUTOSCALINGPLANS_API CustomizedScalingMetricSpecification()
CustomizedScalingMetricSpecification & WithUnit(const Aws::String &value)
void SetNamespace(const Aws::String &value)
CustomizedScalingMetricSpecification & WithNamespace(Aws::String &&value)
CustomizedScalingMetricSpecification & WithNamespace(const char *value)
void SetStatistic(const MetricStatistic &value)
void SetStatistic(MetricStatistic &&value)
void SetMetricName(const char *value)
const Aws::String & GetNamespace() const
bool DimensionsHasBeenSet() const
void SetUnit(Aws::String &&value)
const Aws::String & GetUnit() const
bool UnitHasBeenSet() const
AWS_AUTOSCALINGPLANS_API CustomizedScalingMetricSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetNamespace(const char *value)
CustomizedScalingMetricSpecification & AddDimensions(const MetricDimension &value)
void SetUnit(const char *value)
AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetricName(const Aws::String &value)
CustomizedScalingMetricSpecification & WithStatistic(MetricStatistic &&value)
void SetNamespace(Aws::String &&value)
void SetUnit(const Aws::String &value)
bool MetricNameHasBeenSet() const
CustomizedScalingMetricSpecification & WithMetricName(const char *value)
bool NamespaceHasBeenSet() const
const Aws::Vector< MetricDimension > & GetDimensions() const
CustomizedScalingMetricSpecification & WithUnit(Aws::String &&value)
CustomizedScalingMetricSpecification & WithDimensions(const Aws::Vector< MetricDimension > &value)
const MetricStatistic & GetStatistic() const
CustomizedScalingMetricSpecification & AddDimensions(MetricDimension &&value)
bool StatisticHasBeenSet() const
CustomizedScalingMetricSpecification & WithMetricName(Aws::String &&value)
void SetMetricName(Aws::String &&value)
const Aws::String & GetMetricName() const
void SetDimensions(Aws::Vector< MetricDimension > &&value)
CustomizedScalingMetricSpecification & WithNamespace(const Aws::String &value)
CustomizedScalingMetricSpecification & WithDimensions(Aws::Vector< MetricDimension > &&value)
CustomizedScalingMetricSpecification & WithMetricName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue