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/LogLocation.h>
13#include <aws/securityagent/model/RiskType.h>
14#include <aws/securityagent/model/TaskExecutionStatus.h>
25namespace SecurityAgent {
48 template <
typename TaskIdT = Aws::String>
50 m_taskIdHasBeenSet =
true;
51 m_taskId = std::forward<TaskIdT>(value);
53 template <
typename TaskIdT = Aws::String>
66 template <
typename CodeReviewIdT = Aws::String>
68 m_codeReviewIdHasBeenSet =
true;
69 m_codeReviewId = std::forward<CodeReviewIdT>(value);
71 template <
typename CodeReviewIdT = Aws::String>
84 template <
typename CodeReviewJobIdT = Aws::String>
86 m_codeReviewJobIdHasBeenSet =
true;
87 m_codeReviewJobId = std::forward<CodeReviewJobIdT>(value);
89 template <
typename CodeReviewJobIdT = Aws::String>
102 template <
typename AgentSpaceIdT = Aws::String>
104 m_agentSpaceIdHasBeenSet =
true;
105 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
107 template <
typename AgentSpaceIdT = Aws::String>
120 template <
typename TitleT = Aws::String>
122 m_titleHasBeenSet =
true;
123 m_title = std::forward<TitleT>(value);
125 template <
typename TitleT = Aws::String>
127 SetTitle(std::forward<TitleT>(value));
138 template <
typename DescriptionT = Aws::String>
140 m_descriptionHasBeenSet =
true;
141 m_description = std::forward<DescriptionT>(value);
143 template <
typename DescriptionT = Aws::String>
156 template <
typename CategoriesT = Aws::Vector<Category>>
158 m_categoriesHasBeenSet =
true;
159 m_categories = std::forward<CategoriesT>(value);
161 template <
typename CategoriesT = Aws::Vector<Category>>
166 template <
typename CategoriesT = Category>
168 m_categoriesHasBeenSet =
true;
169 m_categories.emplace_back(std::forward<CategoriesT>(value));
181 m_riskTypeHasBeenSet =
true;
197 m_executionStatusHasBeenSet =
true;
198 m_executionStatus = value;
212 template <
typename LogsLocationT = LogLocation>
214 m_logsLocationHasBeenSet =
true;
215 m_logsLocation = std::forward<LogsLocationT>(value);
217 template <
typename LogsLocationT = LogLocation>
230 template <
typename CreatedAtT = Aws::Utils::DateTime>
232 m_createdAtHasBeenSet =
true;
233 m_createdAt = std::forward<CreatedAtT>(value);
235 template <
typename CreatedAtT = Aws::Utils::DateTime>
248 template <
typename UpdatedAtT = Aws::Utils::DateTime>
250 m_updatedAtHasBeenSet =
true;
251 m_updatedAt = std::forward<UpdatedAtT>(value);
253 template <
typename UpdatedAtT = Aws::Utils::DateTime>
278 LogLocation m_logsLocation;
283 bool m_taskIdHasBeenSet =
false;
284 bool m_codeReviewIdHasBeenSet =
false;
285 bool m_codeReviewJobIdHasBeenSet =
false;
286 bool m_agentSpaceIdHasBeenSet =
false;
287 bool m_titleHasBeenSet =
false;
288 bool m_descriptionHasBeenSet =
false;
289 bool m_categoriesHasBeenSet =
false;
290 bool m_riskTypeHasBeenSet =
false;
291 bool m_executionStatusHasBeenSet =
false;
292 bool m_logsLocationHasBeenSet =
false;
293 bool m_createdAtHasBeenSet =
false;
294 bool m_updatedAtHasBeenSet =
false;
void SetTitle(TitleT &&value)
const Aws::Vector< Category > & GetCategories() const
const Aws::String & GetTaskId() const
bool ExecutionStatusHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetCodeReviewJobId() const
const Aws::String & GetCodeReviewId() const
CodeReviewJobTask & WithUpdatedAt(UpdatedAtT &&value)
bool TitleHasBeenSet() const
void SetTaskId(TaskIdT &&value)
AWS_SECURITYAGENT_API CodeReviewJobTask & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
const Aws::String & GetDescription() const
void SetExecutionStatus(TaskExecutionStatus value)
bool LogsLocationHasBeenSet() const
CodeReviewJobTask & WithCodeReviewId(CodeReviewIdT &&value)
void SetLogsLocation(LogsLocationT &&value)
const LogLocation & GetLogsLocation() const
bool DescriptionHasBeenSet() const
CodeReviewJobTask & WithDescription(DescriptionT &&value)
bool UpdatedAtHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
CodeReviewJobTask & WithTitle(TitleT &&value)
void SetRiskType(RiskType value)
bool CategoriesHasBeenSet() const
AWS_SECURITYAGENT_API CodeReviewJobTask(Aws::Utils::Json::JsonView jsonValue)
void SetCodeReviewId(CodeReviewIdT &&value)
CodeReviewJobTask & WithTaskId(TaskIdT &&value)
bool RiskTypeHasBeenSet() const
bool CodeReviewJobIdHasBeenSet() const
const Aws::String & GetTitle() const
CodeReviewJobTask & WithRiskType(RiskType value)
AWS_SECURITYAGENT_API CodeReviewJobTask()=default
const Aws::Utils::DateTime & GetCreatedAt() const
CodeReviewJobTask & AddCategories(CategoriesT &&value)
bool AgentSpaceIdHasBeenSet() const
CodeReviewJobTask & WithAgentSpaceId(AgentSpaceIdT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
CodeReviewJobTask & WithCreatedAt(CreatedAtT &&value)
CodeReviewJobTask & WithLogsLocation(LogsLocationT &&value)
void SetCreatedAt(CreatedAtT &&value)
TaskExecutionStatus GetExecutionStatus() const
CodeReviewJobTask & WithExecutionStatus(TaskExecutionStatus value)
CodeReviewJobTask & WithCodeReviewJobId(CodeReviewJobIdT &&value)
CodeReviewJobTask & WithCategories(CategoriesT &&value)
void SetCategories(CategoriesT &&value)
RiskType GetRiskType() const
bool TaskIdHasBeenSet() const
const Aws::String & GetAgentSpaceId() const
void SetCodeReviewJobId(CodeReviewJobIdT &&value)
bool CodeReviewIdHasBeenSet() 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