7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/CodeRemediationTask.h>
11#include <aws/securityagent/model/ConfidenceLevel.h>
12#include <aws/securityagent/model/FindingStatus.h>
13#include <aws/securityagent/model/RiskLevel.h>
24namespace SecurityAgent {
35 AWS_SECURITYAGENT_API
Finding() =
default;
46 template <
typename FindingIdT = Aws::String>
48 m_findingIdHasBeenSet =
true;
49 m_findingId = std::forward<FindingIdT>(value);
51 template <
typename FindingIdT = Aws::String>
64 template <
typename AgentSpaceIdT = Aws::String>
66 m_agentSpaceIdHasBeenSet =
true;
67 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
69 template <
typename AgentSpaceIdT = Aws::String>
82 template <
typename PentestIdT = Aws::String>
84 m_pentestIdHasBeenSet =
true;
85 m_pentestId = std::forward<PentestIdT>(value);
87 template <
typename PentestIdT = Aws::String>
100 template <
typename PentestJobIdT = Aws::String>
102 m_pentestJobIdHasBeenSet =
true;
103 m_pentestJobId = std::forward<PentestJobIdT>(value);
105 template <
typename PentestJobIdT = Aws::String>
118 template <
typename TaskIdT = Aws::String>
120 m_taskIdHasBeenSet =
true;
121 m_taskId = std::forward<TaskIdT>(value);
123 template <
typename TaskIdT = Aws::String>
136 template <
typename NameT = Aws::String>
138 m_nameHasBeenSet =
true;
139 m_name = std::forward<NameT>(value);
141 template <
typename NameT = Aws::String>
143 SetName(std::forward<NameT>(value));
154 template <
typename DescriptionT = Aws::String>
156 m_descriptionHasBeenSet =
true;
157 m_description = std::forward<DescriptionT>(value);
159 template <
typename DescriptionT = Aws::String>
173 m_statusHasBeenSet =
true;
188 template <
typename RiskTypeT = Aws::String>
190 m_riskTypeHasBeenSet =
true;
191 m_riskType = std::forward<RiskTypeT>(value);
193 template <
typename RiskTypeT = Aws::String>
207 m_riskLevelHasBeenSet =
true;
222 template <
typename RiskScoreT = Aws::String>
224 m_riskScoreHasBeenSet =
true;
225 m_riskScore = std::forward<RiskScoreT>(value);
227 template <
typename RiskScoreT = Aws::String>
240 template <
typename ReasoningT = Aws::String>
242 m_reasoningHasBeenSet =
true;
243 m_reasoning = std::forward<ReasoningT>(value);
245 template <
typename ReasoningT = Aws::String>
259 m_confidenceHasBeenSet =
true;
260 m_confidence = value;
274 template <
typename AttackScriptT = Aws::String>
276 m_attackScriptHasBeenSet =
true;
277 m_attackScript = std::forward<AttackScriptT>(value);
279 template <
typename AttackScriptT = Aws::String>
292 template <
typename CodeRemediationTaskT = CodeRemediationTask>
294 m_codeRemediationTaskHasBeenSet =
true;
295 m_codeRemediationTask = std::forward<CodeRemediationTaskT>(value);
297 template <
typename CodeRemediationTaskT = CodeRemediationTask>
310 template <
typename LastUpdatedByT = Aws::String>
312 m_lastUpdatedByHasBeenSet =
true;
313 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
315 template <
typename LastUpdatedByT = Aws::String>
328 template <
typename CreatedAtT = Aws::Utils::DateTime>
330 m_createdAtHasBeenSet =
true;
331 m_createdAt = std::forward<CreatedAtT>(value);
333 template <
typename CreatedAtT = Aws::Utils::DateTime>
346 template <
typename UpdatedAtT = Aws::Utils::DateTime>
348 m_updatedAtHasBeenSet =
true;
349 m_updatedAt = std::forward<UpdatedAtT>(value);
351 template <
typename UpdatedAtT = Aws::Utils::DateTime>
386 CodeRemediationTask m_codeRemediationTask;
393 bool m_findingIdHasBeenSet =
false;
394 bool m_agentSpaceIdHasBeenSet =
false;
395 bool m_pentestIdHasBeenSet =
false;
396 bool m_pentestJobIdHasBeenSet =
false;
397 bool m_taskIdHasBeenSet =
false;
398 bool m_nameHasBeenSet =
false;
399 bool m_descriptionHasBeenSet =
false;
400 bool m_statusHasBeenSet =
false;
401 bool m_riskTypeHasBeenSet =
false;
402 bool m_riskLevelHasBeenSet =
false;
403 bool m_riskScoreHasBeenSet =
false;
404 bool m_reasoningHasBeenSet =
false;
405 bool m_confidenceHasBeenSet =
false;
406 bool m_attackScriptHasBeenSet =
false;
407 bool m_codeRemediationTaskHasBeenSet =
false;
408 bool m_lastUpdatedByHasBeenSet =
false;
409 bool m_createdAtHasBeenSet =
false;
410 bool m_updatedAtHasBeenSet =
false;
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)
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)
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
Finding & WithCodeRemediationTask(CodeRemediationTaskT &&value)
bool AgentSpaceIdHasBeenSet() const
void SetReasoning(ReasoningT &&value)
bool ReasoningHasBeenSet() const
Finding & WithStatus(FindingStatus value)
Finding & WithTaskId(TaskIdT &&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 ConfidenceHasBeenSet() const
bool LastUpdatedByHasBeenSet() const
const CodeRemediationTask & GetCodeRemediationTask() const
const Aws::String & GetLastUpdatedBy() const
bool PentestJobIdHasBeenSet() const
bool RiskLevelHasBeenSet() const
Finding & WithLastUpdatedBy(LastUpdatedByT &&value)
void SetCreatedAt(CreatedAtT &&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
Finding & WithRiskScore(RiskScoreT &&value)
bool RiskTypeHasBeenSet() const
void SetTaskId(TaskIdT &&value)
bool AttackScriptHasBeenSet() const
Finding & WithUpdatedAt(UpdatedAtT &&value)
void SetConfidence(ConfidenceLevel value)
Finding & WithAgentSpaceId(AgentSpaceIdT &&value)
Finding & WithAttackScript(AttackScriptT &&value)
const Aws::String & GetPentestId() const
const Aws::String & GetDescription() const
Finding & WithName(NameT &&value)
void SetLastUpdatedBy(LastUpdatedByT &&value)
AWS_SECURITYAGENT_API Finding()=default
void SetRiskScore(RiskScoreT &&value)
const Aws::String & GetReasoning() 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
Aws::Utils::Json::JsonValue JsonValue