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 {
56 template <
typename PentestJobIdT = Aws::String>
58 m_pentestJobIdHasBeenSet =
true;
59 m_pentestJobId = std::forward<PentestJobIdT>(value);
61 template <
typename PentestJobIdT = Aws::String>
74 template <
typename PentestIdT = Aws::String>
76 m_pentestIdHasBeenSet =
true;
77 m_pentestId = std::forward<PentestIdT>(value);
79 template <
typename PentestIdT = 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 OverviewT = Aws::String>
112 m_overviewHasBeenSet =
true;
113 m_overview = std::forward<OverviewT>(value);
115 template <
typename OverviewT = Aws::String>
129 m_statusHasBeenSet =
true;
144 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
146 m_endpointsHasBeenSet =
true;
147 m_endpoints = std::forward<EndpointsT>(value);
149 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
154 template <
typename Endpo
intsT = Endpo
int>
156 m_endpointsHasBeenSet =
true;
157 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
168 template <
typename ActorsT = Aws::Vector<Actor>>
170 m_actorsHasBeenSet =
true;
171 m_actors = std::forward<ActorsT>(value);
173 template <
typename ActorsT = Aws::Vector<Actor>>
178 template <
typename ActorsT = Actor>
180 m_actorsHasBeenSet =
true;
181 m_actors.emplace_back(std::forward<ActorsT>(value));
192 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
194 m_documentsHasBeenSet =
true;
195 m_documents = std::forward<DocumentsT>(value);
197 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
202 template <
typename DocumentsT = DocumentInfo>
204 m_documentsHasBeenSet =
true;
205 m_documents.emplace_back(std::forward<DocumentsT>(value));
216 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
218 m_sourceCodeHasBeenSet =
true;
219 m_sourceCode = std::forward<SourceCodeT>(value);
221 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
226 template <
typename SourceCodeT = SourceCodeRepository>
228 m_sourceCodeHasBeenSet =
true;
229 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
240 template <
typename ExcludePathsT = Aws::Vector<Endpo
int>>
242 m_excludePathsHasBeenSet =
true;
243 m_excludePaths = std::forward<ExcludePathsT>(value);
245 template <
typename ExcludePathsT = Aws::Vector<Endpo
int>>
250 template <
typename ExcludePathsT = Endpo
int>
252 m_excludePathsHasBeenSet =
true;
253 m_excludePaths.emplace_back(std::forward<ExcludePathsT>(value));
264 template <
typename AllowedDomainsT = Aws::Vector<Endpo
int>>
266 m_allowedDomainsHasBeenSet =
true;
267 m_allowedDomains = std::forward<AllowedDomainsT>(value);
269 template <
typename AllowedDomainsT = Aws::Vector<Endpo
int>>
274 template <
typename AllowedDomainsT = Endpo
int>
276 m_allowedDomainsHasBeenSet =
true;
277 m_allowedDomains.emplace_back(std::forward<AllowedDomainsT>(value));
288 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
290 m_excludeRiskTypesHasBeenSet =
true;
291 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
293 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
299 m_excludeRiskTypesHasBeenSet =
true;
300 m_excludeRiskTypes.push_back(value);
311 template <
typename StepsT = Aws::Vector<Step>>
313 m_stepsHasBeenSet =
true;
314 m_steps = std::forward<StepsT>(value);
316 template <
typename StepsT = Aws::Vector<Step>>
318 SetSteps(std::forward<StepsT>(value));
321 template <
typename StepsT = Step>
323 m_stepsHasBeenSet =
true;
324 m_steps.emplace_back(std::forward<StepsT>(value));
335 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
337 m_executionContextHasBeenSet =
true;
338 m_executionContext = std::forward<ExecutionContextT>(value);
340 template <
typename ExecutionContextT = Aws::Vector<ExecutionContext>>
345 template <
typename ExecutionContextT = ExecutionContext>
347 m_executionContextHasBeenSet =
true;
348 m_executionContext.emplace_back(std::forward<ExecutionContextT>(value));
359 template <
typename ServiceRoleT = Aws::String>
361 m_serviceRoleHasBeenSet =
true;
362 m_serviceRole = std::forward<ServiceRoleT>(value);
364 template <
typename ServiceRoleT = Aws::String>
377 template <
typename LogConfigT = CloudWatchLog>
379 m_logConfigHasBeenSet =
true;
380 m_logConfig = std::forward<LogConfigT>(value);
382 template <
typename LogConfigT = CloudWatchLog>
395 template <
typename VpcConfigT = VpcConfig>
397 m_vpcConfigHasBeenSet =
true;
398 m_vpcConfig = std::forward<VpcConfigT>(value);
400 template <
typename VpcConfigT = VpcConfig>
413 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
415 m_networkTrafficConfigHasBeenSet =
true;
416 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
418 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
431 template <
typename ErrorInformationT = ErrorInformation>
433 m_errorInformationHasBeenSet =
true;
434 m_errorInformation = std::forward<ErrorInformationT>(value);
436 template <
typename ErrorInformationT = ErrorInformation>
449 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
451 m_integratedRepositoriesHasBeenSet =
true;
452 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
454 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
459 template <
typename IntegratedRepositoriesT = IntegratedRepository>
461 m_integratedRepositoriesHasBeenSet =
true;
462 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
474 m_codeRemediationStrategyHasBeenSet =
true;
475 m_codeRemediationStrategy = value;
489 template <
typename CreatedAtT = Aws::Utils::DateTime>
491 m_createdAtHasBeenSet =
true;
492 m_createdAt = std::forward<CreatedAtT>(value);
494 template <
typename CreatedAtT = Aws::Utils::DateTime>
507 template <
typename UpdatedAtT = Aws::Utils::DateTime>
509 m_updatedAtHasBeenSet =
true;
510 m_updatedAt = std::forward<UpdatedAtT>(value);
512 template <
typename UpdatedAtT = Aws::Utils::DateTime>
549 CloudWatchLog m_logConfig;
551 VpcConfig m_vpcConfig;
553 NetworkTrafficConfig m_networkTrafficConfig;
555 ErrorInformation m_errorInformation;
564 bool m_pentestJobIdHasBeenSet =
false;
565 bool m_pentestIdHasBeenSet =
false;
566 bool m_titleHasBeenSet =
false;
567 bool m_overviewHasBeenSet =
false;
568 bool m_statusHasBeenSet =
false;
569 bool m_endpointsHasBeenSet =
false;
570 bool m_actorsHasBeenSet =
false;
571 bool m_documentsHasBeenSet =
false;
572 bool m_sourceCodeHasBeenSet =
false;
573 bool m_excludePathsHasBeenSet =
false;
574 bool m_allowedDomainsHasBeenSet =
false;
575 bool m_excludeRiskTypesHasBeenSet =
false;
576 bool m_stepsHasBeenSet =
false;
577 bool m_executionContextHasBeenSet =
false;
578 bool m_serviceRoleHasBeenSet =
false;
579 bool m_logConfigHasBeenSet =
false;
580 bool m_vpcConfigHasBeenSet =
false;
581 bool m_networkTrafficConfigHasBeenSet =
false;
582 bool m_errorInformationHasBeenSet =
false;
583 bool m_integratedRepositoriesHasBeenSet =
false;
584 bool m_codeRemediationStrategyHasBeenSet =
false;
585 bool m_createdAtHasBeenSet =
false;
586 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