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/CleanUpStrategy.h>
14#include <aws/securityagent/model/CloudWatchLog.h>
15#include <aws/securityagent/model/CodeRemediationStrategy.h>
16#include <aws/securityagent/model/NetworkTrafficConfig.h>
17#include <aws/securityagent/model/ReportDestination.h>
18#include <aws/securityagent/model/ReportFilters.h>
19#include <aws/securityagent/model/RiskType.h>
20#include <aws/securityagent/model/SkillType.h>
21#include <aws/securityagent/model/TestScope.h>
22#include <aws/securityagent/model/VpcConfig.h>
27namespace SecurityAgent {
53 template <
typename TitleT = Aws::String>
55 m_titleHasBeenSet =
true;
56 m_title = std::forward<TitleT>(value);
58 template <
typename TitleT = Aws::String>
60 SetTitle(std::forward<TitleT>(value));
71 template <
typename AgentSpaceIdT = Aws::String>
73 m_agentSpaceIdHasBeenSet =
true;
74 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
76 template <
typename AgentSpaceIdT = Aws::String>
90 template <
typename AssetsT = Assets>
92 m_assetsHasBeenSet =
true;
93 m_assets = std::forward<AssetsT>(value);
95 template <
typename AssetsT = Assets>
108 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
110 m_excludeRiskTypesHasBeenSet =
true;
111 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
113 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
119 m_excludeRiskTypesHasBeenSet =
true;
120 m_excludeRiskTypes.push_back(value);
131 template <
typename ServiceRoleT = Aws::String>
133 m_serviceRoleHasBeenSet =
true;
134 m_serviceRole = std::forward<ServiceRoleT>(value);
136 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>
167 template <
typename VpcConfigT = VpcConfig>
169 m_vpcConfigHasBeenSet =
true;
170 m_vpcConfig = std::forward<VpcConfigT>(value);
172 template <
typename VpcConfigT = VpcConfig>
186 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
188 m_networkTrafficConfigHasBeenSet =
true;
189 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
191 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
206 m_codeRemediationStrategyHasBeenSet =
true;
207 m_codeRemediationStrategy = value;
223 m_cleanUpStrategyHasBeenSet =
true;
224 m_cleanUpStrategy = value;
239 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
241 m_disableManagedSkillsHasBeenSet =
true;
242 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
244 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
250 m_disableManagedSkillsHasBeenSet =
true;
251 m_disableManagedSkills.push_back(value);
265 m_maxTaskHoursHasBeenSet =
true;
266 m_maxTaskHours = value;
281 template <
typename ReportDestinationT = ReportDestination>
283 m_reportDestinationHasBeenSet =
true;
284 m_reportDestination = std::forward<ReportDestinationT>(value);
286 template <
typename ReportDestinationT = ReportDestination>
299 template <
typename ReportFiltersT = ReportFilters>
301 m_reportFiltersHasBeenSet =
true;
302 m_reportFilters = std::forward<ReportFiltersT>(value);
304 template <
typename ReportFiltersT = ReportFilters>
317 template <
typename CicdConfigurationT = CiCdConfiguration>
319 m_cicdConfigurationHasBeenSet =
true;
320 m_cicdConfiguration = std::forward<CicdConfigurationT>(value);
322 template <
typename CicdConfigurationT = CiCdConfiguration>
333 template <
typename TestScopeT = TestScope>
335 m_testScopeHasBeenSet =
true;
336 m_testScope = std::forward<TestScopeT>(value);
338 template <
typename TestScopeT = TestScope>
367 double m_maxTaskHours{0.0};
369 ReportDestination m_reportDestination;
371 ReportFilters m_reportFilters;
373 CiCdConfiguration m_cicdConfiguration;
375 TestScope m_testScope;
376 bool m_titleHasBeenSet =
false;
377 bool m_agentSpaceIdHasBeenSet =
false;
378 bool m_assetsHasBeenSet =
false;
379 bool m_excludeRiskTypesHasBeenSet =
false;
380 bool m_serviceRoleHasBeenSet =
false;
381 bool m_logConfigHasBeenSet =
false;
382 bool m_vpcConfigHasBeenSet =
false;
383 bool m_networkTrafficConfigHasBeenSet =
false;
384 bool m_codeRemediationStrategyHasBeenSet =
false;
385 bool m_cleanUpStrategyHasBeenSet =
false;
386 bool m_disableManagedSkillsHasBeenSet =
false;
387 bool m_maxTaskHoursHasBeenSet =
false;
388 bool m_reportDestinationHasBeenSet =
false;
389 bool m_reportFiltersHasBeenSet =
false;
390 bool m_cicdConfigurationHasBeenSet =
false;
391 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
void SetCleanUpStrategy(CleanUpStrategy value)
bool ReportDestinationHasBeenSet() const
bool CleanUpStrategyHasBeenSet() const
void SetCicdConfiguration(CicdConfigurationT &&value)
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
CreatePentestRequest & WithDisableManagedSkills(DisableManagedSkillsT &&value)
bool CicdConfigurationHasBeenSet() const
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
const CiCdConfiguration & GetCicdConfiguration() const
CreatePentestRequest & WithCleanUpStrategy(CleanUpStrategy value)
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
CleanUpStrategy GetCleanUpStrategy() 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