AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BuildBatch.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/codebuild/model/StatusType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codebuild/model/ProjectSource.h>
13#include <aws/codebuild/model/BuildArtifacts.h>
14#include <aws/codebuild/model/ProjectCache.h>
15#include <aws/codebuild/model/ProjectEnvironment.h>
16#include <aws/codebuild/model/LogsConfig.h>
17#include <aws/codebuild/model/VpcConfig.h>
18#include <aws/codebuild/model/ProjectBuildBatchConfig.h>
19#include <aws/codebuild/model/BuildBatchPhase.h>
20#include <aws/codebuild/model/ProjectSourceVersion.h>
21#include <aws/codebuild/model/ProjectFileSystemLocation.h>
22#include <aws/codebuild/model/BuildGroup.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace CodeBuild
36{
37namespace Model
38{
39
46 {
47 public:
48 AWS_CODEBUILD_API BuildBatch() = default;
49 AWS_CODEBUILD_API BuildBatch(Aws::Utils::Json::JsonView jsonValue);
50 AWS_CODEBUILD_API BuildBatch& operator=(Aws::Utils::Json::JsonView jsonValue);
51 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template<typename IdT = Aws::String>
61 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
62 template<typename IdT = Aws::String>
63 BuildBatch& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
74 template<typename ArnT = Aws::String>
75 BuildBatch& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
83 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
84 template<typename StartTimeT = Aws::Utils::DateTime>
85 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
86 template<typename StartTimeT = Aws::Utils::DateTime>
87 BuildBatch& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
95 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
96 template<typename EndTimeT = Aws::Utils::DateTime>
97 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
98 template<typename EndTimeT = Aws::Utils::DateTime>
99 BuildBatch& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
101
103
106 inline const Aws::String& GetCurrentPhase() const { return m_currentPhase; }
107 inline bool CurrentPhaseHasBeenSet() const { return m_currentPhaseHasBeenSet; }
108 template<typename CurrentPhaseT = Aws::String>
109 void SetCurrentPhase(CurrentPhaseT&& value) { m_currentPhaseHasBeenSet = true; m_currentPhase = std::forward<CurrentPhaseT>(value); }
110 template<typename CurrentPhaseT = Aws::String>
111 BuildBatch& WithCurrentPhase(CurrentPhaseT&& value) { SetCurrentPhase(std::forward<CurrentPhaseT>(value)); return *this;}
113
115
118 inline StatusType GetBuildBatchStatus() const { return m_buildBatchStatus; }
119 inline bool BuildBatchStatusHasBeenSet() const { return m_buildBatchStatusHasBeenSet; }
120 inline void SetBuildBatchStatus(StatusType value) { m_buildBatchStatusHasBeenSet = true; m_buildBatchStatus = value; }
121 inline BuildBatch& WithBuildBatchStatus(StatusType value) { SetBuildBatchStatus(value); return *this;}
123
125
128 inline const Aws::String& GetSourceVersion() const { return m_sourceVersion; }
129 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
130 template<typename SourceVersionT = Aws::String>
131 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::forward<SourceVersionT>(value); }
132 template<typename SourceVersionT = Aws::String>
133 BuildBatch& WithSourceVersion(SourceVersionT&& value) { SetSourceVersion(std::forward<SourceVersionT>(value)); return *this;}
135
137
144 inline const Aws::String& GetResolvedSourceVersion() const { return m_resolvedSourceVersion; }
145 inline bool ResolvedSourceVersionHasBeenSet() const { return m_resolvedSourceVersionHasBeenSet; }
146 template<typename ResolvedSourceVersionT = Aws::String>
147 void SetResolvedSourceVersion(ResolvedSourceVersionT&& value) { m_resolvedSourceVersionHasBeenSet = true; m_resolvedSourceVersion = std::forward<ResolvedSourceVersionT>(value); }
148 template<typename ResolvedSourceVersionT = Aws::String>
149 BuildBatch& WithResolvedSourceVersion(ResolvedSourceVersionT&& value) { SetResolvedSourceVersion(std::forward<ResolvedSourceVersionT>(value)); return *this;}
151
153
156 inline const Aws::String& GetProjectName() const { return m_projectName; }
157 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
158 template<typename ProjectNameT = Aws::String>
159 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
160 template<typename ProjectNameT = Aws::String>
161 BuildBatch& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
163
165
169 inline const Aws::Vector<BuildBatchPhase>& GetPhases() const { return m_phases; }
170 inline bool PhasesHasBeenSet() const { return m_phasesHasBeenSet; }
171 template<typename PhasesT = Aws::Vector<BuildBatchPhase>>
172 void SetPhases(PhasesT&& value) { m_phasesHasBeenSet = true; m_phases = std::forward<PhasesT>(value); }
173 template<typename PhasesT = Aws::Vector<BuildBatchPhase>>
174 BuildBatch& WithPhases(PhasesT&& value) { SetPhases(std::forward<PhasesT>(value)); return *this;}
175 template<typename PhasesT = BuildBatchPhase>
176 BuildBatch& AddPhases(PhasesT&& value) { m_phasesHasBeenSet = true; m_phases.emplace_back(std::forward<PhasesT>(value)); return *this; }
178
180
181 inline const ProjectSource& GetSource() const { return m_source; }
182 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
183 template<typename SourceT = ProjectSource>
184 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
185 template<typename SourceT = ProjectSource>
186 BuildBatch& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
188
190
194 inline const Aws::Vector<ProjectSource>& GetSecondarySources() const { return m_secondarySources; }
195 inline bool SecondarySourcesHasBeenSet() const { return m_secondarySourcesHasBeenSet; }
196 template<typename SecondarySourcesT = Aws::Vector<ProjectSource>>
197 void SetSecondarySources(SecondarySourcesT&& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources = std::forward<SecondarySourcesT>(value); }
198 template<typename SecondarySourcesT = Aws::Vector<ProjectSource>>
199 BuildBatch& WithSecondarySources(SecondarySourcesT&& value) { SetSecondarySources(std::forward<SecondarySourcesT>(value)); return *this;}
200 template<typename SecondarySourcesT = ProjectSource>
201 BuildBatch& AddSecondarySources(SecondarySourcesT&& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources.emplace_back(std::forward<SecondarySourcesT>(value)); return *this; }
203
205
221 inline const Aws::Vector<ProjectSourceVersion>& GetSecondarySourceVersions() const { return m_secondarySourceVersions; }
222 inline bool SecondarySourceVersionsHasBeenSet() const { return m_secondarySourceVersionsHasBeenSet; }
223 template<typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
224 void SetSecondarySourceVersions(SecondarySourceVersionsT&& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value); }
225 template<typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
226 BuildBatch& WithSecondarySourceVersions(SecondarySourceVersionsT&& value) { SetSecondarySourceVersions(std::forward<SecondarySourceVersionsT>(value)); return *this;}
227 template<typename SecondarySourceVersionsT = ProjectSourceVersion>
228 BuildBatch& AddSecondarySourceVersions(SecondarySourceVersionsT&& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions.emplace_back(std::forward<SecondarySourceVersionsT>(value)); return *this; }
230
232
236 inline const BuildArtifacts& GetArtifacts() const { return m_artifacts; }
237 inline bool ArtifactsHasBeenSet() const { return m_artifactsHasBeenSet; }
238 template<typename ArtifactsT = BuildArtifacts>
239 void SetArtifacts(ArtifactsT&& value) { m_artifactsHasBeenSet = true; m_artifacts = std::forward<ArtifactsT>(value); }
240 template<typename ArtifactsT = BuildArtifacts>
241 BuildBatch& WithArtifacts(ArtifactsT&& value) { SetArtifacts(std::forward<ArtifactsT>(value)); return *this;}
243
245
249 inline const Aws::Vector<BuildArtifacts>& GetSecondaryArtifacts() const { return m_secondaryArtifacts; }
250 inline bool SecondaryArtifactsHasBeenSet() const { return m_secondaryArtifactsHasBeenSet; }
251 template<typename SecondaryArtifactsT = Aws::Vector<BuildArtifacts>>
252 void SetSecondaryArtifacts(SecondaryArtifactsT&& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value); }
253 template<typename SecondaryArtifactsT = Aws::Vector<BuildArtifacts>>
254 BuildBatch& WithSecondaryArtifacts(SecondaryArtifactsT&& value) { SetSecondaryArtifacts(std::forward<SecondaryArtifactsT>(value)); return *this;}
255 template<typename SecondaryArtifactsT = BuildArtifacts>
256 BuildBatch& AddSecondaryArtifacts(SecondaryArtifactsT&& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts.emplace_back(std::forward<SecondaryArtifactsT>(value)); return *this; }
258
260
261 inline const ProjectCache& GetCache() const { return m_cache; }
262 inline bool CacheHasBeenSet() const { return m_cacheHasBeenSet; }
263 template<typename CacheT = ProjectCache>
264 void SetCache(CacheT&& value) { m_cacheHasBeenSet = true; m_cache = std::forward<CacheT>(value); }
265 template<typename CacheT = ProjectCache>
266 BuildBatch& WithCache(CacheT&& value) { SetCache(std::forward<CacheT>(value)); return *this;}
268
270
271 inline const ProjectEnvironment& GetEnvironment() const { return m_environment; }
272 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
273 template<typename EnvironmentT = ProjectEnvironment>
274 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
275 template<typename EnvironmentT = ProjectEnvironment>
276 BuildBatch& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
278
280
283 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
284 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
285 template<typename ServiceRoleT = Aws::String>
286 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::forward<ServiceRoleT>(value); }
287 template<typename ServiceRoleT = Aws::String>
288 BuildBatch& WithServiceRole(ServiceRoleT&& value) { SetServiceRole(std::forward<ServiceRoleT>(value)); return *this;}
290
292
293 inline const LogsConfig& GetLogConfig() const { return m_logConfig; }
294 inline bool LogConfigHasBeenSet() const { return m_logConfigHasBeenSet; }
295 template<typename LogConfigT = LogsConfig>
296 void SetLogConfig(LogConfigT&& value) { m_logConfigHasBeenSet = true; m_logConfig = std::forward<LogConfigT>(value); }
297 template<typename LogConfigT = LogsConfig>
298 BuildBatch& WithLogConfig(LogConfigT&& value) { SetLogConfig(std::forward<LogConfigT>(value)); return *this;}
300
302
306 inline int GetBuildTimeoutInMinutes() const { return m_buildTimeoutInMinutes; }
307 inline bool BuildTimeoutInMinutesHasBeenSet() const { return m_buildTimeoutInMinutesHasBeenSet; }
308 inline void SetBuildTimeoutInMinutes(int value) { m_buildTimeoutInMinutesHasBeenSet = true; m_buildTimeoutInMinutes = value; }
309 inline BuildBatch& WithBuildTimeoutInMinutes(int value) { SetBuildTimeoutInMinutes(value); return *this;}
311
313
317 inline int GetQueuedTimeoutInMinutes() const { return m_queuedTimeoutInMinutes; }
318 inline bool QueuedTimeoutInMinutesHasBeenSet() const { return m_queuedTimeoutInMinutesHasBeenSet; }
319 inline void SetQueuedTimeoutInMinutes(int value) { m_queuedTimeoutInMinutesHasBeenSet = true; m_queuedTimeoutInMinutes = value; }
320 inline BuildBatch& WithQueuedTimeoutInMinutes(int value) { SetQueuedTimeoutInMinutes(value); return *this;}
322
324
327 inline bool GetComplete() const { return m_complete; }
328 inline bool CompleteHasBeenSet() const { return m_completeHasBeenSet; }
329 inline void SetComplete(bool value) { m_completeHasBeenSet = true; m_complete = value; }
330 inline BuildBatch& WithComplete(bool value) { SetComplete(value); return *this;}
332
334
342 inline const Aws::String& GetInitiator() const { return m_initiator; }
343 inline bool InitiatorHasBeenSet() const { return m_initiatorHasBeenSet; }
344 template<typename InitiatorT = Aws::String>
345 void SetInitiator(InitiatorT&& value) { m_initiatorHasBeenSet = true; m_initiator = std::forward<InitiatorT>(value); }
346 template<typename InitiatorT = Aws::String>
347 BuildBatch& WithInitiator(InitiatorT&& value) { SetInitiator(std::forward<InitiatorT>(value)); return *this;}
349
351
352 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
353 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
354 template<typename VpcConfigT = VpcConfig>
355 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
356 template<typename VpcConfigT = VpcConfig>
357 BuildBatch& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
359
361
369 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
370 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
371 template<typename EncryptionKeyT = Aws::String>
372 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
373 template<typename EncryptionKeyT = Aws::String>
374 BuildBatch& WithEncryptionKey(EncryptionKeyT&& value) { SetEncryptionKey(std::forward<EncryptionKeyT>(value)); return *this;}
376
378
385 inline long long GetBuildBatchNumber() const { return m_buildBatchNumber; }
386 inline bool BuildBatchNumberHasBeenSet() const { return m_buildBatchNumberHasBeenSet; }
387 inline void SetBuildBatchNumber(long long value) { m_buildBatchNumberHasBeenSet = true; m_buildBatchNumber = value; }
388 inline BuildBatch& WithBuildBatchNumber(long long value) { SetBuildBatchNumber(value); return *this;}
390
392
399 inline const Aws::Vector<ProjectFileSystemLocation>& GetFileSystemLocations() const { return m_fileSystemLocations; }
400 inline bool FileSystemLocationsHasBeenSet() const { return m_fileSystemLocationsHasBeenSet; }
401 template<typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
402 void SetFileSystemLocations(FileSystemLocationsT&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = std::forward<FileSystemLocationsT>(value); }
403 template<typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
404 BuildBatch& WithFileSystemLocations(FileSystemLocationsT&& value) { SetFileSystemLocations(std::forward<FileSystemLocationsT>(value)); return *this;}
405 template<typename FileSystemLocationsT = ProjectFileSystemLocation>
406 BuildBatch& AddFileSystemLocations(FileSystemLocationsT&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value)); return *this; }
408
410
411 inline const ProjectBuildBatchConfig& GetBuildBatchConfig() const { return m_buildBatchConfig; }
412 inline bool BuildBatchConfigHasBeenSet() const { return m_buildBatchConfigHasBeenSet; }
413 template<typename BuildBatchConfigT = ProjectBuildBatchConfig>
414 void SetBuildBatchConfig(BuildBatchConfigT&& value) { m_buildBatchConfigHasBeenSet = true; m_buildBatchConfig = std::forward<BuildBatchConfigT>(value); }
415 template<typename BuildBatchConfigT = ProjectBuildBatchConfig>
416 BuildBatch& WithBuildBatchConfig(BuildBatchConfigT&& value) { SetBuildBatchConfig(std::forward<BuildBatchConfigT>(value)); return *this;}
418
420
424 inline const Aws::Vector<BuildGroup>& GetBuildGroups() const { return m_buildGroups; }
425 inline bool BuildGroupsHasBeenSet() const { return m_buildGroupsHasBeenSet; }
426 template<typename BuildGroupsT = Aws::Vector<BuildGroup>>
427 void SetBuildGroups(BuildGroupsT&& value) { m_buildGroupsHasBeenSet = true; m_buildGroups = std::forward<BuildGroupsT>(value); }
428 template<typename BuildGroupsT = Aws::Vector<BuildGroup>>
429 BuildBatch& WithBuildGroups(BuildGroupsT&& value) { SetBuildGroups(std::forward<BuildGroupsT>(value)); return *this;}
430 template<typename BuildGroupsT = BuildGroup>
431 BuildBatch& AddBuildGroups(BuildGroupsT&& value) { m_buildGroupsHasBeenSet = true; m_buildGroups.emplace_back(std::forward<BuildGroupsT>(value)); return *this; }
433
435
442 inline bool GetDebugSessionEnabled() const { return m_debugSessionEnabled; }
443 inline bool DebugSessionEnabledHasBeenSet() const { return m_debugSessionEnabledHasBeenSet; }
444 inline void SetDebugSessionEnabled(bool value) { m_debugSessionEnabledHasBeenSet = true; m_debugSessionEnabled = value; }
445 inline BuildBatch& WithDebugSessionEnabled(bool value) { SetDebugSessionEnabled(value); return *this;}
447
449
453 inline const Aws::Vector<Aws::String>& GetReportArns() const { return m_reportArns; }
454 inline bool ReportArnsHasBeenSet() const { return m_reportArnsHasBeenSet; }
455 template<typename ReportArnsT = Aws::Vector<Aws::String>>
456 void SetReportArns(ReportArnsT&& value) { m_reportArnsHasBeenSet = true; m_reportArns = std::forward<ReportArnsT>(value); }
457 template<typename ReportArnsT = Aws::Vector<Aws::String>>
458 BuildBatch& WithReportArns(ReportArnsT&& value) { SetReportArns(std::forward<ReportArnsT>(value)); return *this;}
459 template<typename ReportArnsT = Aws::String>
460 BuildBatch& AddReportArns(ReportArnsT&& value) { m_reportArnsHasBeenSet = true; m_reportArns.emplace_back(std::forward<ReportArnsT>(value)); return *this; }
462 private:
463
464 Aws::String m_id;
465 bool m_idHasBeenSet = false;
466
467 Aws::String m_arn;
468 bool m_arnHasBeenSet = false;
469
470 Aws::Utils::DateTime m_startTime{};
471 bool m_startTimeHasBeenSet = false;
472
473 Aws::Utils::DateTime m_endTime{};
474 bool m_endTimeHasBeenSet = false;
475
476 Aws::String m_currentPhase;
477 bool m_currentPhaseHasBeenSet = false;
478
479 StatusType m_buildBatchStatus{StatusType::NOT_SET};
480 bool m_buildBatchStatusHasBeenSet = false;
481
482 Aws::String m_sourceVersion;
483 bool m_sourceVersionHasBeenSet = false;
484
485 Aws::String m_resolvedSourceVersion;
486 bool m_resolvedSourceVersionHasBeenSet = false;
487
488 Aws::String m_projectName;
489 bool m_projectNameHasBeenSet = false;
490
492 bool m_phasesHasBeenSet = false;
493
494 ProjectSource m_source;
495 bool m_sourceHasBeenSet = false;
496
497 Aws::Vector<ProjectSource> m_secondarySources;
498 bool m_secondarySourcesHasBeenSet = false;
499
500 Aws::Vector<ProjectSourceVersion> m_secondarySourceVersions;
501 bool m_secondarySourceVersionsHasBeenSet = false;
502
503 BuildArtifacts m_artifacts;
504 bool m_artifactsHasBeenSet = false;
505
506 Aws::Vector<BuildArtifacts> m_secondaryArtifacts;
507 bool m_secondaryArtifactsHasBeenSet = false;
508
509 ProjectCache m_cache;
510 bool m_cacheHasBeenSet = false;
511
512 ProjectEnvironment m_environment;
513 bool m_environmentHasBeenSet = false;
514
515 Aws::String m_serviceRole;
516 bool m_serviceRoleHasBeenSet = false;
517
518 LogsConfig m_logConfig;
519 bool m_logConfigHasBeenSet = false;
520
521 int m_buildTimeoutInMinutes{0};
522 bool m_buildTimeoutInMinutesHasBeenSet = false;
523
524 int m_queuedTimeoutInMinutes{0};
525 bool m_queuedTimeoutInMinutesHasBeenSet = false;
526
527 bool m_complete{false};
528 bool m_completeHasBeenSet = false;
529
530 Aws::String m_initiator;
531 bool m_initiatorHasBeenSet = false;
532
533 VpcConfig m_vpcConfig;
534 bool m_vpcConfigHasBeenSet = false;
535
536 Aws::String m_encryptionKey;
537 bool m_encryptionKeyHasBeenSet = false;
538
539 long long m_buildBatchNumber{0};
540 bool m_buildBatchNumberHasBeenSet = false;
541
542 Aws::Vector<ProjectFileSystemLocation> m_fileSystemLocations;
543 bool m_fileSystemLocationsHasBeenSet = false;
544
545 ProjectBuildBatchConfig m_buildBatchConfig;
546 bool m_buildBatchConfigHasBeenSet = false;
547
548 Aws::Vector<BuildGroup> m_buildGroups;
549 bool m_buildGroupsHasBeenSet = false;
550
551 bool m_debugSessionEnabled{false};
552 bool m_debugSessionEnabledHasBeenSet = false;
553
554 Aws::Vector<Aws::String> m_reportArns;
555 bool m_reportArnsHasBeenSet = false;
556 };
557
558} // namespace Model
559} // namespace CodeBuild
560} // namespace Aws
BuildBatch & AddSecondarySources(SecondarySourcesT &&value)
Definition BuildBatch.h:201
const Aws::Utils::DateTime & GetEndTime() const
Definition BuildBatch.h:94
BuildBatch & WithSourceVersion(SourceVersionT &&value)
Definition BuildBatch.h:133
void SetBuildBatchConfig(BuildBatchConfigT &&value)
Definition BuildBatch.h:414
AWS_CODEBUILD_API BuildBatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQueuedTimeoutInMinutes(int value)
Definition BuildBatch.h:319
BuildBatch & WithFileSystemLocations(FileSystemLocationsT &&value)
Definition BuildBatch.h:404
void SetEnvironment(EnvironmentT &&value)
Definition BuildBatch.h:274
void SetLogConfig(LogConfigT &&value)
Definition BuildBatch.h:296
BuildBatch & WithDebugSessionEnabled(bool value)
Definition BuildBatch.h:445
BuildBatch & WithSource(SourceT &&value)
Definition BuildBatch.h:186
void SetSecondarySources(SecondarySourcesT &&value)
Definition BuildBatch.h:197
void SetProjectName(ProjectNameT &&value)
Definition BuildBatch.h:159
BuildBatch & WithResolvedSourceVersion(ResolvedSourceVersionT &&value)
Definition BuildBatch.h:149
const Aws::String & GetServiceRole() const
Definition BuildBatch.h:283
void SetSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition BuildBatch.h:252
void SetArtifacts(ArtifactsT &&value)
Definition BuildBatch.h:239
void SetInitiator(InitiatorT &&value)
Definition BuildBatch.h:345
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
Definition BuildBatch.h:221
const Aws::String & GetCurrentPhase() const
Definition BuildBatch.h:106
BuildBatch & AddReportArns(ReportArnsT &&value)
Definition BuildBatch.h:460
BuildBatch & WithBuildBatchNumber(long long value)
Definition BuildBatch.h:388
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
Definition BuildBatch.h:411
BuildBatch & WithBuildTimeoutInMinutes(int value)
Definition BuildBatch.h:309
void SetCurrentPhase(CurrentPhaseT &&value)
Definition BuildBatch.h:109
void SetBuildBatchNumber(long long value)
Definition BuildBatch.h:387
const Aws::String & GetProjectName() const
Definition BuildBatch.h:156
const Aws::Vector< BuildBatchPhase > & GetPhases() const
Definition BuildBatch.h:169
void SetResolvedSourceVersion(ResolvedSourceVersionT &&value)
Definition BuildBatch.h:147
BuildBatch & AddSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition BuildBatch.h:228
BuildBatch & WithBuildBatchStatus(StatusType value)
Definition BuildBatch.h:121
BuildBatch & WithProjectName(ProjectNameT &&value)
Definition BuildBatch.h:161
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
Definition BuildBatch.h:399
BuildBatch & WithStartTime(StartTimeT &&value)
Definition BuildBatch.h:87
BuildBatch & WithBuildBatchConfig(BuildBatchConfigT &&value)
Definition BuildBatch.h:416
BuildBatch & WithQueuedTimeoutInMinutes(int value)
Definition BuildBatch.h:320
bool BuildTimeoutInMinutesHasBeenSet() const
Definition BuildBatch.h:307
BuildBatch & WithBuildGroups(BuildGroupsT &&value)
Definition BuildBatch.h:429
BuildBatch & WithCache(CacheT &&value)
Definition BuildBatch.h:266
const Aws::Utils::DateTime & GetStartTime() const
Definition BuildBatch.h:82
BuildBatch & WithSecondarySources(SecondarySourcesT &&value)
Definition BuildBatch.h:199
BuildBatch & WithEncryptionKey(EncryptionKeyT &&value)
Definition BuildBatch.h:374
const Aws::Vector< Aws::String > & GetReportArns() const
Definition BuildBatch.h:453
BuildBatch & WithArtifacts(ArtifactsT &&value)
Definition BuildBatch.h:241
void SetFileSystemLocations(FileSystemLocationsT &&value)
Definition BuildBatch.h:402
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
BuildBatch & WithEndTime(EndTimeT &&value)
Definition BuildBatch.h:99
const Aws::String & GetResolvedSourceVersion() const
Definition BuildBatch.h:144
const Aws::String & GetInitiator() const
Definition BuildBatch.h:342
const Aws::Vector< BuildGroup > & GetBuildGroups() const
Definition BuildBatch.h:424
BuildBatch & WithArn(ArnT &&value)
Definition BuildBatch.h:75
bool SecondarySourceVersionsHasBeenSet() const
Definition BuildBatch.h:222
StatusType GetBuildBatchStatus() const
Definition BuildBatch.h:118
BuildBatch & WithComplete(bool value)
Definition BuildBatch.h:330
void SetBuildGroups(BuildGroupsT &&value)
Definition BuildBatch.h:427
const Aws::Vector< ProjectSource > & GetSecondarySources() const
Definition BuildBatch.h:194
BuildBatch & AddSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition BuildBatch.h:256
BuildBatch & WithCurrentPhase(CurrentPhaseT &&value)
Definition BuildBatch.h:111
const ProjectEnvironment & GetEnvironment() const
Definition BuildBatch.h:271
void SetBuildBatchStatus(StatusType value)
Definition BuildBatch.h:120
long long GetBuildBatchNumber() const
Definition BuildBatch.h:385
const Aws::String & GetSourceVersion() const
Definition BuildBatch.h:128
const Aws::Vector< BuildArtifacts > & GetSecondaryArtifacts() const
Definition BuildBatch.h:249
const BuildArtifacts & GetArtifacts() const
Definition BuildBatch.h:236
BuildBatch & WithServiceRole(ServiceRoleT &&value)
Definition BuildBatch.h:288
void SetReportArns(ReportArnsT &&value)
Definition BuildBatch.h:456
BuildBatch & WithSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition BuildBatch.h:226
AWS_CODEBUILD_API BuildBatch()=default
BuildBatch & WithSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition BuildBatch.h:254
void SetSourceVersion(SourceVersionT &&value)
Definition BuildBatch.h:131
BuildBatch & AddBuildGroups(BuildGroupsT &&value)
Definition BuildBatch.h:431
AWS_CODEBUILD_API BuildBatch(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
Definition BuildBatch.h:58
const ProjectCache & GetCache() const
Definition BuildBatch.h:261
const VpcConfig & GetVpcConfig() const
Definition BuildBatch.h:352
void SetVpcConfig(VpcConfigT &&value)
Definition BuildBatch.h:355
void SetStartTime(StartTimeT &&value)
Definition BuildBatch.h:85
void SetCache(CacheT &&value)
Definition BuildBatch.h:264
void SetDebugSessionEnabled(bool value)
Definition BuildBatch.h:444
const Aws::String & GetArn() const
Definition BuildBatch.h:70
void SetSource(SourceT &&value)
Definition BuildBatch.h:184
bool ResolvedSourceVersionHasBeenSet() const
Definition BuildBatch.h:145
BuildBatch & WithPhases(PhasesT &&value)
Definition BuildBatch.h:174
const LogsConfig & GetLogConfig() const
Definition BuildBatch.h:293
BuildBatch & WithInitiator(InitiatorT &&value)
Definition BuildBatch.h:347
const ProjectSource & GetSource() const
Definition BuildBatch.h:181
BuildBatch & WithVpcConfig(VpcConfigT &&value)
Definition BuildBatch.h:357
BuildBatch & WithId(IdT &&value)
Definition BuildBatch.h:63
bool QueuedTimeoutInMinutesHasBeenSet() const
Definition BuildBatch.h:318
BuildBatch & WithEnvironment(EnvironmentT &&value)
Definition BuildBatch.h:276
BuildBatch & WithReportArns(ReportArnsT &&value)
Definition BuildBatch.h:458
void SetSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition BuildBatch.h:224
void SetBuildTimeoutInMinutes(int value)
Definition BuildBatch.h:308
BuildBatch & WithLogConfig(LogConfigT &&value)
Definition BuildBatch.h:298
void SetPhases(PhasesT &&value)
Definition BuildBatch.h:172
void SetEncryptionKey(EncryptionKeyT &&value)
Definition BuildBatch.h:372
const Aws::String & GetEncryptionKey() const
Definition BuildBatch.h:369
void SetServiceRole(ServiceRoleT &&value)
Definition BuildBatch.h:286
void SetEndTime(EndTimeT &&value)
Definition BuildBatch.h:97
BuildBatch & AddFileSystemLocations(FileSystemLocationsT &&value)
Definition BuildBatch.h:406
BuildBatch & AddPhases(PhasesT &&value)
Definition BuildBatch.h:176
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue