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

#include <ProjectSourceVersion.h>

Public Member Functions

 ProjectSourceVersion ()
 
 ProjectSourceVersion (Aws::Utils::Json::JsonView jsonValue)
 
ProjectSourceVersionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetSourceIdentifier () const
 
bool SourceIdentifierHasBeenSet () const
 
void SetSourceIdentifier (const Aws::String &value)
 
void SetSourceIdentifier (Aws::String &&value)
 
void SetSourceIdentifier (const char *value)
 
ProjectSourceVersionWithSourceIdentifier (const Aws::String &value)
 
ProjectSourceVersionWithSourceIdentifier (Aws::String &&value)
 
ProjectSourceVersionWithSourceIdentifier (const char *value)
 
const Aws::StringGetSourceVersion () const
 
bool SourceVersionHasBeenSet () const
 
void SetSourceVersion (const Aws::String &value)
 
void SetSourceVersion (Aws::String &&value)
 
void SetSourceVersion (const char *value)
 
ProjectSourceVersionWithSourceVersion (const Aws::String &value)
 
ProjectSourceVersionWithSourceVersion (Aws::String &&value)
 
ProjectSourceVersionWithSourceVersion (const char *value)
 

Detailed Description

A source identifier and its corresponding version.

See Also:

AWS API Reference

Definition at line 32 of file ProjectSourceVersion.h.

Constructor & Destructor Documentation

◆ ProjectSourceVersion() [1/2]

Aws::CodeBuild::Model::ProjectSourceVersion::ProjectSourceVersion ( )

◆ ProjectSourceVersion() [2/2]

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

Member Function Documentation

◆ GetSourceIdentifier()

const Aws::String& Aws::CodeBuild::Model::ProjectSourceVersion::GetSourceIdentifier ( ) const
inline

An identifier for a source in the build project.

Definition at line 44 of file ProjectSourceVersion.h.

◆ GetSourceVersion()

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

The source version for the corresponding source identifier. If specified, 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.

For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide.

Definition at line 100 of file ProjectSourceVersion.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetSourceIdentifier() [1/3]

void Aws::CodeBuild::Model::ProjectSourceVersion::SetSourceIdentifier ( const Aws::String value)
inline

An identifier for a source in the build project.

Definition at line 54 of file ProjectSourceVersion.h.

◆ SetSourceIdentifier() [2/3]

void Aws::CodeBuild::Model::ProjectSourceVersion::SetSourceIdentifier ( Aws::String &&  value)
inline

An identifier for a source in the build project.

Definition at line 59 of file ProjectSourceVersion.h.

◆ SetSourceIdentifier() [3/3]

void Aws::CodeBuild::Model::ProjectSourceVersion::SetSourceIdentifier ( const char *  value)
inline

An identifier for a source in the build project.

Definition at line 64 of file ProjectSourceVersion.h.

◆ SetSourceVersion() [1/3]

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

The source version for the corresponding source identifier. If specified, 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.

For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide.

Definition at line 140 of file ProjectSourceVersion.h.

◆ SetSourceVersion() [2/3]

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

The source version for the corresponding source identifier. If specified, 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.

For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide.

Definition at line 160 of file ProjectSourceVersion.h.

◆ SetSourceVersion() [3/3]

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

The source version for the corresponding source identifier. If specified, 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.

For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide.

Definition at line 180 of file ProjectSourceVersion.h.

◆ SourceIdentifierHasBeenSet()

bool Aws::CodeBuild::Model::ProjectSourceVersion::SourceIdentifierHasBeenSet ( ) const
inline

An identifier for a source in the build project.

Definition at line 49 of file ProjectSourceVersion.h.

◆ SourceVersionHasBeenSet()

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

The source version for the corresponding source identifier. If specified, 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.

For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide.

Definition at line 120 of file ProjectSourceVersion.h.

◆ WithSourceIdentifier() [1/3]

ProjectSourceVersion& Aws::CodeBuild::Model::ProjectSourceVersion::WithSourceIdentifier ( const Aws::String value)
inline

An identifier for a source in the build project.

Definition at line 69 of file ProjectSourceVersion.h.

◆ WithSourceIdentifier() [2/3]

ProjectSourceVersion& Aws::CodeBuild::Model::ProjectSourceVersion::WithSourceIdentifier ( Aws::String &&  value)
inline

An identifier for a source in the build project.

Definition at line 74 of file ProjectSourceVersion.h.

◆ WithSourceIdentifier() [3/3]

ProjectSourceVersion& Aws::CodeBuild::Model::ProjectSourceVersion::WithSourceIdentifier ( const char *  value)
inline

An identifier for a source in the build project.

Definition at line 79 of file ProjectSourceVersion.h.

◆ WithSourceVersion() [1/3]

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

The source version for the corresponding source identifier. If specified, 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.

For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide.

Definition at line 200 of file ProjectSourceVersion.h.

◆ WithSourceVersion() [2/3]

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

The source version for the corresponding source identifier. If specified, 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.

For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide.

Definition at line 220 of file ProjectSourceVersion.h.

◆ WithSourceVersion() [3/3]

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

The source version for the corresponding source identifier. If specified, 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.

For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide.

Definition at line 240 of file ProjectSourceVersion.h.


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