7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/application-signals/model/Dimension.h>
23namespace ApplicationSignals
53 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
67 inline void SetMetricType(
const char* value) { m_metricTypeHasBeenSet =
true; m_metricType.assign(value); }
97 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
105 bool m_namespaceHasBeenSet =
false;
108 bool m_metricTypeHasBeenSet =
false;
111 bool m_dimensionsHasBeenSet =
false;
114 bool m_metricNameHasBeenSet =
false;
const Aws::String & GetNamespace() const
void SetMetricType(const char *value)
MetricReference & AddDimensions(const Dimension &value)
MetricReference & AddDimensions(Dimension &&value)
void SetNamespace(const char *value)
bool DimensionsHasBeenSet() const
MetricReference & WithDimensions(Aws::Vector< Dimension > &&value)
const Aws::String & GetMetricName() const
const Aws::String & GetMetricType() const
MetricReference & WithMetricName(const char *value)
MetricReference & WithMetricName(const Aws::String &value)
bool NamespaceHasBeenSet() const
bool MetricNameHasBeenSet() const
const Aws::Vector< Dimension > & GetDimensions() const
MetricReference & WithNamespace(const Aws::String &value)
AWS_APPLICATIONSIGNALS_API MetricReference & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDimensions(const Aws::Vector< Dimension > &value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
MetricReference & WithNamespace(Aws::String &&value)
MetricReference & WithMetricType(Aws::String &&value)
void SetNamespace(Aws::String &&value)
AWS_APPLICATIONSIGNALS_API MetricReference()
void SetMetricName(const Aws::String &value)
MetricReference & WithMetricType(const Aws::String &value)
void SetDimensions(Aws::Vector< Dimension > &&value)
void SetMetricType(const Aws::String &value)
void SetMetricType(Aws::String &&value)
MetricReference & WithDimensions(const Aws::Vector< Dimension > &value)
MetricReference & WithMetricType(const char *value)
AWS_APPLICATIONSIGNALS_API MetricReference(Aws::Utils::Json::JsonView jsonValue)
MetricReference & WithMetricName(Aws::String &&value)
bool MetricTypeHasBeenSet() const
void SetMetricName(const char *value)
void SetMetricName(Aws::String &&value)
MetricReference & WithNamespace(const char *value)
void SetNamespace(const Aws::String &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