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 {
36 AWS_SECURITYAGENT_API
Task() =
default;
47 template <
typename TaskIdT = Aws::String>
49 m_taskIdHasBeenSet =
true;
50 m_taskId = std::forward<TaskIdT>(value);
52 template <
typename TaskIdT = Aws::String>
65 template <
typename PentestIdT = Aws::String>
67 m_pentestIdHasBeenSet =
true;
68 m_pentestId = std::forward<PentestIdT>(value);
70 template <
typename PentestIdT = Aws::String>
83 template <
typename PentestJobIdT = Aws::String>
85 m_pentestJobIdHasBeenSet =
true;
86 m_pentestJobId = std::forward<PentestJobIdT>(value);
88 template <
typename PentestJobIdT = Aws::String>
101 template <
typename AgentSpaceIdT = Aws::String>
103 m_agentSpaceIdHasBeenSet =
true;
104 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
106 template <
typename AgentSpaceIdT = Aws::String>
119 template <
typename TitleT = Aws::String>
121 m_titleHasBeenSet =
true;
122 m_title = std::forward<TitleT>(value);
124 template <
typename TitleT = Aws::String>
126 SetTitle(std::forward<TitleT>(value));
137 template <
typename DescriptionT = Aws::String>
139 m_descriptionHasBeenSet =
true;
140 m_description = std::forward<DescriptionT>(value);
142 template <
typename DescriptionT = Aws::String>
155 template <
typename CategoriesT = Aws::Vector<Category>>
157 m_categoriesHasBeenSet =
true;
158 m_categories = std::forward<CategoriesT>(value);
160 template <
typename CategoriesT = Aws::Vector<Category>>
165 template <
typename CategoriesT = Category>
167 m_categoriesHasBeenSet =
true;
168 m_categories.emplace_back(std::forward<CategoriesT>(value));
180 m_riskTypeHasBeenSet =
true;
195 template <
typename TargetEndpo
intT = Endpo
int>
197 m_targetEndpointHasBeenSet =
true;
198 m_targetEndpoint = std::forward<TargetEndpointT>(value);
200 template <
typename TargetEndpo
intT = Endpo
int>
214 m_executionStatusHasBeenSet =
true;
215 m_executionStatus = value;
229 template <
typename LogsLocationT = LogLocation>
231 m_logsLocationHasBeenSet =
true;
232 m_logsLocation = std::forward<LogsLocationT>(value);
234 template <
typename LogsLocationT = LogLocation>
247 template <
typename CreatedAtT = Aws::Utils::DateTime>
249 m_createdAtHasBeenSet =
true;
250 m_createdAt = std::forward<CreatedAtT>(value);
252 template <
typename CreatedAtT = Aws::Utils::DateTime>
265 template <
typename UpdatedAtT = Aws::Utils::DateTime>
267 m_updatedAtHasBeenSet =
true;
268 m_updatedAt = std::forward<UpdatedAtT>(value);
270 template <
typename UpdatedAtT = Aws::Utils::DateTime>
293 Endpoint m_targetEndpoint;
297 LogLocation m_logsLocation;
302 bool m_taskIdHasBeenSet =
false;
303 bool m_pentestIdHasBeenSet =
false;
304 bool m_pentestJobIdHasBeenSet =
false;
305 bool m_agentSpaceIdHasBeenSet =
false;
306 bool m_titleHasBeenSet =
false;
307 bool m_descriptionHasBeenSet =
false;
308 bool m_categoriesHasBeenSet =
false;
309 bool m_riskTypeHasBeenSet =
false;
310 bool m_targetEndpointHasBeenSet =
false;
311 bool m_executionStatusHasBeenSet =
false;
312 bool m_logsLocationHasBeenSet =
false;
313 bool m_createdAtHasBeenSet =
false;
314 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