7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/macie2/model/UsageStatisticsSortBy.h>
12#include <aws/macie2/model/TimeRange.h>
13#include <aws/macie2/model/UsageStatisticsFilter.h>
61 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
74 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
109 bool m_filterByHasBeenSet =
false;
112 bool m_maxResultsHasBeenSet =
false;
115 bool m_nextTokenHasBeenSet =
false;
118 bool m_sortByHasBeenSet =
false;
121 bool m_timeRangeHasBeenSet =
false;
void SetSortBy(const UsageStatisticsSortBy &value)
GetUsageStatisticsRequest & AddFilterBy(const UsageStatisticsFilter &value)
void SetMaxResults(int value)
bool MaxResultsHasBeenSet() const
void SetNextToken(const char *value)
GetUsageStatisticsRequest & WithNextToken(const char *value)
GetUsageStatisticsRequest & WithFilterBy(Aws::Vector< UsageStatisticsFilter > &&value)
GetUsageStatisticsRequest & AddFilterBy(UsageStatisticsFilter &&value)
GetUsageStatisticsRequest & WithNextToken(Aws::String &&value)
const UsageStatisticsSortBy & GetSortBy() const
void SetFilterBy(const Aws::Vector< UsageStatisticsFilter > &value)
void SetNextToken(Aws::String &&value)
bool NextTokenHasBeenSet() const
GetUsageStatisticsRequest & WithFilterBy(const Aws::Vector< UsageStatisticsFilter > &value)
GetUsageStatisticsRequest & WithNextToken(const Aws::String &value)
void SetNextToken(const Aws::String &value)
GetUsageStatisticsRequest & WithTimeRange(const TimeRange &value)
virtual const char * GetServiceRequestName() const override
void SetSortBy(UsageStatisticsSortBy &&value)
bool TimeRangeHasBeenSet() const
GetUsageStatisticsRequest & WithTimeRange(TimeRange &&value)
void SetTimeRange(TimeRange &&value)
AWS_MACIE2_API Aws::String SerializePayload() const override
bool FilterByHasBeenSet() const
bool SortByHasBeenSet() const
AWS_MACIE2_API GetUsageStatisticsRequest()
void SetFilterBy(Aws::Vector< UsageStatisticsFilter > &&value)
const TimeRange & GetTimeRange() const
void SetTimeRange(const TimeRange &value)
GetUsageStatisticsRequest & WithSortBy(UsageStatisticsSortBy &&value)
const Aws::String & GetNextToken() const
GetUsageStatisticsRequest & WithSortBy(const UsageStatisticsSortBy &value)
GetUsageStatisticsRequest & WithMaxResults(int value)
const Aws::Vector< UsageStatisticsFilter > & GetFilterBy() const
int GetMaxResults() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector