7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/Metric.h>
9#include <aws/sesv2/model/MetricAggregation.h>
46 inline void SetName(
const Metric& value) { m_nameHasBeenSet =
true; m_name = value; }
47 inline void SetName(
Metric&& value) { m_nameHasBeenSet =
true; m_name = std::move(value); }
64 bool m_nameHasBeenSet =
false;
67 bool m_aggregationHasBeenSet =
false;
bool NameHasBeenSet() const
AWS_SESV2_API ExportMetric(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API ExportMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
ExportMetric & WithAggregation(const MetricAggregation &value)
ExportMetric & WithAggregation(MetricAggregation &&value)
void SetAggregation(MetricAggregation &&value)
void SetName(Metric &&value)
AWS_SESV2_API ExportMetric()
const MetricAggregation & GetAggregation() const
ExportMetric & WithName(const Metric &value)
bool AggregationHasBeenSet() const
const Metric & GetName() const
ExportMetric & WithName(Metric &&value)
void SetAggregation(const MetricAggregation &value)
void SetName(const Metric &value)
Aws::Utils::Json::JsonValue JsonValue