7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
20namespace ServiceQuotas {
42 template <
typename MetricNamespaceT = Aws::String>
44 m_metricNamespaceHasBeenSet =
true;
45 m_metricNamespace = std::forward<MetricNamespaceT>(value);
47 template <
typename MetricNamespaceT = Aws::String>
60 template <
typename MetricNameT = Aws::String>
62 m_metricNameHasBeenSet =
true;
63 m_metricName = std::forward<MetricNameT>(value);
65 template <
typename MetricNameT = Aws::String>
79 template <
typename MetricDimensionsT = Aws::Map<Aws::String, Aws::String>>
81 m_metricDimensionsHasBeenSet =
true;
82 m_metricDimensions = std::forward<MetricDimensionsT>(value);
84 template <
typename MetricDimensionsT = Aws::Map<Aws::String, Aws::String>>
89 template <
typename MetricDimensionsKeyT = Aws::String,
typename MetricDimensionsValueT = Aws::String>
91 m_metricDimensionsHasBeenSet =
true;
92 m_metricDimensions.emplace(std::forward<MetricDimensionsKeyT>(key), std::forward<MetricDimensionsValueT>(value));
104 template <
typename MetricStatisticRecommendationT = Aws::String>
106 m_metricStatisticRecommendationHasBeenSet =
true;
107 m_metricStatisticRecommendation = std::forward<MetricStatisticRecommendationT>(value);
109 template <
typename MetricStatisticRecommendationT = Aws::String>
123 bool m_metricNamespaceHasBeenSet =
false;
124 bool m_metricNameHasBeenSet =
false;
125 bool m_metricDimensionsHasBeenSet =
false;
126 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