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/VerificationScript.h>
27namespace SecurityAgent {
39 AWS_SECURITYAGENT_API
Finding() =
default;
50 template <
typename FindingIdT = Aws::String>
52 m_findingIdHasBeenSet =
true;
53 m_findingId = std::forward<FindingIdT>(value);
55 template <
typename FindingIdT = Aws::String>
68 template <
typename AgentSpaceIdT = Aws::String>
70 m_agentSpaceIdHasBeenSet =
true;
71 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
73 template <
typename AgentSpaceIdT = Aws::String>
86 template <
typename PentestIdT = Aws::String>
88 m_pentestIdHasBeenSet =
true;
89 m_pentestId = std::forward<PentestIdT>(value);
91 template <
typename PentestIdT = Aws::String>
104 template <
typename PentestJobIdT = Aws::String>
106 m_pentestJobIdHasBeenSet =
true;
107 m_pentestJobId = std::forward<PentestJobIdT>(value);
109 template <
typename PentestJobIdT = Aws::String>
122 template <
typename CodeReviewIdT = Aws::String>
124 m_codeReviewIdHasBeenSet =
true;
125 m_codeReviewId = std::forward<CodeReviewIdT>(value);
127 template <
typename CodeReviewIdT = Aws::String>
140 template <
typename CodeReviewJobIdT = Aws::String>
142 m_codeReviewJobIdHasBeenSet =
true;
143 m_codeReviewJobId = std::forward<CodeReviewJobIdT>(value);
145 template <
typename CodeReviewJobIdT = Aws::String>
158 template <
typename TaskIdT = Aws::String>
160 m_taskIdHasBeenSet =
true;
161 m_taskId = std::forward<TaskIdT>(value);
163 template <
typename TaskIdT = Aws::String>
176 template <
typename NameT = Aws::String>
178 m_nameHasBeenSet =
true;
179 m_name = std::forward<NameT>(value);
181 template <
typename NameT = Aws::String>
183 SetName(std::forward<NameT>(value));
194 template <
typename DescriptionT = Aws::String>
196 m_descriptionHasBeenSet =
true;
197 m_description = std::forward<DescriptionT>(value);
199 template <
typename DescriptionT = Aws::String>
214 m_statusHasBeenSet =
true;
229 template <
typename RiskTypeT = Aws::String>
231 m_riskTypeHasBeenSet =
true;
232 m_riskType = std::forward<RiskTypeT>(value);
234 template <
typename RiskTypeT = Aws::String>
249 m_riskLevelHasBeenSet =
true;
264 template <
typename RiskScoreT = Aws::String>
266 m_riskScoreHasBeenSet =
true;
267 m_riskScore = std::forward<RiskScoreT>(value);
269 template <
typename RiskScoreT = Aws::String>
283 template <
typename ReasoningT = Aws::String>
285 m_reasoningHasBeenSet =
true;
286 m_reasoning = std::forward<ReasoningT>(value);
288 template <
typename ReasoningT = Aws::String>
303 m_confidenceHasBeenSet =
true;
304 m_confidence = value;
318 template <
typename AttackScriptT = Aws::String>
320 m_attackScriptHasBeenSet =
true;
321 m_attackScript = std::forward<AttackScriptT>(value);
323 template <
typename AttackScriptT = Aws::String>
337 template <
typename CodeRemediationTaskT = CodeRemediationTask>
339 m_codeRemediationTaskHasBeenSet =
true;
340 m_codeRemediationTask = std::forward<CodeRemediationTaskT>(value);
342 template <
typename CodeRemediationTaskT = CodeRemediationTask>
355 template <
typename LastUpdatedByT = Aws::String>
357 m_lastUpdatedByHasBeenSet =
true;
358 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
360 template <
typename LastUpdatedByT = Aws::String>
374 template <
typename CodeLocationsT = Aws::Vector<CodeLocation>>
376 m_codeLocationsHasBeenSet =
true;
377 m_codeLocations = std::forward<CodeLocationsT>(value);
379 template <
typename CodeLocationsT = Aws::Vector<CodeLocation>>
384 template <
typename CodeLocationsT = CodeLocation>
386 m_codeLocationsHasBeenSet =
true;
387 m_codeLocations.emplace_back(std::forward<CodeLocationsT>(value));
399 template <
typename VerificationScriptT = VerificationScript>
401 m_verificationScriptHasBeenSet =
true;
402 m_verificationScript = std::forward<VerificationScriptT>(value);
404 template <
typename VerificationScriptT = VerificationScript>
417 template <
typename CreatedAtT = Aws::Utils::DateTime>
419 m_createdAtHasBeenSet =
true;
420 m_createdAt = std::forward<CreatedAtT>(value);
422 template <
typename CreatedAtT = Aws::Utils::DateTime>
435 template <
typename UpdatedAtT = Aws::Utils::DateTime>
437 m_updatedAtHasBeenSet =
true;
438 m_updatedAt = std::forward<UpdatedAtT>(value);
440 template <
typename UpdatedAtT = Aws::Utils::DateTime>
479 CodeRemediationTask m_codeRemediationTask;
485 VerificationScript m_verificationScript;
490 bool m_findingIdHasBeenSet =
false;
491 bool m_agentSpaceIdHasBeenSet =
false;
492 bool m_pentestIdHasBeenSet =
false;
493 bool m_pentestJobIdHasBeenSet =
false;
494 bool m_codeReviewIdHasBeenSet =
false;
495 bool m_codeReviewJobIdHasBeenSet =
false;
496 bool m_taskIdHasBeenSet =
false;
497 bool m_nameHasBeenSet =
false;
498 bool m_descriptionHasBeenSet =
false;
499 bool m_statusHasBeenSet =
false;
500 bool m_riskTypeHasBeenSet =
false;
501 bool m_riskLevelHasBeenSet =
false;
502 bool m_riskScoreHasBeenSet =
false;
503 bool m_reasoningHasBeenSet =
false;
504 bool m_confidenceHasBeenSet =
false;
505 bool m_attackScriptHasBeenSet =
false;
506 bool m_codeRemediationTaskHasBeenSet =
false;
507 bool m_lastUpdatedByHasBeenSet =
false;
508 bool m_codeLocationsHasBeenSet =
false;
509 bool m_verificationScriptHasBeenSet =
false;
510 bool m_createdAtHasBeenSet =
false;
511 bool m_updatedAtHasBeenSet =
false;
bool CodeLocationsHasBeenSet() const
bool CodeRemediationTaskHasBeenSet() const
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)
void SetVerificationScript(VerificationScriptT &&value)
const Aws::String & GetCodeReviewId() const
const Aws::String & GetTaskId() const
const Aws::String & GetAgentSpaceId() const
const Aws::String & GetName() const
const Aws::String & GetRiskType() const
Finding & WithRiskType(RiskTypeT &&value)
Finding & WithDescription(DescriptionT &&value)
void SetCodeReviewId(CodeReviewIdT &&value)
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)
void SetCreatedAt(CreatedAtT &&value)
Finding & WithCodeLocations(CodeLocationsT &&value)
const Aws::String & GetAttackScript() const
const Aws::String & GetPentestJobId() const
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)
Finding & WithRiskScore(RiskScoreT &&value)
Finding & WithCodeReviewJobId(CodeReviewJobIdT &&value)
bool RiskTypeHasBeenSet() const
void SetTaskId(TaskIdT &&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
Finding & WithName(NameT &&value)
bool VerificationScriptHasBeenSet() const
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)
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