7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/monitoring/model/StandardUnit.h>
13#include <aws/monitoring/model/Dimension.h>
14#include <aws/monitoring/model/Statistic.h>
52 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
66 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
158 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
217 bool m_namespaceHasBeenSet =
false;
220 bool m_metricNameHasBeenSet =
false;
223 bool m_dimensionsHasBeenSet =
false;
226 bool m_startTimeHasBeenSet =
false;
229 bool m_endTimeHasBeenSet =
false;
232 bool m_periodHasBeenSet =
false;
235 bool m_statisticsHasBeenSet =
false;
238 bool m_extendedStatisticsHasBeenSet =
false;
241 bool m_unitHasBeenSet =
false;
GetMetricStatisticsRequest & WithStartTime(Aws::Utils::DateTime &&value)
void SetNamespace(Aws::String &&value)
GetMetricStatisticsRequest & WithNamespace(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
bool EndTimeHasBeenSet() const
void SetNamespace(const Aws::String &value)
GetMetricStatisticsRequest & WithExtendedStatistics(const Aws::Vector< Aws::String > &value)
void SetDimensions(const Aws::Vector< Dimension > &value)
GetMetricStatisticsRequest & WithDimensions(const Aws::Vector< Dimension > &value)
const Aws::Vector< Statistic > & GetStatistics() const
void SetExtendedStatistics(const Aws::Vector< Aws::String > &value)
bool NamespaceHasBeenSet() const
GetMetricStatisticsRequest & WithUnit(const StandardUnit &value)
GetMetricStatisticsRequest & WithStatistics(const Aws::Vector< Statistic > &value)
bool StatisticsHasBeenSet() const
GetMetricStatisticsRequest & WithMetricName(const char *value)
void SetNamespace(const char *value)
GetMetricStatisticsRequest & AddExtendedStatistics(Aws::String &&value)
GetMetricStatisticsRequest & AddStatistics(Statistic &&value)
GetMetricStatisticsRequest & AddExtendedStatistics(const Aws::String &value)
void SetMetricName(const Aws::String &value)
bool MetricNameHasBeenSet() const
const Aws::String & GetMetricName() const
const Aws::Vector< Dimension > & GetDimensions() const
GetMetricStatisticsRequest & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndTime() const
GetMetricStatisticsRequest & AddExtendedStatistics(const char *value)
const Aws::String & GetNamespace() const
void SetStartTime(const Aws::Utils::DateTime &value)
const StandardUnit & GetUnit() const
void SetMetricName(const char *value)
GetMetricStatisticsRequest & AddDimensions(const Dimension &value)
void SetUnit(const StandardUnit &value)
bool UnitHasBeenSet() const
bool ExtendedStatisticsHasBeenSet() const
void SetUnit(StandardUnit &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
GetMetricStatisticsRequest & WithNamespace(const char *value)
bool DimensionsHasBeenSet() const
void SetExtendedStatistics(Aws::Vector< Aws::String > &&value)
void SetStatistics(const Aws::Vector< Statistic > &value)
GetMetricStatisticsRequest & WithStatistics(Aws::Vector< Statistic > &&value)
GetMetricStatisticsRequest & WithNamespace(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
AWS_CLOUDWATCH_API GetMetricStatisticsRequest()
void SetStatistics(Aws::Vector< Statistic > &&value)
void SetMetricName(Aws::String &&value)
bool StartTimeHasBeenSet() const
const Aws::Vector< Aws::String > & GetExtendedStatistics() const
GetMetricStatisticsRequest & WithPeriod(int value)
GetMetricStatisticsRequest & AddStatistics(const Statistic &value)
GetMetricStatisticsRequest & WithUnit(StandardUnit &&value)
GetMetricStatisticsRequest & WithExtendedStatistics(Aws::Vector< Aws::String > &&value)
bool PeriodHasBeenSet() const
void SetStartTime(Aws::Utils::DateTime &&value)
GetMetricStatisticsRequest & WithDimensions(Aws::Vector< Dimension > &&value)
void SetDimensions(Aws::Vector< Dimension > &&value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
GetMetricStatisticsRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetMetricStatisticsRequest & WithMetricName(Aws::String &&value)
GetMetricStatisticsRequest & WithMetricName(const Aws::String &value)
GetMetricStatisticsRequest & WithEndTime(const Aws::Utils::DateTime &value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetPeriod(int value)
GetMetricStatisticsRequest & AddDimensions(Dimension &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector