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/ConfidenceLevel.h>
11#include <aws/securityagent/model/FindingStatus.h>
12#include <aws/securityagent/model/RiskLevel.h>
23namespace SecurityAgent {
44 template <
typename FindingIdT = Aws::String>
46 m_findingIdHasBeenSet =
true;
47 m_findingId = std::forward<FindingIdT>(value);
49 template <
typename FindingIdT = Aws::String>
62 template <
typename AgentSpaceIdT = Aws::String>
64 m_agentSpaceIdHasBeenSet =
true;
65 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
67 template <
typename AgentSpaceIdT = Aws::String>
80 template <
typename PentestIdT = Aws::String>
82 m_pentestIdHasBeenSet =
true;
83 m_pentestId = std::forward<PentestIdT>(value);
85 template <
typename PentestIdT = Aws::String>
98 template <
typename PentestJobIdT = Aws::String>
100 m_pentestJobIdHasBeenSet =
true;
101 m_pentestJobId = std::forward<PentestJobIdT>(value);
103 template <
typename PentestJobIdT = Aws::String>
116 template <
typename NameT = Aws::String>
118 m_nameHasBeenSet =
true;
119 m_name = std::forward<NameT>(value);
121 template <
typename NameT = Aws::String>
123 SetName(std::forward<NameT>(value));
135 m_statusHasBeenSet =
true;
150 template <
typename RiskTypeT = Aws::String>
152 m_riskTypeHasBeenSet =
true;
153 m_riskType = std::forward<RiskTypeT>(value);
155 template <
typename RiskTypeT = Aws::String>
169 m_riskLevelHasBeenSet =
true;
185 m_confidenceHasBeenSet =
true;
186 m_confidence = value;
200 template <
typename CreatedAtT = Aws::Utils::DateTime>
202 m_createdAtHasBeenSet =
true;
203 m_createdAt = std::forward<CreatedAtT>(value);
205 template <
typename CreatedAtT = Aws::Utils::DateTime>
218 template <
typename UpdatedAtT = Aws::Utils::DateTime>
220 m_updatedAtHasBeenSet =
true;
221 m_updatedAt = std::forward<UpdatedAtT>(value);
223 template <
typename UpdatedAtT = Aws::Utils::DateTime>
251 bool m_findingIdHasBeenSet =
false;
252 bool m_agentSpaceIdHasBeenSet =
false;
253 bool m_pentestIdHasBeenSet =
false;
254 bool m_pentestJobIdHasBeenSet =
false;
255 bool m_nameHasBeenSet =
false;
256 bool m_statusHasBeenSet =
false;
257 bool m_riskTypeHasBeenSet =
false;
258 bool m_riskLevelHasBeenSet =
false;
259 bool m_confidenceHasBeenSet =
false;
260 bool m_createdAtHasBeenSet =
false;
261 bool m_updatedAtHasBeenSet =
false;
void SetName(NameT &&value)
bool StatusHasBeenSet() const
RiskLevel GetRiskLevel() const
void SetPentestId(PentestIdT &&value)
FindingSummary & WithCreatedAt(CreatedAtT &&value)
FindingStatus GetStatus() const
FindingSummary & WithRiskType(RiskTypeT &&value)
void SetFindingId(FindingIdT &&value)
FindingSummary & WithRiskLevel(RiskLevel value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool CreatedAtHasBeenSet() const
bool PentestIdHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
ConfidenceLevel GetConfidence() const
FindingSummary & WithName(NameT &&value)
AWS_SECURITYAGENT_API FindingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API FindingSummary()=default
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool RiskLevelHasBeenSet() const
bool ConfidenceHasBeenSet() const
FindingSummary & WithPentestJobId(PentestJobIdT &&value)
void SetStatus(FindingStatus value)
bool FindingIdHasBeenSet() const
bool RiskTypeHasBeenSet() const
const Aws::String & GetPentestJobId() const
void SetPentestJobId(PentestJobIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
FindingSummary & WithPentestId(PentestIdT &&value)
bool AgentSpaceIdHasBeenSet() const
FindingSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetFindingId() const
const Aws::String & GetRiskType() const
const Aws::String & GetPentestId() const
void SetAgentSpaceId(AgentSpaceIdT &&value)
const Aws::String & GetAgentSpaceId() const
FindingSummary & WithAgentSpaceId(AgentSpaceIdT &&value)
FindingSummary & WithStatus(FindingStatus value)
FindingSummary & WithFindingId(FindingIdT &&value)
void SetConfidence(ConfidenceLevel value)
const Aws::String & GetName() const
void SetRiskType(RiskTypeT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool NameHasBeenSet() const
bool UpdatedAtHasBeenSet() const
FindingSummary & WithConfidence(ConfidenceLevel value)
bool PentestJobIdHasBeenSet() const
AWS_SECURITYAGENT_API FindingSummary(Aws::Utils::Json::JsonView jsonValue)
void SetRiskLevel(RiskLevel value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue