AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline LambdaLayerAggregationResponse& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline LambdaLayerAggregationResponse& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline LambdaLayerAggregationResponse& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
61 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
62 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
63 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
64 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
65 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
66 inline LambdaLayerAggregationResponse& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
67 inline LambdaLayerAggregationResponse& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
68 inline LambdaLayerAggregationResponse& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
70
72
76 inline const Aws::String& GetLayerArn() const{ return m_layerArn; }
77 inline bool LayerArnHasBeenSet() const { return m_layerArnHasBeenSet; }
78 inline void SetLayerArn(const Aws::String& value) { m_layerArnHasBeenSet = true; m_layerArn = value; }
79 inline void SetLayerArn(Aws::String&& value) { m_layerArnHasBeenSet = true; m_layerArn = std::move(value); }
80 inline void SetLayerArn(const char* value) { m_layerArnHasBeenSet = true; m_layerArn.assign(value); }
81 inline LambdaLayerAggregationResponse& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;}
82 inline LambdaLayerAggregationResponse& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;}
83 inline LambdaLayerAggregationResponse& WithLayerArn(const char* value) { SetLayerArn(value); return *this;}
85
87
90 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
91 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
92 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
93 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
94 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
95 inline LambdaLayerAggregationResponse& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
96 inline LambdaLayerAggregationResponse& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
97 inline LambdaLayerAggregationResponse& WithResourceId(const char* value) { SetResourceId(value); return *this;}
99
101
102 inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; }
103 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
104 inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; }
105 inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); }
107 inline LambdaLayerAggregationResponse& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_accountId;
112 bool m_accountIdHasBeenSet = false;
113
114 Aws::String m_functionName;
115 bool m_functionNameHasBeenSet = false;
116
117 Aws::String m_layerArn;
118 bool m_layerArnHasBeenSet = false;
119
120 Aws::String m_resourceId;
121 bool m_resourceIdHasBeenSet = false;
122
123 SeverityCounts m_severityCounts;
124 bool m_severityCountsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Inspector2
129} // namespace Aws
LambdaLayerAggregationResponse & WithLayerArn(const char *value)
LambdaLayerAggregationResponse & WithAccountId(const Aws::String &value)
LambdaLayerAggregationResponse & WithSeverityCounts(SeverityCounts &&value)
AWS_INSPECTOR2_API LambdaLayerAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API LambdaLayerAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
LambdaLayerAggregationResponse & WithSeverityCounts(const SeverityCounts &value)
LambdaLayerAggregationResponse & WithLayerArn(Aws::String &&value)
LambdaLayerAggregationResponse & WithResourceId(Aws::String &&value)
LambdaLayerAggregationResponse & WithLayerArn(const Aws::String &value)
LambdaLayerAggregationResponse & WithAccountId(const char *value)
LambdaLayerAggregationResponse & WithResourceId(const Aws::String &value)
LambdaLayerAggregationResponse & WithResourceId(const char *value)
LambdaLayerAggregationResponse & WithAccountId(Aws::String &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaLayerAggregationResponse & WithFunctionName(const Aws::String &value)
LambdaLayerAggregationResponse & WithFunctionName(Aws::String &&value)
LambdaLayerAggregationResponse & WithFunctionName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue