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/CloudWatchLog.h>
13#include <aws/securityagent/model/CodeRemediationStrategy.h>
14#include <aws/securityagent/model/NetworkTrafficConfig.h>
15#include <aws/securityagent/model/ReportDestination.h>
16#include <aws/securityagent/model/ReportFilters.h>
17#include <aws/securityagent/model/RiskType.h>
18#include <aws/securityagent/model/SkillType.h>
19#include <aws/securityagent/model/VpcConfig.h>
24namespace SecurityAgent {
50 template <
typename TitleT = Aws::String>
52 m_titleHasBeenSet =
true;
53 m_title = std::forward<TitleT>(value);
55 template <
typename TitleT = Aws::String>
57 SetTitle(std::forward<TitleT>(value));
68 template <
typename AgentSpaceIdT = Aws::String>
70 m_agentSpaceIdHasBeenSet =
true;
71 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
73 template <
typename AgentSpaceIdT = Aws::String>
87 template <
typename AssetsT = Assets>
89 m_assetsHasBeenSet =
true;
90 m_assets = std::forward<AssetsT>(value);
92 template <
typename AssetsT = Assets>
105 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
107 m_excludeRiskTypesHasBeenSet =
true;
108 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
110 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
116 m_excludeRiskTypesHasBeenSet =
true;
117 m_excludeRiskTypes.push_back(value);
128 template <
typename ServiceRoleT = Aws::String>
130 m_serviceRoleHasBeenSet =
true;
131 m_serviceRole = std::forward<ServiceRoleT>(value);
133 template <
typename ServiceRoleT = Aws::String>
146 template <
typename LogConfigT = CloudWatchLog>
148 m_logConfigHasBeenSet =
true;
149 m_logConfig = std::forward<LogConfigT>(value);
151 template <
typename LogConfigT = CloudWatchLog>
164 template <
typename VpcConfigT = VpcConfig>
166 m_vpcConfigHasBeenSet =
true;
167 m_vpcConfig = std::forward<VpcConfigT>(value);
169 template <
typename VpcConfigT = VpcConfig>
183 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
185 m_networkTrafficConfigHasBeenSet =
true;
186 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
188 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
203 m_codeRemediationStrategyHasBeenSet =
true;
204 m_codeRemediationStrategy = value;
219 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
221 m_disableManagedSkillsHasBeenSet =
true;
222 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
224 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
230 m_disableManagedSkillsHasBeenSet =
true;
231 m_disableManagedSkills.push_back(value);
245 m_maxTaskHoursHasBeenSet =
true;
246 m_maxTaskHours = value;
261 template <
typename ReportDestinationT = ReportDestination>
263 m_reportDestinationHasBeenSet =
true;
264 m_reportDestination = std::forward<ReportDestinationT>(value);
266 template <
typename ReportDestinationT = ReportDestination>
279 template <
typename ReportFiltersT = ReportFilters>
281 m_reportFiltersHasBeenSet =
true;
282 m_reportFilters = std::forward<ReportFiltersT>(value);
284 template <
typename ReportFiltersT = ReportFilters>
311 double m_maxTaskHours{0.0};
313 ReportDestination m_reportDestination;
315 ReportFilters m_reportFilters;
316 bool m_titleHasBeenSet =
false;
317 bool m_agentSpaceIdHasBeenSet =
false;
318 bool m_assetsHasBeenSet =
false;
319 bool m_excludeRiskTypesHasBeenSet =
false;
320 bool m_serviceRoleHasBeenSet =
false;
321 bool m_logConfigHasBeenSet =
false;
322 bool m_vpcConfigHasBeenSet =
false;
323 bool m_networkTrafficConfigHasBeenSet =
false;
324 bool m_codeRemediationStrategyHasBeenSet =
false;
325 bool m_disableManagedSkillsHasBeenSet =
false;
326 bool m_maxTaskHoursHasBeenSet =
false;
327 bool m_reportDestinationHasBeenSet =
false;
328 bool m_reportFiltersHasBeenSet =
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
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
CreatePentestRequest & WithDisableManagedSkills(DisableManagedSkillsT &&value)
void SetCodeRemediationStrategy(CodeRemediationStrategy 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 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
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 LogConfigHasBeenSet() const
bool ServiceRoleHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetTitle() const
CreatePentestRequest & WithServiceRole(ServiceRoleT &&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