AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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