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 SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
91 bool m_namespaceHasBeenSet =
false;
94 bool m_metricNameHasBeenSet =
false;
97 bool m_dimensionsHasBeenSet =
false;
void SetDimensions(const Aws::Vector< Dimension > &value)
void SetMetricName(Aws::String &&value)
void SetMetricName(const char *value)
void SetMetricName(const Aws::String &value)
Metric & AddDimensions(const Dimension &value)
Metric & WithMetricName(const Aws::String &value)
bool NamespaceHasBeenSet() const
bool MetricNameHasBeenSet() const
Metric & WithDimensions(const Aws::Vector< Dimension > &value)
Metric & WithDimensions(Aws::Vector< Dimension > &&value)
const Aws::String & GetMetricName() const
void SetNamespace(Aws::String &&value)
const Aws::Vector< Dimension > & GetDimensions() const
AWS_APPLICATIONSIGNALS_API Metric & operator=(Aws::Utils::Json::JsonView jsonValue)
Metric & WithNamespace(Aws::String &&value)
Metric & WithNamespace(const char *value)
Metric & WithMetricName(Aws::String &&value)
Metric & AddDimensions(Dimension &&value)
void SetNamespace(const char *value)
const Aws::String & GetNamespace() const
void SetDimensions(Aws::Vector< Dimension > &&value)
void SetNamespace(const Aws::String &value)
Metric & WithMetricName(const char *value)
AWS_APPLICATIONSIGNALS_API Metric(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API Metric()
bool DimensionsHasBeenSet() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
Metric & WithNamespace(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