7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sesv2/SESV2_EXPORTS.h>
12#include <aws/sesv2/model/ExportMetric.h>
13#include <aws/sesv2/model/MetricDimensionName.h>
14#include <aws/sesv2/model/MetricNamespace.h>
49 template <
typename DimensionsT = Aws::Map<MetricDimensionName, Aws::Vector<Aws::String>>>
51 m_dimensionsHasBeenSet =
true;
52 m_dimensions = std::forward<DimensionsT>(value);
54 template <
typename DimensionsT = Aws::Map<MetricDimensionName, Aws::Vector<Aws::String>>>
60 m_dimensionsHasBeenSet =
true;
61 m_dimensions.emplace(key, value);
73 m_namespaceHasBeenSet =
true;
88 template <
typename MetricsT = Aws::Vector<ExportMetric>>
90 m_metricsHasBeenSet =
true;
91 m_metrics = std::forward<MetricsT>(value);
93 template <
typename MetricsT = Aws::Vector<ExportMetric>>
98 template <
typename MetricsT = ExportMetric>
100 m_metricsHasBeenSet =
true;
101 m_metrics.emplace_back(std::forward<MetricsT>(value));
112 template <
typename StartDateT = Aws::Utils::DateTime>
114 m_startDateHasBeenSet =
true;
115 m_startDate = std::forward<StartDateT>(value);
117 template <
typename StartDateT = Aws::Utils::DateTime>
130 template <
typename EndDateT = Aws::Utils::DateTime>
132 m_endDateHasBeenSet =
true;
133 m_endDate = std::forward<EndDateT>(value);
135 template <
typename EndDateT = Aws::Utils::DateTime>
151 bool m_dimensionsHasBeenSet =
false;
152 bool m_namespaceHasBeenSet =
false;
153 bool m_metricsHasBeenSet =
false;
154 bool m_startDateHasBeenSet =
false;
155 bool m_endDateHasBeenSet =
false;
const Aws::Vector< ExportMetric > & GetMetrics() const
bool MetricsHasBeenSet() const
MetricsDataSource & WithDimensions(DimensionsT &&value)
MetricsDataSource & WithStartDate(StartDateT &&value)
MetricsDataSource & AddMetrics(MetricsT &&value)
void SetMetrics(MetricsT &&value)
AWS_SESV2_API MetricsDataSource()=default
MetricsDataSource & WithEndDate(EndDateT &&value)
MetricsDataSource & WithMetrics(MetricsT &&value)
bool DimensionsHasBeenSet() const
const Aws::Map< MetricDimensionName, Aws::Vector< Aws::String > > & GetDimensions() const
bool StartDateHasBeenSet() const
void SetStartDate(StartDateT &&value)
MetricsDataSource & AddDimensions(MetricDimensionName key, Aws::Vector< Aws::String > value)
bool EndDateHasBeenSet() const
bool NamespaceHasBeenSet() const
AWS_SESV2_API MetricsDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetEndDate() const
const Aws::Utils::DateTime & GetStartDate() const
MetricNamespace GetNamespace() const
AWS_SESV2_API MetricsDataSource(Aws::Utils::Json::JsonView jsonValue)
MetricsDataSource & WithNamespace(MetricNamespace value)
void SetEndDate(EndDateT &&value)
void SetNamespace(MetricNamespace value)
void SetDimensions(DimensionsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue