7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/Assets.h>
11#include <aws/securityagent/model/CloudWatchLog.h>
12#include <aws/securityagent/model/CodeRemediationStrategy.h>
13#include <aws/securityagent/model/ReportDestination.h>
14#include <aws/securityagent/model/ReportFilters.h>
15#include <aws/securityagent/model/ValidationMode.h>
26namespace SecurityAgent {
49 template <
typename CodeReviewIdT = Aws::String>
51 m_codeReviewIdHasBeenSet =
true;
52 m_codeReviewId = std::forward<CodeReviewIdT>(value);
54 template <
typename CodeReviewIdT = Aws::String>
67 template <
typename AgentSpaceIdT = Aws::String>
69 m_agentSpaceIdHasBeenSet =
true;
70 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
72 template <
typename AgentSpaceIdT = Aws::String>
85 template <
typename TitleT = Aws::String>
87 m_titleHasBeenSet =
true;
88 m_title = std::forward<TitleT>(value);
90 template <
typename TitleT = Aws::String>
92 SetTitle(std::forward<TitleT>(value));
103 template <
typename AssetsT = Assets>
105 m_assetsHasBeenSet =
true;
106 m_assets = std::forward<AssetsT>(value);
108 template <
typename AssetsT = Assets>
121 template <
typename ServiceRoleT = Aws::String>
123 m_serviceRoleHasBeenSet =
true;
124 m_serviceRole = std::forward<ServiceRoleT>(value);
126 template <
typename ServiceRoleT = Aws::String>
139 template <
typename LogConfigT = CloudWatchLog>
141 m_logConfigHasBeenSet =
true;
142 m_logConfig = std::forward<LogConfigT>(value);
144 template <
typename LogConfigT = CloudWatchLog>
158 m_codeRemediationStrategyHasBeenSet =
true;
159 m_codeRemediationStrategy = value;
175 m_validationModeHasBeenSet =
true;
176 m_validationMode = value;
193 m_maxTaskHoursHasBeenSet =
true;
194 m_maxTaskHours = value;
209 template <
typename ReportDestinationT = ReportDestination>
211 m_reportDestinationHasBeenSet =
true;
212 m_reportDestination = std::forward<ReportDestinationT>(value);
214 template <
typename ReportDestinationT = ReportDestination>
227 template <
typename ReportFiltersT = ReportFilters>
229 m_reportFiltersHasBeenSet =
true;
230 m_reportFilters = std::forward<ReportFiltersT>(value);
232 template <
typename ReportFiltersT = ReportFilters>
245 template <
typename CreatedAtT = Aws::Utils::DateTime>
247 m_createdAtHasBeenSet =
true;
248 m_createdAt = std::forward<CreatedAtT>(value);
250 template <
typename CreatedAtT = Aws::Utils::DateTime>
263 template <
typename UpdatedAtT = Aws::Utils::DateTime>
265 m_updatedAtHasBeenSet =
true;
266 m_updatedAt = std::forward<UpdatedAtT>(value);
268 template <
typename UpdatedAtT = Aws::Utils::DateTime>
291 double m_maxTaskHours{0.0};
293 ReportDestination m_reportDestination;
295 ReportFilters m_reportFilters;
300 bool m_codeReviewIdHasBeenSet =
false;
301 bool m_agentSpaceIdHasBeenSet =
false;
302 bool m_titleHasBeenSet =
false;
303 bool m_assetsHasBeenSet =
false;
304 bool m_serviceRoleHasBeenSet =
false;
305 bool m_logConfigHasBeenSet =
false;
306 bool m_codeRemediationStrategyHasBeenSet =
false;
307 bool m_validationModeHasBeenSet =
false;
308 bool m_maxTaskHoursHasBeenSet =
false;
309 bool m_reportDestinationHasBeenSet =
false;
310 bool m_reportFiltersHasBeenSet =
false;
311 bool m_createdAtHasBeenSet =
false;
312 bool m_updatedAtHasBeenSet =
false;
CodeReview & WithAssets(AssetsT &&value)
CodeReview & WithMaxTaskHours(double value)
CodeReview & WithValidationMode(ValidationMode value)
const ReportFilters & GetReportFilters() const
CodeReview & WithLogConfig(LogConfigT &&value)
const ReportDestination & GetReportDestination() const
bool TitleHasBeenSet() const
CodeReview & WithUpdatedAt(UpdatedAtT &&value)
CodeRemediationStrategy GetCodeRemediationStrategy() const
AWS_SECURITYAGENT_API CodeReview & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeReview & WithCodeReviewId(CodeReviewIdT &&value)
void SetLogConfig(LogConfigT &&value)
bool ReportDestinationHasBeenSet() const
void SetReportDestination(ReportDestinationT &&value)
const Aws::String & GetCodeReviewId() const
bool CreatedAtHasBeenSet() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const CloudWatchLog & GetLogConfig() const
CodeReview & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetAgentSpaceId() const
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
AWS_SECURITYAGENT_API CodeReview(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API CodeReview()=default
bool CodeReviewIdHasBeenSet() const
bool AssetsHasBeenSet() const
void SetTitle(TitleT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool ServiceRoleHasBeenSet() const
void SetMaxTaskHours(double value)
const Aws::String & GetTitle() const
const Aws::String & GetServiceRole() const
bool CodeRemediationStrategyHasBeenSet() const
bool AgentSpaceIdHasBeenSet() const
ValidationMode GetValidationMode() const
CodeReview & WithReportDestination(ReportDestinationT &&value)
CodeReview & WithReportFilters(ReportFiltersT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
CodeReview & WithCodeRemediationStrategy(CodeRemediationStrategy value)
void SetCodeReviewId(CodeReviewIdT &&value)
bool ReportFiltersHasBeenSet() const
const Assets & GetAssets() const
bool UpdatedAtHasBeenSet() const
CodeReview & WithTitle(TitleT &&value)
bool MaxTaskHoursHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetAssets(AssetsT &&value)
void SetReportFilters(ReportFiltersT &&value)
CodeReview & WithAgentSpaceId(AgentSpaceIdT &&value)
bool ValidationModeHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
CodeReview & WithServiceRole(ServiceRoleT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetValidationMode(ValidationMode value)
bool LogConfigHasBeenSet() const
double GetMaxTaskHours() const
void SetServiceRole(ServiceRoleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue