7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutmetrics/model/AggregationFunction.h>
22namespace LookoutMetrics
50 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
76 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
84 bool m_metricNameHasBeenSet =
false;
87 bool m_aggregationFunctionHasBeenSet =
false;
90 bool m_namespaceHasBeenSet =
false;
Metric & WithMetricName(const char *value)
Metric & WithAggregationFunction(AggregationFunction &&value)
Metric & WithNamespace(Aws::String &&value)
void SetNamespace(const Aws::String &value)
AWS_LOOKOUTMETRICS_API Metric()
bool NamespaceHasBeenSet() const
void SetAggregationFunction(AggregationFunction &&value)
bool MetricNameHasBeenSet() const
const Aws::String & GetMetricName() const
AWS_LOOKOUTMETRICS_API Metric(Aws::Utils::Json::JsonView jsonValue)
void SetNamespace(Aws::String &&value)
Metric & WithNamespace(const Aws::String &value)
void SetNamespace(const char *value)
const Aws::String & GetNamespace() const
void SetMetricName(Aws::String &&value)
void SetMetricName(const char *value)
void SetAggregationFunction(const AggregationFunction &value)
Metric & WithMetricName(const Aws::String &value)
Metric & WithAggregationFunction(const AggregationFunction &value)
bool AggregationFunctionHasBeenSet() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
Metric & WithMetricName(Aws::String &&value)
const AggregationFunction & GetAggregationFunction() const
void SetMetricName(const Aws::String &value)
Metric & WithNamespace(const char *value)
AWS_LOOKOUTMETRICS_API Metric & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue