7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/MapFilter.h>
10#include <aws/inspector2/model/ServerlessFunctionSortBy.h>
11#include <aws/inspector2/model/SortOrder.h>
12#include <aws/inspector2/model/StringFilter.h>
45 template <
typename ResourceIdsT = Aws::Vector<StringFilter>>
47 m_resourceIdsHasBeenSet =
true;
48 m_resourceIds = std::forward<ResourceIdsT>(value);
50 template <
typename ResourceIdsT = Aws::Vector<StringFilter>>
55 template <
typename ResourceIdsT = StringFilter>
57 m_resourceIdsHasBeenSet =
true;
58 m_resourceIds.emplace_back(std::forward<ResourceIdsT>(value));
69 template <
typename FunctionNamesT = Aws::Vector<StringFilter>>
71 m_functionNamesHasBeenSet =
true;
72 m_functionNames = std::forward<FunctionNamesT>(value);
74 template <
typename FunctionNamesT = Aws::Vector<StringFilter>>
79 template <
typename FunctionNamesT = StringFilter>
81 m_functionNamesHasBeenSet =
true;
82 m_functionNames.emplace_back(std::forward<FunctionNamesT>(value));
93 template <
typename RuntimesT = Aws::Vector<StringFilter>>
95 m_runtimesHasBeenSet =
true;
96 m_runtimes = std::forward<RuntimesT>(value);
98 template <
typename RuntimesT = Aws::Vector<StringFilter>>
103 template <
typename RuntimesT = StringFilter>
105 m_runtimesHasBeenSet =
true;
106 m_runtimes.emplace_back(std::forward<RuntimesT>(value));
117 template <
typename FunctionTagsT = Aws::Vector<MapFilter>>
119 m_functionTagsHasBeenSet =
true;
120 m_functionTags = std::forward<FunctionTagsT>(value);
122 template <
typename FunctionTagsT = Aws::Vector<MapFilter>>
127 template <
typename FunctionTagsT = MapFilter>
129 m_functionTagsHasBeenSet =
true;
130 m_functionTags.emplace_back(std::forward<FunctionTagsT>(value));
144 template <
typename CloudProv
idersT = Aws::Vector<StringFilter>>
146 m_cloudProvidersHasBeenSet =
true;
147 m_cloudProviders = std::forward<CloudProvidersT>(value);
149 template <
typename CloudProv
idersT = Aws::Vector<StringFilter>>
154 template <
typename CloudProv
idersT = StringFilter>
156 m_cloudProvidersHasBeenSet =
true;
157 m_cloudProviders.emplace_back(std::forward<CloudProvidersT>(value));
172 template <
typename CloudPartitionsT = Aws::Vector<StringFilter>>
174 m_cloudPartitionsHasBeenSet =
true;
175 m_cloudPartitions = std::forward<CloudPartitionsT>(value);
177 template <
typename CloudPartitionsT = Aws::Vector<StringFilter>>
182 template <
typename CloudPartitionsT = StringFilter>
184 m_cloudPartitionsHasBeenSet =
true;
185 m_cloudPartitions.emplace_back(std::forward<CloudPartitionsT>(value));
199 template <
typename CloudRegionsT = Aws::Vector<StringFilter>>
201 m_cloudRegionsHasBeenSet =
true;
202 m_cloudRegions = std::forward<CloudRegionsT>(value);
204 template <
typename CloudRegionsT = Aws::Vector<StringFilter>>
209 template <
typename CloudRegionsT = StringFilter>
211 m_cloudRegionsHasBeenSet =
true;
212 m_cloudRegions.emplace_back(std::forward<CloudRegionsT>(value));
223 template <
typename CloudOrgIdsT = Aws::Vector<StringFilter>>
225 m_cloudOrgIdsHasBeenSet =
true;
226 m_cloudOrgIds = std::forward<CloudOrgIdsT>(value);
228 template <
typename CloudOrgIdsT = Aws::Vector<StringFilter>>
233 template <
typename CloudOrgIdsT = StringFilter>
235 m_cloudOrgIdsHasBeenSet =
true;
236 m_cloudOrgIds.emplace_back(std::forward<CloudOrgIdsT>(value));
247 template <
typename CloudAccountIdsT = Aws::Vector<StringFilter>>
249 m_cloudAccountIdsHasBeenSet =
true;
250 m_cloudAccountIds = std::forward<CloudAccountIdsT>(value);
252 template <
typename CloudAccountIdsT = Aws::Vector<StringFilter>>
257 template <
typename CloudAccountIdsT = StringFilter>
259 m_cloudAccountIdsHasBeenSet =
true;
260 m_cloudAccountIds.emplace_back(std::forward<CloudAccountIdsT>(value));
273 m_sortOrderHasBeenSet =
true;
291 m_sortByHasBeenSet =
true;
321 bool m_resourceIdsHasBeenSet =
false;
322 bool m_functionNamesHasBeenSet =
false;
323 bool m_runtimesHasBeenSet =
false;
324 bool m_functionTagsHasBeenSet =
false;
325 bool m_cloudProvidersHasBeenSet =
false;
326 bool m_cloudPartitionsHasBeenSet =
false;
327 bool m_cloudRegionsHasBeenSet =
false;
328 bool m_cloudOrgIdsHasBeenSet =
false;
329 bool m_cloudAccountIdsHasBeenSet =
false;
330 bool m_sortOrderHasBeenSet =
false;
331 bool m_sortByHasBeenSet =
false;
ServerlessFunctionAggregation & AddCloudPartitions(CloudPartitionsT &&value)
bool CloudOrgIdsHasBeenSet() const
ServerlessFunctionAggregation & WithSortBy(ServerlessFunctionSortBy value)
void SetFunctionNames(FunctionNamesT &&value)
ServerlessFunctionAggregation & WithFunctionTags(FunctionTagsT &&value)
ServerlessFunctionAggregation & AddRuntimes(RuntimesT &&value)
const Aws::Vector< StringFilter > & GetCloudProviders() const
bool RuntimesHasBeenSet() const
ServerlessFunctionAggregation & WithCloudPartitions(CloudPartitionsT &&value)
ServerlessFunctionAggregation & AddCloudRegions(CloudRegionsT &&value)
void SetCloudProviders(CloudProvidersT &&value)
void SetCloudOrgIds(CloudOrgIdsT &&value)
const Aws::Vector< StringFilter > & GetFunctionNames() const
ServerlessFunctionAggregation & WithCloudProviders(CloudProvidersT &&value)
bool SortByHasBeenSet() const
ServerlessFunctionAggregation & WithCloudRegions(CloudRegionsT &&value)
void SetCloudPartitions(CloudPartitionsT &&value)
ServerlessFunctionAggregation & WithFunctionNames(FunctionNamesT &&value)
bool CloudPartitionsHasBeenSet() const
bool CloudProvidersHasBeenSet() const
void SetCloudRegions(CloudRegionsT &&value)
ServerlessFunctionAggregation & WithCloudAccountIds(CloudAccountIdsT &&value)
ServerlessFunctionAggregation & AddResourceIds(ResourceIdsT &&value)
const Aws::Vector< MapFilter > & GetFunctionTags() const
ServerlessFunctionAggregation & WithSortOrder(SortOrder value)
AWS_INSPECTOR2_API ServerlessFunctionAggregation()=default
ServerlessFunctionAggregation & AddFunctionNames(FunctionNamesT &&value)
AWS_INSPECTOR2_API ServerlessFunctionAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< StringFilter > & GetResourceIds() const
ServerlessFunctionAggregation & AddCloudProviders(CloudProvidersT &&value)
ServerlessFunctionAggregation & WithRuntimes(RuntimesT &&value)
bool CloudRegionsHasBeenSet() const
ServerlessFunctionAggregation & WithCloudOrgIds(CloudOrgIdsT &&value)
bool FunctionNamesHasBeenSet() const
bool CloudAccountIdsHasBeenSet() const
ServerlessFunctionAggregation & AddFunctionTags(FunctionTagsT &&value)
void SetRuntimes(RuntimesT &&value)
bool ResourceIdsHasBeenSet() const
const Aws::Vector< StringFilter > & GetCloudPartitions() const
const Aws::Vector< StringFilter > & GetCloudAccountIds() const
bool FunctionTagsHasBeenSet() const
const Aws::Vector< StringFilter > & GetRuntimes() const
void SetSortOrder(SortOrder value)
void SetCloudAccountIds(CloudAccountIdsT &&value)
const Aws::Vector< StringFilter > & GetCloudRegions() const
const Aws::Vector< StringFilter > & GetCloudOrgIds() const
bool SortOrderHasBeenSet() const
ServerlessFunctionAggregation & WithResourceIds(ResourceIdsT &&value)
ServerlessFunctionAggregation & AddCloudAccountIds(CloudAccountIdsT &&value)
ServerlessFunctionSortBy GetSortBy() const
AWS_INSPECTOR2_API ServerlessFunctionAggregation(Aws::Utils::Json::JsonView jsonValue)
SortOrder GetSortOrder() const
void SetSortBy(ServerlessFunctionSortBy value)
void SetResourceIds(ResourceIdsT &&value)
void SetFunctionTags(FunctionTagsT &&value)
ServerlessFunctionAggregation & AddCloudOrgIds(CloudOrgIdsT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue