7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgentRequest.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>
20namespace SecurityAgent {
46 template <
typename TitleT = Aws::String>
48 m_titleHasBeenSet =
true;
49 m_title = std::forward<TitleT>(value);
51 template <
typename TitleT = Aws::String>
53 SetTitle(std::forward<TitleT>(value));
64 template <
typename AgentSpaceIdT = Aws::String>
66 m_agentSpaceIdHasBeenSet =
true;
67 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
69 template <
typename AgentSpaceIdT = Aws::String>
83 template <
typename AssetsT = Assets>
85 m_assetsHasBeenSet =
true;
86 m_assets = std::forward<AssetsT>(value);
88 template <
typename AssetsT = Assets>
101 template <
typename ServiceRoleT = Aws::String>
103 m_serviceRoleHasBeenSet =
true;
104 m_serviceRole = std::forward<ServiceRoleT>(value);
106 template <
typename ServiceRoleT = Aws::String>
119 template <
typename LogConfigT = CloudWatchLog>
121 m_logConfigHasBeenSet =
true;
122 m_logConfig = std::forward<LogConfigT>(value);
124 template <
typename LogConfigT = CloudWatchLog>
139 m_codeRemediationStrategyHasBeenSet =
true;
140 m_codeRemediationStrategy = value;
156 m_validationModeHasBeenSet =
true;
157 m_validationMode = value;
174 m_maxTaskHoursHasBeenSet =
true;
175 m_maxTaskHours = value;
190 template <
typename ReportDestinationT = ReportDestination>
192 m_reportDestinationHasBeenSet =
true;
193 m_reportDestination = std::forward<ReportDestinationT>(value);
195 template <
typename ReportDestinationT = ReportDestination>
208 template <
typename ReportFiltersT = ReportFilters>
210 m_reportFiltersHasBeenSet =
true;
211 m_reportFilters = std::forward<ReportFiltersT>(value);
213 template <
typename ReportFiltersT = ReportFilters>
234 double m_maxTaskHours{0.0};
236 ReportDestination m_reportDestination;
238 ReportFilters m_reportFilters;
239 bool m_titleHasBeenSet =
false;
240 bool m_agentSpaceIdHasBeenSet =
false;
241 bool m_assetsHasBeenSet =
false;
242 bool m_serviceRoleHasBeenSet =
false;
243 bool m_logConfigHasBeenSet =
false;
244 bool m_codeRemediationStrategyHasBeenSet =
false;
245 bool m_validationModeHasBeenSet =
false;
246 bool m_maxTaskHoursHasBeenSet =
false;
247 bool m_reportDestinationHasBeenSet =
false;
248 bool m_reportFiltersHasBeenSet =
false;
const Aws::String & GetServiceRole() const
const Aws::String & GetAgentSpaceId() const
const Assets & GetAssets() const
void SetMaxTaskHours(double value)
const Aws::String & GetTitle() const
ValidationMode GetValidationMode() const
void SetAssets(AssetsT &&value)
const ReportFilters & GetReportFilters() const
bool CodeRemediationStrategyHasBeenSet() const
CreateCodeReviewRequest & WithCodeRemediationStrategy(CodeRemediationStrategy value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
CreateCodeReviewRequest & WithReportDestination(ReportDestinationT &&value)
CreateCodeReviewRequest & WithServiceRole(ServiceRoleT &&value)
CreateCodeReviewRequest & WithAssets(AssetsT &&value)
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
AWS_SECURITYAGENT_API CreateCodeReviewRequest()=default
const CloudWatchLog & GetLogConfig() const
bool ReportFiltersHasBeenSet() const
void SetTitle(TitleT &&value)
CreateCodeReviewRequest & WithReportFilters(ReportFiltersT &&value)
bool ServiceRoleHasBeenSet() const
bool ReportDestinationHasBeenSet() const
CreateCodeReviewRequest & WithLogConfig(LogConfigT &&value)
bool AgentSpaceIdHasBeenSet() const
bool MaxTaskHoursHasBeenSet() const
CodeRemediationStrategy GetCodeRemediationStrategy() const
void SetReportDestination(ReportDestinationT &&value)
bool TitleHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateCodeReviewRequest & WithTitle(TitleT &&value)
void SetReportFilters(ReportFiltersT &&value)
void SetLogConfig(LogConfigT &&value)
void SetValidationMode(ValidationMode value)
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
void SetServiceRole(ServiceRoleT &&value)
const ReportDestination & GetReportDestination() const
bool AssetsHasBeenSet() const
bool LogConfigHasBeenSet() const
CreateCodeReviewRequest & WithMaxTaskHours(double value)
CreateCodeReviewRequest & WithValidationMode(ValidationMode value)
double GetMaxTaskHours() const
CreateCodeReviewRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
bool ValidationModeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String