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/PredictiveScalingMetricDimension.h>
23namespace ApplicationAutoScaling
48 template<
typename DimensionsT = Aws::Vector<PredictiveScalingMetricDimension>>
49 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions = std::forward<DimensionsT>(value); }
50 template<
typename DimensionsT = Aws::Vector<PredictiveScalingMetricDimension>>
52 template<
typename DimensionsT = PredictiveScalingMetricDimension>
62 template<
typename MetricNameT = Aws::String>
63 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
64 template<
typename MetricNameT = Aws::String>
74 template<
typename NamespaceT = Aws::String>
75 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
76 template<
typename NamespaceT = Aws::String>
82 bool m_dimensionsHasBeenSet =
false;
85 bool m_metricNameHasBeenSet =
false;
88 bool m_namespaceHasBeenSet =
false;
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
bool DimensionsHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictiveScalingMetric & WithDimensions(DimensionsT &&value)
const Aws::String & GetMetricName() const
PredictiveScalingMetric & WithNamespace(NamespaceT &&value)
const Aws::Vector< PredictiveScalingMetricDimension > & GetDimensions() const
void SetDimensions(DimensionsT &&value)
void SetMetricName(MetricNameT &&value)
const Aws::String & GetNamespace() const
PredictiveScalingMetric & AddDimensions(DimensionsT &&value)
bool MetricNameHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetric()=default
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetric(Aws::Utils::Json::JsonView jsonValue)
PredictiveScalingMetric & WithMetricName(MetricNameT &&value)
void SetNamespace(NamespaceT &&value)
bool NamespaceHasBeenSet() 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