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/NetworkTrafficConfig.h>
22#include <aws/securityagent/model/RiskType.h>
23#include <aws/securityagent/model/SkillType.h>
24#include <aws/securityagent/model/SourceCodeRepository.h>
25#include <aws/securityagent/model/Step.h>
26#include <aws/securityagent/model/VpcConfig.h>
37namespace SecurityAgent {
60 template <
typename PentestJobIdT = Aws::String>
62 m_pentestJobIdHasBeenSet =
true;
63 m_pentestJobId = std::forward<PentestJobIdT>(value);
65 template <
typename PentestJobIdT = Aws::String>
78 template <
typename PentestIdT = Aws::String>
80 m_pentestIdHasBeenSet =
true;
81 m_pentestId = std::forward<PentestIdT>(value);
83 template <
typename PentestIdT = Aws::String>
96 template <
typename TitleT = Aws::String>
98 m_titleHasBeenSet =
true;
99 m_title = std::forward<TitleT>(value);
101 template <
typename TitleT = Aws::String>
103 SetTitle(std::forward<TitleT>(value));
114 template <
typename OverviewT = Aws::String>
116 m_overviewHasBeenSet =
true;
117 m_overview = std::forward<OverviewT>(value);
119 template <
typename OverviewT = Aws::String>
133 m_statusHasBeenSet =
true;
148 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
150 m_endpointsHasBeenSet =
true;
151 m_endpoints = std::forward<EndpointsT>(value);
153 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
158 template <
typename Endpo
intsT = Endpo
int>
160 m_endpointsHasBeenSet =
true;
161 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
172 template <
typename ActorsT = Aws::Vector<Actor>>
174 m_actorsHasBeenSet =
true;
175 m_actors = std::forward<ActorsT>(value);
177 template <
typename ActorsT = Aws::Vector<Actor>>
182 template <
typename ActorsT = Actor>
184 m_actorsHasBeenSet =
true;
185 m_actors.emplace_back(std::forward<ActorsT>(value));
196 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
198 m_documentsHasBeenSet =
true;
199 m_documents = std::forward<DocumentsT>(value);
201 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
206 template <
typename DocumentsT = DocumentInfo>
208 m_documentsHasBeenSet =
true;
209 m_documents.emplace_back(std::forward<DocumentsT>(value));
220 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
222 m_sourceCodeHasBeenSet =
true;
223 m_sourceCode = std::forward<SourceCodeT>(value);
225 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
230 template <
typename SourceCodeT = SourceCodeRepository>
232 m_sourceCodeHasBeenSet =
true;
233 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
244 template <
typename ExcludePathsT = Aws::Vector<Endpo
int>>
246 m_excludePathsHasBeenSet =
true;
247 m_excludePaths = std::forward<ExcludePathsT>(value);
249 template <
typename ExcludePathsT = Aws::Vector<Endpo
int>>
254 template <
typename ExcludePathsT = Endpo
int>
256 m_excludePathsHasBeenSet =
true;
257 m_excludePaths.emplace_back(std::forward<ExcludePathsT>(value));
268 template <
typename AllowedDomainsT = Aws::Vector<Endpo
int>>
270 m_allowedDomainsHasBeenSet =
true;
271 m_allowedDomains = std::forward<AllowedDomainsT>(value);
273 template <
typename AllowedDomainsT = Aws::Vector<Endpo
int>>
278 template <
typename AllowedDomainsT = Endpo
int>
280 m_allowedDomainsHasBeenSet =
true;
281 m_allowedDomains.emplace_back(std::forward<AllowedDomainsT>(value));
292 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
294 m_excludeRiskTypesHasBeenSet =
true;
295 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
297 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
303 m_excludeRiskTypesHasBeenSet =
true;
304 m_excludeRiskTypes.push_back(value);
315 template <
typename StepsT = Aws::Vector<Step>>
317 m_stepsHasBeenSet =
true;
318 m_steps = std::forward<StepsT>(value);
320 template <
typename StepsT = Aws::Vector<Step>>
322 SetSteps(std::forward<StepsT>(value));
325 template <
typename StepsT = Step>
327 m_stepsHasBeenSet =
true;
328 m_steps.emplace_back(std::forward<StepsT>(value));
339 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
341 m_executionContextHasBeenSet =
true;
342 m_executionContext = std::forward<ExecutionContextT>(value);
344 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
349 template <
typename ExecutionContextT = ExecutionContext>
351 m_executionContextHasBeenSet =
true;
352 m_executionContext.emplace_back(std::forward<ExecutionContextT>(value));
363 template <
typename ServiceRoleT = Aws::String>
365 m_serviceRoleHasBeenSet =
true;
366 m_serviceRole = std::forward<ServiceRoleT>(value);
368 template <
typename ServiceRoleT = Aws::String>
381 template <
typename LogConfigT = CloudWatchLog>
383 m_logConfigHasBeenSet =
true;
384 m_logConfig = std::forward<LogConfigT>(value);
386 template <
typename LogConfigT = CloudWatchLog>
399 template <
typename VpcConfigT = VpcConfig>
401 m_vpcConfigHasBeenSet =
true;
402 m_vpcConfig = std::forward<VpcConfigT>(value);
404 template <
typename VpcConfigT = VpcConfig>
417 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
419 m_networkTrafficConfigHasBeenSet =
true;
420 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
422 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
435 template <
typename ErrorInformationT = ErrorInformation>
437 m_errorInformationHasBeenSet =
true;
438 m_errorInformation = std::forward<ErrorInformationT>(value);
440 template <
typename ErrorInformationT = ErrorInformation>
453 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
455 m_integratedRepositoriesHasBeenSet =
true;
456 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
458 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
463 template <
typename IntegratedRepositoriesT = IntegratedRepository>
465 m_integratedRepositoriesHasBeenSet =
true;
466 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
478 m_codeRemediationStrategyHasBeenSet =
true;
479 m_codeRemediationStrategy = value;
494 m_cleanUpStrategyHasBeenSet =
true;
495 m_cleanUpStrategy = value;
510 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
512 m_disableManagedSkillsHasBeenSet =
true;
513 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
515 template <
typename DisableManagedSkillsT = Aws::Vector<SkillType>>
521 m_disableManagedSkillsHasBeenSet =
true;
522 m_disableManagedSkills.push_back(value);
533 template <
typename CreatedAtT = Aws::Utils::DateTime>
535 m_createdAtHasBeenSet =
true;
536 m_createdAt = std::forward<CreatedAtT>(value);
538 template <
typename CreatedAtT = Aws::Utils::DateTime>
551 template <
typename UpdatedAtT = Aws::Utils::DateTime>
553 m_updatedAtHasBeenSet =
true;
554 m_updatedAt = std::forward<UpdatedAtT>(value);
556 template <
typename UpdatedAtT = Aws::Utils::DateTime>
593 CloudWatchLog m_logConfig;
595 VpcConfig m_vpcConfig;
597 NetworkTrafficConfig m_networkTrafficConfig;
599 ErrorInformation m_errorInformation;
612 bool m_pentestJobIdHasBeenSet =
false;
613 bool m_pentestIdHasBeenSet =
false;
614 bool m_titleHasBeenSet =
false;
615 bool m_overviewHasBeenSet =
false;
616 bool m_statusHasBeenSet =
false;
617 bool m_endpointsHasBeenSet =
false;
618 bool m_actorsHasBeenSet =
false;
619 bool m_documentsHasBeenSet =
false;
620 bool m_sourceCodeHasBeenSet =
false;
621 bool m_excludePathsHasBeenSet =
false;
622 bool m_allowedDomainsHasBeenSet =
false;
623 bool m_excludeRiskTypesHasBeenSet =
false;
624 bool m_stepsHasBeenSet =
false;
625 bool m_executionContextHasBeenSet =
false;
626 bool m_serviceRoleHasBeenSet =
false;
627 bool m_logConfigHasBeenSet =
false;
628 bool m_vpcConfigHasBeenSet =
false;
629 bool m_networkTrafficConfigHasBeenSet =
false;
630 bool m_errorInformationHasBeenSet =
false;
631 bool m_integratedRepositoriesHasBeenSet =
false;
632 bool m_codeRemediationStrategyHasBeenSet =
false;
633 bool m_cleanUpStrategyHasBeenSet =
false;
634 bool m_disableManagedSkillsHasBeenSet =
false;
635 bool m_createdAtHasBeenSet =
false;
636 bool m_updatedAtHasBeenSet =
false;
bool CreatedAtHasBeenSet() const
const ErrorInformation & GetErrorInformation() const
bool LogConfigHasBeenSet() const
PentestJob & WithLogConfig(LogConfigT &&value)
bool ExcludePathsHasBeenSet() const
const Aws::String & GetPentestJobId() const
PentestJob & WithDocuments(DocumentsT &&value)
bool PentestJobIdHasBeenSet() const
const Aws::String & GetOverview() 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 & 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 & 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
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)
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< 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)
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)
JobStatus GetStatus() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
PentestJob & WithStatus(JobStatus value)
PentestJob & WithOverview(OverviewT &&value)
void SetEndpoints(EndpointsT &&value)
PentestJob & WithIntegratedRepositories(IntegratedRepositoriesT &&value)
void SetExcludeRiskTypes(ExcludeRiskTypesT &&value)
PentestJob & AddIntegratedRepositories(IntegratedRepositoriesT &&value)
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