AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Finding.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/CodeVulnerabilityDetails.h>
10#include <aws/inspector2/model/EpssDetails.h>
11#include <aws/inspector2/model/ExploitAvailable.h>
12#include <aws/inspector2/model/ExploitabilityDetails.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/inspector2/model/FixAvailable.h>
15#include <aws/inspector2/model/InspectorScoreDetails.h>
16#include <aws/inspector2/model/NetworkReachabilityDetails.h>
17#include <aws/inspector2/model/PackageVulnerabilityDetails.h>
18#include <aws/inspector2/model/Remediation.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
20#include <aws/inspector2/model/Severity.h>
21#include <aws/inspector2/model/FindingStatus.h>
22#include <aws/inspector2/model/FindingType.h>
23#include <aws/inspector2/model/Resource.h>
24#include <utility>
25
26namespace Aws
27{
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33 class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace Inspector2
37{
38namespace Model
39{
40
46 class Finding
47 {
48 public:
49 AWS_INSPECTOR2_API Finding();
50 AWS_INSPECTOR2_API Finding(Aws::Utils::Json::JsonView jsonValue);
51 AWS_INSPECTOR2_API Finding& operator=(Aws::Utils::Json::JsonView jsonValue);
52 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
59 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
60 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
61 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
62 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
63 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
64 inline Finding& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
65 inline Finding& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
66 inline Finding& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
68
70
74 inline const CodeVulnerabilityDetails& GetCodeVulnerabilityDetails() const{ return m_codeVulnerabilityDetails; }
75 inline bool CodeVulnerabilityDetailsHasBeenSet() const { return m_codeVulnerabilityDetailsHasBeenSet; }
76 inline void SetCodeVulnerabilityDetails(const CodeVulnerabilityDetails& value) { m_codeVulnerabilityDetailsHasBeenSet = true; m_codeVulnerabilityDetails = value; }
77 inline void SetCodeVulnerabilityDetails(CodeVulnerabilityDetails&& value) { m_codeVulnerabilityDetailsHasBeenSet = true; m_codeVulnerabilityDetails = std::move(value); }
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline Finding& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline Finding& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline Finding& WithDescription(const char* value) { SetDescription(value); return *this;}
95
97
100 inline const EpssDetails& GetEpss() const{ return m_epss; }
101 inline bool EpssHasBeenSet() const { return m_epssHasBeenSet; }
102 inline void SetEpss(const EpssDetails& value) { m_epssHasBeenSet = true; m_epss = value; }
103 inline void SetEpss(EpssDetails&& value) { m_epssHasBeenSet = true; m_epss = std::move(value); }
104 inline Finding& WithEpss(const EpssDetails& value) { SetEpss(value); return *this;}
105 inline Finding& WithEpss(EpssDetails&& value) { SetEpss(std::move(value)); return *this;}
107
109
112 inline const ExploitAvailable& GetExploitAvailable() const{ return m_exploitAvailable; }
113 inline bool ExploitAvailableHasBeenSet() const { return m_exploitAvailableHasBeenSet; }
114 inline void SetExploitAvailable(const ExploitAvailable& value) { m_exploitAvailableHasBeenSet = true; m_exploitAvailable = value; }
115 inline void SetExploitAvailable(ExploitAvailable&& value) { m_exploitAvailableHasBeenSet = true; m_exploitAvailable = std::move(value); }
116 inline Finding& WithExploitAvailable(const ExploitAvailable& value) { SetExploitAvailable(value); return *this;}
117 inline Finding& WithExploitAvailable(ExploitAvailable&& value) { SetExploitAvailable(std::move(value)); return *this;}
119
121
125 inline const ExploitabilityDetails& GetExploitabilityDetails() const{ return m_exploitabilityDetails; }
126 inline bool ExploitabilityDetailsHasBeenSet() const { return m_exploitabilityDetailsHasBeenSet; }
127 inline void SetExploitabilityDetails(const ExploitabilityDetails& value) { m_exploitabilityDetailsHasBeenSet = true; m_exploitabilityDetails = value; }
128 inline void SetExploitabilityDetails(ExploitabilityDetails&& value) { m_exploitabilityDetailsHasBeenSet = true; m_exploitabilityDetails = std::move(value); }
130 inline Finding& WithExploitabilityDetails(ExploitabilityDetails&& value) { SetExploitabilityDetails(std::move(value)); return *this;}
132
134
137 inline const Aws::String& GetFindingArn() const{ return m_findingArn; }
138 inline bool FindingArnHasBeenSet() const { return m_findingArnHasBeenSet; }
139 inline void SetFindingArn(const Aws::String& value) { m_findingArnHasBeenSet = true; m_findingArn = value; }
140 inline void SetFindingArn(Aws::String&& value) { m_findingArnHasBeenSet = true; m_findingArn = std::move(value); }
141 inline void SetFindingArn(const char* value) { m_findingArnHasBeenSet = true; m_findingArn.assign(value); }
142 inline Finding& WithFindingArn(const Aws::String& value) { SetFindingArn(value); return *this;}
143 inline Finding& WithFindingArn(Aws::String&& value) { SetFindingArn(std::move(value)); return *this;}
144 inline Finding& WithFindingArn(const char* value) { SetFindingArn(value); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetFirstObservedAt() const{ return m_firstObservedAt; }
152 inline bool FirstObservedAtHasBeenSet() const { return m_firstObservedAtHasBeenSet; }
153 inline void SetFirstObservedAt(const Aws::Utils::DateTime& value) { m_firstObservedAtHasBeenSet = true; m_firstObservedAt = value; }
154 inline void SetFirstObservedAt(Aws::Utils::DateTime&& value) { m_firstObservedAtHasBeenSet = true; m_firstObservedAt = std::move(value); }
155 inline Finding& WithFirstObservedAt(const Aws::Utils::DateTime& value) { SetFirstObservedAt(value); return *this;}
156 inline Finding& WithFirstObservedAt(Aws::Utils::DateTime&& value) { SetFirstObservedAt(std::move(value)); return *this;}
158
160
166 inline const FixAvailable& GetFixAvailable() const{ return m_fixAvailable; }
167 inline bool FixAvailableHasBeenSet() const { return m_fixAvailableHasBeenSet; }
168 inline void SetFixAvailable(const FixAvailable& value) { m_fixAvailableHasBeenSet = true; m_fixAvailable = value; }
169 inline void SetFixAvailable(FixAvailable&& value) { m_fixAvailableHasBeenSet = true; m_fixAvailable = std::move(value); }
170 inline Finding& WithFixAvailable(const FixAvailable& value) { SetFixAvailable(value); return *this;}
171 inline Finding& WithFixAvailable(FixAvailable&& value) { SetFixAvailable(std::move(value)); return *this;}
173
175
178 inline double GetInspectorScore() const{ return m_inspectorScore; }
179 inline bool InspectorScoreHasBeenSet() const { return m_inspectorScoreHasBeenSet; }
180 inline void SetInspectorScore(double value) { m_inspectorScoreHasBeenSet = true; m_inspectorScore = value; }
181 inline Finding& WithInspectorScore(double value) { SetInspectorScore(value); return *this;}
183
185
188 inline const InspectorScoreDetails& GetInspectorScoreDetails() const{ return m_inspectorScoreDetails; }
189 inline bool InspectorScoreDetailsHasBeenSet() const { return m_inspectorScoreDetailsHasBeenSet; }
190 inline void SetInspectorScoreDetails(const InspectorScoreDetails& value) { m_inspectorScoreDetailsHasBeenSet = true; m_inspectorScoreDetails = value; }
191 inline void SetInspectorScoreDetails(InspectorScoreDetails&& value) { m_inspectorScoreDetailsHasBeenSet = true; m_inspectorScoreDetails = std::move(value); }
193 inline Finding& WithInspectorScoreDetails(InspectorScoreDetails&& value) { SetInspectorScoreDetails(std::move(value)); return *this;}
195
197
201 inline const Aws::Utils::DateTime& GetLastObservedAt() const{ return m_lastObservedAt; }
202 inline bool LastObservedAtHasBeenSet() const { return m_lastObservedAtHasBeenSet; }
203 inline void SetLastObservedAt(const Aws::Utils::DateTime& value) { m_lastObservedAtHasBeenSet = true; m_lastObservedAt = value; }
204 inline void SetLastObservedAt(Aws::Utils::DateTime&& value) { m_lastObservedAtHasBeenSet = true; m_lastObservedAt = std::move(value); }
205 inline Finding& WithLastObservedAt(const Aws::Utils::DateTime& value) { SetLastObservedAt(value); return *this;}
206 inline Finding& WithLastObservedAt(Aws::Utils::DateTime&& value) { SetLastObservedAt(std::move(value)); return *this;}
208
210
213 inline const NetworkReachabilityDetails& GetNetworkReachabilityDetails() const{ return m_networkReachabilityDetails; }
214 inline bool NetworkReachabilityDetailsHasBeenSet() const { return m_networkReachabilityDetailsHasBeenSet; }
215 inline void SetNetworkReachabilityDetails(const NetworkReachabilityDetails& value) { m_networkReachabilityDetailsHasBeenSet = true; m_networkReachabilityDetails = value; }
216 inline void SetNetworkReachabilityDetails(NetworkReachabilityDetails&& value) { m_networkReachabilityDetailsHasBeenSet = true; m_networkReachabilityDetails = std::move(value); }
220
222
225 inline const PackageVulnerabilityDetails& GetPackageVulnerabilityDetails() const{ return m_packageVulnerabilityDetails; }
226 inline bool PackageVulnerabilityDetailsHasBeenSet() const { return m_packageVulnerabilityDetailsHasBeenSet; }
227 inline void SetPackageVulnerabilityDetails(const PackageVulnerabilityDetails& value) { m_packageVulnerabilityDetailsHasBeenSet = true; m_packageVulnerabilityDetails = value; }
228 inline void SetPackageVulnerabilityDetails(PackageVulnerabilityDetails&& value) { m_packageVulnerabilityDetailsHasBeenSet = true; m_packageVulnerabilityDetails = std::move(value); }
232
234
237 inline const Remediation& GetRemediation() const{ return m_remediation; }
238 inline bool RemediationHasBeenSet() const { return m_remediationHasBeenSet; }
239 inline void SetRemediation(const Remediation& value) { m_remediationHasBeenSet = true; m_remediation = value; }
240 inline void SetRemediation(Remediation&& value) { m_remediationHasBeenSet = true; m_remediation = std::move(value); }
241 inline Finding& WithRemediation(const Remediation& value) { SetRemediation(value); return *this;}
242 inline Finding& WithRemediation(Remediation&& value) { SetRemediation(std::move(value)); return *this;}
244
246
253 inline const Aws::Vector<Resource>& GetResources() const{ return m_resources; }
254 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
255 inline void SetResources(const Aws::Vector<Resource>& value) { m_resourcesHasBeenSet = true; m_resources = value; }
256 inline void SetResources(Aws::Vector<Resource>&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); }
257 inline Finding& WithResources(const Aws::Vector<Resource>& value) { SetResources(value); return *this;}
258 inline Finding& WithResources(Aws::Vector<Resource>&& value) { SetResources(std::move(value)); return *this;}
259 inline Finding& AddResources(const Resource& value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; }
260 inline Finding& AddResources(Resource&& value) { m_resourcesHasBeenSet = true; m_resources.push_back(std::move(value)); return *this; }
262
264
271 inline const Severity& GetSeverity() const{ return m_severity; }
272 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
273 inline void SetSeverity(const Severity& value) { m_severityHasBeenSet = true; m_severity = value; }
274 inline void SetSeverity(Severity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
275 inline Finding& WithSeverity(const Severity& value) { SetSeverity(value); return *this;}
276 inline Finding& WithSeverity(Severity&& value) { SetSeverity(std::move(value)); return *this;}
278
280
283 inline const FindingStatus& GetStatus() const{ return m_status; }
284 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
285 inline void SetStatus(const FindingStatus& value) { m_statusHasBeenSet = true; m_status = value; }
286 inline void SetStatus(FindingStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
287 inline Finding& WithStatus(const FindingStatus& value) { SetStatus(value); return *this;}
288 inline Finding& WithStatus(FindingStatus&& value) { SetStatus(std::move(value)); return *this;}
290
292
295 inline const Aws::String& GetTitle() const{ return m_title; }
296 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
297 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
298 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
299 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
300 inline Finding& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
301 inline Finding& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
302 inline Finding& WithTitle(const char* value) { SetTitle(value); return *this;}
304
306
312 inline const FindingType& GetType() const{ return m_type; }
313 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
314 inline void SetType(const FindingType& value) { m_typeHasBeenSet = true; m_type = value; }
315 inline void SetType(FindingType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
316 inline Finding& WithType(const FindingType& value) { SetType(value); return *this;}
317 inline Finding& WithType(FindingType&& value) { SetType(std::move(value)); return *this;}
319
321
324 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
325 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
326 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
327 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
328 inline Finding& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
329 inline Finding& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
331 private:
332
333 Aws::String m_awsAccountId;
334 bool m_awsAccountIdHasBeenSet = false;
335
336 CodeVulnerabilityDetails m_codeVulnerabilityDetails;
337 bool m_codeVulnerabilityDetailsHasBeenSet = false;
338
339 Aws::String m_description;
340 bool m_descriptionHasBeenSet = false;
341
342 EpssDetails m_epss;
343 bool m_epssHasBeenSet = false;
344
345 ExploitAvailable m_exploitAvailable;
346 bool m_exploitAvailableHasBeenSet = false;
347
348 ExploitabilityDetails m_exploitabilityDetails;
349 bool m_exploitabilityDetailsHasBeenSet = false;
350
351 Aws::String m_findingArn;
352 bool m_findingArnHasBeenSet = false;
353
354 Aws::Utils::DateTime m_firstObservedAt;
355 bool m_firstObservedAtHasBeenSet = false;
356
357 FixAvailable m_fixAvailable;
358 bool m_fixAvailableHasBeenSet = false;
359
360 double m_inspectorScore;
361 bool m_inspectorScoreHasBeenSet = false;
362
363 InspectorScoreDetails m_inspectorScoreDetails;
364 bool m_inspectorScoreDetailsHasBeenSet = false;
365
366 Aws::Utils::DateTime m_lastObservedAt;
367 bool m_lastObservedAtHasBeenSet = false;
368
369 NetworkReachabilityDetails m_networkReachabilityDetails;
370 bool m_networkReachabilityDetailsHasBeenSet = false;
371
372 PackageVulnerabilityDetails m_packageVulnerabilityDetails;
373 bool m_packageVulnerabilityDetailsHasBeenSet = false;
374
375 Remediation m_remediation;
376 bool m_remediationHasBeenSet = false;
377
378 Aws::Vector<Resource> m_resources;
379 bool m_resourcesHasBeenSet = false;
380
381 Severity m_severity;
382 bool m_severityHasBeenSet = false;
383
384 FindingStatus m_status;
385 bool m_statusHasBeenSet = false;
386
387 Aws::String m_title;
388 bool m_titleHasBeenSet = false;
389
390 FindingType m_type;
391 bool m_typeHasBeenSet = false;
392
393 Aws::Utils::DateTime m_updatedAt;
394 bool m_updatedAtHasBeenSet = false;
395 };
396
397} // namespace Model
398} // namespace Inspector2
399} // namespace Aws
void SetRemediation(Remediation &&value)
Definition Finding.h:240
Finding & WithAwsAccountId(const char *value)
Definition Finding.h:66
bool CodeVulnerabilityDetailsHasBeenSet() const
Definition Finding.h:75
bool DescriptionHasBeenSet() const
Definition Finding.h:87
const ExploitabilityDetails & GetExploitabilityDetails() const
Definition Finding.h:125
void SetStatus(FindingStatus &&value)
Definition Finding.h:286
const InspectorScoreDetails & GetInspectorScoreDetails() const
Definition Finding.h:188
void SetDescription(Aws::String &&value)
Definition Finding.h:89
const Aws::Utils::DateTime & GetLastObservedAt() const
Definition Finding.h:201
Finding & AddResources(const Resource &value)
Definition Finding.h:259
void SetAwsAccountId(Aws::String &&value)
Definition Finding.h:62
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Finding.h:326
void SetType(FindingType &&value)
Definition Finding.h:315
Finding & WithSeverity(const Severity &value)
Definition Finding.h:275
bool InspectorScoreDetailsHasBeenSet() const
Definition Finding.h:189
Finding & WithFixAvailable(FixAvailable &&value)
Definition Finding.h:171
Finding & WithRemediation(const Remediation &value)
Definition Finding.h:241
void SetExploitabilityDetails(const ExploitabilityDetails &value)
Definition Finding.h:127
Finding & WithStatus(FindingStatus &&value)
Definition Finding.h:288
void SetInspectorScoreDetails(const InspectorScoreDetails &value)
Definition Finding.h:190
Finding & WithFirstObservedAt(Aws::Utils::DateTime &&value)
Definition Finding.h:156
Finding & WithNetworkReachabilityDetails(const NetworkReachabilityDetails &value)
Definition Finding.h:217
void SetNetworkReachabilityDetails(NetworkReachabilityDetails &&value)
Definition Finding.h:216
const Aws::Utils::DateTime & GetFirstObservedAt() const
Definition Finding.h:151
const CodeVulnerabilityDetails & GetCodeVulnerabilityDetails() const
Definition Finding.h:74
Finding & WithType(const FindingType &value)
Definition Finding.h:316
const Severity & GetSeverity() const
Definition Finding.h:271
const ExploitAvailable & GetExploitAvailable() const
Definition Finding.h:112
Finding & WithExploitAvailable(const ExploitAvailable &value)
Definition Finding.h:116
Finding & WithTitle(const char *value)
Definition Finding.h:302
bool NetworkReachabilityDetailsHasBeenSet() const
Definition Finding.h:214
Finding & WithTitle(Aws::String &&value)
Definition Finding.h:301
void SetRemediation(const Remediation &value)
Definition Finding.h:239
void SetSeverity(Severity &&value)
Definition Finding.h:274
Finding & WithFixAvailable(const FixAvailable &value)
Definition Finding.h:170
Finding & WithSeverity(Severity &&value)
Definition Finding.h:276
bool ExploitabilityDetailsHasBeenSet() const
Definition Finding.h:126
Finding & WithEpss(EpssDetails &&value)
Definition Finding.h:105
Finding & WithFirstObservedAt(const Aws::Utils::DateTime &value)
Definition Finding.h:155
void SetEpss(EpssDetails &&value)
Definition Finding.h:103
Finding & AddResources(Resource &&value)
Definition Finding.h:260
void SetTitle(const Aws::String &value)
Definition Finding.h:297
double GetInspectorScore() const
Definition Finding.h:178
Finding & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Finding.h:328
Finding & WithAwsAccountId(Aws::String &&value)
Definition Finding.h:65
Finding & WithCodeVulnerabilityDetails(const CodeVulnerabilityDetails &value)
Definition Finding.h:78
Finding & WithEpss(const EpssDetails &value)
Definition Finding.h:104
void SetAwsAccountId(const Aws::String &value)
Definition Finding.h:61
Finding & WithRemediation(Remediation &&value)
Definition Finding.h:242
void SetFixAvailable(const FixAvailable &value)
Definition Finding.h:168
void SetTitle(const char *value)
Definition Finding.h:299
bool FirstObservedAtHasBeenSet() const
Definition Finding.h:152
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Finding.h:324
void SetExploitAvailable(ExploitAvailable &&value)
Definition Finding.h:115
AWS_INSPECTOR2_API Finding(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
Definition Finding.h:86
void SetType(const FindingType &value)
Definition Finding.h:314
bool LastObservedAtHasBeenSet() const
Definition Finding.h:202
Finding & WithResources(const Aws::Vector< Resource > &value)
Definition Finding.h:257
void SetAwsAccountId(const char *value)
Definition Finding.h:63
const FindingType & GetType() const
Definition Finding.h:312
bool RemediationHasBeenSet() const
Definition Finding.h:238
bool AwsAccountIdHasBeenSet() const
Definition Finding.h:60
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTitle(Aws::String &&value)
Definition Finding.h:298
Finding & WithExploitabilityDetails(ExploitabilityDetails &&value)
Definition Finding.h:130
void SetFindingArn(Aws::String &&value)
Definition Finding.h:140
Finding & WithInspectorScore(double value)
Definition Finding.h:181
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Finding.h:327
void SetSeverity(const Severity &value)
Definition Finding.h:273
void SetFindingArn(const Aws::String &value)
Definition Finding.h:139
Finding & WithLastObservedAt(Aws::Utils::DateTime &&value)
Definition Finding.h:206
Finding & WithStatus(const FindingStatus &value)
Definition Finding.h:287
void SetDescription(const Aws::String &value)
Definition Finding.h:88
Finding & WithType(FindingType &&value)
Definition Finding.h:317
Finding & WithDescription(const Aws::String &value)
Definition Finding.h:91
Finding & WithAwsAccountId(const Aws::String &value)
Definition Finding.h:64
void SetFindingArn(const char *value)
Definition Finding.h:141
Finding & WithInspectorScoreDetails(const InspectorScoreDetails &value)
Definition Finding.h:192
Finding & WithFindingArn(const char *value)
Definition Finding.h:144
Finding & WithPackageVulnerabilityDetails(const PackageVulnerabilityDetails &value)
Definition Finding.h:229
void SetFixAvailable(FixAvailable &&value)
Definition Finding.h:169
const FixAvailable & GetFixAvailable() const
Definition Finding.h:166
void SetEpss(const EpssDetails &value)
Definition Finding.h:102
AWS_INSPECTOR2_API Finding()
Finding & WithExploitabilityDetails(const ExploitabilityDetails &value)
Definition Finding.h:129
Finding & WithFindingArn(Aws::String &&value)
Definition Finding.h:143
void SetStatus(const FindingStatus &value)
Definition Finding.h:285
void SetResources(Aws::Vector< Resource > &&value)
Definition Finding.h:256
bool ExploitAvailableHasBeenSet() const
Definition Finding.h:113
void SetDescription(const char *value)
Definition Finding.h:90
AWS_INSPECTOR2_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
const FindingStatus & GetStatus() const
Definition Finding.h:283
Finding & WithExploitAvailable(ExploitAvailable &&value)
Definition Finding.h:117
void SetExploitAvailable(const ExploitAvailable &value)
Definition Finding.h:114
void SetCodeVulnerabilityDetails(CodeVulnerabilityDetails &&value)
Definition Finding.h:77
Finding & WithLastObservedAt(const Aws::Utils::DateTime &value)
Definition Finding.h:205
const Aws::String & GetFindingArn() const
Definition Finding.h:137
Finding & WithDescription(const char *value)
Definition Finding.h:93
const Aws::String & GetAwsAccountId() const
Definition Finding.h:59
Finding & WithInspectorScoreDetails(InspectorScoreDetails &&value)
Definition Finding.h:193
void SetCodeVulnerabilityDetails(const CodeVulnerabilityDetails &value)
Definition Finding.h:76
void SetNetworkReachabilityDetails(const NetworkReachabilityDetails &value)
Definition Finding.h:215
Finding & WithDescription(Aws::String &&value)
Definition Finding.h:92
const Remediation & GetRemediation() const
Definition Finding.h:237
bool FixAvailableHasBeenSet() const
Definition Finding.h:167
Finding & WithCodeVulnerabilityDetails(CodeVulnerabilityDetails &&value)
Definition Finding.h:79
Finding & WithResources(Aws::Vector< Resource > &&value)
Definition Finding.h:258
bool FindingArnHasBeenSet() const
Definition Finding.h:138
void SetFirstObservedAt(Aws::Utils::DateTime &&value)
Definition Finding.h:154
void SetLastObservedAt(Aws::Utils::DateTime &&value)
Definition Finding.h:204
void SetExploitabilityDetails(ExploitabilityDetails &&value)
Definition Finding.h:128
void SetInspectorScore(double value)
Definition Finding.h:180
void SetFirstObservedAt(const Aws::Utils::DateTime &value)
Definition Finding.h:153
bool InspectorScoreHasBeenSet() const
Definition Finding.h:179
void SetPackageVulnerabilityDetails(const PackageVulnerabilityDetails &value)
Definition Finding.h:227
void SetResources(const Aws::Vector< Resource > &value)
Definition Finding.h:255
Finding & WithPackageVulnerabilityDetails(PackageVulnerabilityDetails &&value)
Definition Finding.h:230
void SetInspectorScoreDetails(InspectorScoreDetails &&value)
Definition Finding.h:191
const Aws::Vector< Resource > & GetResources() const
Definition Finding.h:253
const PackageVulnerabilityDetails & GetPackageVulnerabilityDetails() const
Definition Finding.h:225
Finding & WithNetworkReachabilityDetails(NetworkReachabilityDetails &&value)
Definition Finding.h:218
const NetworkReachabilityDetails & GetNetworkReachabilityDetails() const
Definition Finding.h:213
Finding & WithFindingArn(const Aws::String &value)
Definition Finding.h:142
Finding & WithTitle(const Aws::String &value)
Definition Finding.h:300
void SetPackageVulnerabilityDetails(PackageVulnerabilityDetails &&value)
Definition Finding.h:228
const Aws::String & GetTitle() const
Definition Finding.h:295
bool PackageVulnerabilityDetailsHasBeenSet() const
Definition Finding.h:226
void SetLastObservedAt(const Aws::Utils::DateTime &value)
Definition Finding.h:203
Finding & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Finding.h:329
const EpssDetails & GetEpss() const
Definition Finding.h:100
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue