7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace LookoutMetrics
47 template<
typename MetricNameT = Aws::String>
48 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
49 template<
typename MetricNameT = Aws::String>
59 inline void SetOccurrenceCount(
int value) { m_occurrenceCountHasBeenSet =
true; m_occurrenceCount = value; }
65 bool m_metricNameHasBeenSet =
false;
67 int m_occurrenceCount{0};
68 bool m_occurrenceCountHasBeenSet =
false;
bool OccurrenceCountHasBeenSet() const
ItemizedMetricStats & WithOccurrenceCount(int value)
AWS_LOOKOUTMETRICS_API ItemizedMetricStats(Aws::Utils::Json::JsonView jsonValue)
void SetMetricName(MetricNameT &&value)
const Aws::String & GetMetricName() const
void SetOccurrenceCount(int 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(MetricNameT &&value)
AWS_LOOKOUTMETRICS_API ItemizedMetricStats()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue