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/CloudWatchLog.h>
13#include <aws/securityagent/model/CodeRemediationStrategy.h>
14#include <aws/securityagent/model/DocumentInfo.h>
15#include <aws/securityagent/model/Endpoint.h>
16#include <aws/securityagent/model/ErrorInformation.h>
17#include <aws/securityagent/model/ExecutionContext.h>
18#include <aws/securityagent/model/IntegratedRepository.h>
19#include <aws/securityagent/model/JobStatus.h>
20#include <aws/securityagent/model/NetworkTrafficConfig.h>
21#include <aws/securityagent/model/RiskType.h>
22#include <aws/securityagent/model/SourceCodeRepository.h>
23#include <aws/securityagent/model/Step.h>
24#include <aws/securityagent/model/VpcConfig.h>
35namespace SecurityAgent {
58 template <
typename PentestJobIdT = Aws::String>
60 m_pentestJobIdHasBeenSet =
true;
61 m_pentestJobId = std::forward<PentestJobIdT>(value);
63 template <
typename PentestJobIdT = Aws::String>
76 template <
typename PentestIdT = Aws::String>
78 m_pentestIdHasBeenSet =
true;
79 m_pentestId = std::forward<PentestIdT>(value);
81 template <
typename PentestIdT = Aws::String>
94 template <
typename TitleT = Aws::String>
96 m_titleHasBeenSet =
true;
97 m_title = std::forward<TitleT>(value);
99 template <
typename TitleT = Aws::String>
101 SetTitle(std::forward<TitleT>(value));
112 template <
typename OverviewT = Aws::String>
114 m_overviewHasBeenSet =
true;
115 m_overview = std::forward<OverviewT>(value);
117 template <
typename OverviewT = Aws::String>
131 m_statusHasBeenSet =
true;
146 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
148 m_endpointsHasBeenSet =
true;
149 m_endpoints = std::forward<EndpointsT>(value);
151 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
156 template <
typename Endpo
intsT = Endpo
int>
158 m_endpointsHasBeenSet =
true;
159 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
170 template <
typename ActorsT = Aws::Vector<Actor>>
172 m_actorsHasBeenSet =
true;
173 m_actors = std::forward<ActorsT>(value);
175 template <
typename ActorsT = Aws::Vector<Actor>>
180 template <
typename ActorsT = Actor>
182 m_actorsHasBeenSet =
true;
183 m_actors.emplace_back(std::forward<ActorsT>(value));
194 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
196 m_documentsHasBeenSet =
true;
197 m_documents = std::forward<DocumentsT>(value);
199 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
204 template <
typename DocumentsT = DocumentInfo>
206 m_documentsHasBeenSet =
true;
207 m_documents.emplace_back(std::forward<DocumentsT>(value));
218 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
220 m_sourceCodeHasBeenSet =
true;
221 m_sourceCode = std::forward<SourceCodeT>(value);
223 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
228 template <
typename SourceCodeT = SourceCodeRepository>
230 m_sourceCodeHasBeenSet =
true;
231 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
242 template <
typename ExcludePathsT = Aws::Vector<Endpo
int>>
244 m_excludePathsHasBeenSet =
true;
245 m_excludePaths = std::forward<ExcludePathsT>(value);
247 template <
typename ExcludePathsT = Aws::Vector<Endpo
int>>
252 template <
typename ExcludePathsT = Endpo
int>
254 m_excludePathsHasBeenSet =
true;
255 m_excludePaths.emplace_back(std::forward<ExcludePathsT>(value));
266 template <
typename AllowedDomainsT = Aws::Vector<Endpo
int>>
268 m_allowedDomainsHasBeenSet =
true;
269 m_allowedDomains = std::forward<AllowedDomainsT>(value);
271 template <
typename AllowedDomainsT = Aws::Vector<Endpo
int>>
276 template <
typename AllowedDomainsT = Endpo
int>
278 m_allowedDomainsHasBeenSet =
true;
279 m_allowedDomains.emplace_back(std::forward<AllowedDomainsT>(value));
290 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
292 m_excludeRiskTypesHasBeenSet =
true;
293 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
295 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
301 m_excludeRiskTypesHasBeenSet =
true;
302 m_excludeRiskTypes.push_back(value);
313 template <
typename StepsT = Aws::Vector<Step>>
315 m_stepsHasBeenSet =
true;
316 m_steps = std::forward<StepsT>(value);
318 template <
typename StepsT = Aws::Vector<Step>>
320 SetSteps(std::forward<StepsT>(value));
323 template <
typename StepsT = Step>
325 m_stepsHasBeenSet =
true;
326 m_steps.emplace_back(std::forward<StepsT>(value));
337 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
339 m_executionContextHasBeenSet =
true;
340 m_executionContext = std::forward<ExecutionContextT>(value);
342 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
347 template <
typename ExecutionContextT = ExecutionContext>
349 m_executionContextHasBeenSet =
true;
350 m_executionContext.emplace_back(std::forward<ExecutionContextT>(value));
361 template <
typename ServiceRoleT = Aws::String>
363 m_serviceRoleHasBeenSet =
true;
364 m_serviceRole = std::forward<ServiceRoleT>(value);
366 template <
typename ServiceRoleT = Aws::String>
379 template <
typename LogConfigT = CloudWatchLog>
381 m_logConfigHasBeenSet =
true;
382 m_logConfig = std::forward<LogConfigT>(value);
384 template <
typename LogConfigT = CloudWatchLog>
397 template <
typename VpcConfigT = VpcConfig>
399 m_vpcConfigHasBeenSet =
true;
400 m_vpcConfig = std::forward<VpcConfigT>(value);
402 template <
typename VpcConfigT = VpcConfig>
415 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
417 m_networkTrafficConfigHasBeenSet =
true;
418 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
420 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
433 template <
typename ErrorInformationT = ErrorInformation>
435 m_errorInformationHasBeenSet =
true;
436 m_errorInformation = std::forward<ErrorInformationT>(value);
438 template <
typename ErrorInformationT = ErrorInformation>
451 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
453 m_integratedRepositoriesHasBeenSet =
true;
454 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
456 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
461 template <
typename IntegratedRepositoriesT = IntegratedRepository>
463 m_integratedRepositoriesHasBeenSet =
true;
464 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
476 m_codeRemediationStrategyHasBeenSet =
true;
477 m_codeRemediationStrategy = value;
491 template <
typename CreatedAtT = Aws::Utils::DateTime>
493 m_createdAtHasBeenSet =
true;
494 m_createdAt = std::forward<CreatedAtT>(value);
496 template <
typename CreatedAtT = Aws::Utils::DateTime>
509 template <
typename UpdatedAtT = Aws::Utils::DateTime>
511 m_updatedAtHasBeenSet =
true;
512 m_updatedAt = std::forward<UpdatedAtT>(value);
514 template <
typename UpdatedAtT = Aws::Utils::DateTime>
551 CloudWatchLog m_logConfig;
553 VpcConfig m_vpcConfig;
555 NetworkTrafficConfig m_networkTrafficConfig;
557 ErrorInformation m_errorInformation;
566 bool m_pentestJobIdHasBeenSet =
false;
567 bool m_pentestIdHasBeenSet =
false;
568 bool m_titleHasBeenSet =
false;
569 bool m_overviewHasBeenSet =
false;
570 bool m_statusHasBeenSet =
false;
571 bool m_endpointsHasBeenSet =
false;
572 bool m_actorsHasBeenSet =
false;
573 bool m_documentsHasBeenSet =
false;
574 bool m_sourceCodeHasBeenSet =
false;
575 bool m_excludePathsHasBeenSet =
false;
576 bool m_allowedDomainsHasBeenSet =
false;
577 bool m_excludeRiskTypesHasBeenSet =
false;
578 bool m_stepsHasBeenSet =
false;
579 bool m_executionContextHasBeenSet =
false;
580 bool m_serviceRoleHasBeenSet =
false;
581 bool m_logConfigHasBeenSet =
false;
582 bool m_vpcConfigHasBeenSet =
false;
583 bool m_networkTrafficConfigHasBeenSet =
false;
584 bool m_errorInformationHasBeenSet =
false;
585 bool m_integratedRepositoriesHasBeenSet =
false;
586 bool m_codeRemediationStrategyHasBeenSet =
false;
587 bool m_createdAtHasBeenSet =
false;
588 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 & 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)
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)
const Aws::String & GetTitle() const
PentestJob & WithTitle(TitleT &&value)
PentestJob & WithVpcConfig(VpcConfigT &&value)
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
PentestJob & WithErrorInformation(ErrorInformationT &&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
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
const Aws::Vector< Actor > & GetActors() const
AWS_SECURITYAGENT_API PentestJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool ExecutionContextHasBeenSet() 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