7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace LookoutMetrics
49 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
61 inline void SetOccurrenceCount(
int value) { m_occurrenceCountHasBeenSet =
true; m_occurrenceCount = value; }
67 bool m_metricNameHasBeenSet =
false;
69 int m_occurrenceCount;
70 bool m_occurrenceCountHasBeenSet =
false;
bool OccurrenceCountHasBeenSet() const
AWS_LOOKOUTMETRICS_API ItemizedMetricStats()
ItemizedMetricStats & WithOccurrenceCount(int value)
void SetMetricName(const Aws::String &value)
AWS_LOOKOUTMETRICS_API ItemizedMetricStats(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMetricName() const
void SetOccurrenceCount(int value)
void SetMetricName(Aws::String &&value)
void SetMetricName(const char *value)
ItemizedMetricStats & WithMetricName(Aws::String &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
int GetOccurrenceCount() const
bool MetricNameHasBeenSet() const
AWS_LOOKOUTMETRICS_API ItemizedMetricStats & operator=(Aws::Utils::Json::JsonView jsonValue)
ItemizedMetricStats & WithMetricName(const Aws::String &value)
ItemizedMetricStats & WithMetricName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue