7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/CodeLocation.h>
12#include <aws/securityagent/model/CodeRemediationTask.h>
13#include <aws/securityagent/model/ConfidenceLevel.h>
14#include <aws/securityagent/model/FindingStatus.h>
15#include <aws/securityagent/model/RiskLevel.h>
16#include <aws/securityagent/model/ValidationStatus.h>
17#include <aws/securityagent/model/VerificationScript.h>
28namespace SecurityAgent {
40 AWS_SECURITYAGENT_API
Finding() =
default;
51 template <
typename FindingIdT = Aws::String>
53 m_findingIdHasBeenSet =
true;
54 m_findingId = std::forward<FindingIdT>(value);
56 template <
typename FindingIdT = Aws::String>
69 template <
typename AgentSpaceIdT = Aws::String>
71 m_agentSpaceIdHasBeenSet =
true;
72 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
74 template <
typename AgentSpaceIdT = Aws::String>
87 template <
typename PentestIdT = Aws::String>
89 m_pentestIdHasBeenSet =
true;
90 m_pentestId = std::forward<PentestIdT>(value);
92 template <
typename PentestIdT = Aws::String>
105 template <
typename PentestJobIdT = Aws::String>
107 m_pentestJobIdHasBeenSet =
true;
108 m_pentestJobId = std::forward<PentestJobIdT>(value);
110 template <
typename PentestJobIdT = Aws::String>
123 template <
typename CodeReviewIdT = Aws::String>
125 m_codeReviewIdHasBeenSet =
true;
126 m_codeReviewId = std::forward<CodeReviewIdT>(value);
128 template <
typename CodeReviewIdT = Aws::String>
141 template <
typename CodeReviewJobIdT = Aws::String>
143 m_codeReviewJobIdHasBeenSet =
true;
144 m_codeReviewJobId = std::forward<CodeReviewJobIdT>(value);
146 template <
typename CodeReviewJobIdT = Aws::String>
159 template <
typename TaskIdT = Aws::String>
161 m_taskIdHasBeenSet =
true;
162 m_taskId = std::forward<TaskIdT>(value);
164 template <
typename TaskIdT = Aws::String>
177 template <
typename NameT = Aws::String>
179 m_nameHasBeenSet =
true;
180 m_name = std::forward<NameT>(value);
182 template <
typename NameT = Aws::String>
184 SetName(std::forward<NameT>(value));
195 template <
typename DescriptionT = Aws::String>
197 m_descriptionHasBeenSet =
true;
198 m_description = std::forward<DescriptionT>(value);
200 template <
typename DescriptionT = Aws::String>
215 m_statusHasBeenSet =
true;
230 template <
typename RiskTypeT = Aws::String>
232 m_riskTypeHasBeenSet =
true;
233 m_riskType = std::forward<RiskTypeT>(value);
235 template <
typename RiskTypeT = Aws::String>
250 m_riskLevelHasBeenSet =
true;
265 template <
typename RiskScoreT = Aws::String>
267 m_riskScoreHasBeenSet =
true;
268 m_riskScore = std::forward<RiskScoreT>(value);
270 template <
typename RiskScoreT = Aws::String>
284 template <
typename ReasoningT = Aws::String>
286 m_reasoningHasBeenSet =
true;
287 m_reasoning = std::forward<ReasoningT>(value);
289 template <
typename ReasoningT = Aws::String>
304 m_confidenceHasBeenSet =
true;
305 m_confidence = value;
321 m_validationStatusHasBeenSet =
true;
322 m_validationStatus = value;
336 template <
typename AttackScriptT = Aws::String>
338 m_attackScriptHasBeenSet =
true;
339 m_attackScript = std::forward<AttackScriptT>(value);
341 template <
typename AttackScriptT = Aws::String>
355 template <
typename CodeRemediationTaskT = CodeRemediationTask>
357 m_codeRemediationTaskHasBeenSet =
true;
358 m_codeRemediationTask = std::forward<CodeRemediationTaskT>(value);
360 template <
typename CodeRemediationTaskT = CodeRemediationTask>
373 template <
typename LastUpdatedByT = Aws::String>
375 m_lastUpdatedByHasBeenSet =
true;
376 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
378 template <
typename LastUpdatedByT = Aws::String>
391 template <
typename CustomerNoteT = Aws::String>
393 m_customerNoteHasBeenSet =
true;
394 m_customerNote = std::forward<CustomerNoteT>(value);
396 template <
typename CustomerNoteT = Aws::String>
410 template <
typename CodeLocationsT = Aws::Vector<CodeLocation>>
412 m_codeLocationsHasBeenSet =
true;
413 m_codeLocations = std::forward<CodeLocationsT>(value);
415 template <
typename CodeLocationsT = Aws::Vector<CodeLocation>>
420 template <
typename CodeLocationsT = CodeLocation>
422 m_codeLocationsHasBeenSet =
true;
423 m_codeLocations.emplace_back(std::forward<CodeLocationsT>(value));
435 template <
typename VerificationScriptT = VerificationScript>
437 m_verificationScriptHasBeenSet =
true;
438 m_verificationScript = std::forward<VerificationScriptT>(value);
440 template <
typename VerificationScriptT = VerificationScript>
454 template <
typename AlignmentRationaleT = Aws::String>
456 m_alignmentRationaleHasBeenSet =
true;
457 m_alignmentRationale = std::forward<AlignmentRationaleT>(value);
459 template <
typename AlignmentRationaleT = Aws::String>
473 template <
typename Reval
idationJobIdsT = Aws::Vector<Aws::String>>
475 m_revalidationJobIdsHasBeenSet =
true;
476 m_revalidationJobIds = std::forward<RevalidationJobIdsT>(value);
478 template <
typename Reval
idationJobIdsT = Aws::Vector<Aws::String>>
483 template <
typename Reval
idationJobIdsT = Aws::String>
485 m_revalidationJobIdsHasBeenSet =
true;
486 m_revalidationJobIds.emplace_back(std::forward<RevalidationJobIdsT>(value));
498 template <
typename OriginalFindingIdT = Aws::String>
500 m_originalFindingIdHasBeenSet =
true;
501 m_originalFindingId = std::forward<OriginalFindingIdT>(value);
503 template <
typename OriginalFindingIdT = Aws::String>
516 template <
typename CreatedAtT = Aws::Utils::DateTime>
518 m_createdAtHasBeenSet =
true;
519 m_createdAt = std::forward<CreatedAtT>(value);
521 template <
typename CreatedAtT = Aws::Utils::DateTime>
534 template <
typename UpdatedAtT = Aws::Utils::DateTime>
536 m_updatedAtHasBeenSet =
true;
537 m_updatedAt = std::forward<UpdatedAtT>(value);
539 template <
typename UpdatedAtT = Aws::Utils::DateTime>
580 CodeRemediationTask m_codeRemediationTask;
588 VerificationScript m_verificationScript;
599 bool m_findingIdHasBeenSet =
false;
600 bool m_agentSpaceIdHasBeenSet =
false;
601 bool m_pentestIdHasBeenSet =
false;
602 bool m_pentestJobIdHasBeenSet =
false;
603 bool m_codeReviewIdHasBeenSet =
false;
604 bool m_codeReviewJobIdHasBeenSet =
false;
605 bool m_taskIdHasBeenSet =
false;
606 bool m_nameHasBeenSet =
false;
607 bool m_descriptionHasBeenSet =
false;
608 bool m_statusHasBeenSet =
false;
609 bool m_riskTypeHasBeenSet =
false;
610 bool m_riskLevelHasBeenSet =
false;
611 bool m_riskScoreHasBeenSet =
false;
612 bool m_reasoningHasBeenSet =
false;
613 bool m_confidenceHasBeenSet =
false;
614 bool m_validationStatusHasBeenSet =
false;
615 bool m_attackScriptHasBeenSet =
false;
616 bool m_codeRemediationTaskHasBeenSet =
false;
617 bool m_lastUpdatedByHasBeenSet =
false;
618 bool m_customerNoteHasBeenSet =
false;
619 bool m_codeLocationsHasBeenSet =
false;
620 bool m_verificationScriptHasBeenSet =
false;
621 bool m_alignmentRationaleHasBeenSet =
false;
622 bool m_revalidationJobIdsHasBeenSet =
false;
623 bool m_originalFindingIdHasBeenSet =
false;
624 bool m_createdAtHasBeenSet =
false;
625 bool m_updatedAtHasBeenSet =
false;
bool CodeLocationsHasBeenSet() const
ValidationStatus GetValidationStatus() const
bool CodeRemediationTaskHasBeenSet() const
Finding & WithAlignmentRationale(AlignmentRationaleT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCodeRemediationTask(CodeRemediationTaskT &&value)
const Aws::String & GetOriginalFindingId() const
void SetVerificationScript(VerificationScriptT &&value)
const Aws::String & GetCodeReviewId() const
const Aws::String & GetTaskId() const
Finding & AddRevalidationJobIds(RevalidationJobIdsT &&value)
bool AlignmentRationaleHasBeenSet() const
const Aws::String & GetAgentSpaceId() const
const Aws::String & GetName() const
const Aws::String & GetRiskType() const
Finding & WithRiskType(RiskTypeT &&value)
void SetRevalidationJobIds(RevalidationJobIdsT &&value)
Finding & WithDescription(DescriptionT &&value)
Finding & WithRevalidationJobIds(RevalidationJobIdsT &&value)
void SetCodeReviewId(CodeReviewIdT &&value)
const Aws::String & GetCustomerNote() const
bool StatusHasBeenSet() const
void SetStatus(FindingStatus value)
void SetName(NameT &&value)
bool PentestIdHasBeenSet() const
Finding & WithPentestId(PentestIdT &&value)
void SetDescription(DescriptionT &&value)
bool NameHasBeenSet() const
bool RiskScoreHasBeenSet() const
const VerificationScript & GetVerificationScript() const
void SetCodeLocations(CodeLocationsT &&value)
Finding & WithCodeRemediationTask(CodeRemediationTaskT &&value)
const Aws::String & GetCodeReviewJobId() const
bool AgentSpaceIdHasBeenSet() const
void SetReasoning(ReasoningT &&value)
bool ReasoningHasBeenSet() const
Finding & WithStatus(FindingStatus value)
Finding & WithTaskId(TaskIdT &&value)
Finding & WithCodeReviewId(CodeReviewIdT &&value)
bool CreatedAtHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
FindingStatus GetStatus() const
Finding & WithConfidence(ConfidenceLevel value)
AWS_SECURITYAGENT_API Finding(Aws::Utils::Json::JsonView jsonValue)
bool CodeReviewJobIdHasBeenSet() const
bool ConfidenceHasBeenSet() const
bool LastUpdatedByHasBeenSet() const
const CodeRemediationTask & GetCodeRemediationTask() const
const Aws::Vector< CodeLocation > & GetCodeLocations() const
const Aws::String & GetLastUpdatedBy() const
bool PentestJobIdHasBeenSet() const
bool RiskLevelHasBeenSet() const
Finding & WithLastUpdatedBy(LastUpdatedByT &&value)
bool RevalidationJobIdsHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
Finding & WithCodeLocations(CodeLocationsT &&value)
const Aws::String & GetAttackScript() const
Finding & WithCustomerNote(CustomerNoteT &&value)
bool OriginalFindingIdHasBeenSet() const
const Aws::String & GetPentestJobId() const
void SetOriginalFindingId(OriginalFindingIdT &&value)
Finding & WithFindingId(FindingIdT &&value)
RiskLevel GetRiskLevel() const
void SetAttackScript(AttackScriptT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
Finding & WithRiskLevel(RiskLevel value)
bool UpdatedAtHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetCodeReviewJobId(CodeReviewJobIdT &&value)
const Aws::Vector< Aws::String > & GetRevalidationJobIds() const
bool CustomerNoteHasBeenSet() const
Finding & WithRiskScore(RiskScoreT &&value)
Finding & WithCodeReviewJobId(CodeReviewJobIdT &&value)
bool RiskTypeHasBeenSet() const
void SetTaskId(TaskIdT &&value)
const Aws::String & GetAlignmentRationale() const
void SetAlignmentRationale(AlignmentRationaleT &&value)
bool AttackScriptHasBeenSet() const
Finding & WithUpdatedAt(UpdatedAtT &&value)
void SetConfidence(ConfidenceLevel value)
Finding & WithAgentSpaceId(AgentSpaceIdT &&value)
Finding & WithVerificationScript(VerificationScriptT &&value)
Finding & WithAttackScript(AttackScriptT &&value)
Finding & AddCodeLocations(CodeLocationsT &&value)
const Aws::String & GetPentestId() const
const Aws::String & GetDescription() const
void SetCustomerNote(CustomerNoteT &&value)
Finding & WithName(NameT &&value)
Finding & WithValidationStatus(ValidationStatus value)
bool VerificationScriptHasBeenSet() const
Finding & WithOriginalFindingId(OriginalFindingIdT &&value)
void SetValidationStatus(ValidationStatus value)
void SetLastUpdatedBy(LastUpdatedByT &&value)
AWS_SECURITYAGENT_API Finding()=default
void SetRiskScore(RiskScoreT &&value)
const Aws::String & GetReasoning() const
bool CodeReviewIdHasBeenSet() const
Finding & WithReasoning(ReasoningT &&value)
void SetFindingId(FindingIdT &&value)
bool FindingIdHasBeenSet() const
Finding & WithPentestJobId(PentestJobIdT &&value)
Finding & WithCreatedAt(CreatedAtT &&value)
bool ValidationStatusHasBeenSet() const
ConfidenceLevel GetConfidence() const
void SetRiskType(RiskTypeT &&value)
const Aws::String & GetFindingId() const
void SetPentestJobId(PentestJobIdT &&value)
void SetPentestId(PentestIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetRiskLevel(RiskLevel value)
const Aws::String & GetRiskScore() const
bool TaskIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue