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/sesv2/SESV2_EXPORTS.h>
11#include <aws/sesv2/model/Metric.h>
12#include <aws/sesv2/model/MetricDimensionName.h>
13#include <aws/sesv2/model/MetricNamespace.h>
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
65 m_namespaceHasBeenSet =
true;
111 m_metricHasBeenSet =
true;
127 template <
typename DimensionsT = Aws::Map<MetricDimensionName, Aws::String>>
129 m_dimensionsHasBeenSet =
true;
130 m_dimensions = std::forward<DimensionsT>(value);
132 template <
typename DimensionsT = Aws::Map<MetricDimensionName, Aws::String>>
138 m_dimensionsHasBeenSet =
true;
139 m_dimensions.emplace(key, value);
150 template <
typename StartDateT = Aws::Utils::DateTime>
152 m_startDateHasBeenSet =
true;
153 m_startDate = std::forward<StartDateT>(value);
155 template <
typename StartDateT = Aws::Utils::DateTime>
168 template <
typename EndDateT = Aws::Utils::DateTime>
170 m_endDateHasBeenSet =
true;
171 m_endDate = std::forward<EndDateT>(value);
173 template <
typename EndDateT = Aws::Utils::DateTime>
191 bool m_idHasBeenSet =
false;
192 bool m_namespaceHasBeenSet =
false;
193 bool m_metricHasBeenSet =
false;
194 bool m_dimensionsHasBeenSet =
false;
195 bool m_startDateHasBeenSet =
false;
196 bool m_endDateHasBeenSet =
false;
BatchGetMetricDataQuery & AddDimensions(MetricDimensionName key, Aws::String value)
AWS_SESV2_API BatchGetMetricDataQuery(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartDate() const
bool EndDateHasBeenSet() const
const Aws::Map< MetricDimensionName, Aws::String > & GetDimensions() const
void SetMetric(Metric value)
bool MetricHasBeenSet() const
void SetDimensions(DimensionsT &&value)
const Aws::String & GetId() const
AWS_SESV2_API BatchGetMetricDataQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNamespace(MetricNamespace value)
BatchGetMetricDataQuery & WithEndDate(EndDateT &&value)
BatchGetMetricDataQuery & WithDimensions(DimensionsT &&value)
BatchGetMetricDataQuery & WithMetric(Metric value)
bool DimensionsHasBeenSet() const
bool IdHasBeenSet() const
bool StartDateHasBeenSet() const
void SetEndDate(EndDateT &&value)
BatchGetMetricDataQuery & WithNamespace(MetricNamespace value)
BatchGetMetricDataQuery & WithId(IdT &&value)
const Aws::Utils::DateTime & GetEndDate() const
BatchGetMetricDataQuery & WithStartDate(StartDateT &&value)
MetricNamespace GetNamespace() const
bool NamespaceHasBeenSet() const
AWS_SESV2_API BatchGetMetricDataQuery()=default
void SetStartDate(StartDateT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue