AWS SDK for C++

AWS SDK for C++ Version 1.11.844

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/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>
27
28#include <utility>
29
30namespace Aws {
31namespace Utils {
32namespace Json {
33class JsonValue;
34class JsonView;
35} // namespace Json
36} // namespace Utils
37namespace SecurityAgent {
38namespace Model {
39
48 public:
49 AWS_SECURITYAGENT_API PentestJob() = default;
50 AWS_SECURITYAGENT_API PentestJob(Aws::Utils::Json::JsonView jsonValue);
51 AWS_SECURITYAGENT_API PentestJob& operator=(Aws::Utils::Json::JsonView jsonValue);
52 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
53
55
58 inline const Aws::String& GetPentestJobId() const { return m_pentestJobId; }
59 inline bool PentestJobIdHasBeenSet() const { return m_pentestJobIdHasBeenSet; }
60 template <typename PentestJobIdT = Aws::String>
61 void SetPentestJobId(PentestJobIdT&& value) {
62 m_pentestJobIdHasBeenSet = true;
63 m_pentestJobId = std::forward<PentestJobIdT>(value);
64 }
65 template <typename PentestJobIdT = Aws::String>
66 PentestJob& WithPentestJobId(PentestJobIdT&& value) {
67 SetPentestJobId(std::forward<PentestJobIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetPentestId() const { return m_pentestId; }
77 inline bool PentestIdHasBeenSet() const { return m_pentestIdHasBeenSet; }
78 template <typename PentestIdT = Aws::String>
79 void SetPentestId(PentestIdT&& value) {
80 m_pentestIdHasBeenSet = true;
81 m_pentestId = std::forward<PentestIdT>(value);
82 }
83 template <typename PentestIdT = Aws::String>
84 PentestJob& WithPentestId(PentestIdT&& value) {
85 SetPentestId(std::forward<PentestIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetTitle() const { return m_title; }
95 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
96 template <typename TitleT = Aws::String>
97 void SetTitle(TitleT&& value) {
98 m_titleHasBeenSet = true;
99 m_title = std::forward<TitleT>(value);
100 }
101 template <typename TitleT = Aws::String>
102 PentestJob& WithTitle(TitleT&& value) {
103 SetTitle(std::forward<TitleT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetOverview() const { return m_overview; }
113 inline bool OverviewHasBeenSet() const { return m_overviewHasBeenSet; }
114 template <typename OverviewT = Aws::String>
115 void SetOverview(OverviewT&& value) {
116 m_overviewHasBeenSet = true;
117 m_overview = std::forward<OverviewT>(value);
118 }
119 template <typename OverviewT = Aws::String>
120 PentestJob& WithOverview(OverviewT&& value) {
121 SetOverview(std::forward<OverviewT>(value));
122 return *this;
123 }
125
127
130 inline JobStatus GetStatus() const { return m_status; }
131 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
132 inline void SetStatus(JobStatus value) {
133 m_statusHasBeenSet = true;
134 m_status = value;
135 }
137 SetStatus(value);
138 return *this;
139 }
141
143
146 inline const Aws::Vector<Endpoint>& GetEndpoints() const { return m_endpoints; }
147 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
148 template <typename EndpointsT = Aws::Vector<Endpoint>>
149 void SetEndpoints(EndpointsT&& value) {
150 m_endpointsHasBeenSet = true;
151 m_endpoints = std::forward<EndpointsT>(value);
152 }
153 template <typename EndpointsT = Aws::Vector<Endpoint>>
154 PentestJob& WithEndpoints(EndpointsT&& value) {
155 SetEndpoints(std::forward<EndpointsT>(value));
156 return *this;
157 }
158 template <typename EndpointsT = Endpoint>
159 PentestJob& AddEndpoints(EndpointsT&& value) {
160 m_endpointsHasBeenSet = true;
161 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Vector<Actor>& GetActors() const { return m_actors; }
171 inline bool ActorsHasBeenSet() const { return m_actorsHasBeenSet; }
172 template <typename ActorsT = Aws::Vector<Actor>>
173 void SetActors(ActorsT&& value) {
174 m_actorsHasBeenSet = true;
175 m_actors = std::forward<ActorsT>(value);
176 }
177 template <typename ActorsT = Aws::Vector<Actor>>
178 PentestJob& WithActors(ActorsT&& value) {
179 SetActors(std::forward<ActorsT>(value));
180 return *this;
181 }
182 template <typename ActorsT = Actor>
183 PentestJob& AddActors(ActorsT&& value) {
184 m_actorsHasBeenSet = true;
185 m_actors.emplace_back(std::forward<ActorsT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::Vector<DocumentInfo>& GetDocuments() const { return m_documents; }
195 inline bool DocumentsHasBeenSet() const { return m_documentsHasBeenSet; }
196 template <typename DocumentsT = Aws::Vector<DocumentInfo>>
197 void SetDocuments(DocumentsT&& value) {
198 m_documentsHasBeenSet = true;
199 m_documents = std::forward<DocumentsT>(value);
200 }
201 template <typename DocumentsT = Aws::Vector<DocumentInfo>>
202 PentestJob& WithDocuments(DocumentsT&& value) {
203 SetDocuments(std::forward<DocumentsT>(value));
204 return *this;
205 }
206 template <typename DocumentsT = DocumentInfo>
207 PentestJob& AddDocuments(DocumentsT&& value) {
208 m_documentsHasBeenSet = true;
209 m_documents.emplace_back(std::forward<DocumentsT>(value));
210 return *this;
211 }
213
215
218 inline const Aws::Vector<SourceCodeRepository>& GetSourceCode() const { return m_sourceCode; }
219 inline bool SourceCodeHasBeenSet() const { return m_sourceCodeHasBeenSet; }
220 template <typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
221 void SetSourceCode(SourceCodeT&& value) {
222 m_sourceCodeHasBeenSet = true;
223 m_sourceCode = std::forward<SourceCodeT>(value);
224 }
225 template <typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
226 PentestJob& WithSourceCode(SourceCodeT&& value) {
227 SetSourceCode(std::forward<SourceCodeT>(value));
228 return *this;
229 }
230 template <typename SourceCodeT = SourceCodeRepository>
231 PentestJob& AddSourceCode(SourceCodeT&& value) {
232 m_sourceCodeHasBeenSet = true;
233 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::Vector<Endpoint>& GetExcludePaths() const { return m_excludePaths; }
243 inline bool ExcludePathsHasBeenSet() const { return m_excludePathsHasBeenSet; }
244 template <typename ExcludePathsT = Aws::Vector<Endpoint>>
245 void SetExcludePaths(ExcludePathsT&& value) {
246 m_excludePathsHasBeenSet = true;
247 m_excludePaths = std::forward<ExcludePathsT>(value);
248 }
249 template <typename ExcludePathsT = Aws::Vector<Endpoint>>
250 PentestJob& WithExcludePaths(ExcludePathsT&& value) {
251 SetExcludePaths(std::forward<ExcludePathsT>(value));
252 return *this;
253 }
254 template <typename ExcludePathsT = Endpoint>
255 PentestJob& AddExcludePaths(ExcludePathsT&& value) {
256 m_excludePathsHasBeenSet = true;
257 m_excludePaths.emplace_back(std::forward<ExcludePathsT>(value));
258 return *this;
259 }
261
263
266 inline const Aws::Vector<Endpoint>& GetAllowedDomains() const { return m_allowedDomains; }
267 inline bool AllowedDomainsHasBeenSet() const { return m_allowedDomainsHasBeenSet; }
268 template <typename AllowedDomainsT = Aws::Vector<Endpoint>>
269 void SetAllowedDomains(AllowedDomainsT&& value) {
270 m_allowedDomainsHasBeenSet = true;
271 m_allowedDomains = std::forward<AllowedDomainsT>(value);
272 }
273 template <typename AllowedDomainsT = Aws::Vector<Endpoint>>
274 PentestJob& WithAllowedDomains(AllowedDomainsT&& value) {
275 SetAllowedDomains(std::forward<AllowedDomainsT>(value));
276 return *this;
277 }
278 template <typename AllowedDomainsT = Endpoint>
279 PentestJob& AddAllowedDomains(AllowedDomainsT&& value) {
280 m_allowedDomainsHasBeenSet = true;
281 m_allowedDomains.emplace_back(std::forward<AllowedDomainsT>(value));
282 return *this;
283 }
285
287
290 inline const Aws::Vector<RiskType>& GetExcludeRiskTypes() const { return m_excludeRiskTypes; }
291 inline bool ExcludeRiskTypesHasBeenSet() const { return m_excludeRiskTypesHasBeenSet; }
292 template <typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
293 void SetExcludeRiskTypes(ExcludeRiskTypesT&& value) {
294 m_excludeRiskTypesHasBeenSet = true;
295 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
296 }
297 template <typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
298 PentestJob& WithExcludeRiskTypes(ExcludeRiskTypesT&& value) {
299 SetExcludeRiskTypes(std::forward<ExcludeRiskTypesT>(value));
300 return *this;
301 }
303 m_excludeRiskTypesHasBeenSet = true;
304 m_excludeRiskTypes.push_back(value);
305 return *this;
306 }
308
310
313 inline const Aws::Vector<Step>& GetSteps() const { return m_steps; }
314 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
315 template <typename StepsT = Aws::Vector<Step>>
316 void SetSteps(StepsT&& value) {
317 m_stepsHasBeenSet = true;
318 m_steps = std::forward<StepsT>(value);
319 }
320 template <typename StepsT = Aws::Vector<Step>>
321 PentestJob& WithSteps(StepsT&& value) {
322 SetSteps(std::forward<StepsT>(value));
323 return *this;
324 }
325 template <typename StepsT = Step>
326 PentestJob& AddSteps(StepsT&& value) {
327 m_stepsHasBeenSet = true;
328 m_steps.emplace_back(std::forward<StepsT>(value));
329 return *this;
330 }
332
334
337 inline const Aws::Vector<ExecutionContext>& GetExecutionContext() const { return m_executionContext; }
338 inline bool ExecutionContextHasBeenSet() const { return m_executionContextHasBeenSet; }
339 template <typename ExecutionContextT = Aws::Vector<ExecutionContext>>
340 void SetExecutionContext(ExecutionContextT&& value) {
341 m_executionContextHasBeenSet = true;
342 m_executionContext = std::forward<ExecutionContextT>(value);
343 }
344 template <typename ExecutionContextT = Aws::Vector<ExecutionContext>>
345 PentestJob& WithExecutionContext(ExecutionContextT&& value) {
346 SetExecutionContext(std::forward<ExecutionContextT>(value));
347 return *this;
348 }
349 template <typename ExecutionContextT = ExecutionContext>
350 PentestJob& AddExecutionContext(ExecutionContextT&& value) {
351 m_executionContextHasBeenSet = true;
352 m_executionContext.emplace_back(std::forward<ExecutionContextT>(value));
353 return *this;
354 }
356
358
361 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
362 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
363 template <typename ServiceRoleT = Aws::String>
364 void SetServiceRole(ServiceRoleT&& value) {
365 m_serviceRoleHasBeenSet = true;
366 m_serviceRole = std::forward<ServiceRoleT>(value);
367 }
368 template <typename ServiceRoleT = Aws::String>
369 PentestJob& WithServiceRole(ServiceRoleT&& value) {
370 SetServiceRole(std::forward<ServiceRoleT>(value));
371 return *this;
372 }
374
376
379 inline const CloudWatchLog& GetLogConfig() const { return m_logConfig; }
380 inline bool LogConfigHasBeenSet() const { return m_logConfigHasBeenSet; }
381 template <typename LogConfigT = CloudWatchLog>
382 void SetLogConfig(LogConfigT&& value) {
383 m_logConfigHasBeenSet = true;
384 m_logConfig = std::forward<LogConfigT>(value);
385 }
386 template <typename LogConfigT = CloudWatchLog>
387 PentestJob& WithLogConfig(LogConfigT&& value) {
388 SetLogConfig(std::forward<LogConfigT>(value));
389 return *this;
390 }
392
394
397 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
398 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
399 template <typename VpcConfigT = VpcConfig>
400 void SetVpcConfig(VpcConfigT&& value) {
401 m_vpcConfigHasBeenSet = true;
402 m_vpcConfig = std::forward<VpcConfigT>(value);
403 }
404 template <typename VpcConfigT = VpcConfig>
405 PentestJob& WithVpcConfig(VpcConfigT&& value) {
406 SetVpcConfig(std::forward<VpcConfigT>(value));
407 return *this;
408 }
410
412
415 inline const NetworkTrafficConfig& GetNetworkTrafficConfig() const { return m_networkTrafficConfig; }
416 inline bool NetworkTrafficConfigHasBeenSet() const { return m_networkTrafficConfigHasBeenSet; }
417 template <typename NetworkTrafficConfigT = NetworkTrafficConfig>
418 void SetNetworkTrafficConfig(NetworkTrafficConfigT&& value) {
419 m_networkTrafficConfigHasBeenSet = true;
420 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
421 }
422 template <typename NetworkTrafficConfigT = NetworkTrafficConfig>
423 PentestJob& WithNetworkTrafficConfig(NetworkTrafficConfigT&& value) {
424 SetNetworkTrafficConfig(std::forward<NetworkTrafficConfigT>(value));
425 return *this;
426 }
428
430
433 inline const ErrorInformation& GetErrorInformation() const { return m_errorInformation; }
434 inline bool ErrorInformationHasBeenSet() const { return m_errorInformationHasBeenSet; }
435 template <typename ErrorInformationT = ErrorInformation>
436 void SetErrorInformation(ErrorInformationT&& value) {
437 m_errorInformationHasBeenSet = true;
438 m_errorInformation = std::forward<ErrorInformationT>(value);
439 }
440 template <typename ErrorInformationT = ErrorInformation>
441 PentestJob& WithErrorInformation(ErrorInformationT&& value) {
442 SetErrorInformation(std::forward<ErrorInformationT>(value));
443 return *this;
444 }
446
448
451 inline const Aws::Vector<IntegratedRepository>& GetIntegratedRepositories() const { return m_integratedRepositories; }
452 inline bool IntegratedRepositoriesHasBeenSet() const { return m_integratedRepositoriesHasBeenSet; }
453 template <typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
454 void SetIntegratedRepositories(IntegratedRepositoriesT&& value) {
455 m_integratedRepositoriesHasBeenSet = true;
456 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
457 }
458 template <typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
459 PentestJob& WithIntegratedRepositories(IntegratedRepositoriesT&& value) {
460 SetIntegratedRepositories(std::forward<IntegratedRepositoriesT>(value));
461 return *this;
462 }
463 template <typename IntegratedRepositoriesT = IntegratedRepository>
464 PentestJob& AddIntegratedRepositories(IntegratedRepositoriesT&& value) {
465 m_integratedRepositoriesHasBeenSet = true;
466 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
467 return *this;
468 }
470
472
475 inline CodeRemediationStrategy GetCodeRemediationStrategy() const { return m_codeRemediationStrategy; }
476 inline bool CodeRemediationStrategyHasBeenSet() const { return m_codeRemediationStrategyHasBeenSet; }
478 m_codeRemediationStrategyHasBeenSet = true;
479 m_codeRemediationStrategy = value;
480 }
483 return *this;
484 }
486
488
491 inline CleanUpStrategy GetCleanUpStrategy() const { return m_cleanUpStrategy; }
492 inline bool CleanUpStrategyHasBeenSet() const { return m_cleanUpStrategyHasBeenSet; }
494 m_cleanUpStrategyHasBeenSet = true;
495 m_cleanUpStrategy = value;
496 }
498 SetCleanUpStrategy(value);
499 return *this;
500 }
502
504
508 inline const Aws::Vector<SkillType>& GetDisableManagedSkills() const { return m_disableManagedSkills; }
509 inline bool DisableManagedSkillsHasBeenSet() const { return m_disableManagedSkillsHasBeenSet; }
510 template <typename DisableManagedSkillsT = Aws::Vector<SkillType>>
511 void SetDisableManagedSkills(DisableManagedSkillsT&& value) {
512 m_disableManagedSkillsHasBeenSet = true;
513 m_disableManagedSkills = std::forward<DisableManagedSkillsT>(value);
514 }
515 template <typename DisableManagedSkillsT = Aws::Vector<SkillType>>
516 PentestJob& WithDisableManagedSkills(DisableManagedSkillsT&& value) {
517 SetDisableManagedSkills(std::forward<DisableManagedSkillsT>(value));
518 return *this;
519 }
521 m_disableManagedSkillsHasBeenSet = true;
522 m_disableManagedSkills.push_back(value);
523 return *this;
524 }
526
528
531 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
532 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
533 template <typename CreatedAtT = Aws::Utils::DateTime>
534 void SetCreatedAt(CreatedAtT&& value) {
535 m_createdAtHasBeenSet = true;
536 m_createdAt = std::forward<CreatedAtT>(value);
537 }
538 template <typename CreatedAtT = Aws::Utils::DateTime>
539 PentestJob& WithCreatedAt(CreatedAtT&& value) {
540 SetCreatedAt(std::forward<CreatedAtT>(value));
541 return *this;
542 }
544
546
549 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
550 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
551 template <typename UpdatedAtT = Aws::Utils::DateTime>
552 void SetUpdatedAt(UpdatedAtT&& value) {
553 m_updatedAtHasBeenSet = true;
554 m_updatedAt = std::forward<UpdatedAtT>(value);
555 }
556 template <typename UpdatedAtT = Aws::Utils::DateTime>
557 PentestJob& WithUpdatedAt(UpdatedAtT&& value) {
558 SetUpdatedAt(std::forward<UpdatedAtT>(value));
559 return *this;
560 }
562 private:
563 Aws::String m_pentestJobId;
564
565 Aws::String m_pentestId;
566
567 Aws::String m_title;
568
569 Aws::String m_overview;
570
572
573 Aws::Vector<Endpoint> m_endpoints;
574
575 Aws::Vector<Actor> m_actors;
576
577 Aws::Vector<DocumentInfo> m_documents;
578
580
581 Aws::Vector<Endpoint> m_excludePaths;
582
583 Aws::Vector<Endpoint> m_allowedDomains;
584
585 Aws::Vector<RiskType> m_excludeRiskTypes;
586
587 Aws::Vector<Step> m_steps;
588
589 Aws::Vector<ExecutionContext> m_executionContext;
590
591 Aws::String m_serviceRole;
592
593 CloudWatchLog m_logConfig;
594
595 VpcConfig m_vpcConfig;
596
597 NetworkTrafficConfig m_networkTrafficConfig;
598
599 ErrorInformation m_errorInformation;
600
601 Aws::Vector<IntegratedRepository> m_integratedRepositories;
602
604
605 CleanUpStrategy m_cleanUpStrategy{CleanUpStrategy::NOT_SET};
606
607 Aws::Vector<SkillType> m_disableManagedSkills;
608
609 Aws::Utils::DateTime m_createdAt{};
610
611 Aws::Utils::DateTime m_updatedAt{};
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;
637};
638
639} // namespace Model
640} // namespace SecurityAgent
641} // namespace Aws
const ErrorInformation & GetErrorInformation() const
Definition PentestJob.h:433
PentestJob & WithLogConfig(LogConfigT &&value)
Definition PentestJob.h:387
const Aws::String & GetPentestJobId() const
Definition PentestJob.h:58
PentestJob & WithDocuments(DocumentsT &&value)
Definition PentestJob.h:202
const Aws::String & GetOverview() const
Definition PentestJob.h:112
PentestJob & WithCleanUpStrategy(CleanUpStrategy value)
Definition PentestJob.h:497
PentestJob & WithAllowedDomains(AllowedDomainsT &&value)
Definition PentestJob.h:274
CodeRemediationStrategy GetCodeRemediationStrategy() const
Definition PentestJob.h:475
PentestJob & WithCreatedAt(CreatedAtT &&value)
Definition PentestJob.h:539
PentestJob & WithCodeRemediationStrategy(CodeRemediationStrategy value)
Definition PentestJob.h:481
const Aws::Vector< Endpoint > & GetAllowedDomains() const
Definition PentestJob.h:266
void SetLogConfig(LogConfigT &&value)
Definition PentestJob.h:382
PentestJob & AddDisableManagedSkills(SkillType value)
Definition PentestJob.h:520
void SetServiceRole(ServiceRoleT &&value)
Definition PentestJob.h:364
void SetPentestJobId(PentestJobIdT &&value)
Definition PentestJob.h:61
void SetSourceCode(SourceCodeT &&value)
Definition PentestJob.h:221
void SetNetworkTrafficConfig(NetworkTrafficConfigT &&value)
Definition PentestJob.h:418
void SetVpcConfig(VpcConfigT &&value)
Definition PentestJob.h:400
PentestJob & WithPentestId(PentestIdT &&value)
Definition PentestJob.h:84
const Aws::String & GetTitle() const
Definition PentestJob.h:94
PentestJob & WithDisableManagedSkills(DisableManagedSkillsT &&value)
Definition PentestJob.h:516
PentestJob & WithTitle(TitleT &&value)
Definition PentestJob.h:102
PentestJob & WithVpcConfig(VpcConfigT &&value)
Definition PentestJob.h:405
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
Definition PentestJob.h:415
PentestJob & WithErrorInformation(ErrorInformationT &&value)
Definition PentestJob.h:441
CleanUpStrategy GetCleanUpStrategy() const
Definition PentestJob.h:491
void SetCleanUpStrategy(CleanUpStrategy value)
Definition PentestJob.h:493
PentestJob & AddEndpoints(EndpointsT &&value)
Definition PentestJob.h:159
const CloudWatchLog & GetLogConfig() const
Definition PentestJob.h:379
PentestJob & WithNetworkTrafficConfig(NetworkTrafficConfigT &&value)
Definition PentestJob.h:423
PentestJob & WithUpdatedAt(UpdatedAtT &&value)
Definition PentestJob.h:557
PentestJob & AddAllowedDomains(AllowedDomainsT &&value)
Definition PentestJob.h:279
const Aws::String & GetServiceRole() const
Definition PentestJob.h:361
PentestJob & WithActors(ActorsT &&value)
Definition PentestJob.h:178
PentestJob & WithEndpoints(EndpointsT &&value)
Definition PentestJob.h:154
void SetExecutionContext(ExecutionContextT &&value)
Definition PentestJob.h:340
PentestJob & AddActors(ActorsT &&value)
Definition PentestJob.h:183
PentestJob & AddExcludeRiskTypes(RiskType value)
Definition PentestJob.h:302
PentestJob & WithExecutionContext(ExecutionContextT &&value)
Definition PentestJob.h:345
void SetCreatedAt(CreatedAtT &&value)
Definition PentestJob.h:534
void SetAllowedDomains(AllowedDomainsT &&value)
Definition PentestJob.h:269
const Aws::Vector< Endpoint > & GetExcludePaths() const
Definition PentestJob.h:242
AWS_SECURITYAGENT_API PentestJob()=default
void SetIntegratedRepositories(IntegratedRepositoriesT &&value)
Definition PentestJob.h:454
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
Definition PentestJob.h:477
void SetDocuments(DocumentsT &&value)
Definition PentestJob.h:197
const Aws::Utils::DateTime & GetCreatedAt() const
Definition PentestJob.h:531
PentestJob & AddSourceCode(SourceCodeT &&value)
Definition PentestJob.h:231
const Aws::Vector< RiskType > & GetExcludeRiskTypes() const
Definition PentestJob.h:290
const Aws::String & GetPentestId() const
Definition PentestJob.h:76
PentestJob & WithExcludePaths(ExcludePathsT &&value)
Definition PentestJob.h:250
const Aws::Vector< ExecutionContext > & GetExecutionContext() const
Definition PentestJob.h:337
const Aws::Vector< SourceCodeRepository > & GetSourceCode() const
Definition PentestJob.h:218
const Aws::Vector< SkillType > & GetDisableManagedSkills() const
Definition PentestJob.h:508
void SetPentestId(PentestIdT &&value)
Definition PentestJob.h:79
PentestJob & WithPentestJobId(PentestJobIdT &&value)
Definition PentestJob.h:66
const VpcConfig & GetVpcConfig() const
Definition PentestJob.h:397
void SetExcludePaths(ExcludePathsT &&value)
Definition PentestJob.h:245
PentestJob & AddExcludePaths(ExcludePathsT &&value)
Definition PentestJob.h:255
void SetErrorInformation(ErrorInformationT &&value)
Definition PentestJob.h:436
void SetUpdatedAt(UpdatedAtT &&value)
Definition PentestJob.h:552
PentestJob & WithSourceCode(SourceCodeT &&value)
Definition PentestJob.h:226
PentestJob & AddExecutionContext(ExecutionContextT &&value)
Definition PentestJob.h:350
const Aws::Vector< IntegratedRepository > & GetIntegratedRepositories() const
Definition PentestJob.h:451
PentestJob & AddDocuments(DocumentsT &&value)
Definition PentestJob.h:207
PentestJob & WithServiceRole(ServiceRoleT &&value)
Definition PentestJob.h:369
void SetDisableManagedSkills(DisableManagedSkillsT &&value)
Definition PentestJob.h:511
const Aws::Vector< Actor > & GetActors() const
Definition PentestJob.h:170
AWS_SECURITYAGENT_API PentestJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition PentestJob.h:549
AWS_SECURITYAGENT_API PentestJob & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
PentestJob & WithStatus(JobStatus value)
Definition PentestJob.h:136
PentestJob & WithOverview(OverviewT &&value)
Definition PentestJob.h:120
void SetEndpoints(EndpointsT &&value)
Definition PentestJob.h:149
PentestJob & WithIntegratedRepositories(IntegratedRepositoriesT &&value)
Definition PentestJob.h:459
void SetExcludeRiskTypes(ExcludeRiskTypesT &&value)
Definition PentestJob.h:293
PentestJob & AddIntegratedRepositories(IntegratedRepositoriesT &&value)
Definition PentestJob.h:464
PentestJob & WithSteps(StepsT &&value)
Definition PentestJob.h:321
void SetOverview(OverviewT &&value)
Definition PentestJob.h:115
const Aws::Vector< Step > & GetSteps() const
Definition PentestJob.h:313
PentestJob & AddSteps(StepsT &&value)
Definition PentestJob.h:326
const Aws::Vector< Endpoint > & GetEndpoints() const
Definition PentestJob.h:146
PentestJob & WithExcludeRiskTypes(ExcludeRiskTypesT &&value)
Definition PentestJob.h:298
const Aws::Vector< DocumentInfo > & GetDocuments() const
Definition PentestJob.h:194
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue