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/IntervalDetails.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/connect/model/FilterV2.h>
14#include <aws/connect/model/MetricV2.h>
49 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
753 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
765 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
771 bool m_resourceArnHasBeenSet =
false;
774 bool m_startTimeHasBeenSet =
false;
777 bool m_endTimeHasBeenSet =
false;
780 bool m_intervalHasBeenSet =
false;
783 bool m_filtersHasBeenSet =
false;
786 bool m_groupingsHasBeenSet =
false;
789 bool m_metricsHasBeenSet =
false;
792 bool m_nextTokenHasBeenSet =
false;
795 bool m_maxResultsHasBeenSet =
false;
const Aws::Utils::DateTime & GetStartTime() const
void SetNextToken(Aws::String &&value)
const Aws::Vector< Aws::String > & GetGroupings() const
GetMetricDataV2Request & AddMetrics(const MetricV2 &value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetNextToken(const Aws::String &value)
GetMetricDataV2Request & WithGroupings(const Aws::Vector< Aws::String > &value)
bool EndTimeHasBeenSet() const
GetMetricDataV2Request & AddGroupings(const char *value)
GetMetricDataV2Request & AddMetrics(MetricV2 &&value)
void SetResourceArn(const Aws::String &value)
void SetNextToken(const char *value)
bool NextTokenHasBeenSet() const
GetMetricDataV2Request & AddGroupings(Aws::String &&value)
const Aws::Vector< MetricV2 > & GetMetrics() const
int GetMaxResults() const
GetMetricDataV2Request & WithInterval(IntervalDetails &&value)
void SetInterval(const IntervalDetails &value)
GetMetricDataV2Request & WithResourceArn(Aws::String &&value)
GetMetricDataV2Request & WithInterval(const IntervalDetails &value)
GetMetricDataV2Request & WithStartTime(Aws::Utils::DateTime &&value)
GetMetricDataV2Request & WithMaxResults(int value)
GetMetricDataV2Request & WithGroupings(Aws::Vector< Aws::String > &&value)
void SetMaxResults(int value)
AWS_CONNECT_API Aws::String SerializePayload() const override
bool MaxResultsHasBeenSet() const
void SetStartTime(Aws::Utils::DateTime &&value)
void SetGroupings(const Aws::Vector< Aws::String > &value)
GetMetricDataV2Request & AddGroupings(const Aws::String &value)
GetMetricDataV2Request & WithFilters(Aws::Vector< FilterV2 > &&value)
bool MetricsHasBeenSet() const
void SetResourceArn(Aws::String &&value)
GetMetricDataV2Request & WithNextToken(Aws::String &&value)
void SetGroupings(Aws::Vector< Aws::String > &&value)
const Aws::String & GetNextToken() const
void SetFilters(Aws::Vector< FilterV2 > &&value)
GetMetricDataV2Request & AddFilters(const FilterV2 &value)
void SetInterval(IntervalDetails &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
bool StartTimeHasBeenSet() const
bool GroupingsHasBeenSet() const
GetMetricDataV2Request & WithMetrics(const Aws::Vector< MetricV2 > &value)
const Aws::Vector< FilterV2 > & GetFilters() const
virtual const char * GetServiceRequestName() const override
GetMetricDataV2Request & WithNextToken(const Aws::String &value)
const IntervalDetails & GetInterval() const
GetMetricDataV2Request & WithMetrics(Aws::Vector< MetricV2 > &&value)
bool FiltersHasBeenSet() const
void SetMetrics(const Aws::Vector< MetricV2 > &value)
GetMetricDataV2Request & WithResourceArn(const char *value)
bool IntervalHasBeenSet() const
const Aws::String & GetResourceArn() const
GetMetricDataV2Request & WithResourceArn(const Aws::String &value)
GetMetricDataV2Request & AddFilters(FilterV2 &&value)
bool ResourceArnHasBeenSet() const
GetMetricDataV2Request & WithStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetMetrics(Aws::Vector< MetricV2 > &&value)
GetMetricDataV2Request & WithEndTime(Aws::Utils::DateTime &&value)
GetMetricDataV2Request & WithNextToken(const char *value)
void SetFilters(const Aws::Vector< FilterV2 > &value)
GetMetricDataV2Request & WithFilters(const Aws::Vector< FilterV2 > &value)
GetMetricDataV2Request & WithEndTime(const Aws::Utils::DateTime &value)
void SetResourceArn(const char *value)
AWS_CONNECT_API GetMetricDataV2Request()
const Aws::Utils::DateTime & GetEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector