7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/application-autoscaling/model/TargetTrackingMetricDimension.h>
23namespace ApplicationAutoScaling
71 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
88 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
96 bool m_dimensionsHasBeenSet =
false;
99 bool m_metricNameHasBeenSet =
false;
102 bool m_namespaceHasBeenSet =
false;
void SetMetricName(Aws::String &&value)
bool MetricNameHasBeenSet() const
TargetTrackingMetric & WithMetricName(const char *value)
AWS_APPLICATIONAUTOSCALING_API TargetTrackingMetric()
const Aws::String & GetNamespace() const
void SetDimensions(const Aws::Vector< TargetTrackingMetricDimension > &value)
void SetNamespace(const Aws::String &value)
AWS_APPLICATIONAUTOSCALING_API TargetTrackingMetric(Aws::Utils::Json::JsonView jsonValue)
TargetTrackingMetric & AddDimensions(const TargetTrackingMetricDimension &value)
TargetTrackingMetric & WithNamespace(const char *value)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< TargetTrackingMetricDimension > & GetDimensions() const
bool NamespaceHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API TargetTrackingMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMetricName() const
bool DimensionsHasBeenSet() const
void SetMetricName(const char *value)
TargetTrackingMetric & WithDimensions(Aws::Vector< TargetTrackingMetricDimension > &&value)
void SetNamespace(Aws::String &&value)
TargetTrackingMetric & WithNamespace(const Aws::String &value)
void SetMetricName(const Aws::String &value)
TargetTrackingMetric & AddDimensions(TargetTrackingMetricDimension &&value)
void SetNamespace(const char *value)
TargetTrackingMetric & WithMetricName(Aws::String &&value)
TargetTrackingMetric & WithNamespace(Aws::String &&value)
TargetTrackingMetric & WithMetricName(const Aws::String &value)
void SetDimensions(Aws::Vector< TargetTrackingMetricDimension > &&value)
TargetTrackingMetric & WithDimensions(const Aws::Vector< TargetTrackingMetricDimension > &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