AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LambdaLayerAggregationResponse.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/SeverityCounts.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API LambdaLayerAggregationResponse() = default;
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const { return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 template<typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
50 template<typename AccountIdT = Aws::String>
51 LambdaLayerAggregationResponse& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetFunctionName() const { return m_functionName; }
60 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
61 template<typename FunctionNameT = Aws::String>
62 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet = true; m_functionName = std::forward<FunctionNameT>(value); }
63 template<typename FunctionNameT = Aws::String>
64 LambdaLayerAggregationResponse& WithFunctionName(FunctionNameT&& value) { SetFunctionName(std::forward<FunctionNameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetLayerArn() const { return m_layerArn; }
73 inline bool LayerArnHasBeenSet() const { return m_layerArnHasBeenSet; }
74 template<typename LayerArnT = Aws::String>
75 void SetLayerArn(LayerArnT&& value) { m_layerArnHasBeenSet = true; m_layerArn = std::forward<LayerArnT>(value); }
76 template<typename LayerArnT = Aws::String>
77 LambdaLayerAggregationResponse& WithLayerArn(LayerArnT&& value) { SetLayerArn(std::forward<LayerArnT>(value)); return *this;}
79
81
84 inline const Aws::String& GetResourceId() const { return m_resourceId; }
85 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
86 template<typename ResourceIdT = Aws::String>
87 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
88 template<typename ResourceIdT = Aws::String>
89 LambdaLayerAggregationResponse& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
91
93
96 inline const SeverityCounts& GetSeverityCounts() const { return m_severityCounts; }
97 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
98 template<typename SeverityCountsT = SeverityCounts>
99 void SetSeverityCounts(SeverityCountsT&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::forward<SeverityCountsT>(value); }
100 template<typename SeverityCountsT = SeverityCounts>
101 LambdaLayerAggregationResponse& WithSeverityCounts(SeverityCountsT&& value) { SetSeverityCounts(std::forward<SeverityCountsT>(value)); return *this;}
103 private:
104
105 Aws::String m_accountId;
106 bool m_accountIdHasBeenSet = false;
107
108 Aws::String m_functionName;
109 bool m_functionNameHasBeenSet = false;
110
111 Aws::String m_layerArn;
112 bool m_layerArnHasBeenSet = false;
113
114 Aws::String m_resourceId;
115 bool m_resourceIdHasBeenSet = false;
116
117 SeverityCounts m_severityCounts;
118 bool m_severityCountsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Inspector2
123} // 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