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>
54 template <
typename IdT = Aws::String>
56 m_idHasBeenSet =
true;
57 m_id = std::forward<IdT>(value);
59 template <
typename IdT = Aws::String>
61 SetId(std::forward<IdT>(value));
72 template <
typename ArnT = Aws::String>
74 m_arnHasBeenSet =
true;
75 m_arn = std::forward<ArnT>(value);
77 template <
typename ArnT = Aws::String>
79 SetArn(std::forward<ArnT>(value));
90 template <
typename StartTimeT = Aws::Utils::DateTime>
92 m_startTimeHasBeenSet =
true;
93 m_startTime = std::forward<StartTimeT>(value);
95 template <
typename StartTimeT = Aws::Utils::DateTime>
108 template <
typename EndTimeT = Aws::Utils::DateTime>
110 m_endTimeHasBeenSet =
true;
111 m_endTime = std::forward<EndTimeT>(value);
113 template <
typename EndTimeT = Aws::Utils::DateTime>
126 template <
typename CurrentPhaseT = Aws::String>
128 m_currentPhaseHasBeenSet =
true;
129 m_currentPhase = std::forward<CurrentPhaseT>(value);
131 template <
typename CurrentPhaseT = Aws::String>
145 m_buildBatchStatusHasBeenSet =
true;
146 m_buildBatchStatus = value;
160 template <
typename SourceVersionT = Aws::String>
162 m_sourceVersionHasBeenSet =
true;
163 m_sourceVersion = std::forward<SourceVersionT>(value);
165 template <
typename SourceVersionT = Aws::String>
182 template <
typename ResolvedSourceVersionT = Aws::String>
184 m_resolvedSourceVersionHasBeenSet =
true;
185 m_resolvedSourceVersion = std::forward<ResolvedSourceVersionT>(value);
187 template <
typename ResolvedSourceVersionT = Aws::String>
200 template <
typename ProjectNameT = Aws::String>
202 m_projectNameHasBeenSet =
true;
203 m_projectName = std::forward<ProjectNameT>(value);
205 template <
typename ProjectNameT = Aws::String>
219 template <
typename PhasesT = Aws::Vector<BuildBatchPhase>>
221 m_phasesHasBeenSet =
true;
222 m_phases = std::forward<PhasesT>(value);
224 template <
typename PhasesT = Aws::Vector<BuildBatchPhase>>
229 template <
typename PhasesT = BuildBatchPhase>
231 m_phasesHasBeenSet =
true;
232 m_phases.emplace_back(std::forward<PhasesT>(value));
241 template <
typename SourceT = ProjectSource>
243 m_sourceHasBeenSet =
true;
244 m_source = std::forward<SourceT>(value);
246 template <
typename SourceT = ProjectSource>
260 template <
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
262 m_secondarySourcesHasBeenSet =
true;
263 m_secondarySources = std::forward<SecondarySourcesT>(value);
265 template <
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
270 template <
typename SecondarySourcesT = ProjectSource>
272 m_secondarySourcesHasBeenSet =
true;
273 m_secondarySources.emplace_back(std::forward<SecondarySourcesT>(value));
297 template <
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
299 m_secondarySourceVersionsHasBeenSet =
true;
300 m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value);
302 template <
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
307 template <
typename SecondarySourceVersionsT = ProjectSourceVersion>
309 m_secondarySourceVersionsHasBeenSet =
true;
310 m_secondarySourceVersions.emplace_back(std::forward<SecondarySourceVersionsT>(value));
322 template <
typename ArtifactsT = BuildArtifacts>
324 m_artifactsHasBeenSet =
true;
325 m_artifacts = std::forward<ArtifactsT>(value);
327 template <
typename ArtifactsT = BuildArtifacts>
341 template <
typename SecondaryArtifactsT = Aws::Vector<BuildArtifacts>>
343 m_secondaryArtifactsHasBeenSet =
true;
344 m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value);
346 template <
typename SecondaryArtifactsT = Aws::Vector<BuildArtifacts>>
351 template <
typename SecondaryArtifactsT = BuildArtifacts>
353 m_secondaryArtifactsHasBeenSet =
true;
354 m_secondaryArtifacts.emplace_back(std::forward<SecondaryArtifactsT>(value));
363 template <
typename CacheT = ProjectCache>
365 m_cacheHasBeenSet =
true;
366 m_cache = std::forward<CacheT>(value);
368 template <
typename CacheT = ProjectCache>
370 SetCache(std::forward<CacheT>(value));
379 template <
typename EnvironmentT = ProjectEnvironment>
381 m_environmentHasBeenSet =
true;
382 m_environment = std::forward<EnvironmentT>(value);
384 template <
typename EnvironmentT = ProjectEnvironment>
397 template <
typename ServiceRoleT = Aws::String>
399 m_serviceRoleHasBeenSet =
true;
400 m_serviceRole = std::forward<ServiceRoleT>(value);
402 template <
typename ServiceRoleT = Aws::String>
413 template <
typename LogConfigT = LogsConfig>
415 m_logConfigHasBeenSet =
true;
416 m_logConfig = std::forward<LogConfigT>(value);
418 template <
typename LogConfigT = LogsConfig>
433 m_buildTimeoutInMinutesHasBeenSet =
true;
434 m_buildTimeoutInMinutes = value;
450 m_queuedTimeoutInMinutesHasBeenSet =
true;
451 m_queuedTimeoutInMinutes = value;
466 m_completeHasBeenSet =
true;
486 template <
typename InitiatorT = Aws::String>
488 m_initiatorHasBeenSet =
true;
489 m_initiator = std::forward<InitiatorT>(value);
491 template <
typename InitiatorT = Aws::String>
502 template <
typename VpcConfigT = VpcConfig>
504 m_vpcConfigHasBeenSet =
true;
505 m_vpcConfig = std::forward<VpcConfigT>(value);
507 template <
typename VpcConfigT = VpcConfig>
525 template <
typename EncryptionKeyT = Aws::String>
527 m_encryptionKeyHasBeenSet =
true;
528 m_encryptionKey = std::forward<EncryptionKeyT>(value);
530 template <
typename EncryptionKeyT = Aws::String>
548 m_buildBatchNumberHasBeenSet =
true;
549 m_buildBatchNumber = value;
567 template <
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
569 m_fileSystemLocationsHasBeenSet =
true;
570 m_fileSystemLocations = std::forward<FileSystemLocationsT>(value);
572 template <
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
577 template <
typename FileSystemLocationsT = ProjectFileSystemLocation>
579 m_fileSystemLocationsHasBeenSet =
true;
580 m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value));
589 template <
typename BuildBatchConfigT = ProjectBuildBatchConfig>
591 m_buildBatchConfigHasBeenSet =
true;
592 m_buildBatchConfig = std::forward<BuildBatchConfigT>(value);
594 template <
typename BuildBatchConfigT = ProjectBuildBatchConfig>
608 template <
typename BuildGroupsT = Aws::Vector<BuildGroup>>
610 m_buildGroupsHasBeenSet =
true;
611 m_buildGroups = std::forward<BuildGroupsT>(value);
613 template <
typename BuildGroupsT = Aws::Vector<BuildGroup>>
618 template <
typename BuildGroupsT = BuildGroup>
620 m_buildGroupsHasBeenSet =
true;
621 m_buildGroups.emplace_back(std::forward<BuildGroupsT>(value));
637 m_debugSessionEnabledHasBeenSet =
true;
638 m_debugSessionEnabled = value;
653 template <
typename ReportArnsT = Aws::Vector<Aws::String>>
655 m_reportArnsHasBeenSet =
true;
656 m_reportArns = std::forward<ReportArnsT>(value);
658 template <
typename ReportArnsT = Aws::Vector<Aws::String>>
663 template <
typename ReportArnsT = Aws::String>
665 m_reportArnsHasBeenSet =
true;
666 m_reportArns.emplace_back(std::forward<ReportArnsT>(value));
691 ProjectSource m_source;
697 BuildArtifacts m_artifacts;
701 ProjectCache m_cache;
703 ProjectEnvironment m_environment;
707 LogsConfig m_logConfig;
709 int m_buildTimeoutInMinutes{0};
711 int m_queuedTimeoutInMinutes{0};
713 bool m_complete{
false};
717 VpcConfig m_vpcConfig;
721 long long m_buildBatchNumber{0};
725 ProjectBuildBatchConfig m_buildBatchConfig;
729 bool m_debugSessionEnabled{
false};
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;
bool CurrentPhaseHasBeenSet() const
BuildBatch & AddSecondarySources(SecondarySourcesT &&value)
const Aws::Utils::DateTime & GetEndTime() const
BuildBatch & WithSourceVersion(SourceVersionT &&value)
void SetBuildBatchConfig(BuildBatchConfigT &&value)
AWS_CODEBUILD_API BuildBatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQueuedTimeoutInMinutes(int value)
BuildBatch & WithFileSystemLocations(FileSystemLocationsT &&value)
void SetEnvironment(EnvironmentT &&value)
void SetLogConfig(LogConfigT &&value)
BuildBatch & WithDebugSessionEnabled(bool value)
BuildBatch & WithSource(SourceT &&value)
void SetSecondarySources(SecondarySourcesT &&value)
void SetProjectName(ProjectNameT &&value)
BuildBatch & WithResolvedSourceVersion(ResolvedSourceVersionT &&value)
bool ServiceRoleHasBeenSet() const
const Aws::String & GetServiceRole() const
void SetSecondaryArtifacts(SecondaryArtifactsT &&value)
void SetArtifacts(ArtifactsT &&value)
void SetInitiator(InitiatorT &&value)
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
const Aws::String & GetCurrentPhase() const
BuildBatch & AddReportArns(ReportArnsT &&value)
BuildBatch & WithBuildBatchNumber(long long value)
bool ProjectNameHasBeenSet() const
int GetQueuedTimeoutInMinutes() const
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
bool VpcConfigHasBeenSet() const
BuildBatch & WithBuildTimeoutInMinutes(int value)
void SetCurrentPhase(CurrentPhaseT &&value)
void SetBuildBatchNumber(long long value)
bool StartTimeHasBeenSet() const
const Aws::String & GetProjectName() const
bool BuildBatchNumberHasBeenSet() const
const Aws::Vector< BuildBatchPhase > & GetPhases() const
bool IdHasBeenSet() const
void SetResolvedSourceVersion(ResolvedSourceVersionT &&value)
BuildBatch & AddSecondarySourceVersions(SecondarySourceVersionsT &&value)
bool FileSystemLocationsHasBeenSet() const
BuildBatch & WithBuildBatchStatus(StatusType value)
BuildBatch & WithProjectName(ProjectNameT &&value)
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
bool SourceVersionHasBeenSet() const
bool EncryptionKeyHasBeenSet() const
bool LogConfigHasBeenSet() const
BuildBatch & WithStartTime(StartTimeT &&value)
BuildBatch & WithBuildBatchConfig(BuildBatchConfigT &&value)
BuildBatch & WithQueuedTimeoutInMinutes(int value)
bool BuildTimeoutInMinutesHasBeenSet() const
BuildBatch & WithBuildGroups(BuildGroupsT &&value)
BuildBatch & WithCache(CacheT &&value)
const Aws::Utils::DateTime & GetStartTime() const
BuildBatch & WithSecondarySources(SecondarySourcesT &&value)
bool SourceHasBeenSet() const
BuildBatch & WithEncryptionKey(EncryptionKeyT &&value)
const Aws::Vector< Aws::String > & GetReportArns() const
BuildBatch & WithArtifacts(ArtifactsT &&value)
void SetFileSystemLocations(FileSystemLocationsT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
BuildBatch & WithEndTime(EndTimeT &&value)
const Aws::String & GetResolvedSourceVersion() const
const Aws::String & GetInitiator() const
const Aws::Vector< BuildGroup > & GetBuildGroups() const
bool EndTimeHasBeenSet() const
BuildBatch & WithArn(ArnT &&value)
bool SecondarySourceVersionsHasBeenSet() const
StatusType GetBuildBatchStatus() const
bool BuildBatchStatusHasBeenSet() const
BuildBatch & WithComplete(bool value)
void SetBuildGroups(BuildGroupsT &&value)
const Aws::Vector< ProjectSource > & GetSecondarySources() const
BuildBatch & AddSecondaryArtifacts(SecondaryArtifactsT &&value)
BuildBatch & WithCurrentPhase(CurrentPhaseT &&value)
const ProjectEnvironment & GetEnvironment() const
void SetBuildBatchStatus(StatusType value)
long long GetBuildBatchNumber() const
const Aws::String & GetSourceVersion() const
const Aws::Vector< BuildArtifacts > & GetSecondaryArtifacts() const
const BuildArtifacts & GetArtifacts() const
BuildBatch & WithServiceRole(ServiceRoleT &&value)
void SetReportArns(ReportArnsT &&value)
BuildBatch & WithSecondarySourceVersions(SecondarySourceVersionsT &&value)
bool ReportArnsHasBeenSet() const
void SetComplete(bool value)
bool EnvironmentHasBeenSet() const
bool SecondarySourcesHasBeenSet() const
AWS_CODEBUILD_API BuildBatch()=default
bool InitiatorHasBeenSet() const
BuildBatch & WithSecondaryArtifacts(SecondaryArtifactsT &&value)
void SetSourceVersion(SourceVersionT &&value)
BuildBatch & AddBuildGroups(BuildGroupsT &&value)
AWS_CODEBUILD_API BuildBatch(Aws::Utils::Json::JsonView jsonValue)
bool DebugSessionEnabledHasBeenSet() const
const Aws::String & GetId() const
const ProjectCache & GetCache() const
const VpcConfig & GetVpcConfig() const
void SetVpcConfig(VpcConfigT &&value)
bool BuildGroupsHasBeenSet() const
void SetStartTime(StartTimeT &&value)
void SetCache(CacheT &&value)
void SetDebugSessionEnabled(bool value)
bool ArtifactsHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
bool ArnHasBeenSet() const
bool PhasesHasBeenSet() const
void SetSource(SourceT &&value)
bool ResolvedSourceVersionHasBeenSet() const
bool GetDebugSessionEnabled() const
BuildBatch & WithPhases(PhasesT &&value)
const LogsConfig & GetLogConfig() const
BuildBatch & WithInitiator(InitiatorT &&value)
const ProjectSource & GetSource() const
BuildBatch & WithVpcConfig(VpcConfigT &&value)
BuildBatch & WithId(IdT &&value)
bool QueuedTimeoutInMinutesHasBeenSet() const
BuildBatch & WithEnvironment(EnvironmentT &&value)
BuildBatch & WithReportArns(ReportArnsT &&value)
void SetSecondarySourceVersions(SecondarySourceVersionsT &&value)
void SetBuildTimeoutInMinutes(int value)
int GetBuildTimeoutInMinutes() const
BuildBatch & WithLogConfig(LogConfigT &&value)
bool BuildBatchConfigHasBeenSet() const
void SetPhases(PhasesT &&value)
bool CompleteHasBeenSet() const
bool SecondaryArtifactsHasBeenSet() const
void SetEncryptionKey(EncryptionKeyT &&value)
const Aws::String & GetEncryptionKey() const
void SetServiceRole(ServiceRoleT &&value)
void SetEndTime(EndTimeT &&value)
bool CacheHasBeenSet() const
BuildBatch & AddFileSystemLocations(FileSystemLocationsT &&value)
BuildBatch & AddPhases(PhasesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue