7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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>
33namespace SecurityAgent {
45 AWS_SECURITYAGENT_API
Pentest() =
default;
56 template <
typename PentestIdT = Aws::String>
58 m_pentestIdHasBeenSet =
true;
59 m_pentestId = std::forward<PentestIdT>(value);
61 template <
typename PentestIdT = Aws::String>
74 template <
typename AgentSpaceIdT = Aws::String>
76 m_agentSpaceIdHasBeenSet =
true;
77 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
79 template <
typename AgentSpaceIdT = Aws::String>
92 template <
typename TitleT = Aws::String>
94 m_titleHasBeenSet =
true;
95 m_title = std::forward<TitleT>(value);
97 template <
typename TitleT = Aws::String>
99 SetTitle(std::forward<TitleT>(value));
110 template <
typename AssetsT = Assets>
112 m_assetsHasBeenSet =
true;
113 m_assets = std::forward<AssetsT>(value);
115 template <
typename AssetsT = Assets>
128 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
130 m_excludeRiskTypesHasBeenSet =
true;
131 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
133 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
139 m_excludeRiskTypesHasBeenSet =
true;
140 m_excludeRiskTypes.push_back(value);
151 template <
typename ServiceRoleT = Aws::String>
153 m_serviceRoleHasBeenSet =
true;
154 m_serviceRole = std::forward<ServiceRoleT>(value);
156 template <
typename ServiceRoleT = Aws::String>
169 template <
typename LogConfigT = CloudWatchLog>
171 m_logConfigHasBeenSet =
true;
172 m_logConfig = std::forward<LogConfigT>(value);
174 template <
typename LogConfigT = CloudWatchLog>
187 template <
typename VpcConfigT = VpcConfig>
189 m_vpcConfigHasBeenSet =
true;
190 m_vpcConfig = std::forward<VpcConfigT>(value);
192 template <
typename VpcConfigT = VpcConfig>
205 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
207 m_networkTrafficConfigHasBeenSet =
true;
208 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
210 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
224 m_codeRemediationStrategyHasBeenSet =
true;
225 m_codeRemediationStrategy = value;
240 m_cleanUpStrategyHasBeenSet =
true;
241 m_cleanUpStrategy = value;
256 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
258 m_disableManagedSkillsHasBeenSet =
true;
259 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
261 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
267 m_disableManagedSkillsHasBeenSet =
true;
268 m_disableManagedSkills.push_back(value);
282 m_maxTaskHoursHasBeenSet =
true;
283 m_maxTaskHours = value;
298 template <
typename ReportDestinationT = ReportDestination>
300 m_reportDestinationHasBeenSet =
true;
301 m_reportDestination = std::forward<ReportDestinationT>(value);
303 template <
typename ReportDestinationT = ReportDestination>
316 template <
typename ReportFiltersT = ReportFilters>
318 m_reportFiltersHasBeenSet =
true;
319 m_reportFilters = std::forward<ReportFiltersT>(value);
321 template <
typename ReportFiltersT = ReportFilters>
335 template <
typename CicdConfigurationT = CiCdConfiguration>
337 m_cicdConfigurationHasBeenSet =
true;
338 m_cicdConfiguration = std::forward<CicdConfigurationT>(value);
340 template <
typename CicdConfigurationT = CiCdConfiguration>
351 template <
typename TestScopeT = TestScope>
353 m_testScopeHasBeenSet =
true;
354 m_testScope = std::forward<TestScopeT>(value);
356 template <
typename TestScopeT = TestScope>
369 template <
typename CreatedAtT = Aws::Utils::DateTime>
371 m_createdAtHasBeenSet =
true;
372 m_createdAt = std::forward<CreatedAtT>(value);
374 template <
typename CreatedAtT = Aws::Utils::DateTime>
387 template <
typename UpdatedAtT = Aws::Utils::DateTime>
389 m_updatedAtHasBeenSet =
true;
390 m_updatedAt = std::forward<UpdatedAtT>(value);
392 template <
typename UpdatedAtT = Aws::Utils::DateTime>
423 double m_maxTaskHours{0.0};
425 ReportDestination m_reportDestination;
427 ReportFilters m_reportFilters;
429 CiCdConfiguration m_cicdConfiguration;
431 TestScope m_testScope;
436 bool m_pentestIdHasBeenSet =
false;
437 bool m_agentSpaceIdHasBeenSet =
false;
438 bool m_titleHasBeenSet =
false;
439 bool m_assetsHasBeenSet =
false;
440 bool m_excludeRiskTypesHasBeenSet =
false;
441 bool m_serviceRoleHasBeenSet =
false;
442 bool m_logConfigHasBeenSet =
false;
443 bool m_vpcConfigHasBeenSet =
false;
444 bool m_networkTrafficConfigHasBeenSet =
false;
445 bool m_codeRemediationStrategyHasBeenSet =
false;
446 bool m_cleanUpStrategyHasBeenSet =
false;
447 bool m_disableManagedSkillsHasBeenSet =
false;
448 bool m_maxTaskHoursHasBeenSet =
false;
449 bool m_reportDestinationHasBeenSet =
false;
450 bool m_reportFiltersHasBeenSet =
false;
451 bool m_cicdConfigurationHasBeenSet =
false;
452 bool m_testScopeHasBeenSet =
false;
453 bool m_createdAtHasBeenSet =
false;
454 bool m_updatedAtHasBeenSet =
false;
Pentest & WithVpcConfig(VpcConfigT &&value)
bool TestScopeHasBeenSet() const
void SetNetworkTrafficConfig(NetworkTrafficConfigT &&value)
Pentest & WithPentestId(PentestIdT &&value)
void SetPentestId(PentestIdT &&value)
Pentest & WithDisableManagedSkills(DisableManagedSkillsT &&value)
const Aws::Vector< SkillType > & GetDisableManagedSkills() const
bool CicdConfigurationHasBeenSet() const
double GetMaxTaskHours() const
const TestScope & GetTestScope() const
bool CreatedAtHasBeenSet() const
bool PentestIdHasBeenSet() const
Pentest & AddExcludeRiskTypes(RiskType value)
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
void SetLogConfig(LogConfigT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetExcludeRiskTypes(ExcludeRiskTypesT &&value)
CleanUpStrategy GetCleanUpStrategy() const
AWS_SECURITYAGENT_API Pentest & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ReportDestinationHasBeenSet() const
bool UpdatedAtHasBeenSet() const
const CiCdConfiguration & GetCicdConfiguration() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetMaxTaskHours(double value)
Pentest & WithAssets(AssetsT &&value)
const CloudWatchLog & GetLogConfig() const
void SetTestScope(TestScopeT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
Pentest & WithServiceRole(ServiceRoleT &&value)
bool AssetsHasBeenSet() const
Pentest & WithNetworkTrafficConfig(NetworkTrafficConfigT &&value)
void SetServiceRole(ServiceRoleT &&value)
bool DisableManagedSkillsHasBeenSet() const
void SetCicdConfiguration(CicdConfigurationT &&value)
AWS_SECURITYAGENT_API Pentest()=default
void SetTitle(TitleT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
Pentest & WithReportFilters(ReportFiltersT &&value)
Pentest & AddDisableManagedSkills(SkillType value)
AWS_SECURITYAGENT_API Pentest(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPentestId() const
void SetReportFilters(ReportFiltersT &&value)
CodeRemediationStrategy GetCodeRemediationStrategy() const
bool TitleHasBeenSet() const
Pentest & WithCicdConfiguration(CicdConfigurationT &&value)
void SetVpcConfig(VpcConfigT &&value)
Pentest & WithTestScope(TestScopeT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
Pentest & WithTitle(TitleT &&value)
Pentest & WithMaxTaskHours(double value)
bool ServiceRoleHasBeenSet() const
bool CodeRemediationStrategyHasBeenSet() const
bool ReportFiltersHasBeenSet() const
Pentest & WithExcludeRiskTypes(ExcludeRiskTypesT &&value)
bool NetworkTrafficConfigHasBeenSet() const
void SetAssets(AssetsT &&value)
const ReportFilters & GetReportFilters() const
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
Pentest & WithCleanUpStrategy(CleanUpStrategy value)
const Aws::String & GetAgentSpaceId() const
const Aws::String & GetTitle() const
bool MaxTaskHoursHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const VpcConfig & GetVpcConfig() const
bool LogConfigHasBeenSet() const
void SetDisableManagedSkills(DisableManagedSkillsT &&value)
const Aws::String & GetServiceRole() const
void SetCleanUpStrategy(CleanUpStrategy value)
Pentest & WithReportDestination(ReportDestinationT &&value)
bool VpcConfigHasBeenSet() const
Pentest & WithCreatedAt(CreatedAtT &&value)
Pentest & WithLogConfig(LogConfigT &&value)
Pentest & WithCodeRemediationStrategy(CodeRemediationStrategy value)
void SetReportDestination(ReportDestinationT &&value)
bool ExcludeRiskTypesHasBeenSet() const
Pentest & WithAgentSpaceId(AgentSpaceIdT &&value)
bool CleanUpStrategyHasBeenSet() const
const Aws::Vector< RiskType > & GetExcludeRiskTypes() const
const ReportDestination & GetReportDestination() const
bool AgentSpaceIdHasBeenSet() const
const Assets & GetAssets() const
Pentest & WithUpdatedAt(UpdatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue