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/SourceCodeRepository.h>
19#include <aws/securityagent/model/Step.h>
30namespace SecurityAgent {
53 template <
typename CodeReviewJobIdT = Aws::String>
55 m_codeReviewJobIdHasBeenSet =
true;
56 m_codeReviewJobId = std::forward<CodeReviewJobIdT>(value);
58 template <
typename CodeReviewJobIdT = Aws::String>
71 template <
typename CodeReviewIdT = Aws::String>
73 m_codeReviewIdHasBeenSet =
true;
74 m_codeReviewId = std::forward<CodeReviewIdT>(value);
76 template <
typename CodeReviewIdT = Aws::String>
89 template <
typename TitleT = Aws::String>
91 m_titleHasBeenSet =
true;
92 m_title = std::forward<TitleT>(value);
94 template <
typename TitleT = Aws::String>
96 SetTitle(std::forward<TitleT>(value));
107 template <
typename OverviewT = Aws::String>
109 m_overviewHasBeenSet =
true;
110 m_overview = std::forward<OverviewT>(value);
112 template <
typename OverviewT = Aws::String>
126 m_statusHasBeenSet =
true;
141 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
143 m_documentsHasBeenSet =
true;
144 m_documents = std::forward<DocumentsT>(value);
146 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
151 template <
typename DocumentsT = DocumentInfo>
153 m_documentsHasBeenSet =
true;
154 m_documents.emplace_back(std::forward<DocumentsT>(value));
165 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
167 m_sourceCodeHasBeenSet =
true;
168 m_sourceCode = std::forward<SourceCodeT>(value);
170 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
175 template <
typename SourceCodeT = SourceCodeRepository>
177 m_sourceCodeHasBeenSet =
true;
178 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
189 template <
typename StepsT = Aws::Vector<Step>>
191 m_stepsHasBeenSet =
true;
192 m_steps = std::forward<StepsT>(value);
194 template <
typename StepsT = Aws::Vector<Step>>
196 SetSteps(std::forward<StepsT>(value));
199 template <
typename StepsT = Step>
201 m_stepsHasBeenSet =
true;
202 m_steps.emplace_back(std::forward<StepsT>(value));
213 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
215 m_executionContextHasBeenSet =
true;
216 m_executionContext = std::forward<ExecutionContextT>(value);
218 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
223 template <
typename ExecutionContextT = ExecutionContext>
225 m_executionContextHasBeenSet =
true;
226 m_executionContext.emplace_back(std::forward<ExecutionContextT>(value));
237 template <
typename ServiceRoleT = Aws::String>
239 m_serviceRoleHasBeenSet =
true;
240 m_serviceRole = std::forward<ServiceRoleT>(value);
242 template <
typename ServiceRoleT = Aws::String>
255 template <
typename LogConfigT = CloudWatchLog>
257 m_logConfigHasBeenSet =
true;
258 m_logConfig = std::forward<LogConfigT>(value);
260 template <
typename LogConfigT = CloudWatchLog>
273 template <
typename ErrorInformationT = ErrorInformation>
275 m_errorInformationHasBeenSet =
true;
276 m_errorInformation = std::forward<ErrorInformationT>(value);
278 template <
typename ErrorInformationT = ErrorInformation>
291 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
293 m_integratedRepositoriesHasBeenSet =
true;
294 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
296 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
301 template <
typename IntegratedRepositoriesT = IntegratedRepository>
303 m_integratedRepositoriesHasBeenSet =
true;
304 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
316 m_codeRemediationStrategyHasBeenSet =
true;
317 m_codeRemediationStrategy = value;
331 template <
typename CreatedAtT = Aws::Utils::DateTime>
333 m_createdAtHasBeenSet =
true;
334 m_createdAt = std::forward<CreatedAtT>(value);
336 template <
typename CreatedAtT = Aws::Utils::DateTime>
349 template <
typename UpdatedAtT = Aws::Utils::DateTime>
351 m_updatedAtHasBeenSet =
true;
352 m_updatedAt = std::forward<UpdatedAtT>(value);
354 template <
typename UpdatedAtT = Aws::Utils::DateTime>
381 CloudWatchLog m_logConfig;
383 ErrorInformation m_errorInformation;
392 bool m_codeReviewJobIdHasBeenSet =
false;
393 bool m_codeReviewIdHasBeenSet =
false;
394 bool m_titleHasBeenSet =
false;
395 bool m_overviewHasBeenSet =
false;
396 bool m_statusHasBeenSet =
false;
397 bool m_documentsHasBeenSet =
false;
398 bool m_sourceCodeHasBeenSet =
false;
399 bool m_stepsHasBeenSet =
false;
400 bool m_executionContextHasBeenSet =
false;
401 bool m_serviceRoleHasBeenSet =
false;
402 bool m_logConfigHasBeenSet =
false;
403 bool m_errorInformationHasBeenSet =
false;
404 bool m_integratedRepositoriesHasBeenSet =
false;
405 bool m_codeRemediationStrategyHasBeenSet =
false;
406 bool m_createdAtHasBeenSet =
false;
407 bool m_updatedAtHasBeenSet =
false;
CodeRemediationStrategy GetCodeRemediationStrategy() const
AWS_SECURITYAGENT_API CodeReviewJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ServiceRoleHasBeenSet() const
bool SourceCodeHasBeenSet() const
void SetIntegratedRepositories(IntegratedRepositoriesT &&value)
void SetServiceRole(ServiceRoleT &&value)
CodeReviewJob & WithServiceRole(ServiceRoleT &&value)
bool OverviewHasBeenSet() const
bool CodeRemediationStrategyHasBeenSet() 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
bool DocumentsHasBeenSet() const
bool CodeReviewJobIdHasBeenSet() const
void SetStatus(JobStatus value)
const Aws::Utils::DateTime & GetCreatedAt() 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)
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