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 PentestIdT = Aws::String>
55 m_pentestIdHasBeenSet =
true;
56 m_pentestId = std::forward<PentestIdT>(value);
58 template <
typename PentestIdT = Aws::String>
71 template <
typename AgentSpaceIdT = Aws::String>
73 m_agentSpaceIdHasBeenSet =
true;
74 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
76 template <
typename AgentSpaceIdT = Aws::String>
89 template <
typename TitleT = Aws::String>
91 m_titleHasBeenSet =
true;
92 m_title = std::forward<TitleT>(value);
94 template <
typename TitleT = Aws::String>
96 SetTitle(std::forward<TitleT>(value));
107 template <
typename AssetsT = Assets>
109 m_assetsHasBeenSet =
true;
110 m_assets = std::forward<AssetsT>(value);
112 template <
typename AssetsT = Assets>
125 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
127 m_excludeRiskTypesHasBeenSet =
true;
128 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
130 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
136 m_excludeRiskTypesHasBeenSet =
true;
137 m_excludeRiskTypes.push_back(value);
148 template <
typename ServiceRoleT = Aws::String>
150 m_serviceRoleHasBeenSet =
true;
151 m_serviceRole = std::forward<ServiceRoleT>(value);
153 template <
typename ServiceRoleT = Aws::String>
166 template <
typename LogConfigT = CloudWatchLog>
168 m_logConfigHasBeenSet =
true;
169 m_logConfig = std::forward<LogConfigT>(value);
171 template <
typename LogConfigT = CloudWatchLog>
184 template <
typename VpcConfigT = VpcConfig>
186 m_vpcConfigHasBeenSet =
true;
187 m_vpcConfig = std::forward<VpcConfigT>(value);
189 template <
typename VpcConfigT = VpcConfig>
202 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
204 m_networkTrafficConfigHasBeenSet =
true;
205 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
207 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
221 m_codeRemediationStrategyHasBeenSet =
true;
222 m_codeRemediationStrategy = value;
238 m_cleanUpStrategyHasBeenSet =
true;
239 m_cleanUpStrategy = value;
254 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
256 m_disableManagedSkillsHasBeenSet =
true;
257 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
259 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
265 m_disableManagedSkillsHasBeenSet =
true;
266 m_disableManagedSkills.push_back(value);
279 m_maxTaskHoursHasBeenSet =
true;
280 m_maxTaskHours = value;
295 template <
typename ReportDestinationT = ReportDestination>
297 m_reportDestinationHasBeenSet =
true;
298 m_reportDestination = std::forward<ReportDestinationT>(value);
300 template <
typename ReportDestinationT = ReportDestination>
313 template <
typename ReportFiltersT = ReportFilters>
315 m_reportFiltersHasBeenSet =
true;
316 m_reportFilters = std::forward<ReportFiltersT>(value);
318 template <
typename ReportFiltersT = ReportFilters>
331 template <
typename CicdConfigurationT = CiCdConfiguration>
333 m_cicdConfigurationHasBeenSet =
true;
334 m_cicdConfiguration = std::forward<CicdConfigurationT>(value);
336 template <
typename CicdConfigurationT = CiCdConfiguration>
347 template <
typename TestScopeT = TestScope>
349 m_testScopeHasBeenSet =
true;
350 m_testScope = std::forward<TestScopeT>(value);
352 template <
typename TestScopeT = TestScope>
383 double m_maxTaskHours{0.0};
385 ReportDestination m_reportDestination;
387 ReportFilters m_reportFilters;
389 CiCdConfiguration m_cicdConfiguration;
391 TestScope m_testScope;
392 bool m_pentestIdHasBeenSet =
false;
393 bool m_agentSpaceIdHasBeenSet =
false;
394 bool m_titleHasBeenSet =
false;
395 bool m_assetsHasBeenSet =
false;
396 bool m_excludeRiskTypesHasBeenSet =
false;
397 bool m_serviceRoleHasBeenSet =
false;
398 bool m_logConfigHasBeenSet =
false;
399 bool m_vpcConfigHasBeenSet =
false;
400 bool m_networkTrafficConfigHasBeenSet =
false;
401 bool m_codeRemediationStrategyHasBeenSet =
false;
402 bool m_cleanUpStrategyHasBeenSet =
false;
403 bool m_disableManagedSkillsHasBeenSet =
false;
404 bool m_maxTaskHoursHasBeenSet =
false;
405 bool m_reportDestinationHasBeenSet =
false;
406 bool m_reportFiltersHasBeenSet =
false;
407 bool m_cicdConfigurationHasBeenSet =
false;
408 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)
CleanUpStrategy GetCleanUpStrategy() const
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
void SetCleanUpStrategy(CleanUpStrategy value)
bool VpcConfigHasBeenSet() const
bool ReportFiltersHasBeenSet() const
void SetAssets(AssetsT &&value)
UpdatePentestRequest & WithCleanUpStrategy(CleanUpStrategy 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)
bool CleanUpStrategyHasBeenSet() const
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