7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/connect/model/Filters.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/connect/model/Grouping.h>
14#include <aws/connect/model/HistoricalMetric.h>
50 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
102 inline void SetFilters(
Filters&& value) { m_filtersHasBeenSet =
true; m_filters = std::move(value); }
187 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
199 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
205 bool m_instanceIdHasBeenSet =
false;
208 bool m_startTimeHasBeenSet =
false;
211 bool m_endTimeHasBeenSet =
false;
214 bool m_filtersHasBeenSet =
false;
217 bool m_groupingsHasBeenSet =
false;
220 bool m_historicalMetricsHasBeenSet =
false;
223 bool m_nextTokenHasBeenSet =
false;
226 bool m_maxResultsHasBeenSet =
false;
GetMetricDataRequest & AddGroupings(Grouping &&value)
GetMetricDataRequest & WithNextToken(Aws::String &&value)
GetMetricDataRequest & AddHistoricalMetrics(HistoricalMetric &&value)
virtual const char * GetServiceRequestName() const override
void SetNextToken(Aws::String &&value)
bool HistoricalMetricsHasBeenSet() const
bool GroupingsHasBeenSet() const
bool EndTimeHasBeenSet() const
GetMetricDataRequest & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
void SetNextToken(const Aws::String &value)
GetMetricDataRequest & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::Vector< HistoricalMetric > & GetHistoricalMetrics() const
const Aws::String & GetNextToken() const
void SetHistoricalMetrics(const Aws::Vector< HistoricalMetric > &value)
GetMetricDataRequest & WithNextToken(const Aws::String &value)
void SetNextToken(const char *value)
GetMetricDataRequest & WithInstanceId(const Aws::String &value)
void SetGroupings(const Aws::Vector< Grouping > &value)
void SetEndTime(Aws::Utils::DateTime &&value)
GetMetricDataRequest & WithEndTime(Aws::Utils::DateTime &&value)
bool FiltersHasBeenSet() const
GetMetricDataRequest & WithMaxResults(int value)
GetMetricDataRequest & WithHistoricalMetrics(const Aws::Vector< HistoricalMetric > &value)
const Filters & GetFilters() const
const Aws::Vector< Grouping > & GetGroupings() const
AWS_CONNECT_API Aws::String SerializePayload() const override
GetMetricDataRequest & AddHistoricalMetrics(const HistoricalMetric &value)
GetMetricDataRequest & WithGroupings(const Aws::Vector< Grouping > &value)
GetMetricDataRequest & AddGroupings(const Grouping &value)
const Aws::String & GetInstanceId() const
void SetStartTime(const Aws::Utils::DateTime &value)
void SetMaxResults(int value)
bool InstanceIdHasBeenSet() const
GetMetricDataRequest & WithNextToken(const char *value)
GetMetricDataRequest & WithStartTime(Aws::Utils::DateTime &&value)
bool NextTokenHasBeenSet() const
void SetGroupings(Aws::Vector< Grouping > &&value)
void SetInstanceId(Aws::String &&value)
void SetFilters(Filters &&value)
void SetInstanceId(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
GetMetricDataRequest & WithInstanceId(const char *value)
GetMetricDataRequest & WithGroupings(Aws::Vector< Grouping > &&value)
GetMetricDataRequest & WithFilters(Filters &&value)
AWS_CONNECT_API GetMetricDataRequest()
GetMetricDataRequest & WithFilters(const Filters &value)
void SetFilters(const Filters &value)
int GetMaxResults() const
GetMetricDataRequest & WithHistoricalMetrics(Aws::Vector< HistoricalMetric > &&value)
bool StartTimeHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
void SetInstanceId(const Aws::String &value)
GetMetricDataRequest & WithInstanceId(Aws::String &&value)
void SetHistoricalMetrics(Aws::Vector< HistoricalMetric > &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
bool MaxResultsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector