AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename FunctionNamesT = Aws::Vector<StringFilter>>
52 void SetFunctionNames(FunctionNamesT&& value) { m_functionNamesHasBeenSet = true; m_functionNames = std::forward<FunctionNamesT>(value); }
53 template<typename FunctionNamesT = Aws::Vector<StringFilter>>
54 LambdaLayerAggregation& WithFunctionNames(FunctionNamesT&& value) { SetFunctionNames(std::forward<FunctionNamesT>(value)); return *this;}
55 template<typename FunctionNamesT = StringFilter>
56 LambdaLayerAggregation& AddFunctionNames(FunctionNamesT&& value) { m_functionNamesHasBeenSet = true; m_functionNames.emplace_back(std::forward<FunctionNamesT>(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 template<typename LayerArnsT = Aws::Vector<StringFilter>>
67 void SetLayerArns(LayerArnsT&& value) { m_layerArnsHasBeenSet = true; m_layerArns = std::forward<LayerArnsT>(value); }
68 template<typename LayerArnsT = Aws::Vector<StringFilter>>
69 LambdaLayerAggregation& WithLayerArns(LayerArnsT&& value) { SetLayerArns(std::forward<LayerArnsT>(value)); return *this;}
70 template<typename LayerArnsT = StringFilter>
71 LambdaLayerAggregation& AddLayerArns(LayerArnsT&& value) { m_layerArnsHasBeenSet = true; m_layerArns.emplace_back(std::forward<LayerArnsT>(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 template<typename ResourceIdsT = Aws::Vector<StringFilter>>
81 void SetResourceIds(ResourceIdsT&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::forward<ResourceIdsT>(value); }
82 template<typename ResourceIdsT = Aws::Vector<StringFilter>>
83 LambdaLayerAggregation& WithResourceIds(ResourceIdsT&& value) { SetResourceIds(std::forward<ResourceIdsT>(value)); return *this;}
84 template<typename ResourceIdsT = StringFilter>
85 LambdaLayerAggregation& AddResourceIds(ResourceIdsT&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.emplace_back(std::forward<ResourceIdsT>(value)); return *this; }
87
89
92 inline LambdaLayerSortBy GetSortBy() const { return m_sortBy; }
93 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
94 inline void SetSortBy(LambdaLayerSortBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
95 inline LambdaLayerAggregation& WithSortBy(LambdaLayerSortBy value) { SetSortBy(value); return *this;}
97
99
102 inline SortOrder GetSortOrder() const { return m_sortOrder; }
103 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
104 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
105 inline LambdaLayerAggregation& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
107 private:
108
109 Aws::Vector<StringFilter> m_functionNames;
110 bool m_functionNamesHasBeenSet = false;
111
112 Aws::Vector<StringFilter> m_layerArns;
113 bool m_layerArnsHasBeenSet = false;
114
115 Aws::Vector<StringFilter> m_resourceIds;
116 bool m_resourceIdsHasBeenSet = false;
117
119 bool m_sortByHasBeenSet = false;
120
121 SortOrder m_sortOrder{SortOrder::NOT_SET};
122 bool m_sortOrderHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Inspector2
127} // namespace Aws
const Aws::Vector< StringFilter > & GetLayerArns() const
LambdaLayerAggregation & WithSortOrder(SortOrder value)
const Aws::Vector< StringFilter > & GetFunctionNames() const
const Aws::Vector< StringFilter > & GetResourceIds() const
LambdaLayerAggregation & WithLayerArns(LayerArnsT &&value)
AWS_INSPECTOR2_API LambdaLayerAggregation(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API LambdaLayerAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API LambdaLayerAggregation()=default
LambdaLayerAggregation & AddFunctionNames(FunctionNamesT &&value)
LambdaLayerAggregation & AddResourceIds(ResourceIdsT &&value)
LambdaLayerAggregation & AddLayerArns(LayerArnsT &&value)
LambdaLayerAggregation & WithSortBy(LambdaLayerSortBy value)
LambdaLayerAggregation & WithFunctionNames(FunctionNamesT &&value)
LambdaLayerAggregation & WithResourceIds(ResourceIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue