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/Actor.h>
12#include <aws/securityagent/model/CleanUpStrategy.h>
13#include <aws/securityagent/model/CloudWatchLog.h>
14#include <aws/securityagent/model/CodeRemediationStrategy.h>
15#include <aws/securityagent/model/DocumentInfo.h>
16#include <aws/securityagent/model/Endpoint.h>
17#include <aws/securityagent/model/ErrorInformation.h>
18#include <aws/securityagent/model/ExecutionContext.h>
19#include <aws/securityagent/model/IntegratedRepository.h>
20#include <aws/securityagent/model/JobStatus.h>
21#include <aws/securityagent/model/JobType.h>
22#include <aws/securityagent/model/NetworkTrafficConfig.h>
23#include <aws/securityagent/model/RiskType.h>
24#include <aws/securityagent/model/SkillType.h>
25#include <aws/securityagent/model/SourceCodeRepository.h>
26#include <aws/securityagent/model/Step.h>
27#include <aws/securityagent/model/TrustedCaCertificate.h>
28#include <aws/securityagent/model/VpcConfig.h>
39namespace SecurityAgent {
62 template <
typename PentestJobIdT = Aws::String>
64 m_pentestJobIdHasBeenSet =
true;
65 m_pentestJobId = std::forward<PentestJobIdT>(value);
67 template <
typename PentestJobIdT = Aws::String>
80 template <
typename PentestIdT = Aws::String>
82 m_pentestIdHasBeenSet =
true;
83 m_pentestId = std::forward<PentestIdT>(value);
85 template <
typename PentestIdT = Aws::String>
98 template <
typename TitleT = Aws::String>
100 m_titleHasBeenSet =
true;
101 m_title = std::forward<TitleT>(value);
103 template <
typename TitleT = Aws::String>
105 SetTitle(std::forward<TitleT>(value));
116 template <
typename OverviewT = Aws::String>
118 m_overviewHasBeenSet =
true;
119 m_overview = std::forward<OverviewT>(value);
121 template <
typename OverviewT = Aws::String>
135 m_statusHasBeenSet =
true;
150 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
152 m_endpointsHasBeenSet =
true;
153 m_endpoints = std::forward<EndpointsT>(value);
155 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
160 template <
typename Endpo
intsT = Endpo
int>
162 m_endpointsHasBeenSet =
true;
163 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
174 template <
typename ActorsT = Aws::Vector<Actor>>
176 m_actorsHasBeenSet =
true;
177 m_actors = std::forward<ActorsT>(value);
179 template <
typename ActorsT = Aws::Vector<Actor>>
184 template <
typename ActorsT = Actor>
186 m_actorsHasBeenSet =
true;
187 m_actors.emplace_back(std::forward<ActorsT>(value));
198 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
200 m_documentsHasBeenSet =
true;
201 m_documents = std::forward<DocumentsT>(value);
203 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
208 template <
typename DocumentsT = DocumentInfo>
210 m_documentsHasBeenSet =
true;
211 m_documents.emplace_back(std::forward<DocumentsT>(value));
222 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
224 m_sourceCodeHasBeenSet =
true;
225 m_sourceCode = std::forward<SourceCodeT>(value);
227 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
232 template <
typename SourceCodeT = SourceCodeRepository>
234 m_sourceCodeHasBeenSet =
true;
235 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
246 template <
typename ExcludePathsT = Aws::Vector<Endpo
int>>
248 m_excludePathsHasBeenSet =
true;
249 m_excludePaths = std::forward<ExcludePathsT>(value);
251 template <
typename ExcludePathsT = Aws::Vector<Endpo
int>>
256 template <
typename ExcludePathsT = Endpo
int>
258 m_excludePathsHasBeenSet =
true;
259 m_excludePaths.emplace_back(std::forward<ExcludePathsT>(value));
270 template <
typename AllowedDomainsT = Aws::Vector<Endpo
int>>
272 m_allowedDomainsHasBeenSet =
true;
273 m_allowedDomains = std::forward<AllowedDomainsT>(value);
275 template <
typename AllowedDomainsT = Aws::Vector<Endpo
int>>
280 template <
typename AllowedDomainsT = Endpo
int>
282 m_allowedDomainsHasBeenSet =
true;
283 m_allowedDomains.emplace_back(std::forward<AllowedDomainsT>(value));
294 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
296 m_excludeRiskTypesHasBeenSet =
true;
297 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
299 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
305 m_excludeRiskTypesHasBeenSet =
true;
306 m_excludeRiskTypes.push_back(value);
317 template <
typename StepsT = Aws::Vector<Step>>
319 m_stepsHasBeenSet =
true;
320 m_steps = std::forward<StepsT>(value);
322 template <
typename StepsT = Aws::Vector<Step>>
324 SetSteps(std::forward<StepsT>(value));
327 template <
typename StepsT = Step>
329 m_stepsHasBeenSet =
true;
330 m_steps.emplace_back(std::forward<StepsT>(value));
341 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
343 m_executionContextHasBeenSet =
true;
344 m_executionContext = std::forward<ExecutionContextT>(value);
346 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
351 template <
typename ExecutionContextT = ExecutionContext>
353 m_executionContextHasBeenSet =
true;
354 m_executionContext.emplace_back(std::forward<ExecutionContextT>(value));
365 template <
typename ServiceRoleT = Aws::String>
367 m_serviceRoleHasBeenSet =
true;
368 m_serviceRole = std::forward<ServiceRoleT>(value);
370 template <
typename ServiceRoleT = Aws::String>
383 template <
typename LogConfigT = CloudWatchLog>
385 m_logConfigHasBeenSet =
true;
386 m_logConfig = std::forward<LogConfigT>(value);
388 template <
typename LogConfigT = CloudWatchLog>
401 template <
typename VpcConfigT = VpcConfig>
403 m_vpcConfigHasBeenSet =
true;
404 m_vpcConfig = std::forward<VpcConfigT>(value);
406 template <
typename VpcConfigT = VpcConfig>
419 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
421 m_networkTrafficConfigHasBeenSet =
true;
422 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
424 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
437 template <
typename ErrorInformationT = ErrorInformation>
439 m_errorInformationHasBeenSet =
true;
440 m_errorInformation = std::forward<ErrorInformationT>(value);
442 template <
typename ErrorInformationT = ErrorInformation>
455 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
457 m_integratedRepositoriesHasBeenSet =
true;
458 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
460 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
465 template <
typename IntegratedRepositoriesT = IntegratedRepository>
467 m_integratedRepositoriesHasBeenSet =
true;
468 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
480 template <
typename TrustedCaCertificatesT = Aws::Vector<TrustedCaCertificate>>
482 m_trustedCaCertificatesHasBeenSet =
true;
483 m_trustedCaCertificates = std::forward<TrustedCaCertificatesT>(value);
485 template <
typename TrustedCaCertificatesT = Aws::Vector<TrustedCaCertificate>>
490 template <
typename TrustedCaCertificatesT = TrustedCaCertificate>
492 m_trustedCaCertificatesHasBeenSet =
true;
493 m_trustedCaCertificates.emplace_back(std::forward<TrustedCaCertificatesT>(value));
505 m_codeRemediationStrategyHasBeenSet =
true;
506 m_codeRemediationStrategy = value;
521 m_cleanUpStrategyHasBeenSet =
true;
522 m_cleanUpStrategy = value;
537 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
539 m_disableManagedSkillsHasBeenSet =
true;
540 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
542 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
548 m_disableManagedSkillsHasBeenSet =
true;
549 m_disableManagedSkills.push_back(value);
562 m_maxTaskHoursHasBeenSet =
true;
563 m_maxTaskHours = value;
578 m_jobTypeHasBeenSet =
true;
594 template <
typename SelectedFindingIdsT = Aws::Vector<Aws::String>>
596 m_selectedFindingIdsHasBeenSet =
true;
597 m_selectedFindingIds = std::forward<SelectedFindingIdsT>(value);
599 template <
typename SelectedFindingIdsT = Aws::Vector<Aws::String>>
604 template <
typename SelectedFindingIdsT = Aws::String>
606 m_selectedFindingIdsHasBeenSet =
true;
607 m_selectedFindingIds.emplace_back(std::forward<SelectedFindingIdsT>(value));
618 template <
typename CreatedAtT = Aws::Utils::DateTime>
620 m_createdAtHasBeenSet =
true;
621 m_createdAt = std::forward<CreatedAtT>(value);
623 template <
typename CreatedAtT = Aws::Utils::DateTime>
636 template <
typename UpdatedAtT = Aws::Utils::DateTime>
638 m_updatedAtHasBeenSet =
true;
639 m_updatedAt = std::forward<UpdatedAtT>(value);
641 template <
typename UpdatedAtT = Aws::Utils::DateTime>
678 CloudWatchLog m_logConfig;
680 VpcConfig m_vpcConfig;
682 NetworkTrafficConfig m_networkTrafficConfig;
684 ErrorInformation m_errorInformation;
696 double m_maxTaskHours{0.0};
705 bool m_pentestJobIdHasBeenSet =
false;
706 bool m_pentestIdHasBeenSet =
false;
707 bool m_titleHasBeenSet =
false;
708 bool m_overviewHasBeenSet =
false;
709 bool m_statusHasBeenSet =
false;
710 bool m_endpointsHasBeenSet =
false;
711 bool m_actorsHasBeenSet =
false;
712 bool m_documentsHasBeenSet =
false;
713 bool m_sourceCodeHasBeenSet =
false;
714 bool m_excludePathsHasBeenSet =
false;
715 bool m_allowedDomainsHasBeenSet =
false;
716 bool m_excludeRiskTypesHasBeenSet =
false;
717 bool m_stepsHasBeenSet =
false;
718 bool m_executionContextHasBeenSet =
false;
719 bool m_serviceRoleHasBeenSet =
false;
720 bool m_logConfigHasBeenSet =
false;
721 bool m_vpcConfigHasBeenSet =
false;
722 bool m_networkTrafficConfigHasBeenSet =
false;
723 bool m_errorInformationHasBeenSet =
false;
724 bool m_integratedRepositoriesHasBeenSet =
false;
725 bool m_trustedCaCertificatesHasBeenSet =
false;
726 bool m_codeRemediationStrategyHasBeenSet =
false;
727 bool m_cleanUpStrategyHasBeenSet =
false;
728 bool m_disableManagedSkillsHasBeenSet =
false;
729 bool m_maxTaskHoursHasBeenSet =
false;
730 bool m_jobTypeHasBeenSet =
false;
731 bool m_selectedFindingIdsHasBeenSet =
false;
732 bool m_createdAtHasBeenSet =
false;
733 bool m_updatedAtHasBeenSet =
false;
bool CreatedAtHasBeenSet() const
const ErrorInformation & GetErrorInformation() const
bool SelectedFindingIdsHasBeenSet() const
bool LogConfigHasBeenSet() const
PentestJob & WithLogConfig(LogConfigT &&value)
bool MaxTaskHoursHasBeenSet() const
bool ExcludePathsHasBeenSet() const
const Aws::String & GetPentestJobId() const
PentestJob & WithDocuments(DocumentsT &&value)
bool PentestJobIdHasBeenSet() const
const Aws::String & GetOverview() const
const Aws::Vector< TrustedCaCertificate > & GetTrustedCaCertificates() const
PentestJob & WithCleanUpStrategy(CleanUpStrategy value)
PentestJob & WithAllowedDomains(AllowedDomainsT &&value)
bool IntegratedRepositoriesHasBeenSet() const
bool StepsHasBeenSet() const
bool ServiceRoleHasBeenSet() const
CodeRemediationStrategy GetCodeRemediationStrategy() const
PentestJob & WithCreatedAt(CreatedAtT &&value)
PentestJob & WithCodeRemediationStrategy(CodeRemediationStrategy value)
const Aws::Vector< Endpoint > & GetAllowedDomains() const
void SetLogConfig(LogConfigT &&value)
PentestJob & AddDisableManagedSkills(SkillType value)
void SetServiceRole(ServiceRoleT &&value)
void SetPentestJobId(PentestJobIdT &&value)
void SetSourceCode(SourceCodeT &&value)
void SetNetworkTrafficConfig(NetworkTrafficConfigT &&value)
void SetVpcConfig(VpcConfigT &&value)
void SetStatus(JobStatus value)
PentestJob & WithPentestId(PentestIdT &&value)
bool CleanUpStrategyHasBeenSet() const
const Aws::String & GetTitle() const
PentestJob & WithDisableManagedSkills(DisableManagedSkillsT &&value)
PentestJob & WithTitle(TitleT &&value)
PentestJob & AddSelectedFindingIds(SelectedFindingIdsT &&value)
PentestJob & WithVpcConfig(VpcConfigT &&value)
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
PentestJob & WithErrorInformation(ErrorInformationT &&value)
CleanUpStrategy GetCleanUpStrategy() const
void SetCleanUpStrategy(CleanUpStrategy value)
bool PentestIdHasBeenSet() const
PentestJob & AddEndpoints(EndpointsT &&value)
const CloudWatchLog & GetLogConfig() const
PentestJob & WithNetworkTrafficConfig(NetworkTrafficConfigT &&value)
PentestJob & WithUpdatedAt(UpdatedAtT &&value)
PentestJob & WithSelectedFindingIds(SelectedFindingIdsT &&value)
PentestJob & AddAllowedDomains(AllowedDomainsT &&value)
const Aws::String & GetServiceRole() const
PentestJob & WithActors(ActorsT &&value)
PentestJob & WithEndpoints(EndpointsT &&value)
void SetExecutionContext(ExecutionContextT &&value)
bool SourceCodeHasBeenSet() const
PentestJob & AddActors(ActorsT &&value)
void SetActors(ActorsT &&value)
bool EndpointsHasBeenSet() const
PentestJob & AddTrustedCaCertificates(TrustedCaCertificatesT &&value)
void SetSteps(StepsT &&value)
PentestJob & AddExcludeRiskTypes(RiskType value)
bool ActorsHasBeenSet() const
PentestJob & WithExecutionContext(ExecutionContextT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetAllowedDomains(AllowedDomainsT &&value)
const Aws::Vector< Endpoint > & GetExcludePaths() const
AWS_SECURITYAGENT_API PentestJob()=default
void SetIntegratedRepositories(IntegratedRepositoriesT &&value)
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
PentestJob & WithMaxTaskHours(double value)
void SetDocuments(DocumentsT &&value)
bool StatusHasBeenSet() const
bool ErrorInformationHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
PentestJob & AddSourceCode(SourceCodeT &&value)
const Aws::Vector< RiskType > & GetExcludeRiskTypes() const
const Aws::String & GetPentestId() const
PentestJob & WithExcludePaths(ExcludePathsT &&value)
const Aws::Vector< ExecutionContext > & GetExecutionContext() const
const Aws::Vector< SourceCodeRepository > & GetSourceCode() const
bool TitleHasBeenSet() const
bool NetworkTrafficConfigHasBeenSet() const
const Aws::Vector< Aws::String > & GetSelectedFindingIds() const
double GetMaxTaskHours() const
const Aws::Vector< SkillType > & GetDisableManagedSkills() const
void SetPentestId(PentestIdT &&value)
PentestJob & WithPentestJobId(PentestJobIdT &&value)
const VpcConfig & GetVpcConfig() const
void SetExcludePaths(ExcludePathsT &&value)
PentestJob & AddExcludePaths(ExcludePathsT &&value)
void SetErrorInformation(ErrorInformationT &&value)
bool UpdatedAtHasBeenSet() const
bool AllowedDomainsHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
bool VpcConfigHasBeenSet() const
PentestJob & WithSourceCode(SourceCodeT &&value)
bool CodeRemediationStrategyHasBeenSet() const
PentestJob & AddExecutionContext(ExecutionContextT &&value)
const Aws::Vector< IntegratedRepository > & GetIntegratedRepositories() const
PentestJob & AddDocuments(DocumentsT &&value)
PentestJob & WithServiceRole(ServiceRoleT &&value)
bool OverviewHasBeenSet() const
void SetDisableManagedSkills(DisableManagedSkillsT &&value)
void SetTrustedCaCertificates(TrustedCaCertificatesT &&value)
const Aws::Vector< Actor > & GetActors() const
AWS_SECURITYAGENT_API PentestJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool ExecutionContextHasBeenSet() const
bool DisableManagedSkillsHasBeenSet() const
void SetTitle(TitleT &&value)
AWS_SECURITYAGENT_API PentestJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TrustedCaCertificatesHasBeenSet() const
PentestJob & WithJobType(JobType value)
void SetSelectedFindingIds(SelectedFindingIdsT &&value)
JobStatus GetStatus() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMaxTaskHours(double value)
void SetJobType(JobType value)
PentestJob & WithStatus(JobStatus value)
PentestJob & WithOverview(OverviewT &&value)
void SetEndpoints(EndpointsT &&value)
PentestJob & WithIntegratedRepositories(IntegratedRepositoriesT &&value)
JobType GetJobType() const
PentestJob & WithTrustedCaCertificates(TrustedCaCertificatesT &&value)
void SetExcludeRiskTypes(ExcludeRiskTypesT &&value)
PentestJob & AddIntegratedRepositories(IntegratedRepositoriesT &&value)
bool JobTypeHasBeenSet() const
PentestJob & WithSteps(StepsT &&value)
void SetOverview(OverviewT &&value)
const Aws::Vector< Step > & GetSteps() const
bool DocumentsHasBeenSet() const
PentestJob & AddSteps(StepsT &&value)
const Aws::Vector< Endpoint > & GetEndpoints() const
bool ExcludeRiskTypesHasBeenSet() const
PentestJob & WithExcludeRiskTypes(ExcludeRiskTypesT &&value)
const Aws::Vector< DocumentInfo > & GetDocuments() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue