7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/ResourceGroupByRule.h>
11#include <aws/securityhub/model/SortOrder.h>
40 template <
typename GroupByRulesT = Aws::Vector<ResourceGroupByRule>>
42 m_groupByRulesHasBeenSet =
true;
43 m_groupByRules = std::forward<GroupByRulesT>(value);
45 template <
typename GroupByRulesT = Aws::Vector<ResourceGroupByRule>>
50 template <
typename GroupByRulesT = ResourceGroupByRule>
52 m_groupByRulesHasBeenSet =
true;
53 m_groupByRules.emplace_back(std::forward<GroupByRulesT>(value));
65 m_sortOrderHasBeenSet =
true;
81 m_maxStatisticResultsHasBeenSet =
true;
82 m_maxStatisticResults = value;
94 int m_maxStatisticResults{0};
95 bool m_groupByRulesHasBeenSet =
false;
96 bool m_sortOrderHasBeenSet =
false;
97 bool m_maxStatisticResultsHasBeenSet =
false;
GetResourcesStatisticsV2Request & WithMaxStatisticResults(int value)
GetResourcesStatisticsV2Request & WithSortOrder(SortOrder value)
GetResourcesStatisticsV2Request & WithGroupByRules(GroupByRulesT &&value)
void SetGroupByRules(GroupByRulesT &&value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
SortOrder GetSortOrder() const
GetResourcesStatisticsV2Request & AddGroupByRules(GroupByRulesT &&value)
int GetMaxStatisticResults() const
AWS_SECURITYHUB_API GetResourcesStatisticsV2Request()=default
bool MaxStatisticResultsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool SortOrderHasBeenSet() const
void SetSortOrder(SortOrder value)
bool GroupByRulesHasBeenSet() const
void SetMaxStatisticResults(int value)
const Aws::Vector< ResourceGroupByRule > & GetGroupByRules() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector