AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BuildBatch.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/BuildArtifacts.h>
9#include <aws/codebuild/model/BuildBatchPhase.h>
10#include <aws/codebuild/model/BuildGroup.h>
11#include <aws/codebuild/model/LogsConfig.h>
12#include <aws/codebuild/model/ProjectBuildBatchConfig.h>
13#include <aws/codebuild/model/ProjectCache.h>
14#include <aws/codebuild/model/ProjectEnvironment.h>
15#include <aws/codebuild/model/ProjectFileSystemLocation.h>
16#include <aws/codebuild/model/ProjectSource.h>
17#include <aws/codebuild/model/ProjectSourceVersion.h>
18#include <aws/codebuild/model/StatusType.h>
19#include <aws/codebuild/model/VpcConfig.h>
20#include <aws/core/utils/DateTime.h>
21#include <aws/core/utils/memory/stl/AWSString.h>
22#include <aws/core/utils/memory/stl/AWSVector.h>
23
24#include <utility>
25
26namespace Aws {
27namespace Utils {
28namespace Json {
29class JsonValue;
30class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace CodeBuild {
34namespace Model {
35
42 public:
43 AWS_CODEBUILD_API BuildBatch() = default;
44 AWS_CODEBUILD_API BuildBatch(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CODEBUILD_API BuildBatch& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
54 template <typename IdT = Aws::String>
55 void SetId(IdT&& value) {
56 m_idHasBeenSet = true;
57 m_id = std::forward<IdT>(value);
58 }
59 template <typename IdT = Aws::String>
60 BuildBatch& WithId(IdT&& value) {
61 SetId(std::forward<IdT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetArn() const { return m_arn; }
71 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
72 template <typename ArnT = Aws::String>
73 void SetArn(ArnT&& value) {
74 m_arnHasBeenSet = true;
75 m_arn = std::forward<ArnT>(value);
76 }
77 template <typename ArnT = Aws::String>
78 BuildBatch& WithArn(ArnT&& value) {
79 SetArn(std::forward<ArnT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
89 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
90 template <typename StartTimeT = Aws::Utils::DateTime>
91 void SetStartTime(StartTimeT&& value) {
92 m_startTimeHasBeenSet = true;
93 m_startTime = std::forward<StartTimeT>(value);
94 }
95 template <typename StartTimeT = Aws::Utils::DateTime>
96 BuildBatch& WithStartTime(StartTimeT&& value) {
97 SetStartTime(std::forward<StartTimeT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
107 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
108 template <typename EndTimeT = Aws::Utils::DateTime>
109 void SetEndTime(EndTimeT&& value) {
110 m_endTimeHasBeenSet = true;
111 m_endTime = std::forward<EndTimeT>(value);
112 }
113 template <typename EndTimeT = Aws::Utils::DateTime>
114 BuildBatch& WithEndTime(EndTimeT&& value) {
115 SetEndTime(std::forward<EndTimeT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetCurrentPhase() const { return m_currentPhase; }
125 inline bool CurrentPhaseHasBeenSet() const { return m_currentPhaseHasBeenSet; }
126 template <typename CurrentPhaseT = Aws::String>
127 void SetCurrentPhase(CurrentPhaseT&& value) {
128 m_currentPhaseHasBeenSet = true;
129 m_currentPhase = std::forward<CurrentPhaseT>(value);
130 }
131 template <typename CurrentPhaseT = Aws::String>
132 BuildBatch& WithCurrentPhase(CurrentPhaseT&& value) {
133 SetCurrentPhase(std::forward<CurrentPhaseT>(value));
134 return *this;
135 }
137
139
142 inline StatusType GetBuildBatchStatus() const { return m_buildBatchStatus; }
143 inline bool BuildBatchStatusHasBeenSet() const { return m_buildBatchStatusHasBeenSet; }
144 inline void SetBuildBatchStatus(StatusType value) {
145 m_buildBatchStatusHasBeenSet = true;
146 m_buildBatchStatus = value;
147 }
149 SetBuildBatchStatus(value);
150 return *this;
151 }
153
155
158 inline const Aws::String& GetSourceVersion() const { return m_sourceVersion; }
159 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
160 template <typename SourceVersionT = Aws::String>
161 void SetSourceVersion(SourceVersionT&& value) {
162 m_sourceVersionHasBeenSet = true;
163 m_sourceVersion = std::forward<SourceVersionT>(value);
164 }
165 template <typename SourceVersionT = Aws::String>
166 BuildBatch& WithSourceVersion(SourceVersionT&& value) {
167 SetSourceVersion(std::forward<SourceVersionT>(value));
168 return *this;
169 }
171
173
180 inline const Aws::String& GetResolvedSourceVersion() const { return m_resolvedSourceVersion; }
181 inline bool ResolvedSourceVersionHasBeenSet() const { return m_resolvedSourceVersionHasBeenSet; }
182 template <typename ResolvedSourceVersionT = Aws::String>
183 void SetResolvedSourceVersion(ResolvedSourceVersionT&& value) {
184 m_resolvedSourceVersionHasBeenSet = true;
185 m_resolvedSourceVersion = std::forward<ResolvedSourceVersionT>(value);
186 }
187 template <typename ResolvedSourceVersionT = Aws::String>
188 BuildBatch& WithResolvedSourceVersion(ResolvedSourceVersionT&& value) {
189 SetResolvedSourceVersion(std::forward<ResolvedSourceVersionT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::String& GetProjectName() const { return m_projectName; }
199 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
200 template <typename ProjectNameT = Aws::String>
201 void SetProjectName(ProjectNameT&& value) {
202 m_projectNameHasBeenSet = true;
203 m_projectName = std::forward<ProjectNameT>(value);
204 }
205 template <typename ProjectNameT = Aws::String>
206 BuildBatch& WithProjectName(ProjectNameT&& value) {
207 SetProjectName(std::forward<ProjectNameT>(value));
208 return *this;
209 }
211
213
217 inline const Aws::Vector<BuildBatchPhase>& GetPhases() const { return m_phases; }
218 inline bool PhasesHasBeenSet() const { return m_phasesHasBeenSet; }
219 template <typename PhasesT = Aws::Vector<BuildBatchPhase>>
220 void SetPhases(PhasesT&& value) {
221 m_phasesHasBeenSet = true;
222 m_phases = std::forward<PhasesT>(value);
223 }
224 template <typename PhasesT = Aws::Vector<BuildBatchPhase>>
225 BuildBatch& WithPhases(PhasesT&& value) {
226 SetPhases(std::forward<PhasesT>(value));
227 return *this;
228 }
229 template <typename PhasesT = BuildBatchPhase>
230 BuildBatch& AddPhases(PhasesT&& value) {
231 m_phasesHasBeenSet = true;
232 m_phases.emplace_back(std::forward<PhasesT>(value));
233 return *this;
234 }
236
238
239 inline const ProjectSource& GetSource() const { return m_source; }
240 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
241 template <typename SourceT = ProjectSource>
242 void SetSource(SourceT&& value) {
243 m_sourceHasBeenSet = true;
244 m_source = std::forward<SourceT>(value);
245 }
246 template <typename SourceT = ProjectSource>
247 BuildBatch& WithSource(SourceT&& value) {
248 SetSource(std::forward<SourceT>(value));
249 return *this;
250 }
252
254
258 inline const Aws::Vector<ProjectSource>& GetSecondarySources() const { return m_secondarySources; }
259 inline bool SecondarySourcesHasBeenSet() const { return m_secondarySourcesHasBeenSet; }
260 template <typename SecondarySourcesT = Aws::Vector<ProjectSource>>
261 void SetSecondarySources(SecondarySourcesT&& value) {
262 m_secondarySourcesHasBeenSet = true;
263 m_secondarySources = std::forward<SecondarySourcesT>(value);
264 }
265 template <typename SecondarySourcesT = Aws::Vector<ProjectSource>>
266 BuildBatch& WithSecondarySources(SecondarySourcesT&& value) {
267 SetSecondarySources(std::forward<SecondarySourcesT>(value));
268 return *this;
269 }
270 template <typename SecondarySourcesT = ProjectSource>
271 BuildBatch& AddSecondarySources(SecondarySourcesT&& value) {
272 m_secondarySourcesHasBeenSet = true;
273 m_secondarySources.emplace_back(std::forward<SecondarySourcesT>(value));
274 return *this;
275 }
277
279
295 inline const Aws::Vector<ProjectSourceVersion>& GetSecondarySourceVersions() const { return m_secondarySourceVersions; }
296 inline bool SecondarySourceVersionsHasBeenSet() const { return m_secondarySourceVersionsHasBeenSet; }
297 template <typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
298 void SetSecondarySourceVersions(SecondarySourceVersionsT&& value) {
299 m_secondarySourceVersionsHasBeenSet = true;
300 m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value);
301 }
302 template <typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
303 BuildBatch& WithSecondarySourceVersions(SecondarySourceVersionsT&& value) {
304 SetSecondarySourceVersions(std::forward<SecondarySourceVersionsT>(value));
305 return *this;
306 }
307 template <typename SecondarySourceVersionsT = ProjectSourceVersion>
308 BuildBatch& AddSecondarySourceVersions(SecondarySourceVersionsT&& value) {
309 m_secondarySourceVersionsHasBeenSet = true;
310 m_secondarySourceVersions.emplace_back(std::forward<SecondarySourceVersionsT>(value));
311 return *this;
312 }
314
316
320 inline const BuildArtifacts& GetArtifacts() const { return m_artifacts; }
321 inline bool ArtifactsHasBeenSet() const { return m_artifactsHasBeenSet; }
322 template <typename ArtifactsT = BuildArtifacts>
323 void SetArtifacts(ArtifactsT&& value) {
324 m_artifactsHasBeenSet = true;
325 m_artifacts = std::forward<ArtifactsT>(value);
326 }
327 template <typename ArtifactsT = BuildArtifacts>
328 BuildBatch& WithArtifacts(ArtifactsT&& value) {
329 SetArtifacts(std::forward<ArtifactsT>(value));
330 return *this;
331 }
333
335
339 inline const Aws::Vector<BuildArtifacts>& GetSecondaryArtifacts() const { return m_secondaryArtifacts; }
340 inline bool SecondaryArtifactsHasBeenSet() const { return m_secondaryArtifactsHasBeenSet; }
341 template <typename SecondaryArtifactsT = Aws::Vector<BuildArtifacts>>
342 void SetSecondaryArtifacts(SecondaryArtifactsT&& value) {
343 m_secondaryArtifactsHasBeenSet = true;
344 m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value);
345 }
346 template <typename SecondaryArtifactsT = Aws::Vector<BuildArtifacts>>
347 BuildBatch& WithSecondaryArtifacts(SecondaryArtifactsT&& value) {
348 SetSecondaryArtifacts(std::forward<SecondaryArtifactsT>(value));
349 return *this;
350 }
351 template <typename SecondaryArtifactsT = BuildArtifacts>
352 BuildBatch& AddSecondaryArtifacts(SecondaryArtifactsT&& value) {
353 m_secondaryArtifactsHasBeenSet = true;
354 m_secondaryArtifacts.emplace_back(std::forward<SecondaryArtifactsT>(value));
355 return *this;
356 }
358
360
361 inline const ProjectCache& GetCache() const { return m_cache; }
362 inline bool CacheHasBeenSet() const { return m_cacheHasBeenSet; }
363 template <typename CacheT = ProjectCache>
364 void SetCache(CacheT&& value) {
365 m_cacheHasBeenSet = true;
366 m_cache = std::forward<CacheT>(value);
367 }
368 template <typename CacheT = ProjectCache>
369 BuildBatch& WithCache(CacheT&& value) {
370 SetCache(std::forward<CacheT>(value));
371 return *this;
372 }
374
376
377 inline const ProjectEnvironment& GetEnvironment() const { return m_environment; }
378 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
379 template <typename EnvironmentT = ProjectEnvironment>
380 void SetEnvironment(EnvironmentT&& value) {
381 m_environmentHasBeenSet = true;
382 m_environment = std::forward<EnvironmentT>(value);
383 }
384 template <typename EnvironmentT = ProjectEnvironment>
385 BuildBatch& WithEnvironment(EnvironmentT&& value) {
386 SetEnvironment(std::forward<EnvironmentT>(value));
387 return *this;
388 }
390
392
395 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
396 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
397 template <typename ServiceRoleT = Aws::String>
398 void SetServiceRole(ServiceRoleT&& value) {
399 m_serviceRoleHasBeenSet = true;
400 m_serviceRole = std::forward<ServiceRoleT>(value);
401 }
402 template <typename ServiceRoleT = Aws::String>
403 BuildBatch& WithServiceRole(ServiceRoleT&& value) {
404 SetServiceRole(std::forward<ServiceRoleT>(value));
405 return *this;
406 }
408
410
411 inline const LogsConfig& GetLogConfig() const { return m_logConfig; }
412 inline bool LogConfigHasBeenSet() const { return m_logConfigHasBeenSet; }
413 template <typename LogConfigT = LogsConfig>
414 void SetLogConfig(LogConfigT&& value) {
415 m_logConfigHasBeenSet = true;
416 m_logConfig = std::forward<LogConfigT>(value);
417 }
418 template <typename LogConfigT = LogsConfig>
419 BuildBatch& WithLogConfig(LogConfigT&& value) {
420 SetLogConfig(std::forward<LogConfigT>(value));
421 return *this;
422 }
424
426
430 inline int GetBuildTimeoutInMinutes() const { return m_buildTimeoutInMinutes; }
431 inline bool BuildTimeoutInMinutesHasBeenSet() const { return m_buildTimeoutInMinutesHasBeenSet; }
432 inline void SetBuildTimeoutInMinutes(int value) {
433 m_buildTimeoutInMinutesHasBeenSet = true;
434 m_buildTimeoutInMinutes = value;
435 }
438 return *this;
439 }
441
443
447 inline int GetQueuedTimeoutInMinutes() const { return m_queuedTimeoutInMinutes; }
448 inline bool QueuedTimeoutInMinutesHasBeenSet() const { return m_queuedTimeoutInMinutesHasBeenSet; }
449 inline void SetQueuedTimeoutInMinutes(int value) {
450 m_queuedTimeoutInMinutesHasBeenSet = true;
451 m_queuedTimeoutInMinutes = value;
452 }
455 return *this;
456 }
458
460
463 inline bool GetComplete() const { return m_complete; }
464 inline bool CompleteHasBeenSet() const { return m_completeHasBeenSet; }
465 inline void SetComplete(bool value) {
466 m_completeHasBeenSet = true;
467 m_complete = value;
468 }
469 inline BuildBatch& WithComplete(bool value) {
470 SetComplete(value);
471 return *this;
472 }
474
476
484 inline const Aws::String& GetInitiator() const { return m_initiator; }
485 inline bool InitiatorHasBeenSet() const { return m_initiatorHasBeenSet; }
486 template <typename InitiatorT = Aws::String>
487 void SetInitiator(InitiatorT&& value) {
488 m_initiatorHasBeenSet = true;
489 m_initiator = std::forward<InitiatorT>(value);
490 }
491 template <typename InitiatorT = Aws::String>
492 BuildBatch& WithInitiator(InitiatorT&& value) {
493 SetInitiator(std::forward<InitiatorT>(value));
494 return *this;
495 }
497
499
500 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
501 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
502 template <typename VpcConfigT = VpcConfig>
503 void SetVpcConfig(VpcConfigT&& value) {
504 m_vpcConfigHasBeenSet = true;
505 m_vpcConfig = std::forward<VpcConfigT>(value);
506 }
507 template <typename VpcConfigT = VpcConfig>
508 BuildBatch& WithVpcConfig(VpcConfigT&& value) {
509 SetVpcConfig(std::forward<VpcConfigT>(value));
510 return *this;
511 }
513
515
523 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
524 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
525 template <typename EncryptionKeyT = Aws::String>
526 void SetEncryptionKey(EncryptionKeyT&& value) {
527 m_encryptionKeyHasBeenSet = true;
528 m_encryptionKey = std::forward<EncryptionKeyT>(value);
529 }
530 template <typename EncryptionKeyT = Aws::String>
531 BuildBatch& WithEncryptionKey(EncryptionKeyT&& value) {
532 SetEncryptionKey(std::forward<EncryptionKeyT>(value));
533 return *this;
534 }
536
538
545 inline long long GetBuildBatchNumber() const { return m_buildBatchNumber; }
546 inline bool BuildBatchNumberHasBeenSet() const { return m_buildBatchNumberHasBeenSet; }
547 inline void SetBuildBatchNumber(long long value) {
548 m_buildBatchNumberHasBeenSet = true;
549 m_buildBatchNumber = value;
550 }
551 inline BuildBatch& WithBuildBatchNumber(long long value) {
552 SetBuildBatchNumber(value);
553 return *this;
554 }
556
558
565 inline const Aws::Vector<ProjectFileSystemLocation>& GetFileSystemLocations() const { return m_fileSystemLocations; }
566 inline bool FileSystemLocationsHasBeenSet() const { return m_fileSystemLocationsHasBeenSet; }
567 template <typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
568 void SetFileSystemLocations(FileSystemLocationsT&& value) {
569 m_fileSystemLocationsHasBeenSet = true;
570 m_fileSystemLocations = std::forward<FileSystemLocationsT>(value);
571 }
572 template <typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
573 BuildBatch& WithFileSystemLocations(FileSystemLocationsT&& value) {
574 SetFileSystemLocations(std::forward<FileSystemLocationsT>(value));
575 return *this;
576 }
577 template <typename FileSystemLocationsT = ProjectFileSystemLocation>
578 BuildBatch& AddFileSystemLocations(FileSystemLocationsT&& value) {
579 m_fileSystemLocationsHasBeenSet = true;
580 m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value));
581 return *this;
582 }
584
586
587 inline const ProjectBuildBatchConfig& GetBuildBatchConfig() const { return m_buildBatchConfig; }
588 inline bool BuildBatchConfigHasBeenSet() const { return m_buildBatchConfigHasBeenSet; }
589 template <typename BuildBatchConfigT = ProjectBuildBatchConfig>
590 void SetBuildBatchConfig(BuildBatchConfigT&& value) {
591 m_buildBatchConfigHasBeenSet = true;
592 m_buildBatchConfig = std::forward<BuildBatchConfigT>(value);
593 }
594 template <typename BuildBatchConfigT = ProjectBuildBatchConfig>
595 BuildBatch& WithBuildBatchConfig(BuildBatchConfigT&& value) {
596 SetBuildBatchConfig(std::forward<BuildBatchConfigT>(value));
597 return *this;
598 }
600
602
606 inline const Aws::Vector<BuildGroup>& GetBuildGroups() const { return m_buildGroups; }
607 inline bool BuildGroupsHasBeenSet() const { return m_buildGroupsHasBeenSet; }
608 template <typename BuildGroupsT = Aws::Vector<BuildGroup>>
609 void SetBuildGroups(BuildGroupsT&& value) {
610 m_buildGroupsHasBeenSet = true;
611 m_buildGroups = std::forward<BuildGroupsT>(value);
612 }
613 template <typename BuildGroupsT = Aws::Vector<BuildGroup>>
614 BuildBatch& WithBuildGroups(BuildGroupsT&& value) {
615 SetBuildGroups(std::forward<BuildGroupsT>(value));
616 return *this;
617 }
618 template <typename BuildGroupsT = BuildGroup>
619 BuildBatch& AddBuildGroups(BuildGroupsT&& value) {
620 m_buildGroupsHasBeenSet = true;
621 m_buildGroups.emplace_back(std::forward<BuildGroupsT>(value));
622 return *this;
623 }
625
627
634 inline bool GetDebugSessionEnabled() const { return m_debugSessionEnabled; }
635 inline bool DebugSessionEnabledHasBeenSet() const { return m_debugSessionEnabledHasBeenSet; }
636 inline void SetDebugSessionEnabled(bool value) {
637 m_debugSessionEnabledHasBeenSet = true;
638 m_debugSessionEnabled = value;
639 }
642 return *this;
643 }
645
647
651 inline const Aws::Vector<Aws::String>& GetReportArns() const { return m_reportArns; }
652 inline bool ReportArnsHasBeenSet() const { return m_reportArnsHasBeenSet; }
653 template <typename ReportArnsT = Aws::Vector<Aws::String>>
654 void SetReportArns(ReportArnsT&& value) {
655 m_reportArnsHasBeenSet = true;
656 m_reportArns = std::forward<ReportArnsT>(value);
657 }
658 template <typename ReportArnsT = Aws::Vector<Aws::String>>
659 BuildBatch& WithReportArns(ReportArnsT&& value) {
660 SetReportArns(std::forward<ReportArnsT>(value));
661 return *this;
662 }
663 template <typename ReportArnsT = Aws::String>
664 BuildBatch& AddReportArns(ReportArnsT&& value) {
665 m_reportArnsHasBeenSet = true;
666 m_reportArns.emplace_back(std::forward<ReportArnsT>(value));
667 return *this;
668 }
670 private:
671 Aws::String m_id;
672
673 Aws::String m_arn;
674
675 Aws::Utils::DateTime m_startTime{};
676
677 Aws::Utils::DateTime m_endTime{};
678
679 Aws::String m_currentPhase;
680
681 StatusType m_buildBatchStatus{StatusType::NOT_SET};
682
683 Aws::String m_sourceVersion;
684
685 Aws::String m_resolvedSourceVersion;
686
687 Aws::String m_projectName;
688
690
691 ProjectSource m_source;
692
693 Aws::Vector<ProjectSource> m_secondarySources;
694
695 Aws::Vector<ProjectSourceVersion> m_secondarySourceVersions;
696
697 BuildArtifacts m_artifacts;
698
699 Aws::Vector<BuildArtifacts> m_secondaryArtifacts;
700
701 ProjectCache m_cache;
702
703 ProjectEnvironment m_environment;
704
705 Aws::String m_serviceRole;
706
707 LogsConfig m_logConfig;
708
709 int m_buildTimeoutInMinutes{0};
710
711 int m_queuedTimeoutInMinutes{0};
712
713 bool m_complete{false};
714
715 Aws::String m_initiator;
716
717 VpcConfig m_vpcConfig;
718
719 Aws::String m_encryptionKey;
720
721 long long m_buildBatchNumber{0};
722
723 Aws::Vector<ProjectFileSystemLocation> m_fileSystemLocations;
724
725 ProjectBuildBatchConfig m_buildBatchConfig;
726
727 Aws::Vector<BuildGroup> m_buildGroups;
728
729 bool m_debugSessionEnabled{false};
730
731 Aws::Vector<Aws::String> m_reportArns;
732 bool m_idHasBeenSet = false;
733 bool m_arnHasBeenSet = false;
734 bool m_startTimeHasBeenSet = false;
735 bool m_endTimeHasBeenSet = false;
736 bool m_currentPhaseHasBeenSet = false;
737 bool m_buildBatchStatusHasBeenSet = false;
738 bool m_sourceVersionHasBeenSet = false;
739 bool m_resolvedSourceVersionHasBeenSet = false;
740 bool m_projectNameHasBeenSet = false;
741 bool m_phasesHasBeenSet = false;
742 bool m_sourceHasBeenSet = false;
743 bool m_secondarySourcesHasBeenSet = false;
744 bool m_secondarySourceVersionsHasBeenSet = false;
745 bool m_artifactsHasBeenSet = false;
746 bool m_secondaryArtifactsHasBeenSet = false;
747 bool m_cacheHasBeenSet = false;
748 bool m_environmentHasBeenSet = false;
749 bool m_serviceRoleHasBeenSet = false;
750 bool m_logConfigHasBeenSet = false;
751 bool m_buildTimeoutInMinutesHasBeenSet = false;
752 bool m_queuedTimeoutInMinutesHasBeenSet = false;
753 bool m_completeHasBeenSet = false;
754 bool m_initiatorHasBeenSet = false;
755 bool m_vpcConfigHasBeenSet = false;
756 bool m_encryptionKeyHasBeenSet = false;
757 bool m_buildBatchNumberHasBeenSet = false;
758 bool m_fileSystemLocationsHasBeenSet = false;
759 bool m_buildBatchConfigHasBeenSet = false;
760 bool m_buildGroupsHasBeenSet = false;
761 bool m_debugSessionEnabledHasBeenSet = false;
762 bool m_reportArnsHasBeenSet = false;
763};
764
765} // namespace Model
766} // namespace CodeBuild
767} // namespace Aws
BuildBatch & AddSecondarySources(SecondarySourcesT &&value)
Definition BuildBatch.h:271
const Aws::Utils::DateTime & GetEndTime() const
Definition BuildBatch.h:106
BuildBatch & WithSourceVersion(SourceVersionT &&value)
Definition BuildBatch.h:166
void SetBuildBatchConfig(BuildBatchConfigT &&value)
Definition BuildBatch.h:590
AWS_CODEBUILD_API BuildBatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQueuedTimeoutInMinutes(int value)
Definition BuildBatch.h:449
BuildBatch & WithFileSystemLocations(FileSystemLocationsT &&value)
Definition BuildBatch.h:573
void SetEnvironment(EnvironmentT &&value)
Definition BuildBatch.h:380
void SetLogConfig(LogConfigT &&value)
Definition BuildBatch.h:414
BuildBatch & WithDebugSessionEnabled(bool value)
Definition BuildBatch.h:640
BuildBatch & WithSource(SourceT &&value)
Definition BuildBatch.h:247
void SetSecondarySources(SecondarySourcesT &&value)
Definition BuildBatch.h:261
void SetProjectName(ProjectNameT &&value)
Definition BuildBatch.h:201
BuildBatch & WithResolvedSourceVersion(ResolvedSourceVersionT &&value)
Definition BuildBatch.h:188
const Aws::String & GetServiceRole() const
Definition BuildBatch.h:395
void SetSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition BuildBatch.h:342
void SetArtifacts(ArtifactsT &&value)
Definition BuildBatch.h:323
void SetInitiator(InitiatorT &&value)
Definition BuildBatch.h:487
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
Definition BuildBatch.h:295
const Aws::String & GetCurrentPhase() const
Definition BuildBatch.h:124
BuildBatch & AddReportArns(ReportArnsT &&value)
Definition BuildBatch.h:664
BuildBatch & WithBuildBatchNumber(long long value)
Definition BuildBatch.h:551
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
Definition BuildBatch.h:587
BuildBatch & WithBuildTimeoutInMinutes(int value)
Definition BuildBatch.h:436
void SetCurrentPhase(CurrentPhaseT &&value)
Definition BuildBatch.h:127
void SetBuildBatchNumber(long long value)
Definition BuildBatch.h:547
const Aws::String & GetProjectName() const
Definition BuildBatch.h:198
const Aws::Vector< BuildBatchPhase > & GetPhases() const
Definition BuildBatch.h:217
void SetResolvedSourceVersion(ResolvedSourceVersionT &&value)
Definition BuildBatch.h:183
BuildBatch & AddSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition BuildBatch.h:308
BuildBatch & WithBuildBatchStatus(StatusType value)
Definition BuildBatch.h:148
BuildBatch & WithProjectName(ProjectNameT &&value)
Definition BuildBatch.h:206
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
Definition BuildBatch.h:565
BuildBatch & WithStartTime(StartTimeT &&value)
Definition BuildBatch.h:96
BuildBatch & WithBuildBatchConfig(BuildBatchConfigT &&value)
Definition BuildBatch.h:595
BuildBatch & WithQueuedTimeoutInMinutes(int value)
Definition BuildBatch.h:453
bool BuildTimeoutInMinutesHasBeenSet() const
Definition BuildBatch.h:431
BuildBatch & WithBuildGroups(BuildGroupsT &&value)
Definition BuildBatch.h:614
BuildBatch & WithCache(CacheT &&value)
Definition BuildBatch.h:369
const Aws::Utils::DateTime & GetStartTime() const
Definition BuildBatch.h:88
BuildBatch & WithSecondarySources(SecondarySourcesT &&value)
Definition BuildBatch.h:266
BuildBatch & WithEncryptionKey(EncryptionKeyT &&value)
Definition BuildBatch.h:531
const Aws::Vector< Aws::String > & GetReportArns() const
Definition BuildBatch.h:651
BuildBatch & WithArtifacts(ArtifactsT &&value)
Definition BuildBatch.h:328
void SetFileSystemLocations(FileSystemLocationsT &&value)
Definition BuildBatch.h:568
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
BuildBatch & WithEndTime(EndTimeT &&value)
Definition BuildBatch.h:114
const Aws::String & GetResolvedSourceVersion() const
Definition BuildBatch.h:180
const Aws::String & GetInitiator() const
Definition BuildBatch.h:484
const Aws::Vector< BuildGroup > & GetBuildGroups() const
Definition BuildBatch.h:606
BuildBatch & WithArn(ArnT &&value)
Definition BuildBatch.h:78
bool SecondarySourceVersionsHasBeenSet() const
Definition BuildBatch.h:296
StatusType GetBuildBatchStatus() const
Definition BuildBatch.h:142
BuildBatch & WithComplete(bool value)
Definition BuildBatch.h:469
void SetBuildGroups(BuildGroupsT &&value)
Definition BuildBatch.h:609
const Aws::Vector< ProjectSource > & GetSecondarySources() const
Definition BuildBatch.h:258
BuildBatch & AddSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition BuildBatch.h:352
BuildBatch & WithCurrentPhase(CurrentPhaseT &&value)
Definition BuildBatch.h:132
const ProjectEnvironment & GetEnvironment() const
Definition BuildBatch.h:377
void SetBuildBatchStatus(StatusType value)
Definition BuildBatch.h:144
long long GetBuildBatchNumber() const
Definition BuildBatch.h:545
const Aws::String & GetSourceVersion() const
Definition BuildBatch.h:158
const Aws::Vector< BuildArtifacts > & GetSecondaryArtifacts() const
Definition BuildBatch.h:339
const BuildArtifacts & GetArtifacts() const
Definition BuildBatch.h:320
BuildBatch & WithServiceRole(ServiceRoleT &&value)
Definition BuildBatch.h:403
void SetReportArns(ReportArnsT &&value)
Definition BuildBatch.h:654
BuildBatch & WithSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition BuildBatch.h:303
AWS_CODEBUILD_API BuildBatch()=default
BuildBatch & WithSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition BuildBatch.h:347
void SetSourceVersion(SourceVersionT &&value)
Definition BuildBatch.h:161
BuildBatch & AddBuildGroups(BuildGroupsT &&value)
Definition BuildBatch.h:619
AWS_CODEBUILD_API BuildBatch(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
Definition BuildBatch.h:52
const ProjectCache & GetCache() const
Definition BuildBatch.h:361
const VpcConfig & GetVpcConfig() const
Definition BuildBatch.h:500
void SetVpcConfig(VpcConfigT &&value)
Definition BuildBatch.h:503
void SetStartTime(StartTimeT &&value)
Definition BuildBatch.h:91
void SetCache(CacheT &&value)
Definition BuildBatch.h:364
void SetDebugSessionEnabled(bool value)
Definition BuildBatch.h:636
const Aws::String & GetArn() const
Definition BuildBatch.h:70
void SetSource(SourceT &&value)
Definition BuildBatch.h:242
bool ResolvedSourceVersionHasBeenSet() const
Definition BuildBatch.h:181
BuildBatch & WithPhases(PhasesT &&value)
Definition BuildBatch.h:225
const LogsConfig & GetLogConfig() const
Definition BuildBatch.h:411
BuildBatch & WithInitiator(InitiatorT &&value)
Definition BuildBatch.h:492
const ProjectSource & GetSource() const
Definition BuildBatch.h:239
BuildBatch & WithVpcConfig(VpcConfigT &&value)
Definition BuildBatch.h:508
BuildBatch & WithId(IdT &&value)
Definition BuildBatch.h:60
bool QueuedTimeoutInMinutesHasBeenSet() const
Definition BuildBatch.h:448
BuildBatch & WithEnvironment(EnvironmentT &&value)
Definition BuildBatch.h:385
BuildBatch & WithReportArns(ReportArnsT &&value)
Definition BuildBatch.h:659
void SetSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition BuildBatch.h:298
void SetBuildTimeoutInMinutes(int value)
Definition BuildBatch.h:432
BuildBatch & WithLogConfig(LogConfigT &&value)
Definition BuildBatch.h:419
void SetPhases(PhasesT &&value)
Definition BuildBatch.h:220
void SetEncryptionKey(EncryptionKeyT &&value)
Definition BuildBatch.h:526
const Aws::String & GetEncryptionKey() const
Definition BuildBatch.h:523
void SetServiceRole(ServiceRoleT &&value)
Definition BuildBatch.h:398
void SetEndTime(EndTimeT &&value)
Definition BuildBatch.h:109
BuildBatch & AddFileSystemLocations(FileSystemLocationsT &&value)
Definition BuildBatch.h:578
BuildBatch & AddPhases(PhasesT &&value)
Definition BuildBatch.h:230
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue