7#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
22namespace ServiceQuotas
48 template<
typename MetricNamespaceT = Aws::String>
49 void SetMetricNamespace(MetricNamespaceT&& value) { m_metricNamespaceHasBeenSet =
true; m_metricNamespace = std::forward<MetricNamespaceT>(value); }
50 template<
typename MetricNamespaceT = Aws::String>
60 template<
typename MetricNameT = Aws::String>
61 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
62 template<
typename MetricNameT = Aws::String>
73 template<
typename MetricDimensionsT = Aws::Map<Aws::String, Aws::String>>
74 void SetMetricDimensions(MetricDimensionsT&& value) { m_metricDimensionsHasBeenSet =
true; m_metricDimensions = std::forward<MetricDimensionsT>(value); }
75 template<
typename MetricDimensionsT = Aws::Map<Aws::String, Aws::String>>
77 template<
typename MetricDimensionsKeyT = Aws::String,
typename MetricDimensionsValueT = Aws::String>
79 m_metricDimensionsHasBeenSet =
true; m_metricDimensions.emplace(std::forward<MetricDimensionsKeyT>(key), std::forward<MetricDimensionsValueT>(value));
return *
this;
90 template<
typename MetricStatisticRecommendationT = Aws::String>
91 void SetMetricStatisticRecommendation(MetricStatisticRecommendationT&& value) { m_metricStatisticRecommendationHasBeenSet =
true; m_metricStatisticRecommendation = std::forward<MetricStatisticRecommendationT>(value); }
92 template<
typename MetricStatisticRecommendationT = Aws::String>
98 bool m_metricNamespaceHasBeenSet =
false;
101 bool m_metricNameHasBeenSet =
false;
104 bool m_metricDimensionsHasBeenSet =
false;
107 bool m_metricStatisticRecommendationHasBeenSet =
false;
const Aws::String & GetMetricStatisticRecommendation() const
AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const
MetricInfo & WithMetricNamespace(MetricNamespaceT &&value)
void SetMetricName(MetricNameT &&value)
MetricInfo & WithMetricDimensions(MetricDimensionsT &&value)
bool MetricDimensionsHasBeenSet() const
MetricInfo & WithMetricStatisticRecommendation(MetricStatisticRecommendationT &&value)
AWS_SERVICEQUOTAS_API MetricInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEQUOTAS_API MetricInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MetricNamespaceHasBeenSet() const
MetricInfo & AddMetricDimensions(MetricDimensionsKeyT &&key, MetricDimensionsValueT &&value)
MetricInfo & WithMetricName(MetricNameT &&value)
void SetMetricNamespace(MetricNamespaceT &&value)
void SetMetricDimensions(MetricDimensionsT &&value)
const Aws::String & GetMetricName() const
AWS_SERVICEQUOTAS_API MetricInfo()=default
const Aws::Map< Aws::String, Aws::String > & GetMetricDimensions() const
const Aws::String & GetMetricNamespace() const
bool MetricStatisticRecommendationHasBeenSet() const
void SetMetricStatisticRecommendation(MetricStatisticRecommendationT &&value)
bool MetricNameHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue