7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/Filters.h>
10#include <aws/connect/model/Grouping.h>
11#include <aws/connect/model/HistoricalMetric.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename InstanceIdT = Aws::String>
46 m_instanceIdHasBeenSet =
true;
47 m_instanceId = std::forward<InstanceIdT>(value);
49 template <
typename InstanceIdT = Aws::String>
66 template <
typename StartTimeT = Aws::Utils::DateTime>
68 m_startTimeHasBeenSet =
true;
69 m_startTime = std::forward<StartTimeT>(value);
71 template <
typename StartTimeT = Aws::Utils::DateTime>
88 template <
typename EndTimeT = Aws::Utils::DateTime>
90 m_endTimeHasBeenSet =
true;
91 m_endTime = std::forward<EndTimeT>(value);
93 template <
typename EndTimeT = Aws::Utils::DateTime>
113 template <
typename FiltersT = Filters>
115 m_filtersHasBeenSet =
true;
116 m_filters = std::forward<FiltersT>(value);
118 template <
typename FiltersT = Filters>
136 template <
typename GroupingsT = Aws::Vector<Grouping>>
138 m_groupingsHasBeenSet =
true;
139 m_groupings = std::forward<GroupingsT>(value);
141 template <
typename GroupingsT = Aws::Vector<Grouping>>
147 m_groupingsHasBeenSet =
true;
148 m_groupings.push_back(value);
245 template <
typename HistoricalMetricsT = Aws::Vector<HistoricalMetric>>
247 m_historicalMetricsHasBeenSet =
true;
248 m_historicalMetrics = std::forward<HistoricalMetricsT>(value);
250 template <
typename HistoricalMetricsT = Aws::Vector<HistoricalMetric>>
255 template <
typename HistoricalMetricsT = HistoricalMetric>
257 m_historicalMetricsHasBeenSet =
true;
258 m_historicalMetrics.emplace_back(std::forward<HistoricalMetricsT>(value));
270 template <
typename NextTokenT = Aws::String>
272 m_nextTokenHasBeenSet =
true;
273 m_nextToken = std::forward<NextTokenT>(value);
275 template <
typename NextTokenT = Aws::String>
289 m_maxResultsHasBeenSet =
true;
290 m_maxResults = value;
299 bool m_instanceIdHasBeenSet =
false;
302 bool m_startTimeHasBeenSet =
false;
305 bool m_endTimeHasBeenSet =
false;
308 bool m_filtersHasBeenSet =
false;
311 bool m_groupingsHasBeenSet =
false;
314 bool m_historicalMetricsHasBeenSet =
false;
317 bool m_nextTokenHasBeenSet =
false;
320 bool m_maxResultsHasBeenSet =
false;
GetMetricDataRequest & WithHistoricalMetrics(HistoricalMetricsT &&value)
AWS_CONNECT_API GetMetricDataRequest()=default
virtual const char * GetServiceRequestName() const override
GetMetricDataRequest & WithGroupings(GroupingsT &&value)
bool HistoricalMetricsHasBeenSet() const
bool GroupingsHasBeenSet() const
bool EndTimeHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
GetMetricDataRequest & WithEndTime(EndTimeT &&value)
const Aws::Vector< HistoricalMetric > & GetHistoricalMetrics() const
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
GetMetricDataRequest & WithFilters(FiltersT &&value)
void SetFilters(FiltersT &&value)
void SetStartTime(StartTimeT &&value)
bool FiltersHasBeenSet() const
GetMetricDataRequest & WithMaxResults(int value)
const Filters & GetFilters() const
const Aws::Vector< Grouping > & GetGroupings() const
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetGroupings(GroupingsT &&value)
const Aws::String & GetInstanceId() const
GetMetricDataRequest & WithNextToken(NextTokenT &&value)
void SetMaxResults(int value)
bool InstanceIdHasBeenSet() const
void SetEndTime(EndTimeT &&value)
bool NextTokenHasBeenSet() const
GetMetricDataRequest & AddGroupings(Grouping value)
GetMetricDataRequest & WithStartTime(StartTimeT &&value)
GetMetricDataRequest & AddHistoricalMetrics(HistoricalMetricsT &&value)
int GetMaxResults() const
void SetHistoricalMetrics(HistoricalMetricsT &&value)
void SetInstanceId(InstanceIdT &&value)
bool StartTimeHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
GetMetricDataRequest & WithInstanceId(InstanceIdT &&value)
bool MaxResultsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector