7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/LambdaFunctionSortBy.h>
10#include <aws/inspector2/model/MapFilter.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));
70 template <
typename FunctionNamesT = Aws::Vector<StringFilter>>
72 m_functionNamesHasBeenSet =
true;
73 m_functionNames = std::forward<FunctionNamesT>(value);
75 template <
typename FunctionNamesT = Aws::Vector<StringFilter>>
80 template <
typename FunctionNamesT = StringFilter>
82 m_functionNamesHasBeenSet =
true;
83 m_functionNames.emplace_back(std::forward<FunctionNamesT>(value));
95 template <
typename RuntimesT = Aws::Vector<StringFilter>>
97 m_runtimesHasBeenSet =
true;
98 m_runtimes = std::forward<RuntimesT>(value);
100 template <
typename RuntimesT = Aws::Vector<StringFilter>>
105 template <
typename RuntimesT = StringFilter>
107 m_runtimesHasBeenSet =
true;
108 m_runtimes.emplace_back(std::forward<RuntimesT>(value));
119 template <
typename FunctionTagsT = Aws::Vector<MapFilter>>
121 m_functionTagsHasBeenSet =
true;
122 m_functionTags = std::forward<FunctionTagsT>(value);
124 template <
typename FunctionTagsT = Aws::Vector<MapFilter>>
129 template <
typename FunctionTagsT = MapFilter>
131 m_functionTagsHasBeenSet =
true;
132 m_functionTags.emplace_back(std::forward<FunctionTagsT>(value));
144 m_sortOrderHasBeenSet =
true;
160 m_sortByHasBeenSet =
true;
180 bool m_resourceIdsHasBeenSet =
false;
181 bool m_functionNamesHasBeenSet =
false;
182 bool m_runtimesHasBeenSet =
false;
183 bool m_functionTagsHasBeenSet =
false;
184 bool m_sortOrderHasBeenSet =
false;
185 bool m_sortByHasBeenSet =
false;
const Aws::Vector< StringFilter > & GetFunctionNames() const
AWS_INSPECTOR2_API LambdaFunctionAggregation(Aws::Utils::Json::JsonView jsonValue)
bool RuntimesHasBeenSet() const
LambdaFunctionSortBy GetSortBy() const
void SetSortBy(LambdaFunctionSortBy value)
LambdaFunctionAggregation & AddRuntimes(RuntimesT &&value)
void SetRuntimes(RuntimesT &&value)
void SetResourceIds(ResourceIdsT &&value)
const Aws::Vector< StringFilter > & GetResourceIds() const
const Aws::Vector< StringFilter > & GetRuntimes() const
bool SortByHasBeenSet() const
const Aws::Vector< MapFilter > & GetFunctionTags() const
SortOrder GetSortOrder() const
LambdaFunctionAggregation & WithRuntimes(RuntimesT &&value)
LambdaFunctionAggregation & WithResourceIds(ResourceIdsT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaFunctionAggregation & AddFunctionNames(FunctionNamesT &&value)
bool FunctionTagsHasBeenSet() const
bool ResourceIdsHasBeenSet() const
AWS_INSPECTOR2_API LambdaFunctionAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionAggregation & WithSortBy(LambdaFunctionSortBy value)
void SetFunctionNames(FunctionNamesT &&value)
LambdaFunctionAggregation & WithSortOrder(SortOrder value)
bool FunctionNamesHasBeenSet() const
bool SortOrderHasBeenSet() const
AWS_INSPECTOR2_API LambdaFunctionAggregation()=default
LambdaFunctionAggregation & WithFunctionNames(FunctionNamesT &&value)
void SetFunctionTags(FunctionTagsT &&value)
LambdaFunctionAggregation & AddResourceIds(ResourceIdsT &&value)
void SetSortOrder(SortOrder value)
LambdaFunctionAggregation & WithFunctionTags(FunctionTagsT &&value)
LambdaFunctionAggregation & AddFunctionTags(FunctionTagsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue