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/CloudWatchLog.h>
12#include <aws/securityagent/model/CodeRemediationStrategy.h>
13#include <aws/securityagent/model/DocumentInfo.h>
14#include <aws/securityagent/model/ErrorInformation.h>
15#include <aws/securityagent/model/ExecutionContext.h>
16#include <aws/securityagent/model/IntegratedRepository.h>
17#include <aws/securityagent/model/JobStatus.h>
18#include <aws/securityagent/model/ReportDestination.h>
19#include <aws/securityagent/model/SourceCodeRepository.h>
20#include <aws/securityagent/model/Step.h>
31namespace SecurityAgent {
54 template <
typename CodeReviewJobIdT = Aws::String>
56 m_codeReviewJobIdHasBeenSet =
true;
57 m_codeReviewJobId = std::forward<CodeReviewJobIdT>(value);
59 template <
typename CodeReviewJobIdT = Aws::String>
72 template <
typename CodeReviewIdT = Aws::String>
74 m_codeReviewIdHasBeenSet =
true;
75 m_codeReviewId = std::forward<CodeReviewIdT>(value);
77 template <
typename CodeReviewIdT = Aws::String>
90 template <
typename TitleT = Aws::String>
92 m_titleHasBeenSet =
true;
93 m_title = std::forward<TitleT>(value);
95 template <
typename TitleT = Aws::String>
97 SetTitle(std::forward<TitleT>(value));
108 template <
typename OverviewT = Aws::String>
110 m_overviewHasBeenSet =
true;
111 m_overview = std::forward<OverviewT>(value);
113 template <
typename OverviewT = Aws::String>
127 m_statusHasBeenSet =
true;
142 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
144 m_documentsHasBeenSet =
true;
145 m_documents = std::forward<DocumentsT>(value);
147 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
152 template <
typename DocumentsT = DocumentInfo>
154 m_documentsHasBeenSet =
true;
155 m_documents.emplace_back(std::forward<DocumentsT>(value));
166 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
168 m_sourceCodeHasBeenSet =
true;
169 m_sourceCode = std::forward<SourceCodeT>(value);
171 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
176 template <
typename SourceCodeT = SourceCodeRepository>
178 m_sourceCodeHasBeenSet =
true;
179 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
190 template <
typename StepsT = Aws::Vector<Step>>
192 m_stepsHasBeenSet =
true;
193 m_steps = std::forward<StepsT>(value);
195 template <
typename StepsT = Aws::Vector<Step>>
197 SetSteps(std::forward<StepsT>(value));
200 template <
typename StepsT = Step>
202 m_stepsHasBeenSet =
true;
203 m_steps.emplace_back(std::forward<StepsT>(value));
214 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
216 m_executionContextHasBeenSet =
true;
217 m_executionContext = std::forward<ExecutionContextT>(value);
219 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
224 template <
typename ExecutionContextT = ExecutionContext>
226 m_executionContextHasBeenSet =
true;
227 m_executionContext.emplace_back(std::forward<ExecutionContextT>(value));
238 template <
typename ServiceRoleT = Aws::String>
240 m_serviceRoleHasBeenSet =
true;
241 m_serviceRole = std::forward<ServiceRoleT>(value);
243 template <
typename ServiceRoleT = Aws::String>
256 template <
typename LogConfigT = CloudWatchLog>
258 m_logConfigHasBeenSet =
true;
259 m_logConfig = std::forward<LogConfigT>(value);
261 template <
typename LogConfigT = CloudWatchLog>
274 template <
typename ErrorInformationT = ErrorInformation>
276 m_errorInformationHasBeenSet =
true;
277 m_errorInformation = std::forward<ErrorInformationT>(value);
279 template <
typename ErrorInformationT = ErrorInformation>
292 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
294 m_integratedRepositoriesHasBeenSet =
true;
295 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
297 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
302 template <
typename IntegratedRepositoriesT = IntegratedRepository>
304 m_integratedRepositoriesHasBeenSet =
true;
305 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
317 m_codeRemediationStrategyHasBeenSet =
true;
318 m_codeRemediationStrategy = value;
335 m_maxTaskHoursHasBeenSet =
true;
336 m_maxTaskHours = value;
351 template <
typename ReportDestinationT = ReportDestination>
353 m_reportDestinationHasBeenSet =
true;
354 m_reportDestination = std::forward<ReportDestinationT>(value);
356 template <
typename ReportDestinationT = ReportDestination>
369 template <
typename CreatedAtT = Aws::Utils::DateTime>
371 m_createdAtHasBeenSet =
true;
372 m_createdAt = std::forward<CreatedAtT>(value);
374 template <
typename CreatedAtT = Aws::Utils::DateTime>
387 template <
typename UpdatedAtT = Aws::Utils::DateTime>
389 m_updatedAtHasBeenSet =
true;
390 m_updatedAt = std::forward<UpdatedAtT>(value);
392 template <
typename UpdatedAtT = Aws::Utils::DateTime>
419 CloudWatchLog m_logConfig;
421 ErrorInformation m_errorInformation;
427 double m_maxTaskHours{0.0};
429 ReportDestination m_reportDestination;
434 bool m_codeReviewJobIdHasBeenSet =
false;
435 bool m_codeReviewIdHasBeenSet =
false;
436 bool m_titleHasBeenSet =
false;
437 bool m_overviewHasBeenSet =
false;
438 bool m_statusHasBeenSet =
false;
439 bool m_documentsHasBeenSet =
false;
440 bool m_sourceCodeHasBeenSet =
false;
441 bool m_stepsHasBeenSet =
false;
442 bool m_executionContextHasBeenSet =
false;
443 bool m_serviceRoleHasBeenSet =
false;
444 bool m_logConfigHasBeenSet =
false;
445 bool m_errorInformationHasBeenSet =
false;
446 bool m_integratedRepositoriesHasBeenSet =
false;
447 bool m_codeRemediationStrategyHasBeenSet =
false;
448 bool m_maxTaskHoursHasBeenSet =
false;
449 bool m_reportDestinationHasBeenSet =
false;
450 bool m_createdAtHasBeenSet =
false;
451 bool m_updatedAtHasBeenSet =
false;
CodeRemediationStrategy GetCodeRemediationStrategy() const
bool MaxTaskHoursHasBeenSet() const
AWS_SECURITYAGENT_API CodeReviewJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ServiceRoleHasBeenSet() const
bool SourceCodeHasBeenSet() const
void SetIntegratedRepositories(IntegratedRepositoriesT &&value)
CodeReviewJob & WithMaxTaskHours(double value)
void SetServiceRole(ServiceRoleT &&value)
CodeReviewJob & WithServiceRole(ServiceRoleT &&value)
bool OverviewHasBeenSet() const
bool CodeRemediationStrategyHasBeenSet() const
bool ReportDestinationHasBeenSet() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
CodeReviewJob & WithDocuments(DocumentsT &&value)
bool TitleHasBeenSet() const
const Aws::Vector< Step > & GetSteps() const
CodeReviewJob & WithTitle(TitleT &&value)
void SetCreatedAt(CreatedAtT &&value)
CodeReviewJob & WithCodeReviewJobId(CodeReviewJobIdT &&value)
void SetDocuments(DocumentsT &&value)
bool CreatedAtHasBeenSet() const
bool StepsHasBeenSet() const
CodeReviewJob & AddSteps(StepsT &&value)
AWS_SECURITYAGENT_API CodeReviewJob()=default
void SetCodeReviewJobId(CodeReviewJobIdT &&value)
const Aws::String & GetCodeReviewJobId() const
CodeReviewJob & WithUpdatedAt(UpdatedAtT &&value)
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
CodeReviewJob & WithErrorInformation(ErrorInformationT &&value)
void SetCodeReviewId(CodeReviewIdT &&value)
bool LogConfigHasBeenSet() const
CodeReviewJob & WithSteps(StepsT &&value)
CodeReviewJob & WithLogConfig(LogConfigT &&value)
bool UpdatedAtHasBeenSet() const
CodeReviewJob & WithCreatedAt(CreatedAtT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetServiceRole() const
const ErrorInformation & GetErrorInformation() const
const Aws::Vector< SourceCodeRepository > & GetSourceCode() const
CodeReviewJob & WithReportDestination(ReportDestinationT &&value)
bool DocumentsHasBeenSet() const
bool CodeReviewJobIdHasBeenSet() const
double GetMaxTaskHours() const
void SetReportDestination(ReportDestinationT &&value)
void SetStatus(JobStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
const ReportDestination & GetReportDestination() const
CodeReviewJob & WithCodeRemediationStrategy(CodeRemediationStrategy value)
CodeReviewJob & AddIntegratedRepositories(IntegratedRepositoriesT &&value)
const Aws::String & GetOverview() const
void SetSourceCode(SourceCodeT &&value)
const Aws::Vector< IntegratedRepository > & GetIntegratedRepositories() const
const Aws::String & GetTitle() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetMaxTaskHours(double value)
CodeReviewJob & WithStatus(JobStatus value)
bool IntegratedRepositoriesHasBeenSet() const
bool ExecutionContextHasBeenSet() const
const Aws::String & GetCodeReviewId() const
AWS_SECURITYAGENT_API CodeReviewJob(Aws::Utils::Json::JsonView jsonValue)
void SetErrorInformation(ErrorInformationT &&value)
CodeReviewJob & AddDocuments(DocumentsT &&value)
CodeReviewJob & WithOverview(OverviewT &&value)
void SetLogConfig(LogConfigT &&value)
CodeReviewJob & AddExecutionContext(ExecutionContextT &&value)
JobStatus GetStatus() const
CodeReviewJob & WithCodeReviewId(CodeReviewIdT &&value)
CodeReviewJob & WithSourceCode(SourceCodeT &&value)
bool ErrorInformationHasBeenSet() const
bool CodeReviewIdHasBeenSet() const
const Aws::Vector< ExecutionContext > & GetExecutionContext() const
const CloudWatchLog & GetLogConfig() const
CodeReviewJob & WithExecutionContext(ExecutionContextT &&value)
void SetExecutionContext(ExecutionContextT &&value)
void SetSteps(StepsT &&value)
CodeReviewJob & WithIntegratedRepositories(IntegratedRepositoriesT &&value)
void SetTitle(TitleT &&value)
const Aws::Vector< DocumentInfo > & GetDocuments() const
CodeReviewJob & AddSourceCode(SourceCodeT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetOverview(OverviewT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue