AWS SDK for C++  1.8.78
AWS SDK for C++
Public Member Functions | List of all members
Aws::CodeBuild::Model::Build Class Reference

#include <Build.h>

Public Member Functions

 Build ()
 
 Build (Aws::Utils::Json::JsonView jsonValue)
 
Buildoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
BuildWithId (const Aws::String &value)
 
BuildWithId (Aws::String &&value)
 
BuildWithId (const char *value)
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
BuildWithArn (const Aws::String &value)
 
BuildWithArn (Aws::String &&value)
 
BuildWithArn (const char *value)
 
long long GetBuildNumber () const
 
bool BuildNumberHasBeenSet () const
 
void SetBuildNumber (long long value)
 
BuildWithBuildNumber (long long value)
 
const Aws::Utils::DateTimeGetStartTime () const
 
bool StartTimeHasBeenSet () const
 
void SetStartTime (const Aws::Utils::DateTime &value)
 
void SetStartTime (Aws::Utils::DateTime &&value)
 
BuildWithStartTime (const Aws::Utils::DateTime &value)
 
BuildWithStartTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetEndTime () const
 
bool EndTimeHasBeenSet () const
 
void SetEndTime (const Aws::Utils::DateTime &value)
 
void SetEndTime (Aws::Utils::DateTime &&value)
 
BuildWithEndTime (const Aws::Utils::DateTime &value)
 
BuildWithEndTime (Aws::Utils::DateTime &&value)
 
const Aws::StringGetCurrentPhase () const
 
bool CurrentPhaseHasBeenSet () const
 
void SetCurrentPhase (const Aws::String &value)
 
void SetCurrentPhase (Aws::String &&value)
 
void SetCurrentPhase (const char *value)
 
BuildWithCurrentPhase (const Aws::String &value)
 
BuildWithCurrentPhase (Aws::String &&value)
 
BuildWithCurrentPhase (const char *value)
 
const StatusTypeGetBuildStatus () const
 
bool BuildStatusHasBeenSet () const
 
void SetBuildStatus (const StatusType &value)
 
void SetBuildStatus (StatusType &&value)
 
BuildWithBuildStatus (const StatusType &value)
 
BuildWithBuildStatus (StatusType &&value)
 
const Aws::StringGetSourceVersion () const
 
bool SourceVersionHasBeenSet () const
 
void SetSourceVersion (const Aws::String &value)
 
void SetSourceVersion (Aws::String &&value)
 
void SetSourceVersion (const char *value)
 
BuildWithSourceVersion (const Aws::String &value)
 
BuildWithSourceVersion (Aws::String &&value)
 
BuildWithSourceVersion (const char *value)
 
const Aws::StringGetResolvedSourceVersion () const
 
bool ResolvedSourceVersionHasBeenSet () const
 
void SetResolvedSourceVersion (const Aws::String &value)
 
void SetResolvedSourceVersion (Aws::String &&value)
 
void SetResolvedSourceVersion (const char *value)
 
BuildWithResolvedSourceVersion (const Aws::String &value)
 
BuildWithResolvedSourceVersion (Aws::String &&value)
 
BuildWithResolvedSourceVersion (const char *value)
 
const Aws::StringGetProjectName () const
 
bool ProjectNameHasBeenSet () const
 
void SetProjectName (const Aws::String &value)
 
void SetProjectName (Aws::String &&value)
 
void SetProjectName (const char *value)
 
BuildWithProjectName (const Aws::String &value)
 
BuildWithProjectName (Aws::String &&value)
 
BuildWithProjectName (const char *value)
 
const Aws::Vector< BuildPhase > & GetPhases () const
 
bool PhasesHasBeenSet () const
 
void SetPhases (const Aws::Vector< BuildPhase > &value)
 
void SetPhases (Aws::Vector< BuildPhase > &&value)
 
BuildWithPhases (const Aws::Vector< BuildPhase > &value)
 
BuildWithPhases (Aws::Vector< BuildPhase > &&value)
 
BuildAddPhases (const BuildPhase &value)
 
BuildAddPhases (BuildPhase &&value)
 
const ProjectSourceGetSource () const
 
bool SourceHasBeenSet () const
 
void SetSource (const ProjectSource &value)
 
void SetSource (ProjectSource &&value)
 
BuildWithSource (const ProjectSource &value)
 
BuildWithSource (ProjectSource &&value)
 
const Aws::Vector< ProjectSource > & GetSecondarySources () const
 
bool SecondarySourcesHasBeenSet () const
 
void SetSecondarySources (const Aws::Vector< ProjectSource > &value)
 
void SetSecondarySources (Aws::Vector< ProjectSource > &&value)
 
BuildWithSecondarySources (const Aws::Vector< ProjectSource > &value)
 
BuildWithSecondarySources (Aws::Vector< ProjectSource > &&value)
 
BuildAddSecondarySources (const ProjectSource &value)
 
BuildAddSecondarySources (ProjectSource &&value)
 
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions () const
 
bool SecondarySourceVersionsHasBeenSet () const
 
void SetSecondarySourceVersions (const Aws::Vector< ProjectSourceVersion > &value)
 
void SetSecondarySourceVersions (Aws::Vector< ProjectSourceVersion > &&value)
 
BuildWithSecondarySourceVersions (const Aws::Vector< ProjectSourceVersion > &value)
 
BuildWithSecondarySourceVersions (Aws::Vector< ProjectSourceVersion > &&value)
 
BuildAddSecondarySourceVersions (const ProjectSourceVersion &value)
 
BuildAddSecondarySourceVersions (ProjectSourceVersion &&value)
 
const BuildArtifactsGetArtifacts () const
 
bool ArtifactsHasBeenSet () const
 
void SetArtifacts (const BuildArtifacts &value)
 
void SetArtifacts (BuildArtifacts &&value)
 
BuildWithArtifacts (const BuildArtifacts &value)
 
BuildWithArtifacts (BuildArtifacts &&value)
 
const Aws::Vector< BuildArtifacts > & GetSecondaryArtifacts () const
 
bool SecondaryArtifactsHasBeenSet () const
 
void SetSecondaryArtifacts (const Aws::Vector< BuildArtifacts > &value)
 
void SetSecondaryArtifacts (Aws::Vector< BuildArtifacts > &&value)
 
BuildWithSecondaryArtifacts (const Aws::Vector< BuildArtifacts > &value)
 
BuildWithSecondaryArtifacts (Aws::Vector< BuildArtifacts > &&value)
 
BuildAddSecondaryArtifacts (const BuildArtifacts &value)
 
BuildAddSecondaryArtifacts (BuildArtifacts &&value)
 
const ProjectCacheGetCache () const
 
bool CacheHasBeenSet () const
 
void SetCache (const ProjectCache &value)
 
void SetCache (ProjectCache &&value)
 
BuildWithCache (const ProjectCache &value)
 
BuildWithCache (ProjectCache &&value)
 
const ProjectEnvironmentGetEnvironment () const
 
bool EnvironmentHasBeenSet () const
 
void SetEnvironment (const ProjectEnvironment &value)
 
void SetEnvironment (ProjectEnvironment &&value)
 
BuildWithEnvironment (const ProjectEnvironment &value)
 
BuildWithEnvironment (ProjectEnvironment &&value)
 
const Aws::StringGetServiceRole () const
 
bool ServiceRoleHasBeenSet () const
 
void SetServiceRole (const Aws::String &value)
 
void SetServiceRole (Aws::String &&value)
 
void SetServiceRole (const char *value)
 
BuildWithServiceRole (const Aws::String &value)
 
BuildWithServiceRole (Aws::String &&value)
 
BuildWithServiceRole (const char *value)
 
const LogsLocationGetLogs () const
 
bool LogsHasBeenSet () const
 
void SetLogs (const LogsLocation &value)
 
void SetLogs (LogsLocation &&value)
 
BuildWithLogs (const LogsLocation &value)
 
BuildWithLogs (LogsLocation &&value)
 
int GetTimeoutInMinutes () const
 
bool TimeoutInMinutesHasBeenSet () const
 
void SetTimeoutInMinutes (int value)
 
BuildWithTimeoutInMinutes (int value)
 
int GetQueuedTimeoutInMinutes () const
 
bool QueuedTimeoutInMinutesHasBeenSet () const
 
void SetQueuedTimeoutInMinutes (int value)
 
BuildWithQueuedTimeoutInMinutes (int value)
 
bool GetBuildComplete () const
 
bool BuildCompleteHasBeenSet () const
 
void SetBuildComplete (bool value)
 
BuildWithBuildComplete (bool value)
 
const Aws::StringGetInitiator () const
 
bool InitiatorHasBeenSet () const
 
void SetInitiator (const Aws::String &value)
 
void SetInitiator (Aws::String &&value)
 
void SetInitiator (const char *value)
 
BuildWithInitiator (const Aws::String &value)
 
BuildWithInitiator (Aws::String &&value)
 
BuildWithInitiator (const char *value)
 
const VpcConfigGetVpcConfig () const
 
bool VpcConfigHasBeenSet () const
 
void SetVpcConfig (const VpcConfig &value)
 
void SetVpcConfig (VpcConfig &&value)
 
BuildWithVpcConfig (const VpcConfig &value)
 
BuildWithVpcConfig (VpcConfig &&value)
 
const NetworkInterfaceGetNetworkInterface () const
 
bool NetworkInterfaceHasBeenSet () const
 
void SetNetworkInterface (const NetworkInterface &value)
 
void SetNetworkInterface (NetworkInterface &&value)
 
BuildWithNetworkInterface (const NetworkInterface &value)
 
BuildWithNetworkInterface (NetworkInterface &&value)
 
const Aws::StringGetEncryptionKey () const
 
bool EncryptionKeyHasBeenSet () const
 
void SetEncryptionKey (const Aws::String &value)
 
void SetEncryptionKey (Aws::String &&value)
 
void SetEncryptionKey (const char *value)
 
BuildWithEncryptionKey (const Aws::String &value)
 
BuildWithEncryptionKey (Aws::String &&value)
 
BuildWithEncryptionKey (const char *value)
 
const Aws::Vector< ExportedEnvironmentVariable > & GetExportedEnvironmentVariables () const
 
bool ExportedEnvironmentVariablesHasBeenSet () const
 
void SetExportedEnvironmentVariables (const Aws::Vector< ExportedEnvironmentVariable > &value)
 
void SetExportedEnvironmentVariables (Aws::Vector< ExportedEnvironmentVariable > &&value)
 
BuildWithExportedEnvironmentVariables (const Aws::Vector< ExportedEnvironmentVariable > &value)
 
BuildWithExportedEnvironmentVariables (Aws::Vector< ExportedEnvironmentVariable > &&value)
 
BuildAddExportedEnvironmentVariables (const ExportedEnvironmentVariable &value)
 
BuildAddExportedEnvironmentVariables (ExportedEnvironmentVariable &&value)
 
const Aws::Vector< Aws::String > & GetReportArns () const
 
bool ReportArnsHasBeenSet () const
 
void SetReportArns (const Aws::Vector< Aws::String > &value)
 
void SetReportArns (Aws::Vector< Aws::String > &&value)
 
BuildWithReportArns (const Aws::Vector< Aws::String > &value)
 
BuildWithReportArns (Aws::Vector< Aws::String > &&value)
 
BuildAddReportArns (const Aws::String &value)
 
BuildAddReportArns (Aws::String &&value)
 
BuildAddReportArns (const char *value)
 
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations () const
 
bool FileSystemLocationsHasBeenSet () const
 
void SetFileSystemLocations (const Aws::Vector< ProjectFileSystemLocation > &value)
 
void SetFileSystemLocations (Aws::Vector< ProjectFileSystemLocation > &&value)
 
BuildWithFileSystemLocations (const Aws::Vector< ProjectFileSystemLocation > &value)
 
BuildWithFileSystemLocations (Aws::Vector< ProjectFileSystemLocation > &&value)
 
BuildAddFileSystemLocations (const ProjectFileSystemLocation &value)
 
BuildAddFileSystemLocations (ProjectFileSystemLocation &&value)
 
const DebugSessionGetDebugSession () const
 
bool DebugSessionHasBeenSet () const
 
void SetDebugSession (const DebugSession &value)
 
void SetDebugSession (DebugSession &&value)
 
BuildWithDebugSession (const DebugSession &value)
 
BuildWithDebugSession (DebugSession &&value)
 
const Aws::StringGetBuildBatchArn () const
 
bool BuildBatchArnHasBeenSet () const
 
void SetBuildBatchArn (const Aws::String &value)
 
void SetBuildBatchArn (Aws::String &&value)
 
void SetBuildBatchArn (const char *value)
 
BuildWithBuildBatchArn (const Aws::String &value)
 
BuildWithBuildBatchArn (Aws::String &&value)
 
BuildWithBuildBatchArn (const char *value)
 

Detailed Description

Information about a build.

See Also:

AWS API Reference

Definition at line 46 of file Build.h.

Constructor & Destructor Documentation

◆ Build() [1/2]

Aws::CodeBuild::Model::Build::Build ( )

◆ Build() [2/2]

Aws::CodeBuild::Model::Build::Build ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddExportedEnvironmentVariables() [1/2]

Build& Aws::CodeBuild::Model::Build::AddExportedEnvironmentVariables ( const ExportedEnvironmentVariable value)
inline

A list of exported environment variables for this build.

Definition at line 1355 of file Build.h.

◆ AddExportedEnvironmentVariables() [2/2]

Build& Aws::CodeBuild::Model::Build::AddExportedEnvironmentVariables ( ExportedEnvironmentVariable &&  value)
inline

A list of exported environment variables for this build.

Definition at line 1360 of file Build.h.

◆ AddFileSystemLocations() [1/2]

Build& Aws::CodeBuild::Model::Build::AddFileSystemLocations ( const ProjectFileSystemLocation value)
inline

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.

Definition at line 1470 of file Build.h.

◆ AddFileSystemLocations() [2/2]

Build& Aws::CodeBuild::Model::Build::AddFileSystemLocations ( ProjectFileSystemLocation &&  value)
inline

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.

Definition at line 1479 of file Build.h.

◆ AddPhases() [1/2]

Build& Aws::CodeBuild::Model::Build::AddPhases ( const BuildPhase value)
inline

Information about all previous build phases that are complete and information about any current build phase that is not yet complete.

Definition at line 569 of file Build.h.

◆ AddPhases() [2/2]

Build& Aws::CodeBuild::Model::Build::AddPhases ( BuildPhase &&  value)
inline

Information about all previous build phases that are complete and information about any current build phase that is not yet complete.

Definition at line 575 of file Build.h.

◆ AddReportArns() [1/3]

Build& Aws::CodeBuild::Model::Build::AddReportArns ( const Aws::String value)
inline

An array of the ARNs associated with this build's reports.

Definition at line 1396 of file Build.h.

◆ AddReportArns() [2/3]

Build& Aws::CodeBuild::Model::Build::AddReportArns ( Aws::String &&  value)
inline

An array of the ARNs associated with this build's reports.

Definition at line 1401 of file Build.h.

◆ AddReportArns() [3/3]

Build& Aws::CodeBuild::Model::Build::AddReportArns ( const char *  value)
inline

An array of the ARNs associated with this build's reports.

Definition at line 1406 of file Build.h.

◆ AddSecondaryArtifacts() [1/2]

Build& Aws::CodeBuild::Model::Build::AddSecondaryArtifacts ( const BuildArtifacts value)
inline

An array of ProjectArtifacts objects.

Definition at line 859 of file Build.h.

◆ AddSecondaryArtifacts() [2/2]

Build& Aws::CodeBuild::Model::Build::AddSecondaryArtifacts ( BuildArtifacts &&  value)
inline

An array of ProjectArtifacts objects.

Definition at line 864 of file Build.h.

◆ AddSecondarySources() [1/2]

Build& Aws::CodeBuild::Model::Build::AddSecondarySources ( const ProjectSource value)
inline

An array of ProjectSource objects.

Definition at line 642 of file Build.h.

◆ AddSecondarySources() [2/2]

Build& Aws::CodeBuild::Model::Build::AddSecondarySources ( ProjectSource &&  value)
inline

An array of ProjectSource objects.

Definition at line 647 of file Build.h.

◆ AddSecondarySourceVersions() [1/2]

Build& Aws::CodeBuild::Model::Build::AddSecondarySourceVersions ( const ProjectSourceVersion value)
inline

An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of:

  • For AWS 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 Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.

Definition at line 774 of file Build.h.

◆ AddSecondarySourceVersions() [2/2]

Build& Aws::CodeBuild::Model::Build::AddSecondarySourceVersions ( ProjectSourceVersion &&  value)
inline

An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of:

  • For AWS 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 Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.

Definition at line 792 of file Build.h.

◆ ArnHasBeenSet()

bool Aws::CodeBuild::Model::Build::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the build.

Definition at line 104 of file Build.h.

◆ ArtifactsHasBeenSet()

bool Aws::CodeBuild::Model::Build::ArtifactsHasBeenSet ( ) const
inline

Information about the output artifacts for the build.

Definition at line 803 of file Build.h.

◆ BuildBatchArnHasBeenSet()

bool Aws::CodeBuild::Model::Build::BuildBatchArnHasBeenSet ( ) const
inline

The ARN of the batch build that this build is a member of, if applicable.

Definition at line 1521 of file Build.h.

◆ BuildCompleteHasBeenSet()

bool Aws::CodeBuild::Model::Build::BuildCompleteHasBeenSet ( ) const
inline

Whether the build is complete. True if complete; otherwise, false.

Definition at line 1059 of file Build.h.

◆ BuildNumberHasBeenSet()

bool Aws::CodeBuild::Model::Build::BuildNumberHasBeenSet ( ) const
inline

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.

Definition at line 151 of file Build.h.

◆ BuildStatusHasBeenSet()

bool Aws::CodeBuild::Model::Build::BuildStatusHasBeenSet ( ) const
inline

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.

Definition at line 291 of file Build.h.

◆ CacheHasBeenSet()

bool Aws::CodeBuild::Model::Build::CacheHasBeenSet ( ) const
inline

Information about the cache for the build.

Definition at line 875 of file Build.h.

◆ CurrentPhaseHasBeenSet()

bool Aws::CodeBuild::Model::Build::CurrentPhaseHasBeenSet ( ) const
inline

The current build phase.

Definition at line 240 of file Build.h.

◆ DebugSessionHasBeenSet()

bool Aws::CodeBuild::Model::Build::DebugSessionHasBeenSet ( ) const
inline

Contains information about the debug session for this build.

Definition at line 1490 of file Build.h.

◆ EncryptionKeyHasBeenSet()

bool Aws::CodeBuild::Model::Build::EncryptionKeyHasBeenSet ( ) const
inline

The AWS Key Management Service (AWS KMS) 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>).

Definition at line 1259 of file Build.h.

◆ EndTimeHasBeenSet()

bool Aws::CodeBuild::Model::Build::EndTimeHasBeenSet ( ) const
inline

When the build process ended, expressed in Unix time format.

Definition at line 209 of file Build.h.

◆ EnvironmentHasBeenSet()

bool Aws::CodeBuild::Model::Build::EnvironmentHasBeenSet ( ) const
inline

Information about the build environment for this build.

Definition at line 906 of file Build.h.

◆ ExportedEnvironmentVariablesHasBeenSet()

bool Aws::CodeBuild::Model::Build::ExportedEnvironmentVariablesHasBeenSet ( ) const
inline

A list of exported environment variables for this build.

Definition at line 1330 of file Build.h.

◆ FileSystemLocationsHasBeenSet()

bool Aws::CodeBuild::Model::Build::FileSystemLocationsHasBeenSet ( ) const
inline

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.

Definition at line 1425 of file Build.h.

◆ GetArn()

const Aws::String& Aws::CodeBuild::Model::Build::GetArn ( ) const
inline

The Amazon Resource Name (ARN) of the build.

Definition at line 99 of file Build.h.

◆ GetArtifacts()

const BuildArtifacts& Aws::CodeBuild::Model::Build::GetArtifacts ( ) const
inline

Information about the output artifacts for the build.

Definition at line 798 of file Build.h.

◆ GetBuildBatchArn()

const Aws::String& Aws::CodeBuild::Model::Build::GetBuildBatchArn ( ) const
inline

The ARN of the batch build that this build is a member of, if applicable.

Definition at line 1516 of file Build.h.

◆ GetBuildComplete()

bool Aws::CodeBuild::Model::Build::GetBuildComplete ( ) const
inline

Whether the build is complete. True if complete; otherwise, false.

Definition at line 1054 of file Build.h.

◆ GetBuildNumber()

long long Aws::CodeBuild::Model::Build::GetBuildNumber ( ) const
inline

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.

Definition at line 143 of file Build.h.

◆ GetBuildStatus()

const StatusType& Aws::CodeBuild::Model::Build::GetBuildStatus ( ) const
inline

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.

Definition at line 281 of file Build.h.

◆ GetCache()

const ProjectCache& Aws::CodeBuild::Model::Build::GetCache ( ) const
inline

Information about the cache for the build.

Definition at line 870 of file Build.h.

◆ GetCurrentPhase()

const Aws::String& Aws::CodeBuild::Model::Build::GetCurrentPhase ( ) const
inline

The current build phase.

Definition at line 235 of file Build.h.

◆ GetDebugSession()

const DebugSession& Aws::CodeBuild::Model::Build::GetDebugSession ( ) const
inline

Contains information about the debug session for this build.

Definition at line 1485 of file Build.h.

◆ GetEncryptionKey()

const Aws::String& Aws::CodeBuild::Model::Build::GetEncryptionKey ( ) const
inline

The AWS Key Management Service (AWS KMS) 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>).

Definition at line 1249 of file Build.h.

◆ GetEndTime()

const Aws::Utils::DateTime& Aws::CodeBuild::Model::Build::GetEndTime ( ) const
inline

When the build process ended, expressed in Unix time format.

Definition at line 204 of file Build.h.

◆ GetEnvironment()

const ProjectEnvironment& Aws::CodeBuild::Model::Build::GetEnvironment ( ) const
inline

Information about the build environment for this build.

Definition at line 901 of file Build.h.

◆ GetExportedEnvironmentVariables()

const Aws::Vector<ExportedEnvironmentVariable>& Aws::CodeBuild::Model::Build::GetExportedEnvironmentVariables ( ) const
inline

A list of exported environment variables for this build.

Definition at line 1325 of file Build.h.

◆ GetFileSystemLocations()

const Aws::Vector<ProjectFileSystemLocation>& Aws::CodeBuild::Model::Build::GetFileSystemLocations ( ) const
inline

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.

Definition at line 1416 of file Build.h.

◆ GetId()

const Aws::String& Aws::CodeBuild::Model::Build::GetId ( ) const
inline

The unique ID for the build.

Definition at line 58 of file Build.h.

◆ GetInitiator()

const Aws::String& Aws::CodeBuild::Model::Build::GetInitiator ( ) const
inline

The entity that started the build. Valid values include:

  • If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example, MyUserName).

  • If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Definition at line 1081 of file Build.h.

◆ GetLogs()

const LogsLocation& Aws::CodeBuild::Model::Build::GetLogs ( ) const
inline

Information about the build's logs in Amazon CloudWatch Logs.

Definition at line 973 of file Build.h.

◆ GetNetworkInterface()

const NetworkInterface& Aws::CodeBuild::Model::Build::GetNetworkInterface ( ) const
inline

Describes a network interface.

Definition at line 1213 of file Build.h.

◆ GetPhases()

const Aws::Vector<BuildPhase>& Aws::CodeBuild::Model::Build::GetPhases ( ) const
inline

Information about all previous build phases that are complete and information about any current build phase that is not yet complete.

Definition at line 533 of file Build.h.

◆ GetProjectName()

const Aws::String& Aws::CodeBuild::Model::Build::GetProjectName ( ) const
inline

The name of the AWS CodeBuild project.

Definition at line 491 of file Build.h.

◆ GetQueuedTimeoutInMinutes()

int Aws::CodeBuild::Model::Build::GetQueuedTimeoutInMinutes ( ) const
inline

The number of minutes a build is allowed to be queued before it times out.

Definition at line 1030 of file Build.h.

◆ GetReportArns()

const Aws::Vector<Aws::String>& Aws::CodeBuild::Model::Build::GetReportArns ( ) const
inline

An array of the ARNs associated with this build's reports.

Definition at line 1366 of file Build.h.

◆ GetResolvedSourceVersion()

const Aws::String& Aws::CodeBuild::Model::Build::GetResolvedSourceVersion ( ) const
inline

An identifier for the version of this build's source code.

  • For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

  • For AWS CodePipeline, the source revision provided by AWS CodePipeline.

  • For Amazon Simple Storage Service (Amazon S3), this does not apply.

Definition at line 422 of file Build.h.

◆ GetSecondaryArtifacts()

const Aws::Vector<BuildArtifacts>& Aws::CodeBuild::Model::Build::GetSecondaryArtifacts ( ) const
inline

An array of ProjectArtifacts objects.

Definition at line 829 of file Build.h.

◆ GetSecondarySources()

const Aws::Vector<ProjectSource>& Aws::CodeBuild::Model::Build::GetSecondarySources ( ) const
inline

An array of ProjectSource objects.

Definition at line 612 of file Build.h.

◆ GetSecondarySourceVersions()

const Aws::Vector<ProjectSourceVersion>& Aws::CodeBuild::Model::Build::GetSecondarySourceVersions ( ) const
inline

An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of:

  • For AWS 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 Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.

Definition at line 666 of file Build.h.

◆ GetServiceRole()

const Aws::String& Aws::CodeBuild::Model::Build::GetServiceRole ( ) const
inline

The name of a service role used for this build.

Definition at line 932 of file Build.h.

◆ GetSource()

const ProjectSource& Aws::CodeBuild::Model::Build::GetSource ( ) const
inline

Information about the source code to be built.

Definition at line 581 of file Build.h.

◆ GetSourceVersion()

const Aws::String& Aws::CodeBuild::Model::Build::GetSourceVersion ( ) const
inline

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 AWS CodeBuild User Guide.

Definition at line 342 of file Build.h.

◆ GetStartTime()

const Aws::Utils::DateTime& Aws::CodeBuild::Model::Build::GetStartTime ( ) const
inline

When the build process started, expressed in Unix time format.

Definition at line 173 of file Build.h.

◆ GetTimeoutInMinutes()

int Aws::CodeBuild::Model::Build::GetTimeoutInMinutes ( ) const
inline

How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not get marked as completed.

Definition at line 1005 of file Build.h.

◆ GetVpcConfig()

const VpcConfig& Aws::CodeBuild::Model::Build::GetVpcConfig ( ) const
inline

If your AWS 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.

Definition at line 1167 of file Build.h.

◆ IdHasBeenSet()

bool Aws::CodeBuild::Model::Build::IdHasBeenSet ( ) const
inline

The unique ID for the build.

Definition at line 63 of file Build.h.

◆ InitiatorHasBeenSet()

bool Aws::CodeBuild::Model::Build::InitiatorHasBeenSet ( ) const
inline

The entity that started the build. Valid values include:

  • If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example, MyUserName).

  • If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Definition at line 1092 of file Build.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::CodeBuild::Model::Build::Jsonize ( ) const

◆ LogsHasBeenSet()

bool Aws::CodeBuild::Model::Build::LogsHasBeenSet ( ) const
inline

Information about the build's logs in Amazon CloudWatch Logs.

Definition at line 978 of file Build.h.

◆ NetworkInterfaceHasBeenSet()

bool Aws::CodeBuild::Model::Build::NetworkInterfaceHasBeenSet ( ) const
inline

Describes a network interface.

Definition at line 1218 of file Build.h.

◆ operator=()

Build& Aws::CodeBuild::Model::Build::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PhasesHasBeenSet()

bool Aws::CodeBuild::Model::Build::PhasesHasBeenSet ( ) const
inline

Information about all previous build phases that are complete and information about any current build phase that is not yet complete.

Definition at line 539 of file Build.h.

◆ ProjectNameHasBeenSet()

bool Aws::CodeBuild::Model::Build::ProjectNameHasBeenSet ( ) const
inline

The name of the AWS CodeBuild project.

Definition at line 496 of file Build.h.

◆ QueuedTimeoutInMinutesHasBeenSet()

bool Aws::CodeBuild::Model::Build::QueuedTimeoutInMinutesHasBeenSet ( ) const
inline

The number of minutes a build is allowed to be queued before it times out.

Definition at line 1036 of file Build.h.

◆ ReportArnsHasBeenSet()

bool Aws::CodeBuild::Model::Build::ReportArnsHasBeenSet ( ) const
inline

An array of the ARNs associated with this build's reports.

Definition at line 1371 of file Build.h.

◆ ResolvedSourceVersionHasBeenSet()

bool Aws::CodeBuild::Model::Build::ResolvedSourceVersionHasBeenSet ( ) const
inline

An identifier for the version of this build's source code.

  • For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

  • For AWS CodePipeline, the source revision provided by AWS CodePipeline.

  • For Amazon Simple Storage Service (Amazon S3), this does not apply.

Definition at line 431 of file Build.h.

◆ SecondaryArtifactsHasBeenSet()

bool Aws::CodeBuild::Model::Build::SecondaryArtifactsHasBeenSet ( ) const
inline

An array of ProjectArtifacts objects.

Definition at line 834 of file Build.h.

◆ SecondarySourcesHasBeenSet()

bool Aws::CodeBuild::Model::Build::SecondarySourcesHasBeenSet ( ) const
inline

An array of ProjectSource objects.

Definition at line 617 of file Build.h.

◆ SecondarySourceVersionsHasBeenSet()

bool Aws::CodeBuild::Model::Build::SecondarySourceVersionsHasBeenSet ( ) const
inline

An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of:

  • For AWS 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 Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.

Definition at line 684 of file Build.h.

◆ ServiceRoleHasBeenSet()

bool Aws::CodeBuild::Model::Build::ServiceRoleHasBeenSet ( ) const
inline

The name of a service role used for this build.

Definition at line 937 of file Build.h.

◆ SetArn() [1/3]

void Aws::CodeBuild::Model::Build::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the build.

Definition at line 109 of file Build.h.

◆ SetArn() [2/3]

void Aws::CodeBuild::Model::Build::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the build.

Definition at line 114 of file Build.h.

◆ SetArn() [3/3]

void Aws::CodeBuild::Model::Build::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the build.

Definition at line 119 of file Build.h.

◆ SetArtifacts() [1/2]

void Aws::CodeBuild::Model::Build::SetArtifacts ( const BuildArtifacts value)
inline

Information about the output artifacts for the build.

Definition at line 808 of file Build.h.

◆ SetArtifacts() [2/2]

void Aws::CodeBuild::Model::Build::SetArtifacts ( BuildArtifacts &&  value)
inline

Information about the output artifacts for the build.

Definition at line 813 of file Build.h.

◆ SetBuildBatchArn() [1/3]

void Aws::CodeBuild::Model::Build::SetBuildBatchArn ( const Aws::String value)
inline

The ARN of the batch build that this build is a member of, if applicable.

Definition at line 1526 of file Build.h.

◆ SetBuildBatchArn() [2/3]

void Aws::CodeBuild::Model::Build::SetBuildBatchArn ( Aws::String &&  value)
inline

The ARN of the batch build that this build is a member of, if applicable.

Definition at line 1531 of file Build.h.

◆ SetBuildBatchArn() [3/3]

void Aws::CodeBuild::Model::Build::SetBuildBatchArn ( const char *  value)
inline

The ARN of the batch build that this build is a member of, if applicable.

Definition at line 1536 of file Build.h.

◆ SetBuildComplete()

void Aws::CodeBuild::Model::Build::SetBuildComplete ( bool  value)
inline

Whether the build is complete. True if complete; otherwise, false.

Definition at line 1064 of file Build.h.

◆ SetBuildNumber()

void Aws::CodeBuild::Model::Build::SetBuildNumber ( long long  value)
inline

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.

Definition at line 159 of file Build.h.

◆ SetBuildStatus() [1/2]

void Aws::CodeBuild::Model::Build::SetBuildStatus ( const StatusType value)
inline

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.

Definition at line 301 of file Build.h.

◆ SetBuildStatus() [2/2]

void Aws::CodeBuild::Model::Build::SetBuildStatus ( StatusType &&  value)
inline

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.

Definition at line 311 of file Build.h.

◆ SetCache() [1/2]

void Aws::CodeBuild::Model::Build::SetCache ( const ProjectCache value)
inline

Information about the cache for the build.

Definition at line 880 of file Build.h.

◆ SetCache() [2/2]

void Aws::CodeBuild::Model::Build::SetCache ( ProjectCache &&  value)
inline

Information about the cache for the build.

Definition at line 885 of file Build.h.

◆ SetCurrentPhase() [1/3]

void Aws::CodeBuild::Model::Build::SetCurrentPhase ( const Aws::String value)
inline

The current build phase.

Definition at line 245 of file Build.h.

◆ SetCurrentPhase() [2/3]

void Aws::CodeBuild::Model::Build::SetCurrentPhase ( Aws::String &&  value)
inline

The current build phase.

Definition at line 250 of file Build.h.

◆ SetCurrentPhase() [3/3]

void Aws::CodeBuild::Model::Build::SetCurrentPhase ( const char *  value)
inline

The current build phase.

Definition at line 255 of file Build.h.

◆ SetDebugSession() [1/2]

void Aws::CodeBuild::Model::Build::SetDebugSession ( const DebugSession value)
inline

Contains information about the debug session for this build.

Definition at line 1495 of file Build.h.

◆ SetDebugSession() [2/2]

void Aws::CodeBuild::Model::Build::SetDebugSession ( DebugSession &&  value)
inline

Contains information about the debug session for this build.

Definition at line 1500 of file Build.h.

◆ SetEncryptionKey() [1/3]

void Aws::CodeBuild::Model::Build::SetEncryptionKey ( const Aws::String value)
inline

The AWS Key Management Service (AWS KMS) 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>).

Definition at line 1269 of file Build.h.

◆ SetEncryptionKey() [2/3]

void Aws::CodeBuild::Model::Build::SetEncryptionKey ( Aws::String &&  value)
inline

The AWS Key Management Service (AWS KMS) 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>).

Definition at line 1279 of file Build.h.

◆ SetEncryptionKey() [3/3]

void Aws::CodeBuild::Model::Build::SetEncryptionKey ( const char *  value)
inline

The AWS Key Management Service (AWS KMS) 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>).

Definition at line 1289 of file Build.h.

◆ SetEndTime() [1/2]

void Aws::CodeBuild::Model::Build::SetEndTime ( const Aws::Utils::DateTime value)
inline

When the build process ended, expressed in Unix time format.

Definition at line 214 of file Build.h.

◆ SetEndTime() [2/2]

void Aws::CodeBuild::Model::Build::SetEndTime ( Aws::Utils::DateTime &&  value)
inline

When the build process ended, expressed in Unix time format.

Definition at line 219 of file Build.h.

◆ SetEnvironment() [1/2]

void Aws::CodeBuild::Model::Build::SetEnvironment ( const ProjectEnvironment value)
inline

Information about the build environment for this build.

Definition at line 911 of file Build.h.

◆ SetEnvironment() [2/2]

void Aws::CodeBuild::Model::Build::SetEnvironment ( ProjectEnvironment &&  value)
inline

Information about the build environment for this build.

Definition at line 916 of file Build.h.

◆ SetExportedEnvironmentVariables() [1/2]

void Aws::CodeBuild::Model::Build::SetExportedEnvironmentVariables ( const Aws::Vector< ExportedEnvironmentVariable > &  value)
inline

A list of exported environment variables for this build.

Definition at line 1335 of file Build.h.

◆ SetExportedEnvironmentVariables() [2/2]

void Aws::CodeBuild::Model::Build::SetExportedEnvironmentVariables ( Aws::Vector< ExportedEnvironmentVariable > &&  value)
inline

A list of exported environment variables for this build.

Definition at line 1340 of file Build.h.

◆ SetFileSystemLocations() [1/2]

void Aws::CodeBuild::Model::Build::SetFileSystemLocations ( const Aws::Vector< ProjectFileSystemLocation > &  value)
inline

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.

Definition at line 1434 of file Build.h.

◆ SetFileSystemLocations() [2/2]

void Aws::CodeBuild::Model::Build::SetFileSystemLocations ( Aws::Vector< ProjectFileSystemLocation > &&  value)
inline

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.

Definition at line 1443 of file Build.h.

◆ SetId() [1/3]

void Aws::CodeBuild::Model::Build::SetId ( const Aws::String value)
inline

The unique ID for the build.

Definition at line 68 of file Build.h.

◆ SetId() [2/3]

void Aws::CodeBuild::Model::Build::SetId ( Aws::String &&  value)
inline

The unique ID for the build.

Definition at line 73 of file Build.h.

◆ SetId() [3/3]

void Aws::CodeBuild::Model::Build::SetId ( const char *  value)
inline

The unique ID for the build.

Definition at line 78 of file Build.h.

◆ SetInitiator() [1/3]

void Aws::CodeBuild::Model::Build::SetInitiator ( const Aws::String value)
inline

The entity that started the build. Valid values include:

  • If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example, MyUserName).

  • If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Definition at line 1103 of file Build.h.

◆ SetInitiator() [2/3]

void Aws::CodeBuild::Model::Build::SetInitiator ( Aws::String &&  value)
inline

The entity that started the build. Valid values include:

  • If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example, MyUserName).

  • If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Definition at line 1114 of file Build.h.

◆ SetInitiator() [3/3]

void Aws::CodeBuild::Model::Build::SetInitiator ( const char *  value)
inline

The entity that started the build. Valid values include:

  • If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example, MyUserName).

  • If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Definition at line 1125 of file Build.h.

◆ SetLogs() [1/2]

void Aws::CodeBuild::Model::Build::SetLogs ( const LogsLocation value)
inline

Information about the build's logs in Amazon CloudWatch Logs.

Definition at line 983 of file Build.h.

◆ SetLogs() [2/2]

void Aws::CodeBuild::Model::Build::SetLogs ( LogsLocation &&  value)
inline

Information about the build's logs in Amazon CloudWatch Logs.

Definition at line 988 of file Build.h.

◆ SetNetworkInterface() [1/2]

void Aws::CodeBuild::Model::Build::SetNetworkInterface ( const NetworkInterface value)
inline

Describes a network interface.

Definition at line 1223 of file Build.h.

◆ SetNetworkInterface() [2/2]

void Aws::CodeBuild::Model::Build::SetNetworkInterface ( NetworkInterface &&  value)
inline

Describes a network interface.

Definition at line 1228 of file Build.h.

◆ SetPhases() [1/2]

void Aws::CodeBuild::Model::Build::SetPhases ( const Aws::Vector< BuildPhase > &  value)
inline

Information about all previous build phases that are complete and information about any current build phase that is not yet complete.

Definition at line 545 of file Build.h.

◆ SetPhases() [2/2]

void Aws::CodeBuild::Model::Build::SetPhases ( Aws::Vector< BuildPhase > &&  value)
inline

Information about all previous build phases that are complete and information about any current build phase that is not yet complete.

Definition at line 551 of file Build.h.

◆ SetProjectName() [1/3]

void Aws::CodeBuild::Model::Build::SetProjectName ( const Aws::String value)
inline

The name of the AWS CodeBuild project.

Definition at line 501 of file Build.h.

◆ SetProjectName() [2/3]

void Aws::CodeBuild::Model::Build::SetProjectName ( Aws::String &&  value)
inline

The name of the AWS CodeBuild project.

Definition at line 506 of file Build.h.

◆ SetProjectName() [3/3]

void Aws::CodeBuild::Model::Build::SetProjectName ( const char *  value)
inline

The name of the AWS CodeBuild project.

Definition at line 511 of file Build.h.

◆ SetQueuedTimeoutInMinutes()

void Aws::CodeBuild::Model::Build::SetQueuedTimeoutInMinutes ( int  value)
inline

The number of minutes a build is allowed to be queued before it times out.

Definition at line 1042 of file Build.h.

◆ SetReportArns() [1/2]

void Aws::CodeBuild::Model::Build::SetReportArns ( const Aws::Vector< Aws::String > &  value)
inline

An array of the ARNs associated with this build's reports.

Definition at line 1376 of file Build.h.

◆ SetReportArns() [2/2]

void Aws::CodeBuild::Model::Build::SetReportArns ( Aws::Vector< Aws::String > &&  value)
inline

An array of the ARNs associated with this build's reports.

Definition at line 1381 of file Build.h.

◆ SetResolvedSourceVersion() [1/3]

void Aws::CodeBuild::Model::Build::SetResolvedSourceVersion ( const Aws::String value)
inline

An identifier for the version of this build's source code.

  • For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

  • For AWS CodePipeline, the source revision provided by AWS CodePipeline.

  • For Amazon Simple Storage Service (Amazon S3), this does not apply.

Definition at line 440 of file Build.h.

◆ SetResolvedSourceVersion() [2/3]

void Aws::CodeBuild::Model::Build::SetResolvedSourceVersion ( Aws::String &&  value)
inline

An identifier for the version of this build's source code.

  • For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

  • For AWS CodePipeline, the source revision provided by AWS CodePipeline.

  • For Amazon Simple Storage Service (Amazon S3), this does not apply.

Definition at line 449 of file Build.h.

◆ SetResolvedSourceVersion() [3/3]

void Aws::CodeBuild::Model::Build::SetResolvedSourceVersion ( const char *  value)
inline

An identifier for the version of this build's source code.

  • For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

  • For AWS CodePipeline, the source revision provided by AWS CodePipeline.

  • For Amazon Simple Storage Service (Amazon S3), this does not apply.

Definition at line 458 of file Build.h.

◆ SetSecondaryArtifacts() [1/2]

void Aws::CodeBuild::Model::Build::SetSecondaryArtifacts ( const Aws::Vector< BuildArtifacts > &  value)
inline

An array of ProjectArtifacts objects.

Definition at line 839 of file Build.h.

◆ SetSecondaryArtifacts() [2/2]

void Aws::CodeBuild::Model::Build::SetSecondaryArtifacts ( Aws::Vector< BuildArtifacts > &&  value)
inline

An array of ProjectArtifacts objects.

Definition at line 844 of file Build.h.

◆ SetSecondarySources() [1/2]

void Aws::CodeBuild::Model::Build::SetSecondarySources ( const Aws::Vector< ProjectSource > &  value)
inline

An array of ProjectSource objects.

Definition at line 622 of file Build.h.

◆ SetSecondarySources() [2/2]

void Aws::CodeBuild::Model::Build::SetSecondarySources ( Aws::Vector< ProjectSource > &&  value)
inline

An array of ProjectSource objects.

Definition at line 627 of file Build.h.

◆ SetSecondarySourceVersions() [1/2]

void Aws::CodeBuild::Model::Build::SetSecondarySourceVersions ( const Aws::Vector< ProjectSourceVersion > &  value)
inline

An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of:

  • For AWS 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 Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.

Definition at line 702 of file Build.h.

◆ SetSecondarySourceVersions() [2/2]

void Aws::CodeBuild::Model::Build::SetSecondarySourceVersions ( Aws::Vector< ProjectSourceVersion > &&  value)
inline

An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of:

  • For AWS 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 Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.

Definition at line 720 of file Build.h.

◆ SetServiceRole() [1/3]

void Aws::CodeBuild::Model::Build::SetServiceRole ( const Aws::String value)
inline

The name of a service role used for this build.

Definition at line 942 of file Build.h.

◆ SetServiceRole() [2/3]

void Aws::CodeBuild::Model::Build::SetServiceRole ( Aws::String &&  value)
inline

The name of a service role used for this build.

Definition at line 947 of file Build.h.

◆ SetServiceRole() [3/3]

void Aws::CodeBuild::Model::Build::SetServiceRole ( const char *  value)
inline

The name of a service role used for this build.

Definition at line 952 of file Build.h.

◆ SetSource() [1/2]

void Aws::CodeBuild::Model::Build::SetSource ( const ProjectSource value)
inline

Information about the source code to be built.

Definition at line 591 of file Build.h.

◆ SetSource() [2/2]

void Aws::CodeBuild::Model::Build::SetSource ( ProjectSource &&  value)
inline

Information about the source code to be built.

Definition at line 596 of file Build.h.

◆ SetSourceVersion() [1/3]

void Aws::CodeBuild::Model::Build::SetSourceVersion ( const Aws::String value)
inline

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 AWS CodeBuild User Guide.

Definition at line 362 of file Build.h.

◆ SetSourceVersion() [2/3]

void Aws::CodeBuild::Model::Build::SetSourceVersion ( Aws::String &&  value)
inline

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 AWS CodeBuild User Guide.

Definition at line 372 of file Build.h.

◆ SetSourceVersion() [3/3]

void Aws::CodeBuild::Model::Build::SetSourceVersion ( const char *  value)
inline

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 AWS CodeBuild User Guide.

Definition at line 382 of file Build.h.

◆ SetStartTime() [1/2]

void Aws::CodeBuild::Model::Build::SetStartTime ( const Aws::Utils::DateTime value)
inline

When the build process started, expressed in Unix time format.

Definition at line 183 of file Build.h.

◆ SetStartTime() [2/2]

void Aws::CodeBuild::Model::Build::SetStartTime ( Aws::Utils::DateTime &&  value)
inline

When the build process started, expressed in Unix time format.

Definition at line 188 of file Build.h.

◆ SetTimeoutInMinutes()

void Aws::CodeBuild::Model::Build::SetTimeoutInMinutes ( int  value)
inline

How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not get marked as completed.

Definition at line 1017 of file Build.h.

◆ SetVpcConfig() [1/2]

void Aws::CodeBuild::Model::Build::SetVpcConfig ( const VpcConfig value)
inline

If your AWS 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.

Definition at line 1183 of file Build.h.

◆ SetVpcConfig() [2/2]

void Aws::CodeBuild::Model::Build::SetVpcConfig ( VpcConfig &&  value)
inline

If your AWS 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.

Definition at line 1191 of file Build.h.

◆ SourceHasBeenSet()

bool Aws::CodeBuild::Model::Build::SourceHasBeenSet ( ) const
inline

Information about the source code to be built.

Definition at line 586 of file Build.h.

◆ SourceVersionHasBeenSet()

bool Aws::CodeBuild::Model::Build::SourceVersionHasBeenSet ( ) const
inline

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 AWS CodeBuild User Guide.

Definition at line 352 of file Build.h.

◆ StartTimeHasBeenSet()

bool Aws::CodeBuild::Model::Build::StartTimeHasBeenSet ( ) const
inline

When the build process started, expressed in Unix time format.

Definition at line 178 of file Build.h.

◆ TimeoutInMinutesHasBeenSet()

bool Aws::CodeBuild::Model::Build::TimeoutInMinutesHasBeenSet ( ) const
inline

How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not get marked as completed.

Definition at line 1011 of file Build.h.

◆ VpcConfigHasBeenSet()

bool Aws::CodeBuild::Model::Build::VpcConfigHasBeenSet ( ) const
inline

If your AWS 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.

Definition at line 1175 of file Build.h.

◆ WithArn() [1/3]

Build& Aws::CodeBuild::Model::Build::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the build.

Definition at line 124 of file Build.h.

◆ WithArn() [2/3]

Build& Aws::CodeBuild::Model::Build::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the build.

Definition at line 129 of file Build.h.

◆ WithArn() [3/3]

Build& Aws::CodeBuild::Model::Build::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the build.

Definition at line 134 of file Build.h.

◆ WithArtifacts() [1/2]

Build& Aws::CodeBuild::Model::Build::WithArtifacts ( const BuildArtifacts value)
inline

Information about the output artifacts for the build.

Definition at line 818 of file Build.h.

◆ WithArtifacts() [2/2]

Build& Aws::CodeBuild::Model::Build::WithArtifacts ( BuildArtifacts &&  value)
inline

Information about the output artifacts for the build.

Definition at line 823 of file Build.h.

◆ WithBuildBatchArn() [1/3]

Build& Aws::CodeBuild::Model::Build::WithBuildBatchArn ( const Aws::String value)
inline

The ARN of the batch build that this build is a member of, if applicable.

Definition at line 1541 of file Build.h.

◆ WithBuildBatchArn() [2/3]

Build& Aws::CodeBuild::Model::Build::WithBuildBatchArn ( Aws::String &&  value)
inline

The ARN of the batch build that this build is a member of, if applicable.

Definition at line 1546 of file Build.h.

◆ WithBuildBatchArn() [3/3]

Build& Aws::CodeBuild::Model::Build::WithBuildBatchArn ( const char *  value)
inline

The ARN of the batch build that this build is a member of, if applicable.

Definition at line 1551 of file Build.h.

◆ WithBuildComplete()

Build& Aws::CodeBuild::Model::Build::WithBuildComplete ( bool  value)
inline

Whether the build is complete. True if complete; otherwise, false.

Definition at line 1069 of file Build.h.

◆ WithBuildNumber()

Build& Aws::CodeBuild::Model::Build::WithBuildNumber ( long long  value)
inline

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.

Definition at line 167 of file Build.h.

◆ WithBuildStatus() [1/2]

Build& Aws::CodeBuild::Model::Build::WithBuildStatus ( const StatusType value)
inline

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.

Definition at line 321 of file Build.h.

◆ WithBuildStatus() [2/2]

Build& Aws::CodeBuild::Model::Build::WithBuildStatus ( StatusType &&  value)
inline

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.

Definition at line 331 of file Build.h.

◆ WithCache() [1/2]

Build& Aws::CodeBuild::Model::Build::WithCache ( const ProjectCache value)
inline

Information about the cache for the build.

Definition at line 890 of file Build.h.

◆ WithCache() [2/2]

Build& Aws::CodeBuild::Model::Build::WithCache ( ProjectCache &&  value)
inline

Information about the cache for the build.

Definition at line 895 of file Build.h.

◆ WithCurrentPhase() [1/3]

Build& Aws::CodeBuild::Model::Build::WithCurrentPhase ( const Aws::String value)
inline

The current build phase.

Definition at line 260 of file Build.h.

◆ WithCurrentPhase() [2/3]

Build& Aws::CodeBuild::Model::Build::WithCurrentPhase ( Aws::String &&  value)
inline

The current build phase.

Definition at line 265 of file Build.h.

◆ WithCurrentPhase() [3/3]

Build& Aws::CodeBuild::Model::Build::WithCurrentPhase ( const char *  value)
inline

The current build phase.

Definition at line 270 of file Build.h.

◆ WithDebugSession() [1/2]

Build& Aws::CodeBuild::Model::Build::WithDebugSession ( const DebugSession value)
inline

Contains information about the debug session for this build.

Definition at line 1505 of file Build.h.

◆ WithDebugSession() [2/2]

Build& Aws::CodeBuild::Model::Build::WithDebugSession ( DebugSession &&  value)
inline

Contains information about the debug session for this build.

Definition at line 1510 of file Build.h.

◆ WithEncryptionKey() [1/3]

Build& Aws::CodeBuild::Model::Build::WithEncryptionKey ( const Aws::String value)
inline

The AWS Key Management Service (AWS KMS) 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>).

Definition at line 1299 of file Build.h.

◆ WithEncryptionKey() [2/3]

Build& Aws::CodeBuild::Model::Build::WithEncryptionKey ( Aws::String &&  value)
inline

The AWS Key Management Service (AWS KMS) 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>).

Definition at line 1309 of file Build.h.

◆ WithEncryptionKey() [3/3]

Build& Aws::CodeBuild::Model::Build::WithEncryptionKey ( const char *  value)
inline

The AWS Key Management Service (AWS KMS) 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>).

Definition at line 1319 of file Build.h.

◆ WithEndTime() [1/2]

Build& Aws::CodeBuild::Model::Build::WithEndTime ( const Aws::Utils::DateTime value)
inline

When the build process ended, expressed in Unix time format.

Definition at line 224 of file Build.h.

◆ WithEndTime() [2/2]

Build& Aws::CodeBuild::Model::Build::WithEndTime ( Aws::Utils::DateTime &&  value)
inline

When the build process ended, expressed in Unix time format.

Definition at line 229 of file Build.h.

◆ WithEnvironment() [1/2]

Build& Aws::CodeBuild::Model::Build::WithEnvironment ( const ProjectEnvironment value)
inline

Information about the build environment for this build.

Definition at line 921 of file Build.h.

◆ WithEnvironment() [2/2]

Build& Aws::CodeBuild::Model::Build::WithEnvironment ( ProjectEnvironment &&  value)
inline

Information about the build environment for this build.

Definition at line 926 of file Build.h.

◆ WithExportedEnvironmentVariables() [1/2]

Build& Aws::CodeBuild::Model::Build::WithExportedEnvironmentVariables ( const Aws::Vector< ExportedEnvironmentVariable > &  value)
inline

A list of exported environment variables for this build.

Definition at line 1345 of file Build.h.

◆ WithExportedEnvironmentVariables() [2/2]

Build& Aws::CodeBuild::Model::Build::WithExportedEnvironmentVariables ( Aws::Vector< ExportedEnvironmentVariable > &&  value)
inline

A list of exported environment variables for this build.

Definition at line 1350 of file Build.h.

◆ WithFileSystemLocations() [1/2]

Build& Aws::CodeBuild::Model::Build::WithFileSystemLocations ( const Aws::Vector< ProjectFileSystemLocation > &  value)
inline

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.

Definition at line 1452 of file Build.h.

◆ WithFileSystemLocations() [2/2]

Build& Aws::CodeBuild::Model::Build::WithFileSystemLocations ( Aws::Vector< ProjectFileSystemLocation > &&  value)
inline

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.

Definition at line 1461 of file Build.h.

◆ WithId() [1/3]

Build& Aws::CodeBuild::Model::Build::WithId ( const Aws::String value)
inline

The unique ID for the build.

Definition at line 83 of file Build.h.

◆ WithId() [2/3]

Build& Aws::CodeBuild::Model::Build::WithId ( Aws::String &&  value)
inline

The unique ID for the build.

Definition at line 88 of file Build.h.

◆ WithId() [3/3]

Build& Aws::CodeBuild::Model::Build::WithId ( const char *  value)
inline

The unique ID for the build.

Definition at line 93 of file Build.h.

◆ WithInitiator() [1/3]

Build& Aws::CodeBuild::Model::Build::WithInitiator ( const Aws::String value)
inline

The entity that started the build. Valid values include:

  • If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example, MyUserName).

  • If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Definition at line 1136 of file Build.h.

◆ WithInitiator() [2/3]

Build& Aws::CodeBuild::Model::Build::WithInitiator ( Aws::String &&  value)
inline

The entity that started the build. Valid values include:

  • If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example, MyUserName).

  • If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Definition at line 1147 of file Build.h.

◆ WithInitiator() [3/3]

Build& Aws::CodeBuild::Model::Build::WithInitiator ( const char *  value)
inline

The entity that started the build. Valid values include:

  • If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example, MyUserName).

  • If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Definition at line 1158 of file Build.h.

◆ WithLogs() [1/2]

Build& Aws::CodeBuild::Model::Build::WithLogs ( const LogsLocation value)
inline

Information about the build's logs in Amazon CloudWatch Logs.

Definition at line 993 of file Build.h.

◆ WithLogs() [2/2]

Build& Aws::CodeBuild::Model::Build::WithLogs ( LogsLocation &&  value)
inline

Information about the build's logs in Amazon CloudWatch Logs.

Definition at line 998 of file Build.h.

◆ WithNetworkInterface() [1/2]

Build& Aws::CodeBuild::Model::Build::WithNetworkInterface ( const NetworkInterface value)
inline

Describes a network interface.

Definition at line 1233 of file Build.h.

◆ WithNetworkInterface() [2/2]

Build& Aws::CodeBuild::Model::Build::WithNetworkInterface ( NetworkInterface &&  value)
inline

Describes a network interface.

Definition at line 1238 of file Build.h.

◆ WithPhases() [1/2]

Build& Aws::CodeBuild::Model::Build::WithPhases ( const Aws::Vector< BuildPhase > &  value)
inline

Information about all previous build phases that are complete and information about any current build phase that is not yet complete.

Definition at line 557 of file Build.h.

◆ WithPhases() [2/2]

Build& Aws::CodeBuild::Model::Build::WithPhases ( Aws::Vector< BuildPhase > &&  value)
inline

Information about all previous build phases that are complete and information about any current build phase that is not yet complete.

Definition at line 563 of file Build.h.

◆ WithProjectName() [1/3]

Build& Aws::CodeBuild::Model::Build::WithProjectName ( const Aws::String value)
inline

The name of the AWS CodeBuild project.

Definition at line 516 of file Build.h.

◆ WithProjectName() [2/3]

Build& Aws::CodeBuild::Model::Build::WithProjectName ( Aws::String &&  value)
inline

The name of the AWS CodeBuild project.

Definition at line 521 of file Build.h.

◆ WithProjectName() [3/3]

Build& Aws::CodeBuild::Model::Build::WithProjectName ( const char *  value)
inline

The name of the AWS CodeBuild project.

Definition at line 526 of file Build.h.

◆ WithQueuedTimeoutInMinutes()

Build& Aws::CodeBuild::Model::Build::WithQueuedTimeoutInMinutes ( int  value)
inline

The number of minutes a build is allowed to be queued before it times out.

Definition at line 1048 of file Build.h.

◆ WithReportArns() [1/2]

Build& Aws::CodeBuild::Model::Build::WithReportArns ( const Aws::Vector< Aws::String > &  value)
inline

An array of the ARNs associated with this build's reports.

Definition at line 1386 of file Build.h.

◆ WithReportArns() [2/2]

Build& Aws::CodeBuild::Model::Build::WithReportArns ( Aws::Vector< Aws::String > &&  value)
inline

An array of the ARNs associated with this build's reports.

Definition at line 1391 of file Build.h.

◆ WithResolvedSourceVersion() [1/3]

Build& Aws::CodeBuild::Model::Build::WithResolvedSourceVersion ( const Aws::String value)
inline

An identifier for the version of this build's source code.

  • For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

  • For AWS CodePipeline, the source revision provided by AWS CodePipeline.

  • For Amazon Simple Storage Service (Amazon S3), this does not apply.

Definition at line 467 of file Build.h.

◆ WithResolvedSourceVersion() [2/3]

Build& Aws::CodeBuild::Model::Build::WithResolvedSourceVersion ( Aws::String &&  value)
inline

An identifier for the version of this build's source code.

  • For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

  • For AWS CodePipeline, the source revision provided by AWS CodePipeline.

  • For Amazon Simple Storage Service (Amazon S3), this does not apply.

Definition at line 476 of file Build.h.

◆ WithResolvedSourceVersion() [3/3]

Build& Aws::CodeBuild::Model::Build::WithResolvedSourceVersion ( const char *  value)
inline

An identifier for the version of this build's source code.

  • For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

  • For AWS CodePipeline, the source revision provided by AWS CodePipeline.

  • For Amazon Simple Storage Service (Amazon S3), this does not apply.

Definition at line 485 of file Build.h.

◆ WithSecondaryArtifacts() [1/2]

Build& Aws::CodeBuild::Model::Build::WithSecondaryArtifacts ( const Aws::Vector< BuildArtifacts > &  value)
inline

An array of ProjectArtifacts objects.

Definition at line 849 of file Build.h.

◆ WithSecondaryArtifacts() [2/2]

Build& Aws::CodeBuild::Model::Build::WithSecondaryArtifacts ( Aws::Vector< BuildArtifacts > &&  value)
inline

An array of ProjectArtifacts objects.

Definition at line 854 of file Build.h.

◆ WithSecondarySources() [1/2]

Build& Aws::CodeBuild::Model::Build::WithSecondarySources ( const Aws::Vector< ProjectSource > &  value)
inline

An array of ProjectSource objects.

Definition at line 632 of file Build.h.

◆ WithSecondarySources() [2/2]

Build& Aws::CodeBuild::Model::Build::WithSecondarySources ( Aws::Vector< ProjectSource > &&  value)
inline

An array of ProjectSource objects.

Definition at line 637 of file Build.h.

◆ WithSecondarySourceVersions() [1/2]

Build& Aws::CodeBuild::Model::Build::WithSecondarySourceVersions ( const Aws::Vector< ProjectSourceVersion > &  value)
inline

An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of:

  • For AWS 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 Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.

Definition at line 738 of file Build.h.

◆ WithSecondarySourceVersions() [2/2]

Build& Aws::CodeBuild::Model::Build::WithSecondarySourceVersions ( Aws::Vector< ProjectSourceVersion > &&  value)
inline

An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of:

  • For AWS 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 Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.

Definition at line 756 of file Build.h.

◆ WithServiceRole() [1/3]

Build& Aws::CodeBuild::Model::Build::WithServiceRole ( const Aws::String value)
inline

The name of a service role used for this build.

Definition at line 957 of file Build.h.

◆ WithServiceRole() [2/3]

Build& Aws::CodeBuild::Model::Build::WithServiceRole ( Aws::String &&  value)
inline

The name of a service role used for this build.

Definition at line 962 of file Build.h.

◆ WithServiceRole() [3/3]

Build& Aws::CodeBuild::Model::Build::WithServiceRole ( const char *  value)
inline

The name of a service role used for this build.

Definition at line 967 of file Build.h.

◆ WithSource() [1/2]

Build& Aws::CodeBuild::Model::Build::WithSource ( const ProjectSource value)
inline

Information about the source code to be built.

Definition at line 601 of file Build.h.

◆ WithSource() [2/2]

Build& Aws::CodeBuild::Model::Build::WithSource ( ProjectSource &&  value)
inline

Information about the source code to be built.

Definition at line 606 of file Build.h.

◆ WithSourceVersion() [1/3]

Build& Aws::CodeBuild::Model::Build::WithSourceVersion ( const Aws::String value)
inline

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 AWS CodeBuild User Guide.

Definition at line 392 of file Build.h.

◆ WithSourceVersion() [2/3]

Build& Aws::CodeBuild::Model::Build::WithSourceVersion ( Aws::String &&  value)
inline

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 AWS CodeBuild User Guide.

Definition at line 402 of file Build.h.

◆ WithSourceVersion() [3/3]

Build& Aws::CodeBuild::Model::Build::WithSourceVersion ( const char *  value)
inline

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 AWS CodeBuild User Guide.

Definition at line 412 of file Build.h.

◆ WithStartTime() [1/2]

Build& Aws::CodeBuild::Model::Build::WithStartTime ( const Aws::Utils::DateTime value)
inline

When the build process started, expressed in Unix time format.

Definition at line 193 of file Build.h.

◆ WithStartTime() [2/2]

Build& Aws::CodeBuild::Model::Build::WithStartTime ( Aws::Utils::DateTime &&  value)
inline

When the build process started, expressed in Unix time format.

Definition at line 198 of file Build.h.

◆ WithTimeoutInMinutes()

Build& Aws::CodeBuild::Model::Build::WithTimeoutInMinutes ( int  value)
inline

How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not get marked as completed.

Definition at line 1023 of file Build.h.

◆ WithVpcConfig() [1/2]

Build& Aws::CodeBuild::Model::Build::WithVpcConfig ( const VpcConfig value)
inline

If your AWS 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.

Definition at line 1199 of file Build.h.

◆ WithVpcConfig() [2/2]

Build& Aws::CodeBuild::Model::Build::WithVpcConfig ( VpcConfig &&  value)
inline

If your AWS 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.

Definition at line 1207 of file Build.h.


The documentation for this class was generated from the following file: