7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/monitoring/model/ScanBy.h>
13#include <aws/monitoring/model/LabelOptions.h>
14#include <aws/monitoring/model/MetricDataQuery.h>
122 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
139 inline void SetScanBy(
const ScanBy& value) { m_scanByHasBeenSet =
true; m_scanBy = value; }
140 inline void SetScanBy(
ScanBy&& value) { m_scanByHasBeenSet =
true; m_scanBy = std::move(value); }
152 inline void SetMaxDatapoints(
int value) { m_maxDatapointsHasBeenSet =
true; m_maxDatapoints = value; }
172 bool m_metricDataQueriesHasBeenSet =
false;
175 bool m_startTimeHasBeenSet =
false;
178 bool m_endTimeHasBeenSet =
false;
181 bool m_nextTokenHasBeenSet =
false;
184 bool m_scanByHasBeenSet =
false;
187 bool m_maxDatapointsHasBeenSet =
false;
190 bool m_labelOptionsHasBeenSet =
false;
GetMetricDataRequest & WithNextToken(const char *value)
bool MetricDataQueriesHasBeenSet() const
const ScanBy & GetScanBy() const
GetMetricDataRequest & WithMaxDatapoints(int value)
void SetNextToken(Aws::String &&value)
GetMetricDataRequest & WithLabelOptions(const LabelOptions &value)
const Aws::String & GetNextToken() const
GetMetricDataRequest & WithMetricDataQueries(const Aws::Vector< MetricDataQuery > &value)
bool NextTokenHasBeenSet() const
bool ScanByHasBeenSet() const
GetMetricDataRequest & WithMetricDataQueries(Aws::Vector< MetricDataQuery > &&value)
GetMetricDataRequest & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
virtual const char * GetServiceRequestName() const override
const LabelOptions & GetLabelOptions() const
AWS_CLOUDWATCH_API GetMetricDataRequest()
void SetEndTime(Aws::Utils::DateTime &&value)
bool MaxDatapointsHasBeenSet() const
void SetMaxDatapoints(int value)
void SetScanBy(ScanBy &&value)
GetMetricDataRequest & WithNextToken(const Aws::String &value)
GetMetricDataRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetLabelOptions(const LabelOptions &value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetMetricDataRequest & WithScanBy(const ScanBy &value)
GetMetricDataRequest & AddMetricDataQueries(MetricDataQuery &&value)
GetMetricDataRequest & AddMetricDataQueries(const MetricDataQuery &value)
GetMetricDataRequest & WithLabelOptions(LabelOptions &&value)
GetMetricDataRequest & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetNextToken(const Aws::String &value)
void SetLabelOptions(LabelOptions &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
GetMetricDataRequest & WithStartTime(Aws::Utils::DateTime &&value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
bool LabelOptionsHasBeenSet() const
void SetMetricDataQueries(Aws::Vector< MetricDataQuery > &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetScanBy(const ScanBy &value)
int GetMaxDatapoints() const
const Aws::Vector< MetricDataQuery > & GetMetricDataQueries() const
GetMetricDataRequest & WithNextToken(Aws::String &&value)
GetMetricDataRequest & WithScanBy(ScanBy &&value)
void SetMetricDataQueries(const Aws::Vector< MetricDataQuery > &value)
bool StartTimeHasBeenSet() const
bool EndTimeHasBeenSet() const
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector