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/VpcConfig.h>
32namespace SecurityAgent {
44 AWS_SECURITYAGENT_API
Pentest() =
default;
55 template <
typename PentestIdT = Aws::String>
57 m_pentestIdHasBeenSet =
true;
58 m_pentestId = std::forward<PentestIdT>(value);
60 template <
typename PentestIdT = Aws::String>
73 template <
typename AgentSpaceIdT = Aws::String>
75 m_agentSpaceIdHasBeenSet =
true;
76 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
78 template <
typename AgentSpaceIdT = Aws::String>
91 template <
typename TitleT = Aws::String>
93 m_titleHasBeenSet =
true;
94 m_title = std::forward<TitleT>(value);
96 template <
typename TitleT = Aws::String>
98 SetTitle(std::forward<TitleT>(value));
109 template <
typename AssetsT = Assets>
111 m_assetsHasBeenSet =
true;
112 m_assets = std::forward<AssetsT>(value);
114 template <
typename AssetsT = Assets>
127 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
129 m_excludeRiskTypesHasBeenSet =
true;
130 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
132 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
138 m_excludeRiskTypesHasBeenSet =
true;
139 m_excludeRiskTypes.push_back(value);
150 template <
typename ServiceRoleT = Aws::String>
152 m_serviceRoleHasBeenSet =
true;
153 m_serviceRole = std::forward<ServiceRoleT>(value);
155 template <
typename ServiceRoleT = Aws::String>
168 template <
typename LogConfigT = CloudWatchLog>
170 m_logConfigHasBeenSet =
true;
171 m_logConfig = std::forward<LogConfigT>(value);
173 template <
typename LogConfigT = CloudWatchLog>
186 template <
typename VpcConfigT = VpcConfig>
188 m_vpcConfigHasBeenSet =
true;
189 m_vpcConfig = std::forward<VpcConfigT>(value);
191 template <
typename VpcConfigT = VpcConfig>
204 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
206 m_networkTrafficConfigHasBeenSet =
true;
207 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
209 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
223 m_codeRemediationStrategyHasBeenSet =
true;
224 m_codeRemediationStrategy = value;
239 m_cleanUpStrategyHasBeenSet =
true;
240 m_cleanUpStrategy = value;
255 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
257 m_disableManagedSkillsHasBeenSet =
true;
258 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
260 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
266 m_disableManagedSkillsHasBeenSet =
true;
267 m_disableManagedSkills.push_back(value);
281 m_maxTaskHoursHasBeenSet =
true;
282 m_maxTaskHours = value;
297 template <
typename ReportDestinationT = ReportDestination>
299 m_reportDestinationHasBeenSet =
true;
300 m_reportDestination = std::forward<ReportDestinationT>(value);
302 template <
typename ReportDestinationT = ReportDestination>
315 template <
typename ReportFiltersT = ReportFilters>
317 m_reportFiltersHasBeenSet =
true;
318 m_reportFilters = std::forward<ReportFiltersT>(value);
320 template <
typename ReportFiltersT = ReportFilters>
334 template <
typename CicdConfigurationT = CiCdConfiguration>
336 m_cicdConfigurationHasBeenSet =
true;
337 m_cicdConfiguration = std::forward<CicdConfigurationT>(value);
339 template <
typename CicdConfigurationT = CiCdConfiguration>
352 template <
typename CreatedAtT = Aws::Utils::DateTime>
354 m_createdAtHasBeenSet =
true;
355 m_createdAt = std::forward<CreatedAtT>(value);
357 template <
typename CreatedAtT = Aws::Utils::DateTime>
370 template <
typename UpdatedAtT = Aws::Utils::DateTime>
372 m_updatedAtHasBeenSet =
true;
373 m_updatedAt = std::forward<UpdatedAtT>(value);
375 template <
typename UpdatedAtT = Aws::Utils::DateTime>
406 double m_maxTaskHours{0.0};
408 ReportDestination m_reportDestination;
410 ReportFilters m_reportFilters;
412 CiCdConfiguration m_cicdConfiguration;
417 bool m_pentestIdHasBeenSet =
false;
418 bool m_agentSpaceIdHasBeenSet =
false;
419 bool m_titleHasBeenSet =
false;
420 bool m_assetsHasBeenSet =
false;
421 bool m_excludeRiskTypesHasBeenSet =
false;
422 bool m_serviceRoleHasBeenSet =
false;
423 bool m_logConfigHasBeenSet =
false;
424 bool m_vpcConfigHasBeenSet =
false;
425 bool m_networkTrafficConfigHasBeenSet =
false;
426 bool m_codeRemediationStrategyHasBeenSet =
false;
427 bool m_cleanUpStrategyHasBeenSet =
false;
428 bool m_disableManagedSkillsHasBeenSet =
false;
429 bool m_maxTaskHoursHasBeenSet =
false;
430 bool m_reportDestinationHasBeenSet =
false;
431 bool m_reportFiltersHasBeenSet =
false;
432 bool m_cicdConfigurationHasBeenSet =
false;
433 bool m_createdAtHasBeenSet =
false;
434 bool m_updatedAtHasBeenSet =
false;
Pentest & WithVpcConfig(VpcConfigT &&value)
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
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 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)
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