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
50 inline void SetMetricNamespace(
const char* value) { m_metricNamespaceHasBeenSet =
true; m_metricNamespace.assign(value); }
64 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
87 inline MetricInfo&
AddMetricDimensions(
const char* key,
const char* value) { m_metricDimensionsHasBeenSet =
true; m_metricDimensions.emplace(key, value);
return *
this; }
107 bool m_metricNamespaceHasBeenSet =
false;
110 bool m_metricNameHasBeenSet =
false;
113 bool m_metricDimensionsHasBeenSet =
false;
116 bool m_metricStatisticRecommendationHasBeenSet =
false;
AWS_SERVICEQUOTAS_API MetricInfo()
const Aws::String & GetMetricStatisticRecommendation() const
AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const
MetricInfo & AddMetricDimensions(const char *key, Aws::String &&value)
void SetMetricStatisticRecommendation(Aws::String &&value)
MetricInfo & AddMetricDimensions(const Aws::String &key, const Aws::String &value)
MetricInfo & WithMetricDimensions(const Aws::Map< Aws::String, Aws::String > &value)
MetricInfo & WithMetricStatisticRecommendation(Aws::String &&value)
void SetMetricNamespace(const char *value)
void SetMetricStatisticRecommendation(const Aws::String &value)
void SetMetricNamespace(const Aws::String &value)
bool MetricDimensionsHasBeenSet() const
AWS_SERVICEQUOTAS_API MetricInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEQUOTAS_API MetricInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMetricName(const char *value)
bool MetricNamespaceHasBeenSet() const
MetricInfo & WithMetricName(Aws::String &&value)
MetricInfo & AddMetricDimensions(const char *key, const char *value)
MetricInfo & WithMetricDimensions(Aws::Map< Aws::String, Aws::String > &&value)
MetricInfo & AddMetricDimensions(const Aws::String &key, Aws::String &&value)
void SetMetricStatisticRecommendation(const char *value)
MetricInfo & WithMetricStatisticRecommendation(const Aws::String &value)
MetricInfo & WithMetricStatisticRecommendation(const char *value)
MetricInfo & AddMetricDimensions(Aws::String &&key, Aws::String &&value)
MetricInfo & AddMetricDimensions(Aws::String &&key, const Aws::String &value)
MetricInfo & WithMetricName(const char *value)
void SetMetricName(Aws::String &&value)
MetricInfo & WithMetricNamespace(const Aws::String &value)
MetricInfo & WithMetricName(const Aws::String &value)
const Aws::String & GetMetricName() const
void SetMetricDimensions(Aws::Map< Aws::String, Aws::String > &&value)
MetricInfo & WithMetricNamespace(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetMetricDimensions() const
void SetMetricName(const Aws::String &value)
const Aws::String & GetMetricNamespace() const
MetricInfo & WithMetricNamespace(Aws::String &&value)
MetricInfo & AddMetricDimensions(Aws::String &&key, const char *value)
void SetMetricNamespace(Aws::String &&value)
void SetMetricDimensions(const Aws::Map< Aws::String, Aws::String > &value)
bool MetricStatisticRecommendationHasBeenSet() const
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