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
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); }
133 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
141 bool m_metricNameHasBeenSet =
false;
144 bool m_namespaceHasBeenSet =
false;
147 bool m_dimensionsHasBeenSet =
false;
150 bool m_statisticHasBeenSet =
false;
153 bool m_unitHasBeenSet =
false;
bool MetricNameHasBeenSet() const
CustomizedLoadMetricSpecification & WithStatistic(const MetricStatistic &value)
void SetNamespace(const Aws::String &value)
CustomizedLoadMetricSpecification & WithDimensions(Aws::Vector< MetricDimension > &&value)
void SetNamespace(const char *value)
void SetDimensions(Aws::Vector< MetricDimension > &&value)
CustomizedLoadMetricSpecification & WithUnit(const char *value)
const Aws::String & GetUnit() const
CustomizedLoadMetricSpecification & WithNamespace(const Aws::String &value)
void SetUnit(Aws::String &&value)
CustomizedLoadMetricSpecification & AddDimensions(const MetricDimension &value)
CustomizedLoadMetricSpecification & WithNamespace(const char *value)
bool UnitHasBeenSet() const
AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
CustomizedLoadMetricSpecification & WithDimensions(const Aws::Vector< MetricDimension > &value)
const Aws::String & GetMetricName() const
void SetDimensions(const Aws::Vector< MetricDimension > &value)
void SetStatistic(const MetricStatistic &value)
const MetricStatistic & GetStatistic() const
const Aws::Vector< MetricDimension > & GetDimensions() const
CustomizedLoadMetricSpecification & WithMetricName(const char *value)
AWS_AUTOSCALINGPLANS_API CustomizedLoadMetricSpecification()
void SetMetricName(const Aws::String &value)
const Aws::String & GetNamespace() const
bool DimensionsHasBeenSet() const
bool StatisticHasBeenSet() const
bool NamespaceHasBeenSet() const
void SetUnit(const char *value)
CustomizedLoadMetricSpecification & WithUnit(Aws::String &&value)
CustomizedLoadMetricSpecification & WithMetricName(const Aws::String &value)
CustomizedLoadMetricSpecification & AddDimensions(MetricDimension &&value)
CustomizedLoadMetricSpecification & WithMetricName(Aws::String &&value)
CustomizedLoadMetricSpecification & WithStatistic(MetricStatistic &&value)
void SetNamespace(Aws::String &&value)
void SetMetricName(Aws::String &&value)
AWS_AUTOSCALINGPLANS_API CustomizedLoadMetricSpecification(Aws::Utils::Json::JsonView jsonValue)
CustomizedLoadMetricSpecification & WithUnit(const Aws::String &value)
void SetUnit(const Aws::String &value)
AWS_AUTOSCALINGPLANS_API CustomizedLoadMetricSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomizedLoadMetricSpecification & WithNamespace(Aws::String &&value)
void SetStatistic(MetricStatistic &&value)
void SetMetricName(const char *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