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/ResourceScopes.h>
12#include <aws/securityhub/model/SortOrder.h>
41 template <
typename GroupByRulesT = Aws::Vector<ResourceGroupByRule>>
43 m_groupByRulesHasBeenSet =
true;
44 m_groupByRules = std::forward<GroupByRulesT>(value);
46 template <
typename GroupByRulesT = Aws::Vector<ResourceGroupByRule>>
51 template <
typename GroupByRulesT = ResourceGroupByRule>
53 m_groupByRulesHasBeenSet =
true;
54 m_groupByRules.emplace_back(std::forward<GroupByRulesT>(value));
73 template <
typename ScopesT = ResourceScopes>
75 m_scopesHasBeenSet =
true;
76 m_scopes = std::forward<ScopesT>(value);
78 template <
typename ScopesT = ResourceScopes>
92 m_sortOrderHasBeenSet =
true;
108 m_maxStatisticResultsHasBeenSet =
true;
109 m_maxStatisticResults = value;
123 int m_maxStatisticResults{0};
124 bool m_groupByRulesHasBeenSet =
false;
125 bool m_scopesHasBeenSet =
false;
126 bool m_sortOrderHasBeenSet =
false;
127 bool m_maxStatisticResultsHasBeenSet =
false;
GetResourcesStatisticsV2Request & WithMaxStatisticResults(int value)
const ResourceScopes & GetScopes() const
void SetScopes(ScopesT &&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
GetResourcesStatisticsV2Request & WithScopes(ScopesT &&value)
bool SortOrderHasBeenSet() const
void SetSortOrder(SortOrder value)
bool GroupByRulesHasBeenSet() const
bool ScopesHasBeenSet() 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