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/Category.h>
12#include <aws/securityagent/model/Endpoint.h>
13#include <aws/securityagent/model/LogLocation.h>
14#include <aws/securityagent/model/RiskType.h>
15#include <aws/securityagent/model/TaskExecutionStatus.h>
26namespace SecurityAgent {
38 AWS_SECURITYAGENT_API
Task() =
default;
49 template <
typename TaskIdT = Aws::String>
51 m_taskIdHasBeenSet =
true;
52 m_taskId = std::forward<TaskIdT>(value);
54 template <
typename TaskIdT = Aws::String>
67 template <
typename PentestIdT = Aws::String>
69 m_pentestIdHasBeenSet =
true;
70 m_pentestId = std::forward<PentestIdT>(value);
72 template <
typename PentestIdT = Aws::String>
85 template <
typename PentestJobIdT = Aws::String>
87 m_pentestJobIdHasBeenSet =
true;
88 m_pentestJobId = std::forward<PentestJobIdT>(value);
90 template <
typename PentestJobIdT = Aws::String>
103 template <
typename AgentSpaceIdT = Aws::String>
105 m_agentSpaceIdHasBeenSet =
true;
106 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
108 template <
typename AgentSpaceIdT = Aws::String>
121 template <
typename TitleT = Aws::String>
123 m_titleHasBeenSet =
true;
124 m_title = std::forward<TitleT>(value);
126 template <
typename TitleT = Aws::String>
128 SetTitle(std::forward<TitleT>(value));
139 template <
typename DescriptionT = Aws::String>
141 m_descriptionHasBeenSet =
true;
142 m_description = std::forward<DescriptionT>(value);
144 template <
typename DescriptionT = Aws::String>
157 template <
typename CategoriesT = Aws::Vector<Category>>
159 m_categoriesHasBeenSet =
true;
160 m_categories = std::forward<CategoriesT>(value);
162 template <
typename CategoriesT = Aws::Vector<Category>>
167 template <
typename CategoriesT = Category>
169 m_categoriesHasBeenSet =
true;
170 m_categories.emplace_back(std::forward<CategoriesT>(value));
182 m_riskTypeHasBeenSet =
true;
197 template <
typename TargetEndpo
intT = Endpo
int>
199 m_targetEndpointHasBeenSet =
true;
200 m_targetEndpoint = std::forward<TargetEndpointT>(value);
202 template <
typename TargetEndpo
intT = Endpo
int>
216 m_executionStatusHasBeenSet =
true;
217 m_executionStatus = value;
231 template <
typename LogsLocationT = LogLocation>
233 m_logsLocationHasBeenSet =
true;
234 m_logsLocation = std::forward<LogsLocationT>(value);
236 template <
typename LogsLocationT = LogLocation>
249 template <
typename CreatedAtT = Aws::Utils::DateTime>
251 m_createdAtHasBeenSet =
true;
252 m_createdAt = std::forward<CreatedAtT>(value);
254 template <
typename CreatedAtT = Aws::Utils::DateTime>
267 template <
typename UpdatedAtT = Aws::Utils::DateTime>
269 m_updatedAtHasBeenSet =
true;
270 m_updatedAt = std::forward<UpdatedAtT>(value);
272 template <
typename UpdatedAtT = Aws::Utils::DateTime>
295 Endpoint m_targetEndpoint;
299 LogLocation m_logsLocation;
304 bool m_taskIdHasBeenSet =
false;
305 bool m_pentestIdHasBeenSet =
false;
306 bool m_pentestJobIdHasBeenSet =
false;
307 bool m_agentSpaceIdHasBeenSet =
false;
308 bool m_titleHasBeenSet =
false;
309 bool m_descriptionHasBeenSet =
false;
310 bool m_categoriesHasBeenSet =
false;
311 bool m_riskTypeHasBeenSet =
false;
312 bool m_targetEndpointHasBeenSet =
false;
313 bool m_executionStatusHasBeenSet =
false;
314 bool m_logsLocationHasBeenSet =
false;
315 bool m_createdAtHasBeenSet =
false;
316 bool m_updatedAtHasBeenSet =
false;
Task & WithCreatedAt(CreatedAtT &&value)
void SetCategories(CategoriesT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
Task & WithLogsLocation(LogsLocationT &&value)
Task & WithDescription(DescriptionT &&value)
bool TitleHasBeenSet() const
AWS_SECURITYAGENT_API Task()=default
Task & WithRiskType(RiskType value)
bool PentestJobIdHasBeenSet() const
Task & WithTitle(TitleT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
const Aws::Vector< Category > & GetCategories() const
void SetExecutionStatus(TaskExecutionStatus value)
Task & WithTargetEndpoint(TargetEndpointT &&value)
void SetLogsLocation(LogsLocationT &&value)
const Aws::String & GetTaskId() const
bool CategoriesHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(CreatedAtT &&value)
void SetDescription(DescriptionT &&value)
Task & WithTaskId(TaskIdT &&value)
Task & WithCategories(CategoriesT &&value)
bool RiskTypeHasBeenSet() const
Task & WithUpdatedAt(UpdatedAtT &&value)
bool TaskIdHasBeenSet() const
const Aws::String & GetTitle() const
bool ExecutionStatusHasBeenSet() const
void SetRiskType(RiskType value)
bool CreatedAtHasBeenSet() const
AWS_SECURITYAGENT_API Task(Aws::Utils::Json::JsonView jsonValue)
bool PentestIdHasBeenSet() const
RiskType GetRiskType() const
const Aws::String & GetAgentSpaceId() const
void SetTitle(TitleT &&value)
Task & WithPentestId(PentestIdT &&value)
bool AgentSpaceIdHasBeenSet() const
void SetTargetEndpoint(TargetEndpointT &&value)
const LogLocation & GetLogsLocation() const
bool TargetEndpointHasBeenSet() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPentestJobId(PentestJobIdT &&value)
const Aws::String & GetPentestJobId() const
Task & WithPentestJobId(PentestJobIdT &&value)
void SetTaskId(TaskIdT &&value)
bool LogsLocationHasBeenSet() const
const Endpoint & GetTargetEndpoint() const
Task & WithExecutionStatus(TaskExecutionStatus value)
TaskExecutionStatus GetExecutionStatus() const
void SetUpdatedAt(UpdatedAtT &&value)
AWS_SECURITYAGENT_API Task & operator=(Aws::Utils::Json::JsonView jsonValue)
Task & WithAgentSpaceId(AgentSpaceIdT &&value)
bool UpdatedAtHasBeenSet() const
void SetPentestId(PentestIdT &&value)
Task & AddCategories(CategoriesT &&value)
const Aws::String & GetPentestId() 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