AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaLayerAggregation.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/LambdaLayerSortBy.h>
10#include <aws/inspector2/model/SortOrder.h>
11#include <aws/inspector2/model/StringFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Inspector2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_INSPECTOR2_API LambdaLayerAggregation();
41 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<StringFilter>& GetFunctionNames() const{ return m_functionNames; }
50 inline bool FunctionNamesHasBeenSet() const { return m_functionNamesHasBeenSet; }
51 inline void SetFunctionNames(const Aws::Vector<StringFilter>& value) { m_functionNamesHasBeenSet = true; m_functionNames = value; }
52 inline void SetFunctionNames(Aws::Vector<StringFilter>&& value) { m_functionNamesHasBeenSet = true; m_functionNames = std::move(value); }
54 inline LambdaLayerAggregation& WithFunctionNames(Aws::Vector<StringFilter>&& value) { SetFunctionNames(std::move(value)); return *this;}
55 inline LambdaLayerAggregation& AddFunctionNames(const StringFilter& value) { m_functionNamesHasBeenSet = true; m_functionNames.push_back(value); return *this; }
56 inline LambdaLayerAggregation& AddFunctionNames(StringFilter&& value) { m_functionNamesHasBeenSet = true; m_functionNames.push_back(std::move(value)); return *this; }
58
60
64 inline const Aws::Vector<StringFilter>& GetLayerArns() const{ return m_layerArns; }
65 inline bool LayerArnsHasBeenSet() const { return m_layerArnsHasBeenSet; }
66 inline void SetLayerArns(const Aws::Vector<StringFilter>& value) { m_layerArnsHasBeenSet = true; m_layerArns = value; }
67 inline void SetLayerArns(Aws::Vector<StringFilter>&& value) { m_layerArnsHasBeenSet = true; m_layerArns = std::move(value); }
68 inline LambdaLayerAggregation& WithLayerArns(const Aws::Vector<StringFilter>& value) { SetLayerArns(value); return *this;}
69 inline LambdaLayerAggregation& WithLayerArns(Aws::Vector<StringFilter>&& value) { SetLayerArns(std::move(value)); return *this;}
70 inline LambdaLayerAggregation& AddLayerArns(const StringFilter& value) { m_layerArnsHasBeenSet = true; m_layerArns.push_back(value); return *this; }
71 inline LambdaLayerAggregation& AddLayerArns(StringFilter&& value) { m_layerArnsHasBeenSet = true; m_layerArns.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 LambdaLayerAggregation& WithResourceIds(Aws::Vector<StringFilter>&& value) { SetResourceIds(std::move(value)); return *this;}
84 inline LambdaLayerAggregation& AddResourceIds(const StringFilter& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
85 inline LambdaLayerAggregation& AddResourceIds(StringFilter&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(std::move(value)); return *this; }
87
89
92 inline const LambdaLayerSortBy& GetSortBy() const{ return m_sortBy; }
93 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
94 inline void SetSortBy(const LambdaLayerSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
95 inline void SetSortBy(LambdaLayerSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
96 inline LambdaLayerAggregation& WithSortBy(const LambdaLayerSortBy& value) { SetSortBy(value); return *this;}
97 inline LambdaLayerAggregation& WithSortBy(LambdaLayerSortBy&& value) { SetSortBy(std::move(value)); return *this;}
99
101
104 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
105 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
106 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
107 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
108 inline LambdaLayerAggregation& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
109 inline LambdaLayerAggregation& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
111 private:
112
113 Aws::Vector<StringFilter> m_functionNames;
114 bool m_functionNamesHasBeenSet = false;
115
116 Aws::Vector<StringFilter> m_layerArns;
117 bool m_layerArnsHasBeenSet = false;
118
119 Aws::Vector<StringFilter> m_resourceIds;
120 bool m_resourceIdsHasBeenSet = false;
121
122 LambdaLayerSortBy m_sortBy;
123 bool m_sortByHasBeenSet = false;
124
125 SortOrder m_sortOrder;
126 bool m_sortOrderHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Inspector2
131} // namespace Aws
LambdaLayerAggregation & WithSortBy(LambdaLayerSortBy &&value)
LambdaLayerAggregation & WithSortBy(const LambdaLayerSortBy &value)
const Aws::Vector< StringFilter > & GetLayerArns() const
const Aws::Vector< StringFilter > & GetFunctionNames() const
void SetFunctionNames(const Aws::Vector< StringFilter > &value)
const Aws::Vector< StringFilter > & GetResourceIds() const
LambdaLayerAggregation & AddResourceIds(StringFilter &&value)
AWS_INSPECTOR2_API LambdaLayerAggregation(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API LambdaLayerAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaLayerAggregation & AddFunctionNames(const StringFilter &value)
LambdaLayerAggregation & WithLayerArns(Aws::Vector< StringFilter > &&value)
void SetFunctionNames(Aws::Vector< StringFilter > &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSortBy(const LambdaLayerSortBy &value)
LambdaLayerAggregation & WithFunctionNames(const Aws::Vector< StringFilter > &value)
void SetLayerArns(Aws::Vector< StringFilter > &&value)
LambdaLayerAggregation & WithSortOrder(const SortOrder &value)
LambdaLayerAggregation & WithResourceIds(Aws::Vector< StringFilter > &&value)
void SetLayerArns(const Aws::Vector< StringFilter > &value)
LambdaLayerAggregation & AddLayerArns(const StringFilter &value)
LambdaLayerAggregation & WithLayerArns(const Aws::Vector< StringFilter > &value)
LambdaLayerAggregation & WithResourceIds(const Aws::Vector< StringFilter > &value)
LambdaLayerAggregation & WithSortOrder(SortOrder &&value)
LambdaLayerAggregation & AddLayerArns(StringFilter &&value)
void SetResourceIds(const Aws::Vector< StringFilter > &value)
LambdaLayerAggregation & AddResourceIds(const StringFilter &value)
LambdaLayerAggregation & AddFunctionNames(StringFilter &&value)
void SetResourceIds(Aws::Vector< StringFilter > &&value)
LambdaLayerAggregation & WithFunctionNames(Aws::Vector< StringFilter > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue