AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaFunctionAggregation.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector2/model/LambdaFunctionSortBy.h>
10#include <aws/inspector2/model/SortOrder.h>
11#include <aws/inspector2/model/StringFilter.h>
12#include <aws/inspector2/model/MapFilter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Inspector2
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_INSPECTOR2_API LambdaFunctionAggregation();
42 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<StringFilter>& GetFunctionNames() const{ return m_functionNames; }
51 inline bool FunctionNamesHasBeenSet() const { return m_functionNamesHasBeenSet; }
52 inline void SetFunctionNames(const Aws::Vector<StringFilter>& value) { m_functionNamesHasBeenSet = true; m_functionNames = value; }
53 inline void SetFunctionNames(Aws::Vector<StringFilter>&& value) { m_functionNamesHasBeenSet = true; m_functionNames = std::move(value); }
56 inline LambdaFunctionAggregation& AddFunctionNames(const StringFilter& value) { m_functionNamesHasBeenSet = true; m_functionNames.push_back(value); return *this; }
57 inline LambdaFunctionAggregation& AddFunctionNames(StringFilter&& value) { m_functionNamesHasBeenSet = true; m_functionNames.push_back(std::move(value)); return *this; }
59
61
64 inline const Aws::Vector<MapFilter>& GetFunctionTags() const{ return m_functionTags; }
65 inline bool FunctionTagsHasBeenSet() const { return m_functionTagsHasBeenSet; }
66 inline void SetFunctionTags(const Aws::Vector<MapFilter>& value) { m_functionTagsHasBeenSet = true; m_functionTags = value; }
67 inline void SetFunctionTags(Aws::Vector<MapFilter>&& value) { m_functionTagsHasBeenSet = true; m_functionTags = std::move(value); }
69 inline LambdaFunctionAggregation& WithFunctionTags(Aws::Vector<MapFilter>&& value) { SetFunctionTags(std::move(value)); return *this;}
70 inline LambdaFunctionAggregation& AddFunctionTags(const MapFilter& value) { m_functionTagsHasBeenSet = true; m_functionTags.push_back(value); return *this; }
71 inline LambdaFunctionAggregation& AddFunctionTags(MapFilter&& value) { m_functionTagsHasBeenSet = true; m_functionTags.push_back(std::move(value)); return *this; }
73
75
78 inline const Aws::Vector<StringFilter>& GetResourceIds() const{ return m_resourceIds; }
79 inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; }
80 inline void SetResourceIds(const Aws::Vector<StringFilter>& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = value; }
81 inline void SetResourceIds(Aws::Vector<StringFilter>&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::move(value); }
83 inline LambdaFunctionAggregation& WithResourceIds(Aws::Vector<StringFilter>&& value) { SetResourceIds(std::move(value)); return *this;}
84 inline LambdaFunctionAggregation& AddResourceIds(const StringFilter& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
85 inline LambdaFunctionAggregation& AddResourceIds(StringFilter&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(std::move(value)); return *this; }
87
89
93 inline const Aws::Vector<StringFilter>& GetRuntimes() const{ return m_runtimes; }
94 inline bool RuntimesHasBeenSet() const { return m_runtimesHasBeenSet; }
95 inline void SetRuntimes(const Aws::Vector<StringFilter>& value) { m_runtimesHasBeenSet = true; m_runtimes = value; }
96 inline void SetRuntimes(Aws::Vector<StringFilter>&& value) { m_runtimesHasBeenSet = true; m_runtimes = std::move(value); }
97 inline LambdaFunctionAggregation& WithRuntimes(const Aws::Vector<StringFilter>& value) { SetRuntimes(value); return *this;}
98 inline LambdaFunctionAggregation& WithRuntimes(Aws::Vector<StringFilter>&& value) { SetRuntimes(std::move(value)); return *this;}
99 inline LambdaFunctionAggregation& AddRuntimes(const StringFilter& value) { m_runtimesHasBeenSet = true; m_runtimes.push_back(value); return *this; }
100 inline LambdaFunctionAggregation& AddRuntimes(StringFilter&& value) { m_runtimesHasBeenSet = true; m_runtimes.push_back(std::move(value)); return *this; }
102
104
107 inline const LambdaFunctionSortBy& GetSortBy() const{ return m_sortBy; }
108 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
109 inline void SetSortBy(const LambdaFunctionSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
110 inline void SetSortBy(LambdaFunctionSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
111 inline LambdaFunctionAggregation& WithSortBy(const LambdaFunctionSortBy& value) { SetSortBy(value); return *this;}
112 inline LambdaFunctionAggregation& WithSortBy(LambdaFunctionSortBy&& value) { SetSortBy(std::move(value)); return *this;}
114
116
119 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
120 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
121 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
122 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
123 inline LambdaFunctionAggregation& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
124 inline LambdaFunctionAggregation& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
126 private:
127
128 Aws::Vector<StringFilter> m_functionNames;
129 bool m_functionNamesHasBeenSet = false;
130
131 Aws::Vector<MapFilter> m_functionTags;
132 bool m_functionTagsHasBeenSet = false;
133
134 Aws::Vector<StringFilter> m_resourceIds;
135 bool m_resourceIdsHasBeenSet = false;
136
137 Aws::Vector<StringFilter> m_runtimes;
138 bool m_runtimesHasBeenSet = false;
139
140 LambdaFunctionSortBy m_sortBy;
141 bool m_sortByHasBeenSet = false;
142
143 SortOrder m_sortOrder;
144 bool m_sortOrderHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Inspector2
149} // namespace Aws
const Aws::Vector< StringFilter > & GetFunctionNames() const
LambdaFunctionAggregation & AddResourceIds(StringFilter &&value)
AWS_INSPECTOR2_API LambdaFunctionAggregation(Aws::Utils::Json::JsonView jsonValue)
void SetRuntimes(const Aws::Vector< StringFilter > &value)
LambdaFunctionAggregation & WithResourceIds(Aws::Vector< StringFilter > &&value)
LambdaFunctionAggregation & WithSortOrder(const SortOrder &value)
void SetResourceIds(Aws::Vector< StringFilter > &&value)
LambdaFunctionAggregation & WithFunctionTags(Aws::Vector< MapFilter > &&value)
LambdaFunctionAggregation & WithResourceIds(const Aws::Vector< StringFilter > &value)
LambdaFunctionAggregation & AddFunctionNames(const StringFilter &value)
LambdaFunctionAggregation & WithRuntimes(Aws::Vector< StringFilter > &&value)
LambdaFunctionAggregation & WithFunctionNames(const Aws::Vector< StringFilter > &value)
LambdaFunctionAggregation & WithSortOrder(SortOrder &&value)
const Aws::Vector< StringFilter > & GetResourceIds() const
LambdaFunctionAggregation & AddFunctionTags(const MapFilter &value)
void SetFunctionTags(Aws::Vector< MapFilter > &&value)
const Aws::Vector< StringFilter > & GetRuntimes() const
const Aws::Vector< MapFilter > & GetFunctionTags() const
void SetResourceIds(const Aws::Vector< StringFilter > &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFunctionNames(const Aws::Vector< StringFilter > &value)
LambdaFunctionAggregation & AddRuntimes(const StringFilter &value)
AWS_INSPECTOR2_API LambdaFunctionAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFunctionNames(Aws::Vector< StringFilter > &&value)
LambdaFunctionAggregation & AddFunctionNames(StringFilter &&value)
LambdaFunctionAggregation & WithSortBy(const LambdaFunctionSortBy &value)
LambdaFunctionAggregation & WithSortBy(LambdaFunctionSortBy &&value)
LambdaFunctionAggregation & WithFunctionNames(Aws::Vector< StringFilter > &&value)
LambdaFunctionAggregation & AddFunctionTags(MapFilter &&value)
LambdaFunctionAggregation & AddResourceIds(const StringFilter &value)
void SetFunctionTags(const Aws::Vector< MapFilter > &value)
LambdaFunctionAggregation & AddRuntimes(StringFilter &&value)
LambdaFunctionAggregation & WithFunctionTags(const Aws::Vector< MapFilter > &value)
void SetRuntimes(Aws::Vector< StringFilter > &&value)
LambdaFunctionAggregation & WithRuntimes(const Aws::Vector< StringFilter > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue