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 PentestIdT = Aws::String>
54 m_pentestIdHasBeenSet =
true;
55 m_pentestId = std::forward<PentestIdT>(value);
57 template <
typename PentestIdT = Aws::String>
70 template <
typename AgentSpaceIdT = Aws::String>
72 m_agentSpaceIdHasBeenSet =
true;
73 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
75 template <
typename AgentSpaceIdT = Aws::String>
88 template <
typename TitleT = Aws::String>
90 m_titleHasBeenSet =
true;
91 m_title = std::forward<TitleT>(value);
93 template <
typename TitleT = Aws::String>
95 SetTitle(std::forward<TitleT>(value));
106 template <
typename AssetsT = Assets>
108 m_assetsHasBeenSet =
true;
109 m_assets = std::forward<AssetsT>(value);
111 template <
typename AssetsT = Assets>
124 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
126 m_excludeRiskTypesHasBeenSet =
true;
127 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
129 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
135 m_excludeRiskTypesHasBeenSet =
true;
136 m_excludeRiskTypes.push_back(value);
147 template <
typename ServiceRoleT = Aws::String>
149 m_serviceRoleHasBeenSet =
true;
150 m_serviceRole = std::forward<ServiceRoleT>(value);
152 template <
typename ServiceRoleT = Aws::String>
165 template <
typename LogConfigT = CloudWatchLog>
167 m_logConfigHasBeenSet =
true;
168 m_logConfig = std::forward<LogConfigT>(value);
170 template <
typename LogConfigT = CloudWatchLog>
183 template <
typename VpcConfigT = VpcConfig>
185 m_vpcConfigHasBeenSet =
true;
186 m_vpcConfig = std::forward<VpcConfigT>(value);
188 template <
typename VpcConfigT = VpcConfig>
201 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
203 m_networkTrafficConfigHasBeenSet =
true;
204 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
206 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
220 m_codeRemediationStrategyHasBeenSet =
true;
221 m_codeRemediationStrategy = value;
236 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
238 m_disableManagedSkillsHasBeenSet =
true;
239 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
241 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
247 m_disableManagedSkillsHasBeenSet =
true;
248 m_disableManagedSkills.push_back(value);
261 m_maxTaskHoursHasBeenSet =
true;
262 m_maxTaskHours = value;
277 template <
typename ReportDestinationT = ReportDestination>
279 m_reportDestinationHasBeenSet =
true;
280 m_reportDestination = std::forward<ReportDestinationT>(value);
282 template <
typename ReportDestinationT = ReportDestination>
295 template <
typename ReportFiltersT = ReportFilters>
297 m_reportFiltersHasBeenSet =
true;
298 m_reportFilters = std::forward<ReportFiltersT>(value);
300 template <
typename ReportFiltersT = ReportFilters>
313 template <
typename CicdConfigurationT = CiCdConfiguration>
315 m_cicdConfigurationHasBeenSet =
true;
316 m_cicdConfiguration = std::forward<CicdConfigurationT>(value);
318 template <
typename CicdConfigurationT = CiCdConfiguration>
329 template <
typename TestScopeT = TestScope>
331 m_testScopeHasBeenSet =
true;
332 m_testScope = std::forward<TestScopeT>(value);
334 template <
typename TestScopeT = TestScope>
363 double m_maxTaskHours{0.0};
365 ReportDestination m_reportDestination;
367 ReportFilters m_reportFilters;
369 CiCdConfiguration m_cicdConfiguration;
371 TestScope m_testScope;
372 bool m_pentestIdHasBeenSet =
false;
373 bool m_agentSpaceIdHasBeenSet =
false;
374 bool m_titleHasBeenSet =
false;
375 bool m_assetsHasBeenSet =
false;
376 bool m_excludeRiskTypesHasBeenSet =
false;
377 bool m_serviceRoleHasBeenSet =
false;
378 bool m_logConfigHasBeenSet =
false;
379 bool m_vpcConfigHasBeenSet =
false;
380 bool m_networkTrafficConfigHasBeenSet =
false;
381 bool m_codeRemediationStrategyHasBeenSet =
false;
382 bool m_disableManagedSkillsHasBeenSet =
false;
383 bool m_maxTaskHoursHasBeenSet =
false;
384 bool m_reportDestinationHasBeenSet =
false;
385 bool m_reportFiltersHasBeenSet =
false;
386 bool m_cicdConfigurationHasBeenSet =
false;
387 bool m_testScopeHasBeenSet =
false;
const ReportFilters & GetReportFilters() const
const Aws::String & GetAgentSpaceId() const
void SetExcludeRiskTypes(ExcludeRiskTypesT &&value)
const TestScope & GetTestScope() const
void SetVpcConfig(VpcConfigT &&value)
bool TestScopeHasBeenSet() const
UpdatePentestRequest & WithServiceRole(ServiceRoleT &&value)
bool NetworkTrafficConfigHasBeenSet() const
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
bool DisableManagedSkillsHasBeenSet() const
bool MaxTaskHoursHasBeenSet() const
void SetNetworkTrafficConfig(NetworkTrafficConfigT &&value)
UpdatePentestRequest & WithTitle(TitleT &&value)
bool CicdConfigurationHasBeenSet() const
void SetLogConfig(LogConfigT &&value)
const Aws::String & GetPentestId() const
bool TitleHasBeenSet() const
bool ServiceRoleHasBeenSet() const
UpdatePentestRequest & WithReportFilters(ReportFiltersT &&value)
const Aws::String & GetServiceRole() const
AWS_SECURITYAGENT_API UpdatePentestRequest()=default
void SetMaxTaskHours(double value)
const Aws::String & GetTitle() const
void SetTestScope(TestScopeT &&value)
CodeRemediationStrategy GetCodeRemediationStrategy() const
void SetPentestId(PentestIdT &&value)
void SetCicdConfiguration(CicdConfigurationT &&value)
bool ReportDestinationHasBeenSet() const
UpdatePentestRequest & WithCicdConfiguration(CicdConfigurationT &&value)
void SetReportFilters(ReportFiltersT &&value)
UpdatePentestRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
UpdatePentestRequest & WithVpcConfig(VpcConfigT &&value)
const VpcConfig & GetVpcConfig() const
bool ExcludeRiskTypesHasBeenSet() const
bool VpcConfigHasBeenSet() const
bool ReportFiltersHasBeenSet() const
void SetAssets(AssetsT &&value)
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
UpdatePentestRequest & WithReportDestination(ReportDestinationT &&value)
UpdatePentestRequest & WithNetworkTrafficConfig(NetworkTrafficConfigT &&value)
UpdatePentestRequest & WithCodeRemediationStrategy(CodeRemediationStrategy value)
UpdatePentestRequest & WithMaxTaskHours(double value)
const CiCdConfiguration & GetCicdConfiguration() const
bool AgentSpaceIdHasBeenSet() const
UpdatePentestRequest & AddDisableManagedSkills(SkillType value)
const CloudWatchLog & GetLogConfig() const
const Aws::Vector< RiskType > & GetExcludeRiskTypes() const
void SetServiceRole(ServiceRoleT &&value)
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
UpdatePentestRequest & WithAssets(AssetsT &&value)
UpdatePentestRequest & WithTestScope(TestScopeT &&value)
UpdatePentestRequest & WithLogConfig(LogConfigT &&value)
UpdatePentestRequest & WithExcludeRiskTypes(ExcludeRiskTypesT &&value)
UpdatePentestRequest & AddExcludeRiskTypes(RiskType value)
void SetDisableManagedSkills(DisableManagedSkillsT &&value)
bool CodeRemediationStrategyHasBeenSet() const
const Aws::Vector< SkillType > & GetDisableManagedSkills() const
void SetTitle(TitleT &&value)
bool PentestIdHasBeenSet() const
double GetMaxTaskHours() const
const Assets & GetAssets() const
UpdatePentestRequest & WithDisableManagedSkills(DisableManagedSkillsT &&value)
bool LogConfigHasBeenSet() const
UpdatePentestRequest & WithPentestId(PentestIdT &&value)
const ReportDestination & GetReportDestination() const
void SetReportDestination(ReportDestinationT &&value)
bool AssetsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector