7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/Metric.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/application-signals/model/StandardUnit.h>
23namespace ApplicationSignals
50 inline void SetMetric(
const Metric& value) { m_metricHasBeenSet =
true; m_metric = value; }
51 inline void SetMetric(
Metric&& value) { m_metricHasBeenSet =
true; m_metric = std::move(value); }
68 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
84 inline void SetStat(
const char* value) { m_statHasBeenSet =
true; m_stat.assign(value); }
109 bool m_metricHasBeenSet =
false;
112 bool m_periodHasBeenSet =
false;
115 bool m_statHasBeenSet =
false;
118 bool m_unitHasBeenSet =
false;
bool PeriodHasBeenSet() const
MetricStat & WithMetric(Metric &&value)
bool UnitHasBeenSet() const
void SetMetric(const Metric &value)
void SetStat(const Aws::String &value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONSIGNALS_API MetricStat()
void SetMetric(Metric &&value)
const Aws::String & GetStat() const
void SetPeriod(int value)
MetricStat & WithMetric(const Metric &value)
void SetStat(Aws::String &&value)
bool StatHasBeenSet() const
void SetStat(const char *value)
bool MetricHasBeenSet() const
const Metric & GetMetric() const
MetricStat & WithPeriod(int value)
void SetUnit(StandardUnit &&value)
MetricStat & WithStat(const char *value)
AWS_APPLICATIONSIGNALS_API MetricStat & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricStat & WithUnit(const StandardUnit &value)
const StandardUnit & GetUnit() const
MetricStat & WithStat(Aws::String &&value)
MetricStat & WithUnit(StandardUnit &&value)
AWS_APPLICATIONSIGNALS_API MetricStat(Aws::Utils::Json::JsonView jsonValue)
MetricStat & WithStat(const Aws::String &value)
void SetUnit(const StandardUnit &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue