AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsSecurityFinding.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/Severity.h>
11#include <aws/securityhub/model/Remediation.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/securityhub/model/Network.h>
14#include <aws/securityhub/model/ProcessDetails.h>
15#include <aws/securityhub/model/Compliance.h>
16#include <aws/securityhub/model/VerificationState.h>
17#include <aws/securityhub/model/WorkflowState.h>
18#include <aws/securityhub/model/Workflow.h>
19#include <aws/securityhub/model/RecordState.h>
20#include <aws/securityhub/model/Note.h>
21#include <aws/securityhub/model/PatchSummary.h>
22#include <aws/securityhub/model/Action.h>
23#include <aws/securityhub/model/FindingProviderFields.h>
24#include <aws/securityhub/model/GeneratorDetails.h>
25#include <aws/securityhub/model/Malware.h>
26#include <aws/securityhub/model/NetworkPathComponent.h>
27#include <aws/securityhub/model/Threat.h>
28#include <aws/securityhub/model/ThreatIntelIndicator.h>
29#include <aws/securityhub/model/Resource.h>
30#include <aws/securityhub/model/RelatedFinding.h>
31#include <aws/securityhub/model/Vulnerability.h>
32#include <utility>
33
34namespace Aws
35{
36namespace Utils
37{
38namespace Json
39{
40 class JsonValue;
41 class JsonView;
42} // namespace Json
43} // namespace Utils
44namespace SecurityHub
45{
46namespace Model
47{
48
60 {
61 public:
62 AWS_SECURITYHUB_API AwsSecurityFinding();
63 AWS_SECURITYHUB_API AwsSecurityFinding(Aws::Utils::Json::JsonView jsonValue);
65 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
66
67
69
73 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
74 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
75 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
76 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
77 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
78 inline AwsSecurityFinding& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
79 inline AwsSecurityFinding& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
80 inline AwsSecurityFinding& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
82
84
88 inline const Aws::String& GetId() const{ return m_id; }
89 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
90 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
91 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
92 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
93 inline AwsSecurityFinding& WithId(const Aws::String& value) { SetId(value); return *this;}
94 inline AwsSecurityFinding& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
95 inline AwsSecurityFinding& WithId(const char* value) { SetId(value); return *this;}
97
99
105 inline const Aws::String& GetProductArn() const{ return m_productArn; }
106 inline bool ProductArnHasBeenSet() const { return m_productArnHasBeenSet; }
107 inline void SetProductArn(const Aws::String& value) { m_productArnHasBeenSet = true; m_productArn = value; }
108 inline void SetProductArn(Aws::String&& value) { m_productArnHasBeenSet = true; m_productArn = std::move(value); }
109 inline void SetProductArn(const char* value) { m_productArnHasBeenSet = true; m_productArn.assign(value); }
110 inline AwsSecurityFinding& WithProductArn(const Aws::String& value) { SetProductArn(value); return *this;}
111 inline AwsSecurityFinding& WithProductArn(Aws::String&& value) { SetProductArn(std::move(value)); return *this;}
112 inline AwsSecurityFinding& WithProductArn(const char* value) { SetProductArn(value); return *this;}
114
116
125 inline const Aws::String& GetProductName() const{ return m_productName; }
126 inline bool ProductNameHasBeenSet() const { return m_productNameHasBeenSet; }
127 inline void SetProductName(const Aws::String& value) { m_productNameHasBeenSet = true; m_productName = value; }
128 inline void SetProductName(Aws::String&& value) { m_productNameHasBeenSet = true; m_productName = std::move(value); }
129 inline void SetProductName(const char* value) { m_productNameHasBeenSet = true; m_productName.assign(value); }
130 inline AwsSecurityFinding& WithProductName(const Aws::String& value) { SetProductName(value); return *this;}
131 inline AwsSecurityFinding& WithProductName(Aws::String&& value) { SetProductName(std::move(value)); return *this;}
132 inline AwsSecurityFinding& WithProductName(const char* value) { SetProductName(value); return *this;}
134
136
145 inline const Aws::String& GetCompanyName() const{ return m_companyName; }
146 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
147 inline void SetCompanyName(const Aws::String& value) { m_companyNameHasBeenSet = true; m_companyName = value; }
148 inline void SetCompanyName(Aws::String&& value) { m_companyNameHasBeenSet = true; m_companyName = std::move(value); }
149 inline void SetCompanyName(const char* value) { m_companyNameHasBeenSet = true; m_companyName.assign(value); }
150 inline AwsSecurityFinding& WithCompanyName(const Aws::String& value) { SetCompanyName(value); return *this;}
151 inline AwsSecurityFinding& WithCompanyName(Aws::String&& value) { SetCompanyName(std::move(value)); return *this;}
152 inline AwsSecurityFinding& WithCompanyName(const char* value) { SetCompanyName(value); return *this;}
154
156
162 inline const Aws::String& GetRegion() const{ return m_region; }
163 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
164 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
165 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
166 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
167 inline AwsSecurityFinding& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
168 inline AwsSecurityFinding& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
169 inline AwsSecurityFinding& WithRegion(const char* value) { SetRegion(value); return *this;}
171
173
179 inline const Aws::String& GetGeneratorId() const{ return m_generatorId; }
180 inline bool GeneratorIdHasBeenSet() const { return m_generatorIdHasBeenSet; }
181 inline void SetGeneratorId(const Aws::String& value) { m_generatorIdHasBeenSet = true; m_generatorId = value; }
182 inline void SetGeneratorId(Aws::String&& value) { m_generatorIdHasBeenSet = true; m_generatorId = std::move(value); }
183 inline void SetGeneratorId(const char* value) { m_generatorIdHasBeenSet = true; m_generatorId.assign(value); }
184 inline AwsSecurityFinding& WithGeneratorId(const Aws::String& value) { SetGeneratorId(value); return *this;}
185 inline AwsSecurityFinding& WithGeneratorId(Aws::String&& value) { SetGeneratorId(std::move(value)); return *this;}
186 inline AwsSecurityFinding& WithGeneratorId(const char* value) { SetGeneratorId(value); return *this;}
188
190
194 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
195 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
196 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
197 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
198 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
199 inline AwsSecurityFinding& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
200 inline AwsSecurityFinding& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
201 inline AwsSecurityFinding& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
203
205
212 inline const Aws::Vector<Aws::String>& GetTypes() const{ return m_types; }
213 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
214 inline void SetTypes(const Aws::Vector<Aws::String>& value) { m_typesHasBeenSet = true; m_types = value; }
215 inline void SetTypes(Aws::Vector<Aws::String>&& value) { m_typesHasBeenSet = true; m_types = std::move(value); }
216 inline AwsSecurityFinding& WithTypes(const Aws::Vector<Aws::String>& value) { SetTypes(value); return *this;}
217 inline AwsSecurityFinding& WithTypes(Aws::Vector<Aws::String>&& value) { SetTypes(std::move(value)); return *this;}
218 inline AwsSecurityFinding& AddTypes(const Aws::String& value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
219 inline AwsSecurityFinding& AddTypes(Aws::String&& value) { m_typesHasBeenSet = true; m_types.push_back(std::move(value)); return *this; }
220 inline AwsSecurityFinding& AddTypes(const char* value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
222
224
242 inline const Aws::String& GetFirstObservedAt() const{ return m_firstObservedAt; }
243 inline bool FirstObservedAtHasBeenSet() const { return m_firstObservedAtHasBeenSet; }
244 inline void SetFirstObservedAt(const Aws::String& value) { m_firstObservedAtHasBeenSet = true; m_firstObservedAt = value; }
245 inline void SetFirstObservedAt(Aws::String&& value) { m_firstObservedAtHasBeenSet = true; m_firstObservedAt = std::move(value); }
246 inline void SetFirstObservedAt(const char* value) { m_firstObservedAtHasBeenSet = true; m_firstObservedAt.assign(value); }
247 inline AwsSecurityFinding& WithFirstObservedAt(const Aws::String& value) { SetFirstObservedAt(value); return *this;}
248 inline AwsSecurityFinding& WithFirstObservedAt(Aws::String&& value) { SetFirstObservedAt(std::move(value)); return *this;}
249 inline AwsSecurityFinding& WithFirstObservedAt(const char* value) { SetFirstObservedAt(value); return *this;}
251
253
271 inline const Aws::String& GetLastObservedAt() const{ return m_lastObservedAt; }
272 inline bool LastObservedAtHasBeenSet() const { return m_lastObservedAtHasBeenSet; }
273 inline void SetLastObservedAt(const Aws::String& value) { m_lastObservedAtHasBeenSet = true; m_lastObservedAt = value; }
274 inline void SetLastObservedAt(Aws::String&& value) { m_lastObservedAtHasBeenSet = true; m_lastObservedAt = std::move(value); }
275 inline void SetLastObservedAt(const char* value) { m_lastObservedAtHasBeenSet = true; m_lastObservedAt.assign(value); }
276 inline AwsSecurityFinding& WithLastObservedAt(const Aws::String& value) { SetLastObservedAt(value); return *this;}
277 inline AwsSecurityFinding& WithLastObservedAt(Aws::String&& value) { SetLastObservedAt(std::move(value)); return *this;}
278 inline AwsSecurityFinding& WithLastObservedAt(const char* value) { SetLastObservedAt(value); return *this;}
280
282
299 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
300 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
301 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
302 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
303 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
304 inline AwsSecurityFinding& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
305 inline AwsSecurityFinding& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
306 inline AwsSecurityFinding& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
308
310
327 inline const Aws::String& GetUpdatedAt() const{ return m_updatedAt; }
328 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
329 inline void SetUpdatedAt(const Aws::String& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
330 inline void SetUpdatedAt(Aws::String&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
331 inline void SetUpdatedAt(const char* value) { m_updatedAtHasBeenSet = true; m_updatedAt.assign(value); }
332 inline AwsSecurityFinding& WithUpdatedAt(const Aws::String& value) { SetUpdatedAt(value); return *this;}
333 inline AwsSecurityFinding& WithUpdatedAt(Aws::String&& value) { SetUpdatedAt(std::move(value)); return *this;}
334 inline AwsSecurityFinding& WithUpdatedAt(const char* value) { SetUpdatedAt(value); return *this;}
336
338
341 inline const Severity& GetSeverity() const{ return m_severity; }
342 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
343 inline void SetSeverity(const Severity& value) { m_severityHasBeenSet = true; m_severity = value; }
344 inline void SetSeverity(Severity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
345 inline AwsSecurityFinding& WithSeverity(const Severity& value) { SetSeverity(value); return *this;}
346 inline AwsSecurityFinding& WithSeverity(Severity&& value) { SetSeverity(std::move(value)); return *this;}
348
350
356 inline int GetConfidence() const{ return m_confidence; }
357 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
358 inline void SetConfidence(int value) { m_confidenceHasBeenSet = true; m_confidence = value; }
359 inline AwsSecurityFinding& WithConfidence(int value) { SetConfidence(value); return *this;}
361
363
368 inline int GetCriticality() const{ return m_criticality; }
369 inline bool CriticalityHasBeenSet() const { return m_criticalityHasBeenSet; }
370 inline void SetCriticality(int value) { m_criticalityHasBeenSet = true; m_criticality = value; }
371 inline AwsSecurityFinding& WithCriticality(int value) { SetCriticality(value); return *this;}
373
375
379 inline const Aws::String& GetTitle() const{ return m_title; }
380 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
381 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
382 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
383 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
384 inline AwsSecurityFinding& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
385 inline AwsSecurityFinding& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
386 inline AwsSecurityFinding& WithTitle(const char* value) { SetTitle(value); return *this;}
388
390
394 inline const Aws::String& GetDescription() const{ return m_description; }
395 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
396 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
397 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
398 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
399 inline AwsSecurityFinding& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
400 inline AwsSecurityFinding& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
401 inline AwsSecurityFinding& WithDescription(const char* value) { SetDescription(value); return *this;}
403
405
408 inline const Remediation& GetRemediation() const{ return m_remediation; }
409 inline bool RemediationHasBeenSet() const { return m_remediationHasBeenSet; }
410 inline void SetRemediation(const Remediation& value) { m_remediationHasBeenSet = true; m_remediation = value; }
411 inline void SetRemediation(Remediation&& value) { m_remediationHasBeenSet = true; m_remediation = std::move(value); }
412 inline AwsSecurityFinding& WithRemediation(const Remediation& value) { SetRemediation(value); return *this;}
413 inline AwsSecurityFinding& WithRemediation(Remediation&& value) { SetRemediation(std::move(value)); return *this;}
415
417
421 inline const Aws::String& GetSourceUrl() const{ return m_sourceUrl; }
422 inline bool SourceUrlHasBeenSet() const { return m_sourceUrlHasBeenSet; }
423 inline void SetSourceUrl(const Aws::String& value) { m_sourceUrlHasBeenSet = true; m_sourceUrl = value; }
424 inline void SetSourceUrl(Aws::String&& value) { m_sourceUrlHasBeenSet = true; m_sourceUrl = std::move(value); }
425 inline void SetSourceUrl(const char* value) { m_sourceUrlHasBeenSet = true; m_sourceUrl.assign(value); }
426 inline AwsSecurityFinding& WithSourceUrl(const Aws::String& value) { SetSourceUrl(value); return *this;}
427 inline AwsSecurityFinding& WithSourceUrl(Aws::String&& value) { SetSourceUrl(std::move(value)); return *this;}
428 inline AwsSecurityFinding& WithSourceUrl(const char* value) { SetSourceUrl(value); return *this;}
430
432
439 inline const Aws::Map<Aws::String, Aws::String>& GetProductFields() const{ return m_productFields; }
440 inline bool ProductFieldsHasBeenSet() const { return m_productFieldsHasBeenSet; }
441 inline void SetProductFields(const Aws::Map<Aws::String, Aws::String>& value) { m_productFieldsHasBeenSet = true; m_productFields = value; }
442 inline void SetProductFields(Aws::Map<Aws::String, Aws::String>&& value) { m_productFieldsHasBeenSet = true; m_productFields = std::move(value); }
445 inline AwsSecurityFinding& AddProductFields(const Aws::String& key, const Aws::String& value) { m_productFieldsHasBeenSet = true; m_productFields.emplace(key, value); return *this; }
446 inline AwsSecurityFinding& AddProductFields(Aws::String&& key, const Aws::String& value) { m_productFieldsHasBeenSet = true; m_productFields.emplace(std::move(key), value); return *this; }
447 inline AwsSecurityFinding& AddProductFields(const Aws::String& key, Aws::String&& value) { m_productFieldsHasBeenSet = true; m_productFields.emplace(key, std::move(value)); return *this; }
448 inline AwsSecurityFinding& AddProductFields(Aws::String&& key, Aws::String&& value) { m_productFieldsHasBeenSet = true; m_productFields.emplace(std::move(key), std::move(value)); return *this; }
449 inline AwsSecurityFinding& AddProductFields(const char* key, Aws::String&& value) { m_productFieldsHasBeenSet = true; m_productFields.emplace(key, std::move(value)); return *this; }
450 inline AwsSecurityFinding& AddProductFields(Aws::String&& key, const char* value) { m_productFieldsHasBeenSet = true; m_productFields.emplace(std::move(key), value); return *this; }
451 inline AwsSecurityFinding& AddProductFields(const char* key, const char* value) { m_productFieldsHasBeenSet = true; m_productFields.emplace(key, value); return *this; }
453
455
461 inline const Aws::Map<Aws::String, Aws::String>& GetUserDefinedFields() const{ return m_userDefinedFields; }
462 inline bool UserDefinedFieldsHasBeenSet() const { return m_userDefinedFieldsHasBeenSet; }
463 inline void SetUserDefinedFields(const Aws::Map<Aws::String, Aws::String>& value) { m_userDefinedFieldsHasBeenSet = true; m_userDefinedFields = value; }
464 inline void SetUserDefinedFields(Aws::Map<Aws::String, Aws::String>&& value) { m_userDefinedFieldsHasBeenSet = true; m_userDefinedFields = std::move(value); }
467 inline AwsSecurityFinding& AddUserDefinedFields(const Aws::String& key, const Aws::String& value) { m_userDefinedFieldsHasBeenSet = true; m_userDefinedFields.emplace(key, value); return *this; }
468 inline AwsSecurityFinding& AddUserDefinedFields(Aws::String&& key, const Aws::String& value) { m_userDefinedFieldsHasBeenSet = true; m_userDefinedFields.emplace(std::move(key), value); return *this; }
469 inline AwsSecurityFinding& AddUserDefinedFields(const Aws::String& key, Aws::String&& value) { m_userDefinedFieldsHasBeenSet = true; m_userDefinedFields.emplace(key, std::move(value)); return *this; }
470 inline AwsSecurityFinding& AddUserDefinedFields(Aws::String&& key, Aws::String&& value) { m_userDefinedFieldsHasBeenSet = true; m_userDefinedFields.emplace(std::move(key), std::move(value)); return *this; }
471 inline AwsSecurityFinding& AddUserDefinedFields(const char* key, Aws::String&& value) { m_userDefinedFieldsHasBeenSet = true; m_userDefinedFields.emplace(key, std::move(value)); return *this; }
472 inline AwsSecurityFinding& AddUserDefinedFields(Aws::String&& key, const char* value) { m_userDefinedFieldsHasBeenSet = true; m_userDefinedFields.emplace(std::move(key), value); return *this; }
473 inline AwsSecurityFinding& AddUserDefinedFields(const char* key, const char* value) { m_userDefinedFieldsHasBeenSet = true; m_userDefinedFields.emplace(key, value); return *this; }
475
477
481 inline const Aws::Vector<Malware>& GetMalware() const{ return m_malware; }
482 inline bool MalwareHasBeenSet() const { return m_malwareHasBeenSet; }
483 inline void SetMalware(const Aws::Vector<Malware>& value) { m_malwareHasBeenSet = true; m_malware = value; }
484 inline void SetMalware(Aws::Vector<Malware>&& value) { m_malwareHasBeenSet = true; m_malware = std::move(value); }
485 inline AwsSecurityFinding& WithMalware(const Aws::Vector<Malware>& value) { SetMalware(value); return *this;}
486 inline AwsSecurityFinding& WithMalware(Aws::Vector<Malware>&& value) { SetMalware(std::move(value)); return *this;}
487 inline AwsSecurityFinding& AddMalware(const Malware& value) { m_malwareHasBeenSet = true; m_malware.push_back(value); return *this; }
488 inline AwsSecurityFinding& AddMalware(Malware&& value) { m_malwareHasBeenSet = true; m_malware.push_back(std::move(value)); return *this; }
490
492
495 inline const Network& GetNetwork() const{ return m_network; }
496 inline bool NetworkHasBeenSet() const { return m_networkHasBeenSet; }
497 inline void SetNetwork(const Network& value) { m_networkHasBeenSet = true; m_network = value; }
498 inline void SetNetwork(Network&& value) { m_networkHasBeenSet = true; m_network = std::move(value); }
499 inline AwsSecurityFinding& WithNetwork(const Network& value) { SetNetwork(value); return *this;}
500 inline AwsSecurityFinding& WithNetwork(Network&& value) { SetNetwork(std::move(value)); return *this;}
502
504
508 inline const Aws::Vector<NetworkPathComponent>& GetNetworkPath() const{ return m_networkPath; }
509 inline bool NetworkPathHasBeenSet() const { return m_networkPathHasBeenSet; }
510 inline void SetNetworkPath(const Aws::Vector<NetworkPathComponent>& value) { m_networkPathHasBeenSet = true; m_networkPath = value; }
511 inline void SetNetworkPath(Aws::Vector<NetworkPathComponent>&& value) { m_networkPathHasBeenSet = true; m_networkPath = std::move(value); }
513 inline AwsSecurityFinding& WithNetworkPath(Aws::Vector<NetworkPathComponent>&& value) { SetNetworkPath(std::move(value)); return *this;}
514 inline AwsSecurityFinding& AddNetworkPath(const NetworkPathComponent& value) { m_networkPathHasBeenSet = true; m_networkPath.push_back(value); return *this; }
515 inline AwsSecurityFinding& AddNetworkPath(NetworkPathComponent&& value) { m_networkPathHasBeenSet = true; m_networkPath.push_back(std::move(value)); return *this; }
517
519
522 inline const ProcessDetails& GetProcess() const{ return m_process; }
523 inline bool ProcessHasBeenSet() const { return m_processHasBeenSet; }
524 inline void SetProcess(const ProcessDetails& value) { m_processHasBeenSet = true; m_process = value; }
525 inline void SetProcess(ProcessDetails&& value) { m_processHasBeenSet = true; m_process = std::move(value); }
526 inline AwsSecurityFinding& WithProcess(const ProcessDetails& value) { SetProcess(value); return *this;}
527 inline AwsSecurityFinding& WithProcess(ProcessDetails&& value) { SetProcess(std::move(value)); return *this;}
529
531
536 inline const Aws::Vector<Threat>& GetThreats() const{ return m_threats; }
537 inline bool ThreatsHasBeenSet() const { return m_threatsHasBeenSet; }
538 inline void SetThreats(const Aws::Vector<Threat>& value) { m_threatsHasBeenSet = true; m_threats = value; }
539 inline void SetThreats(Aws::Vector<Threat>&& value) { m_threatsHasBeenSet = true; m_threats = std::move(value); }
540 inline AwsSecurityFinding& WithThreats(const Aws::Vector<Threat>& value) { SetThreats(value); return *this;}
541 inline AwsSecurityFinding& WithThreats(Aws::Vector<Threat>&& value) { SetThreats(std::move(value)); return *this;}
542 inline AwsSecurityFinding& AddThreats(const Threat& value) { m_threatsHasBeenSet = true; m_threats.push_back(value); return *this; }
543 inline AwsSecurityFinding& AddThreats(Threat&& value) { m_threatsHasBeenSet = true; m_threats.push_back(std::move(value)); return *this; }
545
547
551 inline const Aws::Vector<ThreatIntelIndicator>& GetThreatIntelIndicators() const{ return m_threatIntelIndicators; }
552 inline bool ThreatIntelIndicatorsHasBeenSet() const { return m_threatIntelIndicatorsHasBeenSet; }
553 inline void SetThreatIntelIndicators(const Aws::Vector<ThreatIntelIndicator>& value) { m_threatIntelIndicatorsHasBeenSet = true; m_threatIntelIndicators = value; }
554 inline void SetThreatIntelIndicators(Aws::Vector<ThreatIntelIndicator>&& value) { m_threatIntelIndicatorsHasBeenSet = true; m_threatIntelIndicators = std::move(value); }
557 inline AwsSecurityFinding& AddThreatIntelIndicators(const ThreatIntelIndicator& value) { m_threatIntelIndicatorsHasBeenSet = true; m_threatIntelIndicators.push_back(value); return *this; }
558 inline AwsSecurityFinding& AddThreatIntelIndicators(ThreatIntelIndicator&& value) { m_threatIntelIndicatorsHasBeenSet = true; m_threatIntelIndicators.push_back(std::move(value)); return *this; }
560
562
567 inline const Aws::Vector<Resource>& GetResources() const{ return m_resources; }
568 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
569 inline void SetResources(const Aws::Vector<Resource>& value) { m_resourcesHasBeenSet = true; m_resources = value; }
570 inline void SetResources(Aws::Vector<Resource>&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); }
571 inline AwsSecurityFinding& WithResources(const Aws::Vector<Resource>& value) { SetResources(value); return *this;}
572 inline AwsSecurityFinding& WithResources(Aws::Vector<Resource>&& value) { SetResources(std::move(value)); return *this;}
573 inline AwsSecurityFinding& AddResources(const Resource& value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; }
574 inline AwsSecurityFinding& AddResources(Resource&& value) { m_resourcesHasBeenSet = true; m_resources.push_back(std::move(value)); return *this; }
576
578
584 inline const Compliance& GetCompliance() const{ return m_compliance; }
585 inline bool ComplianceHasBeenSet() const { return m_complianceHasBeenSet; }
586 inline void SetCompliance(const Compliance& value) { m_complianceHasBeenSet = true; m_compliance = value; }
587 inline void SetCompliance(Compliance&& value) { m_complianceHasBeenSet = true; m_compliance = std::move(value); }
588 inline AwsSecurityFinding& WithCompliance(const Compliance& value) { SetCompliance(value); return *this;}
589 inline AwsSecurityFinding& WithCompliance(Compliance&& value) { SetCompliance(std::move(value)); return *this;}
591
593
596 inline const VerificationState& GetVerificationState() const{ return m_verificationState; }
597 inline bool VerificationStateHasBeenSet() const { return m_verificationStateHasBeenSet; }
598 inline void SetVerificationState(const VerificationState& value) { m_verificationStateHasBeenSet = true; m_verificationState = value; }
599 inline void SetVerificationState(VerificationState&& value) { m_verificationStateHasBeenSet = true; m_verificationState = std::move(value); }
601 inline AwsSecurityFinding& WithVerificationState(VerificationState&& value) { SetVerificationState(std::move(value)); return *this;}
603
605
608 inline const WorkflowState& GetWorkflowState() const{ return m_workflowState; }
609 inline bool WorkflowStateHasBeenSet() const { return m_workflowStateHasBeenSet; }
610 inline void SetWorkflowState(const WorkflowState& value) { m_workflowStateHasBeenSet = true; m_workflowState = value; }
611 inline void SetWorkflowState(WorkflowState&& value) { m_workflowStateHasBeenSet = true; m_workflowState = std::move(value); }
612 inline AwsSecurityFinding& WithWorkflowState(const WorkflowState& value) { SetWorkflowState(value); return *this;}
613 inline AwsSecurityFinding& WithWorkflowState(WorkflowState&& value) { SetWorkflowState(std::move(value)); return *this;}
615
617
621 inline const Workflow& GetWorkflow() const{ return m_workflow; }
622 inline bool WorkflowHasBeenSet() const { return m_workflowHasBeenSet; }
623 inline void SetWorkflow(const Workflow& value) { m_workflowHasBeenSet = true; m_workflow = value; }
624 inline void SetWorkflow(Workflow&& value) { m_workflowHasBeenSet = true; m_workflow = std::move(value); }
625 inline AwsSecurityFinding& WithWorkflow(const Workflow& value) { SetWorkflow(value); return *this;}
626 inline AwsSecurityFinding& WithWorkflow(Workflow&& value) { SetWorkflow(std::move(value)); return *this;}
628
630
633 inline const RecordState& GetRecordState() const{ return m_recordState; }
634 inline bool RecordStateHasBeenSet() const { return m_recordStateHasBeenSet; }
635 inline void SetRecordState(const RecordState& value) { m_recordStateHasBeenSet = true; m_recordState = value; }
636 inline void SetRecordState(RecordState&& value) { m_recordStateHasBeenSet = true; m_recordState = std::move(value); }
637 inline AwsSecurityFinding& WithRecordState(const RecordState& value) { SetRecordState(value); return *this;}
638 inline AwsSecurityFinding& WithRecordState(RecordState&& value) { SetRecordState(std::move(value)); return *this;}
640
642
646 inline const Aws::Vector<RelatedFinding>& GetRelatedFindings() const{ return m_relatedFindings; }
647 inline bool RelatedFindingsHasBeenSet() const { return m_relatedFindingsHasBeenSet; }
648 inline void SetRelatedFindings(const Aws::Vector<RelatedFinding>& value) { m_relatedFindingsHasBeenSet = true; m_relatedFindings = value; }
649 inline void SetRelatedFindings(Aws::Vector<RelatedFinding>&& value) { m_relatedFindingsHasBeenSet = true; m_relatedFindings = std::move(value); }
652 inline AwsSecurityFinding& AddRelatedFindings(const RelatedFinding& value) { m_relatedFindingsHasBeenSet = true; m_relatedFindings.push_back(value); return *this; }
653 inline AwsSecurityFinding& AddRelatedFindings(RelatedFinding&& value) { m_relatedFindingsHasBeenSet = true; m_relatedFindings.push_back(std::move(value)); return *this; }
655
657
660 inline const Note& GetNote() const{ return m_note; }
661 inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; }
662 inline void SetNote(const Note& value) { m_noteHasBeenSet = true; m_note = value; }
663 inline void SetNote(Note&& value) { m_noteHasBeenSet = true; m_note = std::move(value); }
664 inline AwsSecurityFinding& WithNote(const Note& value) { SetNote(value); return *this;}
665 inline AwsSecurityFinding& WithNote(Note&& value) { SetNote(std::move(value)); return *this;}
667
669
672 inline const Aws::Vector<Vulnerability>& GetVulnerabilities() const{ return m_vulnerabilities; }
673 inline bool VulnerabilitiesHasBeenSet() const { return m_vulnerabilitiesHasBeenSet; }
674 inline void SetVulnerabilities(const Aws::Vector<Vulnerability>& value) { m_vulnerabilitiesHasBeenSet = true; m_vulnerabilities = value; }
675 inline void SetVulnerabilities(Aws::Vector<Vulnerability>&& value) { m_vulnerabilitiesHasBeenSet = true; m_vulnerabilities = std::move(value); }
677 inline AwsSecurityFinding& WithVulnerabilities(Aws::Vector<Vulnerability>&& value) { SetVulnerabilities(std::move(value)); return *this;}
678 inline AwsSecurityFinding& AddVulnerabilities(const Vulnerability& value) { m_vulnerabilitiesHasBeenSet = true; m_vulnerabilities.push_back(value); return *this; }
679 inline AwsSecurityFinding& AddVulnerabilities(Vulnerability&& value) { m_vulnerabilitiesHasBeenSet = true; m_vulnerabilities.push_back(std::move(value)); return *this; }
681
683
687 inline const PatchSummary& GetPatchSummary() const{ return m_patchSummary; }
688 inline bool PatchSummaryHasBeenSet() const { return m_patchSummaryHasBeenSet; }
689 inline void SetPatchSummary(const PatchSummary& value) { m_patchSummaryHasBeenSet = true; m_patchSummary = value; }
690 inline void SetPatchSummary(PatchSummary&& value) { m_patchSummaryHasBeenSet = true; m_patchSummary = std::move(value); }
691 inline AwsSecurityFinding& WithPatchSummary(const PatchSummary& value) { SetPatchSummary(value); return *this;}
692 inline AwsSecurityFinding& WithPatchSummary(PatchSummary&& value) { SetPatchSummary(std::move(value)); return *this;}
694
696
700 inline const Action& GetAction() const{ return m_action; }
701 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
702 inline void SetAction(const Action& value) { m_actionHasBeenSet = true; m_action = value; }
703 inline void SetAction(Action&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
704 inline AwsSecurityFinding& WithAction(const Action& value) { SetAction(value); return *this;}
705 inline AwsSecurityFinding& WithAction(Action&& value) { SetAction(std::move(value)); return *this;}
707
709
714 inline const FindingProviderFields& GetFindingProviderFields() const{ return m_findingProviderFields; }
715 inline bool FindingProviderFieldsHasBeenSet() const { return m_findingProviderFieldsHasBeenSet; }
716 inline void SetFindingProviderFields(const FindingProviderFields& value) { m_findingProviderFieldsHasBeenSet = true; m_findingProviderFields = value; }
717 inline void SetFindingProviderFields(FindingProviderFields&& value) { m_findingProviderFieldsHasBeenSet = true; m_findingProviderFields = std::move(value); }
721
723
726 inline bool GetSample() const{ return m_sample; }
727 inline bool SampleHasBeenSet() const { return m_sampleHasBeenSet; }
728 inline void SetSample(bool value) { m_sampleHasBeenSet = true; m_sample = value; }
729 inline AwsSecurityFinding& WithSample(bool value) { SetSample(value); return *this;}
731
733
740 inline const GeneratorDetails& GetGeneratorDetails() const{ return m_generatorDetails; }
741 inline bool GeneratorDetailsHasBeenSet() const { return m_generatorDetailsHasBeenSet; }
742 inline void SetGeneratorDetails(const GeneratorDetails& value) { m_generatorDetailsHasBeenSet = true; m_generatorDetails = value; }
743 inline void SetGeneratorDetails(GeneratorDetails&& value) { m_generatorDetailsHasBeenSet = true; m_generatorDetails = std::move(value); }
745 inline AwsSecurityFinding& WithGeneratorDetails(GeneratorDetails&& value) { SetGeneratorDetails(std::move(value)); return *this;}
747
749
766 inline const Aws::String& GetProcessedAt() const{ return m_processedAt; }
767 inline bool ProcessedAtHasBeenSet() const { return m_processedAtHasBeenSet; }
768 inline void SetProcessedAt(const Aws::String& value) { m_processedAtHasBeenSet = true; m_processedAt = value; }
769 inline void SetProcessedAt(Aws::String&& value) { m_processedAtHasBeenSet = true; m_processedAt = std::move(value); }
770 inline void SetProcessedAt(const char* value) { m_processedAtHasBeenSet = true; m_processedAt.assign(value); }
771 inline AwsSecurityFinding& WithProcessedAt(const Aws::String& value) { SetProcessedAt(value); return *this;}
772 inline AwsSecurityFinding& WithProcessedAt(Aws::String&& value) { SetProcessedAt(std::move(value)); return *this;}
773 inline AwsSecurityFinding& WithProcessedAt(const char* value) { SetProcessedAt(value); return *this;}
775
777
782 inline const Aws::String& GetAwsAccountName() const{ return m_awsAccountName; }
783 inline bool AwsAccountNameHasBeenSet() const { return m_awsAccountNameHasBeenSet; }
784 inline void SetAwsAccountName(const Aws::String& value) { m_awsAccountNameHasBeenSet = true; m_awsAccountName = value; }
785 inline void SetAwsAccountName(Aws::String&& value) { m_awsAccountNameHasBeenSet = true; m_awsAccountName = std::move(value); }
786 inline void SetAwsAccountName(const char* value) { m_awsAccountNameHasBeenSet = true; m_awsAccountName.assign(value); }
787 inline AwsSecurityFinding& WithAwsAccountName(const Aws::String& value) { SetAwsAccountName(value); return *this;}
788 inline AwsSecurityFinding& WithAwsAccountName(Aws::String&& value) { SetAwsAccountName(std::move(value)); return *this;}
789 inline AwsSecurityFinding& WithAwsAccountName(const char* value) { SetAwsAccountName(value); return *this;}
791 private:
792
793 Aws::String m_schemaVersion;
794 bool m_schemaVersionHasBeenSet = false;
795
796 Aws::String m_id;
797 bool m_idHasBeenSet = false;
798
799 Aws::String m_productArn;
800 bool m_productArnHasBeenSet = false;
801
802 Aws::String m_productName;
803 bool m_productNameHasBeenSet = false;
804
805 Aws::String m_companyName;
806 bool m_companyNameHasBeenSet = false;
807
808 Aws::String m_region;
809 bool m_regionHasBeenSet = false;
810
811 Aws::String m_generatorId;
812 bool m_generatorIdHasBeenSet = false;
813
814 Aws::String m_awsAccountId;
815 bool m_awsAccountIdHasBeenSet = false;
816
818 bool m_typesHasBeenSet = false;
819
820 Aws::String m_firstObservedAt;
821 bool m_firstObservedAtHasBeenSet = false;
822
823 Aws::String m_lastObservedAt;
824 bool m_lastObservedAtHasBeenSet = false;
825
826 Aws::String m_createdAt;
827 bool m_createdAtHasBeenSet = false;
828
829 Aws::String m_updatedAt;
830 bool m_updatedAtHasBeenSet = false;
831
832 Severity m_severity;
833 bool m_severityHasBeenSet = false;
834
835 int m_confidence;
836 bool m_confidenceHasBeenSet = false;
837
838 int m_criticality;
839 bool m_criticalityHasBeenSet = false;
840
841 Aws::String m_title;
842 bool m_titleHasBeenSet = false;
843
844 Aws::String m_description;
845 bool m_descriptionHasBeenSet = false;
846
847 Remediation m_remediation;
848 bool m_remediationHasBeenSet = false;
849
850 Aws::String m_sourceUrl;
851 bool m_sourceUrlHasBeenSet = false;
852
854 bool m_productFieldsHasBeenSet = false;
855
856 Aws::Map<Aws::String, Aws::String> m_userDefinedFields;
857 bool m_userDefinedFieldsHasBeenSet = false;
858
859 Aws::Vector<Malware> m_malware;
860 bool m_malwareHasBeenSet = false;
861
862 Network m_network;
863 bool m_networkHasBeenSet = false;
864
866 bool m_networkPathHasBeenSet = false;
867
868 ProcessDetails m_process;
869 bool m_processHasBeenSet = false;
870
871 Aws::Vector<Threat> m_threats;
872 bool m_threatsHasBeenSet = false;
873
874 Aws::Vector<ThreatIntelIndicator> m_threatIntelIndicators;
875 bool m_threatIntelIndicatorsHasBeenSet = false;
876
877 Aws::Vector<Resource> m_resources;
878 bool m_resourcesHasBeenSet = false;
879
880 Compliance m_compliance;
881 bool m_complianceHasBeenSet = false;
882
883 VerificationState m_verificationState;
884 bool m_verificationStateHasBeenSet = false;
885
886 WorkflowState m_workflowState;
887 bool m_workflowStateHasBeenSet = false;
888
889 Workflow m_workflow;
890 bool m_workflowHasBeenSet = false;
891
892 RecordState m_recordState;
893 bool m_recordStateHasBeenSet = false;
894
895 Aws::Vector<RelatedFinding> m_relatedFindings;
896 bool m_relatedFindingsHasBeenSet = false;
897
898 Note m_note;
899 bool m_noteHasBeenSet = false;
900
901 Aws::Vector<Vulnerability> m_vulnerabilities;
902 bool m_vulnerabilitiesHasBeenSet = false;
903
904 PatchSummary m_patchSummary;
905 bool m_patchSummaryHasBeenSet = false;
906
907 Action m_action;
908 bool m_actionHasBeenSet = false;
909
910 FindingProviderFields m_findingProviderFields;
911 bool m_findingProviderFieldsHasBeenSet = false;
912
913 bool m_sample;
914 bool m_sampleHasBeenSet = false;
915
916 GeneratorDetails m_generatorDetails;
917 bool m_generatorDetailsHasBeenSet = false;
918
919 Aws::String m_processedAt;
920 bool m_processedAtHasBeenSet = false;
921
922 Aws::String m_awsAccountName;
923 bool m_awsAccountNameHasBeenSet = false;
924 };
925
926} // namespace Model
927} // namespace SecurityHub
928} // namespace Aws
AwsSecurityFinding & WithRemediation(Remediation &&value)
void SetPatchSummary(const PatchSummary &value)
AwsSecurityFinding & AddMalware(const Malware &value)
AwsSecurityFinding & AddUserDefinedFields(const Aws::String &key, Aws::String &&value)
AwsSecurityFinding & WithRegion(const Aws::String &value)
const Aws::Vector< NetworkPathComponent > & GetNetworkPath() const
AwsSecurityFinding & WithProcessedAt(Aws::String &&value)
AwsSecurityFinding & WithCompliance(const Compliance &value)
AwsSecurityFinding & WithAction(const Action &value)
void SetResources(const Aws::Vector< Resource > &value)
AwsSecurityFinding & WithLastObservedAt(Aws::String &&value)
AwsSecurityFinding & WithProductName(const char *value)
AwsSecurityFinding & WithAwsAccountName(const Aws::String &value)
AwsSecurityFinding & AddResources(Resource &&value)
AwsSecurityFinding & AddResources(const Resource &value)
AwsSecurityFinding & AddVulnerabilities(Vulnerability &&value)
void SetTypes(const Aws::Vector< Aws::String > &value)
AwsSecurityFinding & WithFirstObservedAt(const char *value)
AwsSecurityFinding & WithThreatIntelIndicators(Aws::Vector< ThreatIntelIndicator > &&value)
AwsSecurityFinding & WithLastObservedAt(const char *value)
AwsSecurityFinding & WithTitle(const char *value)
AwsSecurityFinding & WithVerificationState(VerificationState &&value)
AwsSecurityFinding & WithSchemaVersion(const Aws::String &value)
void SetProductArn(const Aws::String &value)
AwsSecurityFinding & WithSourceUrl(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetUserDefinedFields() const
AwsSecurityFinding & AddRelatedFindings(RelatedFinding &&value)
void SetRecordState(const RecordState &value)
AwsSecurityFinding & WithProductArn(const Aws::String &value)
AwsSecurityFinding & WithFirstObservedAt(const Aws::String &value)
void SetProcessedAt(const Aws::String &value)
AwsSecurityFinding & WithFirstObservedAt(Aws::String &&value)
void SetAwsAccountId(const Aws::String &value)
void SetVerificationState(const VerificationState &value)
void SetSchemaVersion(const Aws::String &value)
AwsSecurityFinding & WithProductFields(const Aws::Map< Aws::String, Aws::String > &value)
AwsSecurityFinding & WithDescription(Aws::String &&value)
const GeneratorDetails & GetGeneratorDetails() const
void SetDescription(const Aws::String &value)
AwsSecurityFinding & WithResources(const Aws::Vector< Resource > &value)
AwsSecurityFinding & WithWorkflowState(const WorkflowState &value)
AwsSecurityFinding & AddTypes(const Aws::String &value)
void SetLastObservedAt(const Aws::String &value)
AwsSecurityFinding & WithVerificationState(const VerificationState &value)
AwsSecurityFinding & WithSourceUrl(const char *value)
AwsSecurityFinding & AddThreatIntelIndicators(const ThreatIntelIndicator &value)
const Aws::Vector< RelatedFinding > & GetRelatedFindings() const
AwsSecurityFinding & WithAction(Action &&value)
AwsSecurityFinding & WithTitle(const Aws::String &value)
void SetProcess(const ProcessDetails &value)
AwsSecurityFinding & WithVulnerabilities(const Aws::Vector< Vulnerability > &value)
AwsSecurityFinding & WithNote(const Note &value)
AwsSecurityFinding & WithNetworkPath(Aws::Vector< NetworkPathComponent > &&value)
AwsSecurityFinding & WithDescription(const Aws::String &value)
void SetThreats(Aws::Vector< Threat > &&value)
void SetNetworkPath(const Aws::Vector< NetworkPathComponent > &value)
AwsSecurityFinding & WithLastObservedAt(const Aws::String &value)
AWS_SECURITYHUB_API AwsSecurityFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsSecurityFinding & WithProcessedAt(const Aws::String &value)
AwsSecurityFinding & WithWorkflow(Workflow &&value)
AwsSecurityFinding & AddProductFields(const char *key, const char *value)
AwsSecurityFinding & WithProductArn(const char *value)
AwsSecurityFinding & AddRelatedFindings(const RelatedFinding &value)
void SetProductFields(Aws::Map< Aws::String, Aws::String > &&value)
void SetRelatedFindings(Aws::Vector< RelatedFinding > &&value)
void SetNetworkPath(Aws::Vector< NetworkPathComponent > &&value)
AwsSecurityFinding & WithAwsAccountName(const char *value)
AwsSecurityFinding & WithAwsAccountName(Aws::String &&value)
void SetSourceUrl(const Aws::String &value)
AwsSecurityFinding & WithAwsAccountId(const char *value)
const Aws::Vector< Resource > & GetResources() const
AwsSecurityFinding & WithProcess(const ProcessDetails &value)
AwsSecurityFinding & WithCompanyName(const char *value)
AwsSecurityFinding & WithCreatedAt(const char *value)
AwsSecurityFinding & AddUserDefinedFields(const char *key, const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsSecurityFinding & WithNetwork(Network &&value)
AwsSecurityFinding & WithMalware(Aws::Vector< Malware > &&value)
AwsSecurityFinding & WithRecordState(RecordState &&value)
const FindingProviderFields & GetFindingProviderFields() const
AwsSecurityFinding & WithFindingProviderFields(const FindingProviderFields &value)
AwsSecurityFinding & WithGeneratorId(const char *value)
AwsSecurityFinding & AddNetworkPath(const NetworkPathComponent &value)
AwsSecurityFinding & WithTypes(Aws::Vector< Aws::String > &&value)
const Aws::Vector< ThreatIntelIndicator > & GetThreatIntelIndicators() const
AwsSecurityFinding & WithTitle(Aws::String &&value)
AwsSecurityFinding & WithCompanyName(Aws::String &&value)
void SetRelatedFindings(const Aws::Vector< RelatedFinding > &value)
AwsSecurityFinding & WithNetworkPath(const Aws::Vector< NetworkPathComponent > &value)
AwsSecurityFinding & WithResources(Aws::Vector< Resource > &&value)
void SetTypes(Aws::Vector< Aws::String > &&value)
void SetThreatIntelIndicators(Aws::Vector< ThreatIntelIndicator > &&value)
AwsSecurityFinding & AddThreats(Threat &&value)
AwsSecurityFinding & WithId(Aws::String &&value)
AwsSecurityFinding & AddVulnerabilities(const Vulnerability &value)
void SetProductName(const Aws::String &value)
void SetVulnerabilities(const Aws::Vector< Vulnerability > &value)
void SetFindingProviderFields(FindingProviderFields &&value)
AwsSecurityFinding & WithCriticality(int value)
AwsSecurityFinding & WithThreats(const Aws::Vector< Threat > &value)
AwsSecurityFinding & WithFindingProviderFields(FindingProviderFields &&value)
void SetThreatIntelIndicators(const Aws::Vector< ThreatIntelIndicator > &value)
AwsSecurityFinding & WithWorkflow(const Workflow &value)
void SetGeneratorDetails(GeneratorDetails &&value)
AwsSecurityFinding & AddUserDefinedFields(Aws::String &&key, Aws::String &&value)
AwsSecurityFinding & WithGeneratorDetails(GeneratorDetails &&value)
AwsSecurityFinding & WithProcess(ProcessDetails &&value)
AwsSecurityFinding & WithAwsAccountId(Aws::String &&value)
AwsSecurityFinding & WithProductArn(Aws::String &&value)
AwsSecurityFinding & WithVulnerabilities(Aws::Vector< Vulnerability > &&value)
void SetThreats(const Aws::Vector< Threat > &value)
AwsSecurityFinding & AddProductFields(Aws::String &&key, const char *value)
AwsSecurityFinding & WithRegion(Aws::String &&value)
AwsSecurityFinding & WithAwsAccountId(const Aws::String &value)
AwsSecurityFinding & AddUserDefinedFields(const char *key, Aws::String &&value)
AwsSecurityFinding & WithDescription(const char *value)
AwsSecurityFinding & AddProductFields(Aws::String &&key, const Aws::String &value)
AwsSecurityFinding & AddProductFields(const Aws::String &key, const Aws::String &value)
AwsSecurityFinding & AddNetworkPath(NetworkPathComponent &&value)
AwsSecurityFinding & AddProductFields(const char *key, Aws::String &&value)
AwsSecurityFinding & AddUserDefinedFields(const Aws::String &key, const Aws::String &value)
void SetAwsAccountName(const Aws::String &value)
AwsSecurityFinding & WithUserDefinedFields(Aws::Map< Aws::String, Aws::String > &&value)
void SetGeneratorId(const Aws::String &value)
AwsSecurityFinding & WithUserDefinedFields(const Aws::Map< Aws::String, Aws::String > &value)
AwsSecurityFinding & AddTypes(const char *value)
AwsSecurityFinding & WithUpdatedAt(const Aws::String &value)
void SetProductFields(const Aws::Map< Aws::String, Aws::String > &value)
AwsSecurityFinding & WithTypes(const Aws::Vector< Aws::String > &value)
AwsSecurityFinding & AddThreats(const Threat &value)
const Aws::Vector< Threat > & GetThreats() const
AwsSecurityFinding & WithMalware(const Aws::Vector< Malware > &value)
void SetVulnerabilities(Aws::Vector< Vulnerability > &&value)
AwsSecurityFinding & WithCreatedAt(const Aws::String &value)
AwsSecurityFinding & WithConfidence(int value)
AwsSecurityFinding & WithGeneratorId(Aws::String &&value)
AwsSecurityFinding & WithRegion(const char *value)
const Aws::Vector< Malware > & GetMalware() const
AwsSecurityFinding & WithThreats(Aws::Vector< Threat > &&value)
AwsSecurityFinding & WithCompanyName(const Aws::String &value)
void SetMalware(Aws::Vector< Malware > &&value)
AwsSecurityFinding & WithRelatedFindings(const Aws::Vector< RelatedFinding > &value)
void SetFirstObservedAt(const Aws::String &value)
AwsSecurityFinding & WithRecordState(const RecordState &value)
void SetUpdatedAt(const Aws::String &value)
AwsSecurityFinding & AddTypes(Aws::String &&value)
AwsSecurityFinding & WithNetwork(const Network &value)
AwsSecurityFinding & WithSeverity(const Severity &value)
AwsSecurityFinding & AddProductFields(const Aws::String &key, Aws::String &&value)
AwsSecurityFinding & WithId(const Aws::String &value)
AwsSecurityFinding & WithCompliance(Compliance &&value)
void SetRemediation(const Remediation &value)
void SetCompanyName(const Aws::String &value)
AwsSecurityFinding & WithThreatIntelIndicators(const Aws::Vector< ThreatIntelIndicator > &value)
const VerificationState & GetVerificationState() const
AwsSecurityFinding & WithProductName(Aws::String &&value)
AwsSecurityFinding & WithSchemaVersion(Aws::String &&value)
AwsSecurityFinding & WithPatchSummary(const PatchSummary &value)
AwsSecurityFinding & WithId(const char *value)
AwsSecurityFinding & WithWorkflowState(WorkflowState &&value)
AwsSecurityFinding & WithSample(bool value)
void SetUserDefinedFields(Aws::Map< Aws::String, Aws::String > &&value)
AwsSecurityFinding & WithRelatedFindings(Aws::Vector< RelatedFinding > &&value)
AwsSecurityFinding & WithUpdatedAt(const char *value)
AwsSecurityFinding & AddMalware(Malware &&value)
AwsSecurityFinding & AddUserDefinedFields(Aws::String &&key, const char *value)
AwsSecurityFinding & AddProductFields(Aws::String &&key, Aws::String &&value)
AwsSecurityFinding & WithGeneratorId(const Aws::String &value)
void SetFindingProviderFields(const FindingProviderFields &value)
AwsSecurityFinding & WithCreatedAt(Aws::String &&value)
AwsSecurityFinding & WithUpdatedAt(Aws::String &&value)
AwsSecurityFinding & WithNote(Note &&value)
void SetResources(Aws::Vector< Resource > &&value)
AwsSecurityFinding & AddUserDefinedFields(Aws::String &&key, const Aws::String &value)
void SetWorkflowState(const WorkflowState &value)
const WorkflowState & GetWorkflowState() const
AwsSecurityFinding & WithProductFields(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreatedAt(const Aws::String &value)
const Aws::Vector< Aws::String > & GetTypes() const
AwsSecurityFinding & WithSourceUrl(Aws::String &&value)
AwsSecurityFinding & WithGeneratorDetails(const GeneratorDetails &value)
void SetVerificationState(VerificationState &&value)
AWS_SECURITYHUB_API AwsSecurityFinding(Aws::Utils::Json::JsonView jsonValue)
void SetGeneratorDetails(const GeneratorDetails &value)
void SetMalware(const Aws::Vector< Malware > &value)
void SetUserDefinedFields(const Aws::Map< Aws::String, Aws::String > &value)
AwsSecurityFinding & WithRemediation(const Remediation &value)
const Aws::Map< Aws::String, Aws::String > & GetProductFields() const
AwsSecurityFinding & WithProductName(const Aws::String &value)
AwsSecurityFinding & WithSeverity(Severity &&value)
AwsSecurityFinding & AddThreatIntelIndicators(ThreatIntelIndicator &&value)
AwsSecurityFinding & WithSchemaVersion(const char *value)
AwsSecurityFinding & WithProcessedAt(const char *value)
AwsSecurityFinding & WithPatchSummary(PatchSummary &&value)
const Aws::Vector< Vulnerability > & GetVulnerabilities() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue