AWS SDK for C++

AWS SDK for C++ Version 1.11.881

Loading...
Searching...
No Matches
PentestJob.h
1
6#pragma once
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>
29
30#include <utility>
31
32namespace Aws {
33namespace Utils {
34namespace Json {
35class JsonValue;
36class JsonView;
37} // namespace Json
38} // namespace Utils
39namespace SecurityAgent {
40namespace Model {
41
50 public:
51 AWS_SECURITYAGENT_API PentestJob() = default;
52 AWS_SECURITYAGENT_API PentestJob(Aws::Utils::Json::JsonView jsonValue);
53 AWS_SECURITYAGENT_API PentestJob& operator=(Aws::Utils::Json::JsonView jsonValue);
54 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
55
57
60 inline const Aws::String& GetPentestJobId() const { return m_pentestJobId; }
61 inline bool PentestJobIdHasBeenSet() const { return m_pentestJobIdHasBeenSet; }
62 template <typename PentestJobIdT = Aws::String>
63 void SetPentestJobId(PentestJobIdT&& value) {
64 m_pentestJobIdHasBeenSet = true;
65 m_pentestJobId = std::forward<PentestJobIdT>(value);
66 }
67 template <typename PentestJobIdT = Aws::String>
68 PentestJob& WithPentestJobId(PentestJobIdT&& value) {
69 SetPentestJobId(std::forward<PentestJobIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetPentestId() const { return m_pentestId; }
79 inline bool PentestIdHasBeenSet() const { return m_pentestIdHasBeenSet; }
80 template <typename PentestIdT = Aws::String>
81 void SetPentestId(PentestIdT&& value) {
82 m_pentestIdHasBeenSet = true;
83 m_pentestId = std::forward<PentestIdT>(value);
84 }
85 template <typename PentestIdT = Aws::String>
86 PentestJob& WithPentestId(PentestIdT&& value) {
87 SetPentestId(std::forward<PentestIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetTitle() const { return m_title; }
97 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
98 template <typename TitleT = Aws::String>
99 void SetTitle(TitleT&& value) {
100 m_titleHasBeenSet = true;
101 m_title = std::forward<TitleT>(value);
102 }
103 template <typename TitleT = Aws::String>
104 PentestJob& WithTitle(TitleT&& value) {
105 SetTitle(std::forward<TitleT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetOverview() const { return m_overview; }
115 inline bool OverviewHasBeenSet() const { return m_overviewHasBeenSet; }
116 template <typename OverviewT = Aws::String>
117 void SetOverview(OverviewT&& value) {
118 m_overviewHasBeenSet = true;
119 m_overview = std::forward<OverviewT>(value);
120 }
121 template <typename OverviewT = Aws::String>
122 PentestJob& WithOverview(OverviewT&& value) {
123 SetOverview(std::forward<OverviewT>(value));
124 return *this;
125 }
127
129
132 inline JobStatus GetStatus() const { return m_status; }
133 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
134 inline void SetStatus(JobStatus value) {
135 m_statusHasBeenSet = true;
136 m_status = value;
137 }
139 SetStatus(value);
140 return *this;
141 }
143
145
148 inline const Aws::Vector<Endpoint>& GetEndpoints() const { return m_endpoints; }
149 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
150 template <typename EndpointsT = Aws::Vector<Endpoint>>
151 void SetEndpoints(EndpointsT&& value) {
152 m_endpointsHasBeenSet = true;
153 m_endpoints = std::forward<EndpointsT>(value);
154 }
155 template <typename EndpointsT = Aws::Vector<Endpoint>>
156 PentestJob& WithEndpoints(EndpointsT&& value) {
157 SetEndpoints(std::forward<EndpointsT>(value));
158 return *this;
159 }
160 template <typename EndpointsT = Endpoint>
161 PentestJob& AddEndpoints(EndpointsT&& value) {
162 m_endpointsHasBeenSet = true;
163 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Vector<Actor>& GetActors() const { return m_actors; }
173 inline bool ActorsHasBeenSet() const { return m_actorsHasBeenSet; }
174 template <typename ActorsT = Aws::Vector<Actor>>
175 void SetActors(ActorsT&& value) {
176 m_actorsHasBeenSet = true;
177 m_actors = std::forward<ActorsT>(value);
178 }
179 template <typename ActorsT = Aws::Vector<Actor>>
180 PentestJob& WithActors(ActorsT&& value) {
181 SetActors(std::forward<ActorsT>(value));
182 return *this;
183 }
184 template <typename ActorsT = Actor>
185 PentestJob& AddActors(ActorsT&& value) {
186 m_actorsHasBeenSet = true;
187 m_actors.emplace_back(std::forward<ActorsT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::Vector<DocumentInfo>& GetDocuments() const { return m_documents; }
197 inline bool DocumentsHasBeenSet() const { return m_documentsHasBeenSet; }
198 template <typename DocumentsT = Aws::Vector<DocumentInfo>>
199 void SetDocuments(DocumentsT&& value) {
200 m_documentsHasBeenSet = true;
201 m_documents = std::forward<DocumentsT>(value);
202 }
203 template <typename DocumentsT = Aws::Vector<DocumentInfo>>
204 PentestJob& WithDocuments(DocumentsT&& value) {
205 SetDocuments(std::forward<DocumentsT>(value));
206 return *this;
207 }
208 template <typename DocumentsT = DocumentInfo>
209 PentestJob& AddDocuments(DocumentsT&& value) {
210 m_documentsHasBeenSet = true;
211 m_documents.emplace_back(std::forward<DocumentsT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::Vector<SourceCodeRepository>& GetSourceCode() const { return m_sourceCode; }
221 inline bool SourceCodeHasBeenSet() const { return m_sourceCodeHasBeenSet; }
222 template <typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
223 void SetSourceCode(SourceCodeT&& value) {
224 m_sourceCodeHasBeenSet = true;
225 m_sourceCode = std::forward<SourceCodeT>(value);
226 }
227 template <typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
228 PentestJob& WithSourceCode(SourceCodeT&& value) {
229 SetSourceCode(std::forward<SourceCodeT>(value));
230 return *this;
231 }
232 template <typename SourceCodeT = SourceCodeRepository>
233 PentestJob& AddSourceCode(SourceCodeT&& value) {
234 m_sourceCodeHasBeenSet = true;
235 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
236 return *this;
237 }
239
241
244 inline const Aws::Vector<Endpoint>& GetExcludePaths() const { return m_excludePaths; }
245 inline bool ExcludePathsHasBeenSet() const { return m_excludePathsHasBeenSet; }
246 template <typename ExcludePathsT = Aws::Vector<Endpoint>>
247 void SetExcludePaths(ExcludePathsT&& value) {
248 m_excludePathsHasBeenSet = true;
249 m_excludePaths = std::forward<ExcludePathsT>(value);
250 }
251 template <typename ExcludePathsT = Aws::Vector<Endpoint>>
252 PentestJob& WithExcludePaths(ExcludePathsT&& value) {
253 SetExcludePaths(std::forward<ExcludePathsT>(value));
254 return *this;
255 }
256 template <typename ExcludePathsT = Endpoint>
257 PentestJob& AddExcludePaths(ExcludePathsT&& value) {
258 m_excludePathsHasBeenSet = true;
259 m_excludePaths.emplace_back(std::forward<ExcludePathsT>(value));
260 return *this;
261 }
263
265
268 inline const Aws::Vector<Endpoint>& GetAllowedDomains() const { return m_allowedDomains; }
269 inline bool AllowedDomainsHasBeenSet() const { return m_allowedDomainsHasBeenSet; }
270 template <typename AllowedDomainsT = Aws::Vector<Endpoint>>
271 void SetAllowedDomains(AllowedDomainsT&& value) {
272 m_allowedDomainsHasBeenSet = true;
273 m_allowedDomains = std::forward<AllowedDomainsT>(value);
274 }
275 template <typename AllowedDomainsT = Aws::Vector<Endpoint>>
276 PentestJob& WithAllowedDomains(AllowedDomainsT&& value) {
277 SetAllowedDomains(std::forward<AllowedDomainsT>(value));
278 return *this;
279 }
280 template <typename AllowedDomainsT = Endpoint>
281 PentestJob& AddAllowedDomains(AllowedDomainsT&& value) {
282 m_allowedDomainsHasBeenSet = true;
283 m_allowedDomains.emplace_back(std::forward<AllowedDomainsT>(value));
284 return *this;
285 }
287
289
292 inline const Aws::Vector<RiskType>& GetExcludeRiskTypes() const { return m_excludeRiskTypes; }
293 inline bool ExcludeRiskTypesHasBeenSet() const { return m_excludeRiskTypesHasBeenSet; }
294 template <typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
295 void SetExcludeRiskTypes(ExcludeRiskTypesT&& value) {
296 m_excludeRiskTypesHasBeenSet = true;
297 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
298 }
299 template <typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
300 PentestJob& WithExcludeRiskTypes(ExcludeRiskTypesT&& value) {
301 SetExcludeRiskTypes(std::forward<ExcludeRiskTypesT>(value));
302 return *this;
303 }
305 m_excludeRiskTypesHasBeenSet = true;
306 m_excludeRiskTypes.push_back(value);
307 return *this;
308 }
310
312
315 inline const Aws::Vector<Step>& GetSteps() const { return m_steps; }
316 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
317 template <typename StepsT = Aws::Vector<Step>>
318 void SetSteps(StepsT&& value) {
319 m_stepsHasBeenSet = true;
320 m_steps = std::forward<StepsT>(value);
321 }
322 template <typename StepsT = Aws::Vector<Step>>
323 PentestJob& WithSteps(StepsT&& value) {
324 SetSteps(std::forward<StepsT>(value));
325 return *this;
326 }
327 template <typename StepsT = Step>
328 PentestJob& AddSteps(StepsT&& value) {
329 m_stepsHasBeenSet = true;
330 m_steps.emplace_back(std::forward<StepsT>(value));
331 return *this;
332 }
334
336
339 inline const Aws::Vector<ExecutionContext>& GetExecutionContext() const { return m_executionContext; }
340 inline bool ExecutionContextHasBeenSet() const { return m_executionContextHasBeenSet; }
341 template <typename ExecutionContextT = Aws::Vector<ExecutionContext>>
342 void SetExecutionContext(ExecutionContextT&& value) {
343 m_executionContextHasBeenSet = true;
344 m_executionContext = std::forward<ExecutionContextT>(value);
345 }
346 template <typename ExecutionContextT = Aws::Vector<ExecutionContext>>
347 PentestJob& WithExecutionContext(ExecutionContextT&& value) {
348 SetExecutionContext(std::forward<ExecutionContextT>(value));
349 return *this;
350 }
351 template <typename ExecutionContextT = ExecutionContext>
352 PentestJob& AddExecutionContext(ExecutionContextT&& value) {
353 m_executionContextHasBeenSet = true;
354 m_executionContext.emplace_back(std::forward<ExecutionContextT>(value));
355 return *this;
356 }
358
360
363 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
364 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
365 template <typename ServiceRoleT = Aws::String>
366 void SetServiceRole(ServiceRoleT&& value) {
367 m_serviceRoleHasBeenSet = true;
368 m_serviceRole = std::forward<ServiceRoleT>(value);
369 }
370 template <typename ServiceRoleT = Aws::String>
371 PentestJob& WithServiceRole(ServiceRoleT&& value) {
372 SetServiceRole(std::forward<ServiceRoleT>(value));
373 return *this;
374 }
376
378
381 inline const CloudWatchLog& GetLogConfig() const { return m_logConfig; }
382 inline bool LogConfigHasBeenSet() const { return m_logConfigHasBeenSet; }
383 template <typename LogConfigT = CloudWatchLog>
384 void SetLogConfig(LogConfigT&& value) {
385 m_logConfigHasBeenSet = true;
386 m_logConfig = std::forward<LogConfigT>(value);
387 }
388 template <typename LogConfigT = CloudWatchLog>
389 PentestJob& WithLogConfig(LogConfigT&& value) {
390 SetLogConfig(std::forward<LogConfigT>(value));
391 return *this;
392 }
394
396
399 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
400 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
401 template <typename VpcConfigT = VpcConfig>
402 void SetVpcConfig(VpcConfigT&& value) {
403 m_vpcConfigHasBeenSet = true;
404 m_vpcConfig = std::forward<VpcConfigT>(value);
405 }
406 template <typename VpcConfigT = VpcConfig>
407 PentestJob& WithVpcConfig(VpcConfigT&& value) {
408 SetVpcConfig(std::forward<VpcConfigT>(value));
409 return *this;
410 }
412
414
417 inline const NetworkTrafficConfig& GetNetworkTrafficConfig() const { return m_networkTrafficConfig; }
418 inline bool NetworkTrafficConfigHasBeenSet() const { return m_networkTrafficConfigHasBeenSet; }
419 template <typename NetworkTrafficConfigT = NetworkTrafficConfig>
420 void SetNetworkTrafficConfig(NetworkTrafficConfigT&& value) {
421 m_networkTrafficConfigHasBeenSet = true;
422 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
423 }
424 template <typename NetworkTrafficConfigT = NetworkTrafficConfig>
425 PentestJob& WithNetworkTrafficConfig(NetworkTrafficConfigT&& value) {
426 SetNetworkTrafficConfig(std::forward<NetworkTrafficConfigT>(value));
427 return *this;
428 }
430
432
435 inline const ErrorInformation& GetErrorInformation() const { return m_errorInformation; }
436 inline bool ErrorInformationHasBeenSet() const { return m_errorInformationHasBeenSet; }
437 template <typename ErrorInformationT = ErrorInformation>
438 void SetErrorInformation(ErrorInformationT&& value) {
439 m_errorInformationHasBeenSet = true;
440 m_errorInformation = std::forward<ErrorInformationT>(value);
441 }
442 template <typename ErrorInformationT = ErrorInformation>
443 PentestJob& WithErrorInformation(ErrorInformationT&& value) {
444 SetErrorInformation(std::forward<ErrorInformationT>(value));
445 return *this;
446 }
448
450
453 inline const Aws::Vector<IntegratedRepository>& GetIntegratedRepositories() const { return m_integratedRepositories; }
454 inline bool IntegratedRepositoriesHasBeenSet() const { return m_integratedRepositoriesHasBeenSet; }
455 template <typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
456 void SetIntegratedRepositories(IntegratedRepositoriesT&& value) {
457 m_integratedRepositoriesHasBeenSet = true;
458 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
459 }
460 template <typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
461 PentestJob& WithIntegratedRepositories(IntegratedRepositoriesT&& value) {
462 SetIntegratedRepositories(std::forward<IntegratedRepositoriesT>(value));
463 return *this;
464 }
465 template <typename IntegratedRepositoriesT = IntegratedRepository>
466 PentestJob& AddIntegratedRepositories(IntegratedRepositoriesT&& value) {
467 m_integratedRepositoriesHasBeenSet = true;
468 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
469 return *this;
470 }
472
474
478 inline const Aws::Vector<TrustedCaCertificate>& GetTrustedCaCertificates() const { return m_trustedCaCertificates; }
479 inline bool TrustedCaCertificatesHasBeenSet() const { return m_trustedCaCertificatesHasBeenSet; }
480 template <typename TrustedCaCertificatesT = Aws::Vector<TrustedCaCertificate>>
481 void SetTrustedCaCertificates(TrustedCaCertificatesT&& value) {
482 m_trustedCaCertificatesHasBeenSet = true;
483 m_trustedCaCertificates = std::forward<TrustedCaCertificatesT>(value);
484 }
485 template <typename TrustedCaCertificatesT = Aws::Vector<TrustedCaCertificate>>
486 PentestJob& WithTrustedCaCertificates(TrustedCaCertificatesT&& value) {
487 SetTrustedCaCertificates(std::forward<TrustedCaCertificatesT>(value));
488 return *this;
489 }
490 template <typename TrustedCaCertificatesT = TrustedCaCertificate>
491 PentestJob& AddTrustedCaCertificates(TrustedCaCertificatesT&& value) {
492 m_trustedCaCertificatesHasBeenSet = true;
493 m_trustedCaCertificates.emplace_back(std::forward<TrustedCaCertificatesT>(value));
494 return *this;
495 }
497
499
502 inline CodeRemediationStrategy GetCodeRemediationStrategy() const { return m_codeRemediationStrategy; }
503 inline bool CodeRemediationStrategyHasBeenSet() const { return m_codeRemediationStrategyHasBeenSet; }
505 m_codeRemediationStrategyHasBeenSet = true;
506 m_codeRemediationStrategy = value;
507 }
510 return *this;
511 }
513
515
518 inline CleanUpStrategy GetCleanUpStrategy() const { return m_cleanUpStrategy; }
519 inline bool CleanUpStrategyHasBeenSet() const { return m_cleanUpStrategyHasBeenSet; }
521 m_cleanUpStrategyHasBeenSet = true;
522 m_cleanUpStrategy = value;
523 }
525 SetCleanUpStrategy(value);
526 return *this;
527 }
529
531
535 inline const Aws::Vector<SkillType>& GetDisableManagedSkills() const { return m_disableManagedSkills; }
536 inline bool DisableManagedSkillsHasBeenSet() const { return m_disableManagedSkillsHasBeenSet; }
537 template <typename DisableManagedSkillsT = Aws::Vector<SkillType>>
538 void SetDisableManagedSkills(DisableManagedSkillsT&& value) {
539 m_disableManagedSkillsHasBeenSet = true;
540 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
541 }
542 template <typename DisableManagedSkillsT = Aws::Vector<SkillType>>
543 PentestJob& WithDisableManagedSkills(DisableManagedSkillsT&& value) {
544 SetDisableManagedSkills(std::forward<DisableManagedSkillsT>(value));
545 return *this;
546 }
548 m_disableManagedSkillsHasBeenSet = true;
549 m_disableManagedSkills.push_back(value);
550 return *this;
551 }
553
555
559 inline double GetMaxTaskHours() const { return m_maxTaskHours; }
560 inline bool MaxTaskHoursHasBeenSet() const { return m_maxTaskHoursHasBeenSet; }
561 inline void SetMaxTaskHours(double value) {
562 m_maxTaskHoursHasBeenSet = true;
563 m_maxTaskHours = value;
564 }
565 inline PentestJob& WithMaxTaskHours(double value) {
566 SetMaxTaskHours(value);
567 return *this;
568 }
570
572
575 inline JobType GetJobType() const { return m_jobType; }
576 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
577 inline void SetJobType(JobType value) {
578 m_jobTypeHasBeenSet = true;
579 m_jobType = value;
580 }
582 SetJobType(value);
583 return *this;
584 }
586
588
592 inline const Aws::Vector<Aws::String>& GetSelectedFindingIds() const { return m_selectedFindingIds; }
593 inline bool SelectedFindingIdsHasBeenSet() const { return m_selectedFindingIdsHasBeenSet; }
594 template <typename SelectedFindingIdsT = Aws::Vector<Aws::String>>
595 void SetSelectedFindingIds(SelectedFindingIdsT&& value) {
596 m_selectedFindingIdsHasBeenSet = true;
597 m_selectedFindingIds = std::forward<SelectedFindingIdsT>(value);
598 }
599 template <typename SelectedFindingIdsT = Aws::Vector<Aws::String>>
600 PentestJob& WithSelectedFindingIds(SelectedFindingIdsT&& value) {
601 SetSelectedFindingIds(std::forward<SelectedFindingIdsT>(value));
602 return *this;
603 }
604 template <typename SelectedFindingIdsT = Aws::String>
605 PentestJob& AddSelectedFindingIds(SelectedFindingIdsT&& value) {
606 m_selectedFindingIdsHasBeenSet = true;
607 m_selectedFindingIds.emplace_back(std::forward<SelectedFindingIdsT>(value));
608 return *this;
609 }
611
613
616 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
617 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
618 template <typename CreatedAtT = Aws::Utils::DateTime>
619 void SetCreatedAt(CreatedAtT&& value) {
620 m_createdAtHasBeenSet = true;
621 m_createdAt = std::forward<CreatedAtT>(value);
622 }
623 template <typename CreatedAtT = Aws::Utils::DateTime>
624 PentestJob& WithCreatedAt(CreatedAtT&& value) {
625 SetCreatedAt(std::forward<CreatedAtT>(value));
626 return *this;
627 }
629
631
634 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
635 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
636 template <typename UpdatedAtT = Aws::Utils::DateTime>
637 void SetUpdatedAt(UpdatedAtT&& value) {
638 m_updatedAtHasBeenSet = true;
639 m_updatedAt = std::forward<UpdatedAtT>(value);
640 }
641 template <typename UpdatedAtT = Aws::Utils::DateTime>
642 PentestJob& WithUpdatedAt(UpdatedAtT&& value) {
643 SetUpdatedAt(std::forward<UpdatedAtT>(value));
644 return *this;
645 }
647 private:
648 Aws::String m_pentestJobId;
649
650 Aws::String m_pentestId;
651
652 Aws::String m_title;
653
654 Aws::String m_overview;
655
657
658 Aws::Vector<Endpoint> m_endpoints;
659
660 Aws::Vector<Actor> m_actors;
661
662 Aws::Vector<DocumentInfo> m_documents;
663
665
666 Aws::Vector<Endpoint> m_excludePaths;
667
668 Aws::Vector<Endpoint> m_allowedDomains;
669
670 Aws::Vector<RiskType> m_excludeRiskTypes;
671
672 Aws::Vector<Step> m_steps;
673
674 Aws::Vector<ExecutionContext> m_executionContext;
675
676 Aws::String m_serviceRole;
677
678 CloudWatchLog m_logConfig;
679
680 VpcConfig m_vpcConfig;
681
682 NetworkTrafficConfig m_networkTrafficConfig;
683
684 ErrorInformation m_errorInformation;
685
686 Aws::Vector<IntegratedRepository> m_integratedRepositories;
687
688 Aws::Vector<TrustedCaCertificate> m_trustedCaCertificates;
689
691
692 CleanUpStrategy m_cleanUpStrategy{CleanUpStrategy::NOT_SET};
693
694 Aws::Vector<SkillType> m_disableManagedSkills;
695
696 double m_maxTaskHours{0.0};
697
698 JobType m_jobType{JobType::NOT_SET};
699
700 Aws::Vector<Aws::String> m_selectedFindingIds;
701
702 Aws::Utils::DateTime m_createdAt{};
703
704 Aws::Utils::DateTime m_updatedAt{};
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;
734};
735
736} // namespace Model
737} // namespace SecurityAgent
738} // namespace Aws
const ErrorInformation & GetErrorInformation() const
Definition PentestJob.h:435
PentestJob & WithLogConfig(LogConfigT &&value)
Definition PentestJob.h:389
const Aws::String & GetPentestJobId() const
Definition PentestJob.h:60
PentestJob & WithDocuments(DocumentsT &&value)
Definition PentestJob.h:204
const Aws::String & GetOverview() const
Definition PentestJob.h:114
const Aws::Vector< TrustedCaCertificate > & GetTrustedCaCertificates() const
Definition PentestJob.h:478
PentestJob & WithCleanUpStrategy(CleanUpStrategy value)
Definition PentestJob.h:524
PentestJob & WithAllowedDomains(AllowedDomainsT &&value)
Definition PentestJob.h:276
CodeRemediationStrategy GetCodeRemediationStrategy() const
Definition PentestJob.h:502
PentestJob & WithCreatedAt(CreatedAtT &&value)
Definition PentestJob.h:624
PentestJob & WithCodeRemediationStrategy(CodeRemediationStrategy value)
Definition PentestJob.h:508
const Aws::Vector< Endpoint > & GetAllowedDomains() const
Definition PentestJob.h:268
void SetLogConfig(LogConfigT &&value)
Definition PentestJob.h:384
PentestJob & AddDisableManagedSkills(SkillType value)
Definition PentestJob.h:547
void SetServiceRole(ServiceRoleT &&value)
Definition PentestJob.h:366
void SetPentestJobId(PentestJobIdT &&value)
Definition PentestJob.h:63
void SetSourceCode(SourceCodeT &&value)
Definition PentestJob.h:223
void SetNetworkTrafficConfig(NetworkTrafficConfigT &&value)
Definition PentestJob.h:420
void SetVpcConfig(VpcConfigT &&value)
Definition PentestJob.h:402
PentestJob & WithPentestId(PentestIdT &&value)
Definition PentestJob.h:86
const Aws::String & GetTitle() const
Definition PentestJob.h:96
PentestJob & WithDisableManagedSkills(DisableManagedSkillsT &&value)
Definition PentestJob.h:543
PentestJob & WithTitle(TitleT &&value)
Definition PentestJob.h:104
PentestJob & AddSelectedFindingIds(SelectedFindingIdsT &&value)
Definition PentestJob.h:605
PentestJob & WithVpcConfig(VpcConfigT &&value)
Definition PentestJob.h:407
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
Definition PentestJob.h:417
PentestJob & WithErrorInformation(ErrorInformationT &&value)
Definition PentestJob.h:443
CleanUpStrategy GetCleanUpStrategy() const
Definition PentestJob.h:518
void SetCleanUpStrategy(CleanUpStrategy value)
Definition PentestJob.h:520
PentestJob & AddEndpoints(EndpointsT &&value)
Definition PentestJob.h:161
const CloudWatchLog & GetLogConfig() const
Definition PentestJob.h:381
PentestJob & WithNetworkTrafficConfig(NetworkTrafficConfigT &&value)
Definition PentestJob.h:425
PentestJob & WithUpdatedAt(UpdatedAtT &&value)
Definition PentestJob.h:642
PentestJob & WithSelectedFindingIds(SelectedFindingIdsT &&value)
Definition PentestJob.h:600
PentestJob & AddAllowedDomains(AllowedDomainsT &&value)
Definition PentestJob.h:281
const Aws::String & GetServiceRole() const
Definition PentestJob.h:363
PentestJob & WithActors(ActorsT &&value)
Definition PentestJob.h:180
PentestJob & WithEndpoints(EndpointsT &&value)
Definition PentestJob.h:156
void SetExecutionContext(ExecutionContextT &&value)
Definition PentestJob.h:342
PentestJob & AddActors(ActorsT &&value)
Definition PentestJob.h:185
PentestJob & AddTrustedCaCertificates(TrustedCaCertificatesT &&value)
Definition PentestJob.h:491
PentestJob & AddExcludeRiskTypes(RiskType value)
Definition PentestJob.h:304
PentestJob & WithExecutionContext(ExecutionContextT &&value)
Definition PentestJob.h:347
void SetCreatedAt(CreatedAtT &&value)
Definition PentestJob.h:619
void SetAllowedDomains(AllowedDomainsT &&value)
Definition PentestJob.h:271
const Aws::Vector< Endpoint > & GetExcludePaths() const
Definition PentestJob.h:244
AWS_SECURITYAGENT_API PentestJob()=default
void SetIntegratedRepositories(IntegratedRepositoriesT &&value)
Definition PentestJob.h:456
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
Definition PentestJob.h:504
PentestJob & WithMaxTaskHours(double value)
Definition PentestJob.h:565
void SetDocuments(DocumentsT &&value)
Definition PentestJob.h:199
const Aws::Utils::DateTime & GetCreatedAt() const
Definition PentestJob.h:616
PentestJob & AddSourceCode(SourceCodeT &&value)
Definition PentestJob.h:233
const Aws::Vector< RiskType > & GetExcludeRiskTypes() const
Definition PentestJob.h:292
const Aws::String & GetPentestId() const
Definition PentestJob.h:78
PentestJob & WithExcludePaths(ExcludePathsT &&value)
Definition PentestJob.h:252
const Aws::Vector< ExecutionContext > & GetExecutionContext() const
Definition PentestJob.h:339
const Aws::Vector< SourceCodeRepository > & GetSourceCode() const
Definition PentestJob.h:220
const Aws::Vector< Aws::String > & GetSelectedFindingIds() const
Definition PentestJob.h:592
const Aws::Vector< SkillType > & GetDisableManagedSkills() const
Definition PentestJob.h:535
void SetPentestId(PentestIdT &&value)
Definition PentestJob.h:81
PentestJob & WithPentestJobId(PentestJobIdT &&value)
Definition PentestJob.h:68
const VpcConfig & GetVpcConfig() const
Definition PentestJob.h:399
void SetExcludePaths(ExcludePathsT &&value)
Definition PentestJob.h:247
PentestJob & AddExcludePaths(ExcludePathsT &&value)
Definition PentestJob.h:257
void SetErrorInformation(ErrorInformationT &&value)
Definition PentestJob.h:438
void SetUpdatedAt(UpdatedAtT &&value)
Definition PentestJob.h:637
PentestJob & WithSourceCode(SourceCodeT &&value)
Definition PentestJob.h:228
PentestJob & AddExecutionContext(ExecutionContextT &&value)
Definition PentestJob.h:352
const Aws::Vector< IntegratedRepository > & GetIntegratedRepositories() const
Definition PentestJob.h:453
PentestJob & AddDocuments(DocumentsT &&value)
Definition PentestJob.h:209
PentestJob & WithServiceRole(ServiceRoleT &&value)
Definition PentestJob.h:371
void SetDisableManagedSkills(DisableManagedSkillsT &&value)
Definition PentestJob.h:538
void SetTrustedCaCertificates(TrustedCaCertificatesT &&value)
Definition PentestJob.h:481
const Aws::Vector< Actor > & GetActors() const
Definition PentestJob.h:172
AWS_SECURITYAGENT_API PentestJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition PentestJob.h:634
AWS_SECURITYAGENT_API PentestJob & operator=(Aws::Utils::Json::JsonView jsonValue)
PentestJob & WithJobType(JobType value)
Definition PentestJob.h:581
void SetSelectedFindingIds(SelectedFindingIdsT &&value)
Definition PentestJob.h:595
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
PentestJob & WithStatus(JobStatus value)
Definition PentestJob.h:138
PentestJob & WithOverview(OverviewT &&value)
Definition PentestJob.h:122
void SetEndpoints(EndpointsT &&value)
Definition PentestJob.h:151
PentestJob & WithIntegratedRepositories(IntegratedRepositoriesT &&value)
Definition PentestJob.h:461
PentestJob & WithTrustedCaCertificates(TrustedCaCertificatesT &&value)
Definition PentestJob.h:486
void SetExcludeRiskTypes(ExcludeRiskTypesT &&value)
Definition PentestJob.h:295
PentestJob & AddIntegratedRepositories(IntegratedRepositoriesT &&value)
Definition PentestJob.h:466
PentestJob & WithSteps(StepsT &&value)
Definition PentestJob.h:323
void SetOverview(OverviewT &&value)
Definition PentestJob.h:117
const Aws::Vector< Step > & GetSteps() const
Definition PentestJob.h:315
PentestJob & AddSteps(StepsT &&value)
Definition PentestJob.h:328
const Aws::Vector< Endpoint > & GetEndpoints() const
Definition PentestJob.h:148
PentestJob & WithExcludeRiskTypes(ExcludeRiskTypesT &&value)
Definition PentestJob.h:300
const Aws::Vector< DocumentInfo > & GetDocuments() const
Definition PentestJob.h:196
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue