7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityagent/SecurityAgentRequest.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/Assets.h>
12#include <aws/securityagent/model/CiCdConfiguration.h>
13#include <aws/securityagent/model/CloudWatchLog.h>
14#include <aws/securityagent/model/CodeRemediationStrategy.h>
15#include <aws/securityagent/model/NetworkTrafficConfig.h>
16#include <aws/securityagent/model/ReportDestination.h>
17#include <aws/securityagent/model/ReportFilters.h>
18#include <aws/securityagent/model/RiskType.h>
19#include <aws/securityagent/model/SkillType.h>
20#include <aws/securityagent/model/TestScope.h>
21#include <aws/securityagent/model/VpcConfig.h>
26namespace SecurityAgent {
52 template <
typename TitleT = Aws::String>
54 m_titleHasBeenSet =
true;
55 m_title = std::forward<TitleT>(value);
57 template <
typename TitleT = Aws::String>
59 SetTitle(std::forward<TitleT>(value));
70 template <
typename AgentSpaceIdT = Aws::String>
72 m_agentSpaceIdHasBeenSet =
true;
73 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
75 template <
typename AgentSpaceIdT = Aws::String>
89 template <
typename AssetsT = Assets>
91 m_assetsHasBeenSet =
true;
92 m_assets = std::forward<AssetsT>(value);
94 template <
typename AssetsT = Assets>
107 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
109 m_excludeRiskTypesHasBeenSet =
true;
110 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
112 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
118 m_excludeRiskTypesHasBeenSet =
true;
119 m_excludeRiskTypes.push_back(value);
130 template <
typename ServiceRoleT = Aws::String>
132 m_serviceRoleHasBeenSet =
true;
133 m_serviceRole = std::forward<ServiceRoleT>(value);
135 template <
typename ServiceRoleT = Aws::String>
148 template <
typename LogConfigT = CloudWatchLog>
150 m_logConfigHasBeenSet =
true;
151 m_logConfig = std::forward<LogConfigT>(value);
153 template <
typename LogConfigT = CloudWatchLog>
166 template <
typename VpcConfigT = VpcConfig>
168 m_vpcConfigHasBeenSet =
true;
169 m_vpcConfig = std::forward<VpcConfigT>(value);
171 template <
typename VpcConfigT = VpcConfig>
185 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
187 m_networkTrafficConfigHasBeenSet =
true;
188 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
190 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
205 m_codeRemediationStrategyHasBeenSet =
true;
206 m_codeRemediationStrategy = value;
221 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
223 m_disableManagedSkillsHasBeenSet =
true;
224 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
226 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
232 m_disableManagedSkillsHasBeenSet =
true;
233 m_disableManagedSkills.push_back(value);
247 m_maxTaskHoursHasBeenSet =
true;
248 m_maxTaskHours = value;
263 template <
typename ReportDestinationT = ReportDestination>
265 m_reportDestinationHasBeenSet =
true;
266 m_reportDestination = std::forward<ReportDestinationT>(value);
268 template <
typename ReportDestinationT = ReportDestination>
281 template <
typename ReportFiltersT = ReportFilters>
283 m_reportFiltersHasBeenSet =
true;
284 m_reportFilters = std::forward<ReportFiltersT>(value);
286 template <
typename ReportFiltersT = ReportFilters>
299 template <
typename CicdConfigurationT = CiCdConfiguration>
301 m_cicdConfigurationHasBeenSet =
true;
302 m_cicdConfiguration = std::forward<CicdConfigurationT>(value);
304 template <
typename CicdConfigurationT = CiCdConfiguration>
315 template <
typename TestScopeT = TestScope>
317 m_testScopeHasBeenSet =
true;
318 m_testScope = std::forward<TestScopeT>(value);
320 template <
typename TestScopeT = TestScope>
347 double m_maxTaskHours{0.0};
349 ReportDestination m_reportDestination;
351 ReportFilters m_reportFilters;
353 CiCdConfiguration m_cicdConfiguration;
355 TestScope m_testScope;
356 bool m_titleHasBeenSet =
false;
357 bool m_agentSpaceIdHasBeenSet =
false;
358 bool m_assetsHasBeenSet =
false;
359 bool m_excludeRiskTypesHasBeenSet =
false;
360 bool m_serviceRoleHasBeenSet =
false;
361 bool m_logConfigHasBeenSet =
false;
362 bool m_vpcConfigHasBeenSet =
false;
363 bool m_networkTrafficConfigHasBeenSet =
false;
364 bool m_codeRemediationStrategyHasBeenSet =
false;
365 bool m_disableManagedSkillsHasBeenSet =
false;
366 bool m_maxTaskHoursHasBeenSet =
false;
367 bool m_reportDestinationHasBeenSet =
false;
368 bool m_reportFiltersHasBeenSet =
false;
369 bool m_cicdConfigurationHasBeenSet =
false;
370 bool m_testScopeHasBeenSet =
false;
const ReportDestination & GetReportDestination() const
void SetNetworkTrafficConfig(NetworkTrafficConfigT &&value)
CreatePentestRequest & WithTitle(TitleT &&value)
bool ReportFiltersHasBeenSet() const
const Assets & GetAssets() const
bool AssetsHasBeenSet() const
double GetMaxTaskHours() const
bool VpcConfigHasBeenSet() const
CodeRemediationStrategy GetCodeRemediationStrategy() const
void SetAgentSpaceId(AgentSpaceIdT &&value)
bool TitleHasBeenSet() const
CreatePentestRequest & WithMaxTaskHours(double value)
bool DisableManagedSkillsHasBeenSet() const
CreatePentestRequest & WithVpcConfig(VpcConfigT &&value)
CreatePentestRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
void SetTitle(TitleT &&value)
void SetExcludeRiskTypes(ExcludeRiskTypesT &&value)
bool MaxTaskHoursHasBeenSet() const
bool ReportDestinationHasBeenSet() const
void SetCicdConfiguration(CicdConfigurationT &&value)
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
CreatePentestRequest & WithDisableManagedSkills(DisableManagedSkillsT &&value)
bool CicdConfigurationHasBeenSet() const
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
const CiCdConfiguration & GetCicdConfiguration() const
bool ExcludeRiskTypesHasBeenSet() const
void SetServiceRole(ServiceRoleT &&value)
const Aws::String & GetServiceRole() const
void SetReportFilters(ReportFiltersT &&value)
void SetLogConfig(LogConfigT &&value)
CreatePentestRequest & WithExcludeRiskTypes(ExcludeRiskTypesT &&value)
void SetAssets(AssetsT &&value)
void SetReportDestination(ReportDestinationT &&value)
const TestScope & GetTestScope() const
const Aws::Vector< SkillType > & GetDisableManagedSkills() const
AWS_SECURITYAGENT_API CreatePentestRequest()=default
const Aws::Vector< RiskType > & GetExcludeRiskTypes() const
const Aws::String & GetAgentSpaceId() const
void SetMaxTaskHours(double value)
CreatePentestRequest & WithReportFilters(ReportFiltersT &&value)
CreatePentestRequest & AddDisableManagedSkills(SkillType value)
const CloudWatchLog & GetLogConfig() const
CreatePentestRequest & WithCicdConfiguration(CicdConfigurationT &&value)
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
void SetVpcConfig(VpcConfigT &&value)
CreatePentestRequest & AddExcludeRiskTypes(RiskType value)
CreatePentestRequest & WithReportDestination(ReportDestinationT &&value)
const ReportFilters & GetReportFilters() const
bool TestScopeHasBeenSet() const
bool LogConfigHasBeenSet() const
CreatePentestRequest & WithTestScope(TestScopeT &&value)
bool ServiceRoleHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetTitle() const
CreatePentestRequest & WithServiceRole(ServiceRoleT &&value)
void SetTestScope(TestScopeT &&value)
void SetDisableManagedSkills(DisableManagedSkillsT &&value)
bool AgentSpaceIdHasBeenSet() const
CreatePentestRequest & WithLogConfig(LogConfigT &&value)
bool CodeRemediationStrategyHasBeenSet() const
CreatePentestRequest & WithAssets(AssetsT &&value)
const VpcConfig & GetVpcConfig() const
CreatePentestRequest & WithCodeRemediationStrategy(CodeRemediationStrategy value)
bool NetworkTrafficConfigHasBeenSet() const
CreatePentestRequest & WithNetworkTrafficConfig(NetworkTrafficConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector