AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
LambdaLayerAggregationResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/SeverityCounts.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Inspector2 {
21namespace Model {
22
30 public:
31 AWS_INSPECTOR2_API LambdaLayerAggregationResponse() = default;
34 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetFunctionName() const { return m_functionName; }
42 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
43 template <typename FunctionNameT = Aws::String>
44 void SetFunctionName(FunctionNameT&& value) {
45 m_functionNameHasBeenSet = true;
46 m_functionName = std::forward<FunctionNameT>(value);
47 }
48 template <typename FunctionNameT = Aws::String>
50 SetFunctionName(std::forward<FunctionNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetResourceId() const { return m_resourceId; }
60 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
61 template <typename ResourceIdT = Aws::String>
62 void SetResourceId(ResourceIdT&& value) {
63 m_resourceIdHasBeenSet = true;
64 m_resourceId = std::forward<ResourceIdT>(value);
65 }
66 template <typename ResourceIdT = Aws::String>
68 SetResourceId(std::forward<ResourceIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetLayerArn() const { return m_layerArn; }
79 inline bool LayerArnHasBeenSet() const { return m_layerArnHasBeenSet; }
80 template <typename LayerArnT = Aws::String>
81 void SetLayerArn(LayerArnT&& value) {
82 m_layerArnHasBeenSet = true;
83 m_layerArn = std::forward<LayerArnT>(value);
84 }
85 template <typename LayerArnT = Aws::String>
87 SetLayerArn(std::forward<LayerArnT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetAccountId() const { return m_accountId; }
97 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
98 template <typename AccountIdT = Aws::String>
99 void SetAccountId(AccountIdT&& value) {
100 m_accountIdHasBeenSet = true;
101 m_accountId = std::forward<AccountIdT>(value);
102 }
103 template <typename AccountIdT = Aws::String>
105 SetAccountId(std::forward<AccountIdT>(value));
106 return *this;
107 }
109
111
114 inline const SeverityCounts& GetSeverityCounts() const { return m_severityCounts; }
115 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
116 template <typename SeverityCountsT = SeverityCounts>
117 void SetSeverityCounts(SeverityCountsT&& value) {
118 m_severityCountsHasBeenSet = true;
119 m_severityCounts = std::forward<SeverityCountsT>(value);
120 }
121 template <typename SeverityCountsT = SeverityCounts>
123 SetSeverityCounts(std::forward<SeverityCountsT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_functionName;
129
130 Aws::String m_resourceId;
131
132 Aws::String m_layerArn;
133
134 Aws::String m_accountId;
135
136 SeverityCounts m_severityCounts;
137 bool m_functionNameHasBeenSet = false;
138 bool m_resourceIdHasBeenSet = false;
139 bool m_layerArnHasBeenSet = false;
140 bool m_accountIdHasBeenSet = false;
141 bool m_severityCountsHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace Inspector2
146} // namespace Aws
AWS_INSPECTOR2_API LambdaLayerAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaLayerAggregationResponse & WithLayerArn(LayerArnT &&value)
AWS_INSPECTOR2_API LambdaLayerAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
LambdaLayerAggregationResponse & WithFunctionName(FunctionNameT &&value)
AWS_INSPECTOR2_API LambdaLayerAggregationResponse()=default
LambdaLayerAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
LambdaLayerAggregationResponse & WithAccountId(AccountIdT &&value)
LambdaLayerAggregationResponse & WithResourceId(ResourceIdT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue