AWS SDK for C++

AWS SDK for C++ Version 1.11.816

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/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>
25
26#include <utility>
27
28namespace Aws {
29namespace Utils {
30namespace Json {
31class JsonValue;
32class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace SecurityAgent {
36namespace Model {
37
46 public:
47 AWS_SECURITYAGENT_API PentestJob() = default;
48 AWS_SECURITYAGENT_API PentestJob(Aws::Utils::Json::JsonView jsonValue);
49 AWS_SECURITYAGENT_API PentestJob& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
51
53
56 inline const Aws::String& GetPentestJobId() const { return m_pentestJobId; }
57 inline bool PentestJobIdHasBeenSet() const { return m_pentestJobIdHasBeenSet; }
58 template <typename PentestJobIdT = Aws::String>
59 void SetPentestJobId(PentestJobIdT&& value) {
60 m_pentestJobIdHasBeenSet = true;
61 m_pentestJobId = std::forward<PentestJobIdT>(value);
62 }
63 template <typename PentestJobIdT = Aws::String>
64 PentestJob& WithPentestJobId(PentestJobIdT&& value) {
65 SetPentestJobId(std::forward<PentestJobIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetPentestId() const { return m_pentestId; }
75 inline bool PentestIdHasBeenSet() const { return m_pentestIdHasBeenSet; }
76 template <typename PentestIdT = Aws::String>
77 void SetPentestId(PentestIdT&& value) {
78 m_pentestIdHasBeenSet = true;
79 m_pentestId = std::forward<PentestIdT>(value);
80 }
81 template <typename PentestIdT = Aws::String>
82 PentestJob& WithPentestId(PentestIdT&& value) {
83 SetPentestId(std::forward<PentestIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetTitle() const { return m_title; }
93 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
94 template <typename TitleT = Aws::String>
95 void SetTitle(TitleT&& value) {
96 m_titleHasBeenSet = true;
97 m_title = std::forward<TitleT>(value);
98 }
99 template <typename TitleT = Aws::String>
100 PentestJob& WithTitle(TitleT&& value) {
101 SetTitle(std::forward<TitleT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetOverview() const { return m_overview; }
111 inline bool OverviewHasBeenSet() const { return m_overviewHasBeenSet; }
112 template <typename OverviewT = Aws::String>
113 void SetOverview(OverviewT&& value) {
114 m_overviewHasBeenSet = true;
115 m_overview = std::forward<OverviewT>(value);
116 }
117 template <typename OverviewT = Aws::String>
118 PentestJob& WithOverview(OverviewT&& value) {
119 SetOverview(std::forward<OverviewT>(value));
120 return *this;
121 }
123
125
128 inline JobStatus GetStatus() const { return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(JobStatus value) {
131 m_statusHasBeenSet = true;
132 m_status = value;
133 }
135 SetStatus(value);
136 return *this;
137 }
139
141
144 inline const Aws::Vector<Endpoint>& GetEndpoints() const { return m_endpoints; }
145 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
146 template <typename EndpointsT = Aws::Vector<Endpoint>>
147 void SetEndpoints(EndpointsT&& value) {
148 m_endpointsHasBeenSet = true;
149 m_endpoints = std::forward<EndpointsT>(value);
150 }
151 template <typename EndpointsT = Aws::Vector<Endpoint>>
152 PentestJob& WithEndpoints(EndpointsT&& value) {
153 SetEndpoints(std::forward<EndpointsT>(value));
154 return *this;
155 }
156 template <typename EndpointsT = Endpoint>
157 PentestJob& AddEndpoints(EndpointsT&& value) {
158 m_endpointsHasBeenSet = true;
159 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::Vector<Actor>& GetActors() const { return m_actors; }
169 inline bool ActorsHasBeenSet() const { return m_actorsHasBeenSet; }
170 template <typename ActorsT = Aws::Vector<Actor>>
171 void SetActors(ActorsT&& value) {
172 m_actorsHasBeenSet = true;
173 m_actors = std::forward<ActorsT>(value);
174 }
175 template <typename ActorsT = Aws::Vector<Actor>>
176 PentestJob& WithActors(ActorsT&& value) {
177 SetActors(std::forward<ActorsT>(value));
178 return *this;
179 }
180 template <typename ActorsT = Actor>
181 PentestJob& AddActors(ActorsT&& value) {
182 m_actorsHasBeenSet = true;
183 m_actors.emplace_back(std::forward<ActorsT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::Vector<DocumentInfo>& GetDocuments() const { return m_documents; }
193 inline bool DocumentsHasBeenSet() const { return m_documentsHasBeenSet; }
194 template <typename DocumentsT = Aws::Vector<DocumentInfo>>
195 void SetDocuments(DocumentsT&& value) {
196 m_documentsHasBeenSet = true;
197 m_documents = std::forward<DocumentsT>(value);
198 }
199 template <typename DocumentsT = Aws::Vector<DocumentInfo>>
200 PentestJob& WithDocuments(DocumentsT&& value) {
201 SetDocuments(std::forward<DocumentsT>(value));
202 return *this;
203 }
204 template <typename DocumentsT = DocumentInfo>
205 PentestJob& AddDocuments(DocumentsT&& value) {
206 m_documentsHasBeenSet = true;
207 m_documents.emplace_back(std::forward<DocumentsT>(value));
208 return *this;
209 }
211
213
216 inline const Aws::Vector<SourceCodeRepository>& GetSourceCode() const { return m_sourceCode; }
217 inline bool SourceCodeHasBeenSet() const { return m_sourceCodeHasBeenSet; }
218 template <typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
219 void SetSourceCode(SourceCodeT&& value) {
220 m_sourceCodeHasBeenSet = true;
221 m_sourceCode = std::forward<SourceCodeT>(value);
222 }
223 template <typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
224 PentestJob& WithSourceCode(SourceCodeT&& value) {
225 SetSourceCode(std::forward<SourceCodeT>(value));
226 return *this;
227 }
228 template <typename SourceCodeT = SourceCodeRepository>
229 PentestJob& AddSourceCode(SourceCodeT&& value) {
230 m_sourceCodeHasBeenSet = true;
231 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::Vector<Endpoint>& GetExcludePaths() const { return m_excludePaths; }
241 inline bool ExcludePathsHasBeenSet() const { return m_excludePathsHasBeenSet; }
242 template <typename ExcludePathsT = Aws::Vector<Endpoint>>
243 void SetExcludePaths(ExcludePathsT&& value) {
244 m_excludePathsHasBeenSet = true;
245 m_excludePaths = std::forward<ExcludePathsT>(value);
246 }
247 template <typename ExcludePathsT = Aws::Vector<Endpoint>>
248 PentestJob& WithExcludePaths(ExcludePathsT&& value) {
249 SetExcludePaths(std::forward<ExcludePathsT>(value));
250 return *this;
251 }
252 template <typename ExcludePathsT = Endpoint>
253 PentestJob& AddExcludePaths(ExcludePathsT&& value) {
254 m_excludePathsHasBeenSet = true;
255 m_excludePaths.emplace_back(std::forward<ExcludePathsT>(value));
256 return *this;
257 }
259
261
264 inline const Aws::Vector<Endpoint>& GetAllowedDomains() const { return m_allowedDomains; }
265 inline bool AllowedDomainsHasBeenSet() const { return m_allowedDomainsHasBeenSet; }
266 template <typename AllowedDomainsT = Aws::Vector<Endpoint>>
267 void SetAllowedDomains(AllowedDomainsT&& value) {
268 m_allowedDomainsHasBeenSet = true;
269 m_allowedDomains = std::forward<AllowedDomainsT>(value);
270 }
271 template <typename AllowedDomainsT = Aws::Vector<Endpoint>>
272 PentestJob& WithAllowedDomains(AllowedDomainsT&& value) {
273 SetAllowedDomains(std::forward<AllowedDomainsT>(value));
274 return *this;
275 }
276 template <typename AllowedDomainsT = Endpoint>
277 PentestJob& AddAllowedDomains(AllowedDomainsT&& value) {
278 m_allowedDomainsHasBeenSet = true;
279 m_allowedDomains.emplace_back(std::forward<AllowedDomainsT>(value));
280 return *this;
281 }
283
285
288 inline const Aws::Vector<RiskType>& GetExcludeRiskTypes() const { return m_excludeRiskTypes; }
289 inline bool ExcludeRiskTypesHasBeenSet() const { return m_excludeRiskTypesHasBeenSet; }
290 template <typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
291 void SetExcludeRiskTypes(ExcludeRiskTypesT&& value) {
292 m_excludeRiskTypesHasBeenSet = true;
293 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
294 }
295 template <typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
296 PentestJob& WithExcludeRiskTypes(ExcludeRiskTypesT&& value) {
297 SetExcludeRiskTypes(std::forward<ExcludeRiskTypesT>(value));
298 return *this;
299 }
301 m_excludeRiskTypesHasBeenSet = true;
302 m_excludeRiskTypes.push_back(value);
303 return *this;
304 }
306
308
311 inline const Aws::Vector<Step>& GetSteps() const { return m_steps; }
312 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
313 template <typename StepsT = Aws::Vector<Step>>
314 void SetSteps(StepsT&& value) {
315 m_stepsHasBeenSet = true;
316 m_steps = std::forward<StepsT>(value);
317 }
318 template <typename StepsT = Aws::Vector<Step>>
319 PentestJob& WithSteps(StepsT&& value) {
320 SetSteps(std::forward<StepsT>(value));
321 return *this;
322 }
323 template <typename StepsT = Step>
324 PentestJob& AddSteps(StepsT&& value) {
325 m_stepsHasBeenSet = true;
326 m_steps.emplace_back(std::forward<StepsT>(value));
327 return *this;
328 }
330
332
335 inline const Aws::Vector<ExecutionContext>& GetExecutionContext() const { return m_executionContext; }
336 inline bool ExecutionContextHasBeenSet() const { return m_executionContextHasBeenSet; }
337 template <typename ExecutionContextT = Aws::Vector<ExecutionContext>>
338 void SetExecutionContext(ExecutionContextT&& value) {
339 m_executionContextHasBeenSet = true;
340 m_executionContext = std::forward<ExecutionContextT>(value);
341 }
342 template <typename ExecutionContextT = Aws::Vector<ExecutionContext>>
343 PentestJob& WithExecutionContext(ExecutionContextT&& value) {
344 SetExecutionContext(std::forward<ExecutionContextT>(value));
345 return *this;
346 }
347 template <typename ExecutionContextT = ExecutionContext>
348 PentestJob& AddExecutionContext(ExecutionContextT&& value) {
349 m_executionContextHasBeenSet = true;
350 m_executionContext.emplace_back(std::forward<ExecutionContextT>(value));
351 return *this;
352 }
354
356
359 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
360 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
361 template <typename ServiceRoleT = Aws::String>
362 void SetServiceRole(ServiceRoleT&& value) {
363 m_serviceRoleHasBeenSet = true;
364 m_serviceRole = std::forward<ServiceRoleT>(value);
365 }
366 template <typename ServiceRoleT = Aws::String>
367 PentestJob& WithServiceRole(ServiceRoleT&& value) {
368 SetServiceRole(std::forward<ServiceRoleT>(value));
369 return *this;
370 }
372
374
377 inline const CloudWatchLog& GetLogConfig() const { return m_logConfig; }
378 inline bool LogConfigHasBeenSet() const { return m_logConfigHasBeenSet; }
379 template <typename LogConfigT = CloudWatchLog>
380 void SetLogConfig(LogConfigT&& value) {
381 m_logConfigHasBeenSet = true;
382 m_logConfig = std::forward<LogConfigT>(value);
383 }
384 template <typename LogConfigT = CloudWatchLog>
385 PentestJob& WithLogConfig(LogConfigT&& value) {
386 SetLogConfig(std::forward<LogConfigT>(value));
387 return *this;
388 }
390
392
395 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
396 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
397 template <typename VpcConfigT = VpcConfig>
398 void SetVpcConfig(VpcConfigT&& value) {
399 m_vpcConfigHasBeenSet = true;
400 m_vpcConfig = std::forward<VpcConfigT>(value);
401 }
402 template <typename VpcConfigT = VpcConfig>
403 PentestJob& WithVpcConfig(VpcConfigT&& value) {
404 SetVpcConfig(std::forward<VpcConfigT>(value));
405 return *this;
406 }
408
410
413 inline const NetworkTrafficConfig& GetNetworkTrafficConfig() const { return m_networkTrafficConfig; }
414 inline bool NetworkTrafficConfigHasBeenSet() const { return m_networkTrafficConfigHasBeenSet; }
415 template <typename NetworkTrafficConfigT = NetworkTrafficConfig>
416 void SetNetworkTrafficConfig(NetworkTrafficConfigT&& value) {
417 m_networkTrafficConfigHasBeenSet = true;
418 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
419 }
420 template <typename NetworkTrafficConfigT = NetworkTrafficConfig>
421 PentestJob& WithNetworkTrafficConfig(NetworkTrafficConfigT&& value) {
422 SetNetworkTrafficConfig(std::forward<NetworkTrafficConfigT>(value));
423 return *this;
424 }
426
428
431 inline const ErrorInformation& GetErrorInformation() const { return m_errorInformation; }
432 inline bool ErrorInformationHasBeenSet() const { return m_errorInformationHasBeenSet; }
433 template <typename ErrorInformationT = ErrorInformation>
434 void SetErrorInformation(ErrorInformationT&& value) {
435 m_errorInformationHasBeenSet = true;
436 m_errorInformation = std::forward<ErrorInformationT>(value);
437 }
438 template <typename ErrorInformationT = ErrorInformation>
439 PentestJob& WithErrorInformation(ErrorInformationT&& value) {
440 SetErrorInformation(std::forward<ErrorInformationT>(value));
441 return *this;
442 }
444
446
449 inline const Aws::Vector<IntegratedRepository>& GetIntegratedRepositories() const { return m_integratedRepositories; }
450 inline bool IntegratedRepositoriesHasBeenSet() const { return m_integratedRepositoriesHasBeenSet; }
451 template <typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
452 void SetIntegratedRepositories(IntegratedRepositoriesT&& value) {
453 m_integratedRepositoriesHasBeenSet = true;
454 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
455 }
456 template <typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
457 PentestJob& WithIntegratedRepositories(IntegratedRepositoriesT&& value) {
458 SetIntegratedRepositories(std::forward<IntegratedRepositoriesT>(value));
459 return *this;
460 }
461 template <typename IntegratedRepositoriesT = IntegratedRepository>
462 PentestJob& AddIntegratedRepositories(IntegratedRepositoriesT&& value) {
463 m_integratedRepositoriesHasBeenSet = true;
464 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
465 return *this;
466 }
468
470
473 inline CodeRemediationStrategy GetCodeRemediationStrategy() const { return m_codeRemediationStrategy; }
474 inline bool CodeRemediationStrategyHasBeenSet() const { return m_codeRemediationStrategyHasBeenSet; }
476 m_codeRemediationStrategyHasBeenSet = true;
477 m_codeRemediationStrategy = value;
478 }
481 return *this;
482 }
484
486
489 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
490 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
491 template <typename CreatedAtT = Aws::Utils::DateTime>
492 void SetCreatedAt(CreatedAtT&& value) {
493 m_createdAtHasBeenSet = true;
494 m_createdAt = std::forward<CreatedAtT>(value);
495 }
496 template <typename CreatedAtT = Aws::Utils::DateTime>
497 PentestJob& WithCreatedAt(CreatedAtT&& value) {
498 SetCreatedAt(std::forward<CreatedAtT>(value));
499 return *this;
500 }
502
504
507 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
508 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
509 template <typename UpdatedAtT = Aws::Utils::DateTime>
510 void SetUpdatedAt(UpdatedAtT&& value) {
511 m_updatedAtHasBeenSet = true;
512 m_updatedAt = std::forward<UpdatedAtT>(value);
513 }
514 template <typename UpdatedAtT = Aws::Utils::DateTime>
515 PentestJob& WithUpdatedAt(UpdatedAtT&& value) {
516 SetUpdatedAt(std::forward<UpdatedAtT>(value));
517 return *this;
518 }
520 private:
521 Aws::String m_pentestJobId;
522
523 Aws::String m_pentestId;
524
525 Aws::String m_title;
526
527 Aws::String m_overview;
528
530
531 Aws::Vector<Endpoint> m_endpoints;
532
533 Aws::Vector<Actor> m_actors;
534
535 Aws::Vector<DocumentInfo> m_documents;
536
538
539 Aws::Vector<Endpoint> m_excludePaths;
540
541 Aws::Vector<Endpoint> m_allowedDomains;
542
543 Aws::Vector<RiskType> m_excludeRiskTypes;
544
545 Aws::Vector<Step> m_steps;
546
547 Aws::Vector<ExecutionContext> m_executionContext;
548
549 Aws::String m_serviceRole;
550
551 CloudWatchLog m_logConfig;
552
553 VpcConfig m_vpcConfig;
554
555 NetworkTrafficConfig m_networkTrafficConfig;
556
557 ErrorInformation m_errorInformation;
558
559 Aws::Vector<IntegratedRepository> m_integratedRepositories;
560
562
563 Aws::Utils::DateTime m_createdAt{};
564
565 Aws::Utils::DateTime m_updatedAt{};
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;
589};
590
591} // namespace Model
592} // namespace SecurityAgent
593} // namespace Aws
const ErrorInformation & GetErrorInformation() const
Definition PentestJob.h:431
PentestJob & WithLogConfig(LogConfigT &&value)
Definition PentestJob.h:385
const Aws::String & GetPentestJobId() const
Definition PentestJob.h:56
PentestJob & WithDocuments(DocumentsT &&value)
Definition PentestJob.h:200
const Aws::String & GetOverview() const
Definition PentestJob.h:110
PentestJob & WithAllowedDomains(AllowedDomainsT &&value)
Definition PentestJob.h:272
CodeRemediationStrategy GetCodeRemediationStrategy() const
Definition PentestJob.h:473
PentestJob & WithCreatedAt(CreatedAtT &&value)
Definition PentestJob.h:497
PentestJob & WithCodeRemediationStrategy(CodeRemediationStrategy value)
Definition PentestJob.h:479
const Aws::Vector< Endpoint > & GetAllowedDomains() const
Definition PentestJob.h:264
void SetLogConfig(LogConfigT &&value)
Definition PentestJob.h:380
void SetServiceRole(ServiceRoleT &&value)
Definition PentestJob.h:362
void SetPentestJobId(PentestJobIdT &&value)
Definition PentestJob.h:59
void SetSourceCode(SourceCodeT &&value)
Definition PentestJob.h:219
void SetNetworkTrafficConfig(NetworkTrafficConfigT &&value)
Definition PentestJob.h:416
void SetVpcConfig(VpcConfigT &&value)
Definition PentestJob.h:398
PentestJob & WithPentestId(PentestIdT &&value)
Definition PentestJob.h:82
const Aws::String & GetTitle() const
Definition PentestJob.h:92
PentestJob & WithTitle(TitleT &&value)
Definition PentestJob.h:100
PentestJob & WithVpcConfig(VpcConfigT &&value)
Definition PentestJob.h:403
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
Definition PentestJob.h:413
PentestJob & WithErrorInformation(ErrorInformationT &&value)
Definition PentestJob.h:439
PentestJob & AddEndpoints(EndpointsT &&value)
Definition PentestJob.h:157
const CloudWatchLog & GetLogConfig() const
Definition PentestJob.h:377
PentestJob & WithNetworkTrafficConfig(NetworkTrafficConfigT &&value)
Definition PentestJob.h:421
PentestJob & WithUpdatedAt(UpdatedAtT &&value)
Definition PentestJob.h:515
PentestJob & AddAllowedDomains(AllowedDomainsT &&value)
Definition PentestJob.h:277
const Aws::String & GetServiceRole() const
Definition PentestJob.h:359
PentestJob & WithActors(ActorsT &&value)
Definition PentestJob.h:176
PentestJob & WithEndpoints(EndpointsT &&value)
Definition PentestJob.h:152
void SetExecutionContext(ExecutionContextT &&value)
Definition PentestJob.h:338
PentestJob & AddActors(ActorsT &&value)
Definition PentestJob.h:181
PentestJob & AddExcludeRiskTypes(RiskType value)
Definition PentestJob.h:300
PentestJob & WithExecutionContext(ExecutionContextT &&value)
Definition PentestJob.h:343
void SetCreatedAt(CreatedAtT &&value)
Definition PentestJob.h:492
void SetAllowedDomains(AllowedDomainsT &&value)
Definition PentestJob.h:267
const Aws::Vector< Endpoint > & GetExcludePaths() const
Definition PentestJob.h:240
AWS_SECURITYAGENT_API PentestJob()=default
void SetIntegratedRepositories(IntegratedRepositoriesT &&value)
Definition PentestJob.h:452
void SetCodeRemediationStrategy(CodeRemediationStrategy value)
Definition PentestJob.h:475
void SetDocuments(DocumentsT &&value)
Definition PentestJob.h:195
const Aws::Utils::DateTime & GetCreatedAt() const
Definition PentestJob.h:489
PentestJob & AddSourceCode(SourceCodeT &&value)
Definition PentestJob.h:229
const Aws::Vector< RiskType > & GetExcludeRiskTypes() const
Definition PentestJob.h:288
const Aws::String & GetPentestId() const
Definition PentestJob.h:74
PentestJob & WithExcludePaths(ExcludePathsT &&value)
Definition PentestJob.h:248
const Aws::Vector< ExecutionContext > & GetExecutionContext() const
Definition PentestJob.h:335
const Aws::Vector< SourceCodeRepository > & GetSourceCode() const
Definition PentestJob.h:216
void SetPentestId(PentestIdT &&value)
Definition PentestJob.h:77
PentestJob & WithPentestJobId(PentestJobIdT &&value)
Definition PentestJob.h:64
const VpcConfig & GetVpcConfig() const
Definition PentestJob.h:395
void SetExcludePaths(ExcludePathsT &&value)
Definition PentestJob.h:243
PentestJob & AddExcludePaths(ExcludePathsT &&value)
Definition PentestJob.h:253
void SetErrorInformation(ErrorInformationT &&value)
Definition PentestJob.h:434
void SetUpdatedAt(UpdatedAtT &&value)
Definition PentestJob.h:510
PentestJob & WithSourceCode(SourceCodeT &&value)
Definition PentestJob.h:224
PentestJob & AddExecutionContext(ExecutionContextT &&value)
Definition PentestJob.h:348
const Aws::Vector< IntegratedRepository > & GetIntegratedRepositories() const
Definition PentestJob.h:449
PentestJob & AddDocuments(DocumentsT &&value)
Definition PentestJob.h:205
PentestJob & WithServiceRole(ServiceRoleT &&value)
Definition PentestJob.h:367
const Aws::Vector< Actor > & GetActors() const
Definition PentestJob.h:168
AWS_SECURITYAGENT_API PentestJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition PentestJob.h:507
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:134
PentestJob & WithOverview(OverviewT &&value)
Definition PentestJob.h:118
void SetEndpoints(EndpointsT &&value)
Definition PentestJob.h:147
PentestJob & WithIntegratedRepositories(IntegratedRepositoriesT &&value)
Definition PentestJob.h:457
void SetExcludeRiskTypes(ExcludeRiskTypesT &&value)
Definition PentestJob.h:291
PentestJob & AddIntegratedRepositories(IntegratedRepositoriesT &&value)
Definition PentestJob.h:462
PentestJob & WithSteps(StepsT &&value)
Definition PentestJob.h:319
void SetOverview(OverviewT &&value)
Definition PentestJob.h:113
const Aws::Vector< Step > & GetSteps() const
Definition PentestJob.h:311
PentestJob & AddSteps(StepsT &&value)
Definition PentestJob.h:324
const Aws::Vector< Endpoint > & GetEndpoints() const
Definition PentestJob.h:144
PentestJob & WithExcludeRiskTypes(ExcludeRiskTypesT &&value)
Definition PentestJob.h:296
const Aws::Vector< DocumentInfo > & GetDocuments() const
Definition PentestJob.h:192
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue