/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a build.See Also:
AWS API
* Reference
The unique ID for the build.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique ID for the build.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique ID for the build.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique ID for the build.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique ID for the build.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique ID for the build.
*/ inline Build& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique ID for the build.
*/ inline Build& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique ID for the build.
*/ inline Build& WithId(const char* value) { SetId(value); return *this;} /** *The Amazon Resource Name (ARN) of the build.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the build.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the build.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the build.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the build.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the build.
*/ inline Build& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the build.
*/ inline Build& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the build.
*/ inline Build& WithArn(const char* value) { SetArn(value); return *this;} /** *The number of the build. For each project, the buildNumber
of
* its first build is 1
. The buildNumber
of each
* subsequent build is incremented by 1
. If a build is deleted, the
* buildNumber
of other builds does not change.
The number of the build. For each project, the buildNumber
of
* its first build is 1
. The buildNumber
of each
* subsequent build is incremented by 1
. If a build is deleted, the
* buildNumber
of other builds does not change.
The number of the build. For each project, the buildNumber
of
* its first build is 1
. The buildNumber
of each
* subsequent build is incremented by 1
. If a build is deleted, the
* buildNumber
of other builds does not change.
The number of the build. For each project, the buildNumber
of
* its first build is 1
. The buildNumber
of each
* subsequent build is incremented by 1
. If a build is deleted, the
* buildNumber
of other builds does not change.
When the build process started, expressed in Unix time format.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *When the build process started, expressed in Unix time format.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *When the build process started, expressed in Unix time format.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *When the build process started, expressed in Unix time format.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *When the build process started, expressed in Unix time format.
*/ inline Build& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *When the build process started, expressed in Unix time format.
*/ inline Build& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *When the build process ended, expressed in Unix time format.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *When the build process ended, expressed in Unix time format.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *When the build process ended, expressed in Unix time format.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *When the build process ended, expressed in Unix time format.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *When the build process ended, expressed in Unix time format.
*/ inline Build& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *When the build process ended, expressed in Unix time format.
*/ inline Build& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The current build phase.
*/ inline const Aws::String& GetCurrentPhase() const{ return m_currentPhase; } /** *The current build phase.
*/ inline bool CurrentPhaseHasBeenSet() const { return m_currentPhaseHasBeenSet; } /** *The current build phase.
*/ inline void SetCurrentPhase(const Aws::String& value) { m_currentPhaseHasBeenSet = true; m_currentPhase = value; } /** *The current build phase.
*/ inline void SetCurrentPhase(Aws::String&& value) { m_currentPhaseHasBeenSet = true; m_currentPhase = std::move(value); } /** *The current build phase.
*/ inline void SetCurrentPhase(const char* value) { m_currentPhaseHasBeenSet = true; m_currentPhase.assign(value); } /** *The current build phase.
*/ inline Build& WithCurrentPhase(const Aws::String& value) { SetCurrentPhase(value); return *this;} /** *The current build phase.
*/ inline Build& WithCurrentPhase(Aws::String&& value) { SetCurrentPhase(std::move(value)); return *this;} /** *The current build phase.
*/ inline Build& WithCurrentPhase(const char* value) { SetCurrentPhase(value); return *this;} /** *The current status of the build. Valid values include:
* FAILED
: The build failed.
FAULT
:
* The build faulted.
IN_PROGRESS
: The build is
* still in progress.
STOPPED
: The build
* stopped.
SUCCEEDED
: The build succeeded.
TIMED_OUT
: The build timed out.
The current status of the build. Valid values include:
* FAILED
: The build failed.
FAULT
:
* The build faulted.
IN_PROGRESS
: The build is
* still in progress.
STOPPED
: The build
* stopped.
SUCCEEDED
: The build succeeded.
TIMED_OUT
: The build timed out.
The current status of the build. Valid values include:
* FAILED
: The build failed.
FAULT
:
* The build faulted.
IN_PROGRESS
: The build is
* still in progress.
STOPPED
: The build
* stopped.
SUCCEEDED
: The build succeeded.
TIMED_OUT
: The build timed out.
The current status of the build. Valid values include:
* FAILED
: The build failed.
FAULT
:
* The build faulted.
IN_PROGRESS
: The build is
* still in progress.
STOPPED
: The build
* stopped.
SUCCEEDED
: The build succeeded.
TIMED_OUT
: The build timed out.
The current status of the build. Valid values include:
* FAILED
: The build failed.
FAULT
:
* The build faulted.
IN_PROGRESS
: The build is
* still in progress.
STOPPED
: The build
* stopped.
SUCCEEDED
: The build succeeded.
TIMED_OUT
: The build timed out.
The current status of the build. Valid values include:
* FAILED
: The build failed.
FAULT
:
* The build faulted.
IN_PROGRESS
: The build is
* still in progress.
STOPPED
: The build
* stopped.
SUCCEEDED
: The build succeeded.
TIMED_OUT
: The build timed out.
Any version identifier for the version of the source code to be built. If
* sourceVersion
is specified at the project level, then this
* sourceVersion
(at the build level) takes precedence.
For * more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; } /** *Any version identifier for the version of the source code to be built. If
* sourceVersion
is specified at the project level, then this
* sourceVersion
(at the build level) takes precedence.
For * more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; } /** *Any version identifier for the version of the source code to be built. If
* sourceVersion
is specified at the project level, then this
* sourceVersion
(at the build level) takes precedence.
For * more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; } /** *Any version identifier for the version of the source code to be built. If
* sourceVersion
is specified at the project level, then this
* sourceVersion
(at the build level) takes precedence.
For * more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); } /** *Any version identifier for the version of the source code to be built. If
* sourceVersion
is specified at the project level, then this
* sourceVersion
(at the build level) takes precedence.
For * more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); } /** *Any version identifier for the version of the source code to be built. If
* sourceVersion
is specified at the project level, then this
* sourceVersion
(at the build level) takes precedence.
For * more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline Build& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;} /** *Any version identifier for the version of the source code to be built. If
* sourceVersion
is specified at the project level, then this
* sourceVersion
(at the build level) takes precedence.
For * more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline Build& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;} /** *Any version identifier for the version of the source code to be built. If
* sourceVersion
is specified at the project level, then this
* sourceVersion
(at the build level) takes precedence.
For * more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline Build& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;} /** *An identifier for the version of this build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
For CodePipeline, the source revision provided by * CodePipeline.
For Amazon S3, this does not apply.
An identifier for the version of this build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
For CodePipeline, the source revision provided by * CodePipeline.
For Amazon S3, this does not apply.
An identifier for the version of this build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
For CodePipeline, the source revision provided by * CodePipeline.
For Amazon S3, this does not apply.
An identifier for the version of this build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
For CodePipeline, the source revision provided by * CodePipeline.
For Amazon S3, this does not apply.
An identifier for the version of this build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
For CodePipeline, the source revision provided by * CodePipeline.
For Amazon S3, this does not apply.
An identifier for the version of this build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
For CodePipeline, the source revision provided by * CodePipeline.
For Amazon S3, this does not apply.
An identifier for the version of this build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
For CodePipeline, the source revision provided by * CodePipeline.
For Amazon S3, this does not apply.
An identifier for the version of this build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
For CodePipeline, the source revision provided by * CodePipeline.
For Amazon S3, this does not apply.
The name of the CodeBuild project.
*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *The name of the CodeBuild project.
*/ inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } /** *The name of the CodeBuild project.
*/ inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; } /** *The name of the CodeBuild project.
*/ inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); } /** *The name of the CodeBuild project.
*/ inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); } /** *The name of the CodeBuild project.
*/ inline Build& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *The name of the CodeBuild project.
*/ inline Build& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *The name of the CodeBuild project.
*/ inline Build& WithProjectName(const char* value) { SetProjectName(value); return *this;} /** *Information about all previous build phases that are complete and information * about any current build phase that is not yet complete.
*/ inline const Aws::VectorInformation about all previous build phases that are complete and information * about any current build phase that is not yet complete.
*/ inline bool PhasesHasBeenSet() const { return m_phasesHasBeenSet; } /** *Information about all previous build phases that are complete and information * about any current build phase that is not yet complete.
*/ inline void SetPhases(const Aws::VectorInformation about all previous build phases that are complete and information * about any current build phase that is not yet complete.
*/ inline void SetPhases(Aws::VectorInformation about all previous build phases that are complete and information * about any current build phase that is not yet complete.
*/ inline Build& WithPhases(const Aws::VectorInformation about all previous build phases that are complete and information * about any current build phase that is not yet complete.
*/ inline Build& WithPhases(Aws::VectorInformation about all previous build phases that are complete and information * about any current build phase that is not yet complete.
*/ inline Build& AddPhases(const BuildPhase& value) { m_phasesHasBeenSet = true; m_phases.push_back(value); return *this; } /** *Information about all previous build phases that are complete and information * about any current build phase that is not yet complete.
*/ inline Build& AddPhases(BuildPhase&& value) { m_phasesHasBeenSet = true; m_phases.push_back(std::move(value)); return *this; } /** *Information about the source code to be built.
*/ inline const ProjectSource& GetSource() const{ return m_source; } /** *Information about the source code to be built.
*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *Information about the source code to be built.
*/ inline void SetSource(const ProjectSource& value) { m_sourceHasBeenSet = true; m_source = value; } /** *Information about the source code to be built.
*/ inline void SetSource(ProjectSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *Information about the source code to be built.
*/ inline Build& WithSource(const ProjectSource& value) { SetSource(value); return *this;} /** *Information about the source code to be built.
*/ inline Build& WithSource(ProjectSource&& value) { SetSource(std::move(value)); return *this;} /** * An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSourceVersion
objects. Each
* ProjectSourceVersion
must be one of:
For * CodeCommit: the commit ID, branch, or Git tag to use.
For
* GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
An array of ProjectSourceVersion
objects. Each
* ProjectSourceVersion
must be one of:
For * CodeCommit: the commit ID, branch, or Git tag to use.
For
* GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
An array of ProjectSourceVersion
objects. Each
* ProjectSourceVersion
must be one of:
For * CodeCommit: the commit ID, branch, or Git tag to use.
For
* GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
An array of ProjectSourceVersion
objects. Each
* ProjectSourceVersion
must be one of:
For * CodeCommit: the commit ID, branch, or Git tag to use.
For
* GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
An array of ProjectSourceVersion
objects. Each
* ProjectSourceVersion
must be one of:
For * CodeCommit: the commit ID, branch, or Git tag to use.
For
* GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
An array of ProjectSourceVersion
objects. Each
* ProjectSourceVersion
must be one of:
For * CodeCommit: the commit ID, branch, or Git tag to use.
For
* GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
An array of ProjectSourceVersion
objects. Each
* ProjectSourceVersion
must be one of:
For * CodeCommit: the commit ID, branch, or Git tag to use.
For
* GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
An array of ProjectSourceVersion
objects. Each
* ProjectSourceVersion
must be one of:
For * CodeCommit: the commit ID, branch, or Git tag to use.
For
* GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
Information about the output artifacts for the build.
*/ inline const BuildArtifacts& GetArtifacts() const{ return m_artifacts; } /** *Information about the output artifacts for the build.
*/ inline bool ArtifactsHasBeenSet() const { return m_artifactsHasBeenSet; } /** *Information about the output artifacts for the build.
*/ inline void SetArtifacts(const BuildArtifacts& value) { m_artifactsHasBeenSet = true; m_artifacts = value; } /** *Information about the output artifacts for the build.
*/ inline void SetArtifacts(BuildArtifacts&& value) { m_artifactsHasBeenSet = true; m_artifacts = std::move(value); } /** *Information about the output artifacts for the build.
*/ inline Build& WithArtifacts(const BuildArtifacts& value) { SetArtifacts(value); return *this;} /** *Information about the output artifacts for the build.
*/ inline Build& WithArtifacts(BuildArtifacts&& value) { SetArtifacts(std::move(value)); return *this;} /** * An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
Information about the cache for the build.
*/ inline const ProjectCache& GetCache() const{ return m_cache; } /** *Information about the cache for the build.
*/ inline bool CacheHasBeenSet() const { return m_cacheHasBeenSet; } /** *Information about the cache for the build.
*/ inline void SetCache(const ProjectCache& value) { m_cacheHasBeenSet = true; m_cache = value; } /** *Information about the cache for the build.
*/ inline void SetCache(ProjectCache&& value) { m_cacheHasBeenSet = true; m_cache = std::move(value); } /** *Information about the cache for the build.
*/ inline Build& WithCache(const ProjectCache& value) { SetCache(value); return *this;} /** *Information about the cache for the build.
*/ inline Build& WithCache(ProjectCache&& value) { SetCache(std::move(value)); return *this;} /** *Information about the build environment for this build.
*/ inline const ProjectEnvironment& GetEnvironment() const{ return m_environment; } /** *Information about the build environment for this build.
*/ inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } /** *Information about the build environment for this build.
*/ inline void SetEnvironment(const ProjectEnvironment& value) { m_environmentHasBeenSet = true; m_environment = value; } /** *Information about the build environment for this build.
*/ inline void SetEnvironment(ProjectEnvironment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); } /** *Information about the build environment for this build.
*/ inline Build& WithEnvironment(const ProjectEnvironment& value) { SetEnvironment(value); return *this;} /** *Information about the build environment for this build.
*/ inline Build& WithEnvironment(ProjectEnvironment&& value) { SetEnvironment(std::move(value)); return *this;} /** *The name of a service role used for this build.
*/ inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } /** *The name of a service role used for this build.
*/ inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; } /** *The name of a service role used for this build.
*/ inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; } /** *The name of a service role used for this build.
*/ inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); } /** *The name of a service role used for this build.
*/ inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); } /** *The name of a service role used for this build.
*/ inline Build& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} /** *The name of a service role used for this build.
*/ inline Build& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} /** *The name of a service role used for this build.
*/ inline Build& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} /** *Information about the build's logs in CloudWatch Logs.
*/ inline const LogsLocation& GetLogs() const{ return m_logs; } /** *Information about the build's logs in CloudWatch Logs.
*/ inline bool LogsHasBeenSet() const { return m_logsHasBeenSet; } /** *Information about the build's logs in CloudWatch Logs.
*/ inline void SetLogs(const LogsLocation& value) { m_logsHasBeenSet = true; m_logs = value; } /** *Information about the build's logs in CloudWatch Logs.
*/ inline void SetLogs(LogsLocation&& value) { m_logsHasBeenSet = true; m_logs = std::move(value); } /** *Information about the build's logs in CloudWatch Logs.
*/ inline Build& WithLogs(const LogsLocation& value) { SetLogs(value); return *this;} /** *Information about the build's logs in CloudWatch Logs.
*/ inline Build& WithLogs(LogsLocation&& value) { SetLogs(std::move(value)); return *this;} /** *How long, in minutes, for CodeBuild to wait before timing out this build if * it does not get marked as completed.
*/ inline int GetTimeoutInMinutes() const{ return m_timeoutInMinutes; } /** *How long, in minutes, for CodeBuild to wait before timing out this build if * it does not get marked as completed.
*/ inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; } /** *How long, in minutes, for CodeBuild to wait before timing out this build if * it does not get marked as completed.
*/ inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; } /** *How long, in minutes, for CodeBuild to wait before timing out this build if * it does not get marked as completed.
*/ inline Build& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;} /** *The number of minutes a build is allowed to be queued before it times out. *
*/ inline int GetQueuedTimeoutInMinutes() const{ return m_queuedTimeoutInMinutes; } /** *The number of minutes a build is allowed to be queued before it times out. *
*/ inline bool QueuedTimeoutInMinutesHasBeenSet() const { return m_queuedTimeoutInMinutesHasBeenSet; } /** *The number of minutes a build is allowed to be queued before it times out. *
*/ inline void SetQueuedTimeoutInMinutes(int value) { m_queuedTimeoutInMinutesHasBeenSet = true; m_queuedTimeoutInMinutes = value; } /** *The number of minutes a build is allowed to be queued before it times out. *
*/ inline Build& WithQueuedTimeoutInMinutes(int value) { SetQueuedTimeoutInMinutes(value); return *this;} /** *Whether the build is complete. True if complete; otherwise, false.
*/ inline bool GetBuildComplete() const{ return m_buildComplete; } /** *Whether the build is complete. True if complete; otherwise, false.
*/ inline bool BuildCompleteHasBeenSet() const { return m_buildCompleteHasBeenSet; } /** *Whether the build is complete. True if complete; otherwise, false.
*/ inline void SetBuildComplete(bool value) { m_buildCompleteHasBeenSet = true; m_buildComplete = value; } /** *Whether the build is complete. True if complete; otherwise, false.
*/ inline Build& WithBuildComplete(bool value) { SetBuildComplete(value); return *this;} /** *The entity that started the build. Valid values include:
If
* CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
If an IAM user
* started the build, the user's name (for example, MyUserName
).
If the Jenkins plugin for CodeBuild started the build, the string
* CodeBuild-Jenkins-Plugin
.
The entity that started the build. Valid values include:
If
* CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
If an IAM user
* started the build, the user's name (for example, MyUserName
).
If the Jenkins plugin for CodeBuild started the build, the string
* CodeBuild-Jenkins-Plugin
.
The entity that started the build. Valid values include:
If
* CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
If an IAM user
* started the build, the user's name (for example, MyUserName
).
If the Jenkins plugin for CodeBuild started the build, the string
* CodeBuild-Jenkins-Plugin
.
The entity that started the build. Valid values include:
If
* CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
If an IAM user
* started the build, the user's name (for example, MyUserName
).
If the Jenkins plugin for CodeBuild started the build, the string
* CodeBuild-Jenkins-Plugin
.
The entity that started the build. Valid values include:
If
* CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
If an IAM user
* started the build, the user's name (for example, MyUserName
).
If the Jenkins plugin for CodeBuild started the build, the string
* CodeBuild-Jenkins-Plugin
.
The entity that started the build. Valid values include:
If
* CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
If an IAM user
* started the build, the user's name (for example, MyUserName
).
If the Jenkins plugin for CodeBuild started the build, the string
* CodeBuild-Jenkins-Plugin
.
The entity that started the build. Valid values include:
If
* CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
If an IAM user
* started the build, the user's name (for example, MyUserName
).
If the Jenkins plugin for CodeBuild started the build, the string
* CodeBuild-Jenkins-Plugin
.
The entity that started the build. Valid values include:
If
* CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
If an IAM user
* started the build, the user's name (for example, MyUserName
).
If the Jenkins plugin for CodeBuild started the build, the string
* CodeBuild-Jenkins-Plugin
.
If your CodeBuild project accesses resources in an Amazon VPC, you provide * this parameter that identifies the VPC ID and the list of security group IDs and * subnet IDs. The security groups and subnets must belong to the same VPC. You * must provide at least one security group and one subnet ID.
*/ inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } /** *If your CodeBuild project accesses resources in an Amazon VPC, you provide * this parameter that identifies the VPC ID and the list of security group IDs and * subnet IDs. The security groups and subnets must belong to the same VPC. You * must provide at least one security group and one subnet ID.
*/ inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } /** *If your CodeBuild project accesses resources in an Amazon VPC, you provide * this parameter that identifies the VPC ID and the list of security group IDs and * subnet IDs. The security groups and subnets must belong to the same VPC. You * must provide at least one security group and one subnet ID.
*/ inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } /** *If your CodeBuild project accesses resources in an Amazon VPC, you provide * this parameter that identifies the VPC ID and the list of security group IDs and * subnet IDs. The security groups and subnets must belong to the same VPC. You * must provide at least one security group and one subnet ID.
*/ inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } /** *If your CodeBuild project accesses resources in an Amazon VPC, you provide * this parameter that identifies the VPC ID and the list of security group IDs and * subnet IDs. The security groups and subnets must belong to the same VPC. You * must provide at least one security group and one subnet ID.
*/ inline Build& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;} /** *If your CodeBuild project accesses resources in an Amazon VPC, you provide * this parameter that identifies the VPC ID and the list of security group IDs and * subnet IDs. The security groups and subnets must belong to the same VPC. You * must provide at least one security group and one subnet ID.
*/ inline Build& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} /** *Describes a network interface.
*/ inline const NetworkInterface& GetNetworkInterface() const{ return m_networkInterface; } /** *Describes a network interface.
*/ inline bool NetworkInterfaceHasBeenSet() const { return m_networkInterfaceHasBeenSet; } /** *Describes a network interface.
*/ inline void SetNetworkInterface(const NetworkInterface& value) { m_networkInterfaceHasBeenSet = true; m_networkInterface = value; } /** *Describes a network interface.
*/ inline void SetNetworkInterface(NetworkInterface&& value) { m_networkInterfaceHasBeenSet = true; m_networkInterface = std::move(value); } /** *Describes a network interface.
*/ inline Build& WithNetworkInterface(const NetworkInterface& value) { SetNetworkInterface(value); return *this;} /** *Describes a network interface.
*/ inline Build& WithNetworkInterface(NetworkInterface&& value) { SetNetworkInterface(std::move(value)); return *this;} /** *The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a * cross-account KMS key to encrypt the build output artifacts if your service role * has permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a * cross-account KMS key to encrypt the build output artifacts if your service role * has permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a * cross-account KMS key to encrypt the build output artifacts if your service role * has permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a * cross-account KMS key to encrypt the build output artifacts if your service role * has permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a * cross-account KMS key to encrypt the build output artifacts if your service role * has permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a * cross-account KMS key to encrypt the build output artifacts if your service role * has permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a * cross-account KMS key to encrypt the build output artifacts if your service role * has permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a * cross-account KMS key to encrypt the build output artifacts if your service role * has permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
A list of exported environment variables for this build.
Exported * environment variables are used in conjunction with CodePipeline to export * environment variables from the current build stage to subsequent stages in the * pipeline. For more information, see Working * with variables in the CodePipeline User Guide.
*/ inline const Aws::VectorA list of exported environment variables for this build.
Exported * environment variables are used in conjunction with CodePipeline to export * environment variables from the current build stage to subsequent stages in the * pipeline. For more information, see Working * with variables in the CodePipeline User Guide.
*/ inline bool ExportedEnvironmentVariablesHasBeenSet() const { return m_exportedEnvironmentVariablesHasBeenSet; } /** *A list of exported environment variables for this build.
Exported * environment variables are used in conjunction with CodePipeline to export * environment variables from the current build stage to subsequent stages in the * pipeline. For more information, see Working * with variables in the CodePipeline User Guide.
*/ inline void SetExportedEnvironmentVariables(const Aws::VectorA list of exported environment variables for this build.
Exported * environment variables are used in conjunction with CodePipeline to export * environment variables from the current build stage to subsequent stages in the * pipeline. For more information, see Working * with variables in the CodePipeline User Guide.
*/ inline void SetExportedEnvironmentVariables(Aws::VectorA list of exported environment variables for this build.
Exported * environment variables are used in conjunction with CodePipeline to export * environment variables from the current build stage to subsequent stages in the * pipeline. For more information, see Working * with variables in the CodePipeline User Guide.
*/ inline Build& WithExportedEnvironmentVariables(const Aws::VectorA list of exported environment variables for this build.
Exported * environment variables are used in conjunction with CodePipeline to export * environment variables from the current build stage to subsequent stages in the * pipeline. For more information, see Working * with variables in the CodePipeline User Guide.
*/ inline Build& WithExportedEnvironmentVariables(Aws::VectorA list of exported environment variables for this build.
Exported * environment variables are used in conjunction with CodePipeline to export * environment variables from the current build stage to subsequent stages in the * pipeline. For more information, see Working * with variables in the CodePipeline User Guide.
*/ inline Build& AddExportedEnvironmentVariables(const ExportedEnvironmentVariable& value) { m_exportedEnvironmentVariablesHasBeenSet = true; m_exportedEnvironmentVariables.push_back(value); return *this; } /** *A list of exported environment variables for this build.
Exported * environment variables are used in conjunction with CodePipeline to export * environment variables from the current build stage to subsequent stages in the * pipeline. For more information, see Working * with variables in the CodePipeline User Guide.
*/ inline Build& AddExportedEnvironmentVariables(ExportedEnvironmentVariable&& value) { m_exportedEnvironmentVariablesHasBeenSet = true; m_exportedEnvironmentVariables.push_back(std::move(value)); return *this; } /** *An array of the ARNs associated with this build's reports.
*/ inline const Aws::VectorAn array of the ARNs associated with this build's reports.
*/ inline bool ReportArnsHasBeenSet() const { return m_reportArnsHasBeenSet; } /** *An array of the ARNs associated with this build's reports.
*/ inline void SetReportArns(const Aws::VectorAn array of the ARNs associated with this build's reports.
*/ inline void SetReportArns(Aws::VectorAn array of the ARNs associated with this build's reports.
*/ inline Build& WithReportArns(const Aws::VectorAn array of the ARNs associated with this build's reports.
*/ inline Build& WithReportArns(Aws::VectorAn array of the ARNs associated with this build's reports.
*/ inline Build& AddReportArns(const Aws::String& value) { m_reportArnsHasBeenSet = true; m_reportArns.push_back(value); return *this; } /** *An array of the ARNs associated with this build's reports.
*/ inline Build& AddReportArns(Aws::String&& value) { m_reportArnsHasBeenSet = true; m_reportArns.push_back(std::move(value)); return *this; } /** *An array of the ARNs associated with this build's reports.
*/ inline Build& AddReportArns(const char* value) { m_reportArnsHasBeenSet = true; m_reportArns.push_back(value); return *this; } /** * An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
Contains information about the debug session for this build.
*/ inline const DebugSession& GetDebugSession() const{ return m_debugSession; } /** *Contains information about the debug session for this build.
*/ inline bool DebugSessionHasBeenSet() const { return m_debugSessionHasBeenSet; } /** *Contains information about the debug session for this build.
*/ inline void SetDebugSession(const DebugSession& value) { m_debugSessionHasBeenSet = true; m_debugSession = value; } /** *Contains information about the debug session for this build.
*/ inline void SetDebugSession(DebugSession&& value) { m_debugSessionHasBeenSet = true; m_debugSession = std::move(value); } /** *Contains information about the debug session for this build.
*/ inline Build& WithDebugSession(const DebugSession& value) { SetDebugSession(value); return *this;} /** *Contains information about the debug session for this build.
*/ inline Build& WithDebugSession(DebugSession&& value) { SetDebugSession(std::move(value)); return *this;} /** *The ARN of the batch build that this build is a member of, if applicable.
*/ inline const Aws::String& GetBuildBatchArn() const{ return m_buildBatchArn; } /** *The ARN of the batch build that this build is a member of, if applicable.
*/ inline bool BuildBatchArnHasBeenSet() const { return m_buildBatchArnHasBeenSet; } /** *The ARN of the batch build that this build is a member of, if applicable.
*/ inline void SetBuildBatchArn(const Aws::String& value) { m_buildBatchArnHasBeenSet = true; m_buildBatchArn = value; } /** *The ARN of the batch build that this build is a member of, if applicable.
*/ inline void SetBuildBatchArn(Aws::String&& value) { m_buildBatchArnHasBeenSet = true; m_buildBatchArn = std::move(value); } /** *The ARN of the batch build that this build is a member of, if applicable.
*/ inline void SetBuildBatchArn(const char* value) { m_buildBatchArnHasBeenSet = true; m_buildBatchArn.assign(value); } /** *The ARN of the batch build that this build is a member of, if applicable.
*/ inline Build& WithBuildBatchArn(const Aws::String& value) { SetBuildBatchArn(value); return *this;} /** *The ARN of the batch build that this build is a member of, if applicable.
*/ inline Build& WithBuildBatchArn(Aws::String&& value) { SetBuildBatchArn(std::move(value)); return *this;} /** *The ARN of the batch build that this build is a member of, if applicable.
*/ inline Build& WithBuildBatchArn(const char* value) { SetBuildBatchArn(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; long long m_buildNumber; bool m_buildNumberHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_currentPhase; bool m_currentPhaseHasBeenSet = false; StatusType m_buildStatus; bool m_buildStatusHasBeenSet = false; Aws::String m_sourceVersion; bool m_sourceVersionHasBeenSet = false; Aws::String m_resolvedSourceVersion; bool m_resolvedSourceVersionHasBeenSet = false; Aws::String m_projectName; bool m_projectNameHasBeenSet = false; Aws::Vector