7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/monitoring/CloudWatchRequest.h>
11#include <aws/monitoring/CloudWatch_EXPORTS.h>
12#include <aws/monitoring/model/Dimension.h>
13#include <aws/monitoring/model/StandardUnit.h>
14#include <aws/monitoring/model/Statistic.h>
44 template <
typename NamespaceT = Aws::String>
46 m_namespaceHasBeenSet =
true;
47 m_namespace = std::forward<NamespaceT>(value);
49 template <
typename NamespaceT = Aws::String>
62 template <
typename MetricNameT = Aws::String>
64 m_metricNameHasBeenSet =
true;
65 m_metricName = std::forward<MetricNameT>(value);
67 template <
typename MetricNameT = Aws::String>
89 template <
typename DimensionsT = Aws::Vector<Dimension>>
91 m_dimensionsHasBeenSet =
true;
92 m_dimensions = std::forward<DimensionsT>(value);
94 template <
typename DimensionsT = Aws::Vector<Dimension>>
99 template <
typename DimensionsT = Dimension>
101 m_dimensionsHasBeenSet =
true;
102 m_dimensions.emplace_back(std::forward<DimensionsT>(value));
131 template <
typename StartTimeT = Aws::Utils::DateTime>
133 m_startTimeHasBeenSet =
true;
134 m_startTime = std::forward<StartTimeT>(value);
136 template <
typename StartTimeT = Aws::Utils::DateTime>
152 template <
typename EndTimeT = Aws::Utils::DateTime>
154 m_endTimeHasBeenSet =
true;
155 m_endTime = std::forward<EndTimeT>(value);
157 template <
typename EndTimeT = Aws::Utils::DateTime>
183 m_periodHasBeenSet =
true;
201 template <
typename StatisticsT = Aws::Vector<Statistic>>
203 m_statisticsHasBeenSet =
true;
204 m_statistics = std::forward<StatisticsT>(value);
206 template <
typename StatisticsT = Aws::Vector<Statistic>>
212 m_statisticsHasBeenSet =
true;
213 m_statistics.push_back(value);
228 template <
typename ExtendedStatisticsT = Aws::Vector<Aws::String>>
230 m_extendedStatisticsHasBeenSet =
true;
231 m_extendedStatistics = std::forward<ExtendedStatisticsT>(value);
233 template <
typename ExtendedStatisticsT = Aws::Vector<Aws::String>>
238 template <
typename ExtendedStatisticsT = Aws::String>
240 m_extendedStatisticsHasBeenSet =
true;
241 m_extendedStatistics.emplace_back(std::forward<ExtendedStatisticsT>(value));
258 m_unitHasBeenSet =
true;
284 bool m_namespaceHasBeenSet =
false;
285 bool m_metricNameHasBeenSet =
false;
286 bool m_dimensionsHasBeenSet =
false;
287 bool m_startTimeHasBeenSet =
false;
288 bool m_endTimeHasBeenSet =
false;
289 bool m_periodHasBeenSet =
false;
290 bool m_statisticsHasBeenSet =
false;
291 bool m_extendedStatisticsHasBeenSet =
false;
292 bool m_unitHasBeenSet =
false;
GetMetricStatisticsRequest & WithStatistics(StatisticsT &&value)
bool EndTimeHasBeenSet() const
AWS_CLOUDWATCH_API GetMetricStatisticsRequest()=default
StandardUnit GetUnit() const
const Aws::Vector< Statistic > & GetStatistics() const
void SetExtendedStatistics(ExtendedStatisticsT &&value)
bool NamespaceHasBeenSet() const
void SetStartTime(StartTimeT &&value)
GetMetricStatisticsRequest & AddExtendedStatistics(ExtendedStatisticsT &&value)
bool StatisticsHasBeenSet() const
GetMetricStatisticsRequest & AddDimensions(DimensionsT &&value)
GetMetricStatisticsRequest & WithMetricName(MetricNameT &&value)
void SetEndTime(EndTimeT &&value)
bool MetricNameHasBeenSet() const
GetMetricStatisticsRequest & WithUnit(StandardUnit value)
GetMetricStatisticsRequest & WithStartTime(StartTimeT &&value)
const Aws::String & GetMetricName() const
const Aws::Vector< Dimension > & GetDimensions() const
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetNamespace() const
GetMetricStatisticsRequest & WithDimensions(DimensionsT &&value)
void SetDimensions(DimensionsT &&value)
void SetNamespace(NamespaceT &&value)
bool UnitHasBeenSet() const
bool ExtendedStatisticsHasBeenSet() const
void SetMetricName(MetricNameT &&value)
GetMetricStatisticsRequest & AddStatistics(Statistic value)
bool DimensionsHasBeenSet() const
void SetStatistics(StatisticsT &&value)
AWS_CLOUDWATCH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetStartTime() const
void SetUnit(StandardUnit value)
bool StartTimeHasBeenSet() const
const Aws::Vector< Aws::String > & GetExtendedStatistics() const
GetMetricStatisticsRequest & WithPeriod(int value)
GetMetricStatisticsRequest & WithExtendedStatistics(ExtendedStatisticsT &&value)
bool PeriodHasBeenSet() const
GetMetricStatisticsRequest & WithNamespace(NamespaceT &&value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
GetMetricStatisticsRequest & WithEndTime(EndTimeT &&value)
void SetPeriod(int value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector