7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/Assets.h>
12#include <aws/securityagent/model/CloudWatchLog.h>
13#include <aws/securityagent/model/CodeRemediationStrategy.h>
14#include <aws/securityagent/model/ReportDestination.h>
15#include <aws/securityagent/model/ReportFilters.h>
16#include <aws/securityagent/model/ValidationMode.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace SecurityAgent {
47 template <
typename CodeReviewIdT = Aws::String>
49 m_codeReviewIdHasBeenSet =
true;
50 m_codeReviewId = std::forward<CodeReviewIdT>(value);
52 template <
typename CodeReviewIdT = Aws::String>
64 template <
typename TitleT = Aws::String>
66 m_titleHasBeenSet =
true;
67 m_title = std::forward<TitleT>(value);
69 template <
typename TitleT = Aws::String>
71 SetTitle(std::forward<TitleT>(value));
81 template <
typename CreatedAtT = Aws::Utils::DateTime>
83 m_createdAtHasBeenSet =
true;
84 m_createdAt = std::forward<CreatedAtT>(value);
86 template <
typename CreatedAtT = Aws::Utils::DateTime>
98 template <
typename UpdatedAtT = Aws::Utils::DateTime>
100 m_updatedAtHasBeenSet =
true;
101 m_updatedAt = std::forward<UpdatedAtT>(value);
103 template <
typename UpdatedAtT = Aws::Utils::DateTime>
115 template <
typename AssetsT = Assets>
117 m_assetsHasBeenSet =
true;
118 m_assets = std::forward<AssetsT>(value);
120 template <
typename AssetsT = Assets>
132 template <
typename ServiceRoleT = Aws::String>
134 m_serviceRoleHasBeenSet =
true;
135 m_serviceRole = std::forward<ServiceRoleT>(value);
137 template <
typename ServiceRoleT = Aws::String>
149 template <
typename LogConfigT = CloudWatchLog>
151 m_logConfigHasBeenSet =
true;
152 m_logConfig = std::forward<LogConfigT>(value);
154 template <
typename LogConfigT = CloudWatchLog>
166 template <
typename AgentSpaceIdT = Aws::String>
168 m_agentSpaceIdHasBeenSet =
true;
169 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
171 template <
typename AgentSpaceIdT = Aws::String>
184 m_codeRemediationStrategyHasBeenSet =
true;
185 m_codeRemediationStrategy = value;
199 m_validationModeHasBeenSet =
true;
200 m_validationMode = value;
215 m_maxTaskHoursHasBeenSet =
true;
216 m_maxTaskHours = value;
230 template <
typename ReportDestinationT = ReportDestination>
232 m_reportDestinationHasBeenSet =
true;
233 m_reportDestination = std::forward<ReportDestinationT>(value);
235 template <
typename ReportDestinationT = ReportDestination>
247 template <
typename ReportFiltersT = ReportFilters>
249 m_reportFiltersHasBeenSet =
true;
250 m_reportFilters = std::forward<ReportFiltersT>(value);
252 template <
typename ReportFiltersT = ReportFilters>
262 template <
typename RequestIdT = Aws::String>
264 m_requestIdHasBeenSet =
true;
265 m_requestId = std::forward<RequestIdT>(value);
267 template <
typename RequestIdT = Aws::String>
288 CloudWatchLog m_logConfig;
296 double m_maxTaskHours{0.0};
298 ReportDestination m_reportDestination;
300 ReportFilters m_reportFilters;
304 bool m_codeReviewIdHasBeenSet =
false;
305 bool m_titleHasBeenSet =
false;
306 bool m_createdAtHasBeenSet =
false;
307 bool m_updatedAtHasBeenSet =
false;
308 bool m_assetsHasBeenSet =
false;
309 bool m_serviceRoleHasBeenSet =
false;
310 bool m_logConfigHasBeenSet =
false;
311 bool m_agentSpaceIdHasBeenSet =
false;
312 bool m_codeRemediationStrategyHasBeenSet =
false;
313 bool m_validationModeHasBeenSet =
false;
314 bool m_maxTaskHoursHasBeenSet =
false;
315 bool m_reportDestinationHasBeenSet =
false;
316 bool m_reportFiltersHasBeenSet =
false;
317 bool m_requestIdHasBeenSet =
false;
const ReportDestination & GetReportDestination() const
void SetCreatedAt(CreatedAtT &&value)
CreateCodeReviewResult & WithCodeReviewId(CodeReviewIdT &&value)
CreateCodeReviewResult & WithCreatedAt(CreatedAtT &&value)
void SetReportFilters(ReportFiltersT &&value)
const Assets & GetAssets() const
CreateCodeReviewResult & WithAssets(AssetsT &&value)
AWS_SECURITYAGENT_API CreateCodeReviewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetAgentSpaceId() const
void SetLogConfig(LogConfigT &&value)
CreateCodeReviewResult & WithLogConfig(LogConfigT &&value)
void SetAssets(AssetsT &&value)
AWS_SECURITYAGENT_API CreateCodeReviewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const CloudWatchLog & GetLogConfig() const
CreateCodeReviewResult & WithServiceRole(ServiceRoleT &&value)
const Aws::String & GetRequestId() const
void SetUpdatedAt(UpdatedAtT &&value)
CreateCodeReviewResult & WithReportDestination(ReportDestinationT &&value)
ValidationMode GetValidationMode() const
void SetTitle(TitleT &&value)
CreateCodeReviewResult & WithCodeRemediationStrategy(CodeRemediationStrategy value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
const ReportFilters & GetReportFilters() const
CreateCodeReviewResult & WithReportFilters(ReportFiltersT &&value)
const Aws::String & GetTitle() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetServiceRole(ServiceRoleT &&value)
CreateCodeReviewResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_SECURITYAGENT_API CreateCodeReviewResult()=default
CreateCodeReviewResult & WithValidationMode(ValidationMode value)
const Aws::String & GetCodeReviewId() const
const Aws::String & GetServiceRole() const
void SetValidationMode(ValidationMode value)
CreateCodeReviewResult & WithMaxTaskHours(double value)
CodeRemediationStrategy GetCodeRemediationStrategy() const
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
void SetReportDestination(ReportDestinationT &&value)
CreateCodeReviewResult & WithAgentSpaceId(AgentSpaceIdT &&value)
CreateCodeReviewResult & WithTitle(TitleT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
double GetMaxTaskHours() const
void SetMaxTaskHours(double value)
void SetCodeReviewId(CodeReviewIdT &&value)
CreateCodeReviewResult & WithUpdatedAt(UpdatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue