/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace CodeBuild { namespace Model { /** */ class StartBuildBatchRequest : public CodeBuildRequest { public: AWS_CODEBUILD_API StartBuildBatchRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartBuildBatch"; } AWS_CODEBUILD_API Aws::String SerializePayload() const override; AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the project.

*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *

The name of the project.

*/ inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } /** *

The name of the project.

*/ inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; } /** *

The name of the project.

*/ inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); } /** *

The name of the project.

*/ inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); } /** *

The name of the project.

*/ inline StartBuildBatchRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The name of the project.

*/ inline StartBuildBatchRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *

The name of the project.

*/ inline StartBuildBatchRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;} /** *

An array of ProjectSource objects that override the secondary * sources defined in the batch build project.

*/ inline const Aws::Vector& GetSecondarySourcesOverride() const{ return m_secondarySourcesOverride; } /** *

An array of ProjectSource objects that override the secondary * sources defined in the batch build project.

*/ inline bool SecondarySourcesOverrideHasBeenSet() const { return m_secondarySourcesOverrideHasBeenSet; } /** *

An array of ProjectSource objects that override the secondary * sources defined in the batch build project.

*/ inline void SetSecondarySourcesOverride(const Aws::Vector& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride = value; } /** *

An array of ProjectSource objects that override the secondary * sources defined in the batch build project.

*/ inline void SetSecondarySourcesOverride(Aws::Vector&& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride = std::move(value); } /** *

An array of ProjectSource objects that override the secondary * sources defined in the batch build project.

*/ inline StartBuildBatchRequest& WithSecondarySourcesOverride(const Aws::Vector& value) { SetSecondarySourcesOverride(value); return *this;} /** *

An array of ProjectSource objects that override the secondary * sources defined in the batch build project.

*/ inline StartBuildBatchRequest& WithSecondarySourcesOverride(Aws::Vector&& value) { SetSecondarySourcesOverride(std::move(value)); return *this;} /** *

An array of ProjectSource objects that override the secondary * sources defined in the batch build project.

*/ inline StartBuildBatchRequest& AddSecondarySourcesOverride(const ProjectSource& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride.push_back(value); return *this; } /** *

An array of ProjectSource objects that override the secondary * sources defined in the batch build project.

*/ inline StartBuildBatchRequest& AddSecondarySourcesOverride(ProjectSource&& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride.push_back(std::move(value)); return *this; } /** *

An array of ProjectSourceVersion objects that override the * secondary source versions in the batch build project.

*/ inline const Aws::Vector& GetSecondarySourcesVersionOverride() const{ return m_secondarySourcesVersionOverride; } /** *

An array of ProjectSourceVersion objects that override the * secondary source versions in the batch build project.

*/ inline bool SecondarySourcesVersionOverrideHasBeenSet() const { return m_secondarySourcesVersionOverrideHasBeenSet; } /** *

An array of ProjectSourceVersion objects that override the * secondary source versions in the batch build project.

*/ inline void SetSecondarySourcesVersionOverride(const Aws::Vector& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride = value; } /** *

An array of ProjectSourceVersion objects that override the * secondary source versions in the batch build project.

*/ inline void SetSecondarySourcesVersionOverride(Aws::Vector&& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride = std::move(value); } /** *

An array of ProjectSourceVersion objects that override the * secondary source versions in the batch build project.

*/ inline StartBuildBatchRequest& WithSecondarySourcesVersionOverride(const Aws::Vector& value) { SetSecondarySourcesVersionOverride(value); return *this;} /** *

An array of ProjectSourceVersion objects that override the * secondary source versions in the batch build project.

*/ inline StartBuildBatchRequest& WithSecondarySourcesVersionOverride(Aws::Vector&& value) { SetSecondarySourcesVersionOverride(std::move(value)); return *this;} /** *

An array of ProjectSourceVersion objects that override the * secondary source versions in the batch build project.

*/ inline StartBuildBatchRequest& AddSecondarySourcesVersionOverride(const ProjectSourceVersion& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride.push_back(value); return *this; } /** *

An array of ProjectSourceVersion objects that override the * secondary source versions in the batch build project.

*/ inline StartBuildBatchRequest& AddSecondarySourcesVersionOverride(ProjectSourceVersion&& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride.push_back(std::move(value)); return *this; } /** *

The version of the batch build input to be built, for this build only. If not * specified, the latest version is used. If specified, the contents depends on the * source provider:

CodeCommit

The commit ID, branch, or * Git tag to use.

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.

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.

Amazon S3

The version ID of the object that * represents the build input ZIP file to use.

If * sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

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

*/ inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; } /** *

The version of the batch build input to be built, for this build only. If not * specified, the latest version is used. If specified, the contents depends on the * source provider:

CodeCommit

The commit ID, branch, or * Git tag to use.

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.

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.

Amazon S3

The version ID of the object that * represents the build input ZIP file to use.

If * sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

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

*/ inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; } /** *

The version of the batch build input to be built, for this build only. If not * specified, the latest version is used. If specified, the contents depends on the * source provider:

CodeCommit

The commit ID, branch, or * Git tag to use.

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.

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.

Amazon S3

The version ID of the object that * represents the build input ZIP file to use.

If * sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

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

*/ inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; } /** *

The version of the batch build input to be built, for this build only. If not * specified, the latest version is used. If specified, the contents depends on the * source provider:

CodeCommit

The commit ID, branch, or * Git tag to use.

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.

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.

Amazon S3

The version ID of the object that * represents the build input ZIP file to use.

If * sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

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

*/ inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); } /** *

The version of the batch build input to be built, for this build only. If not * specified, the latest version is used. If specified, the contents depends on the * source provider:

CodeCommit

The commit ID, branch, or * Git tag to use.

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.

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.

Amazon S3

The version ID of the object that * represents the build input ZIP file to use.

If * sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

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

*/ inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); } /** *

The version of the batch build input to be built, for this build only. If not * specified, the latest version is used. If specified, the contents depends on the * source provider:

CodeCommit

The commit ID, branch, or * Git tag to use.

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.

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.

Amazon S3

The version ID of the object that * represents the build input ZIP file to use.

If * sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

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

*/ inline StartBuildBatchRequest& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;} /** *

The version of the batch build input to be built, for this build only. If not * specified, the latest version is used. If specified, the contents depends on the * source provider:

CodeCommit

The commit ID, branch, or * Git tag to use.

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.

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.

Amazon S3

The version ID of the object that * represents the build input ZIP file to use.

If * sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

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

*/ inline StartBuildBatchRequest& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;} /** *

The version of the batch build input to be built, for this build only. If not * specified, the latest version is used. If specified, the contents depends on the * source provider:

CodeCommit

The commit ID, branch, or * Git tag to use.

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.

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.

Amazon S3

The version ID of the object that * represents the build input ZIP file to use.

If * sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

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

*/ inline StartBuildBatchRequest& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;} /** *

An array of ProjectArtifacts objects that contains information * about the build output artifact overrides for the build project.

*/ inline const ProjectArtifacts& GetArtifactsOverride() const{ return m_artifactsOverride; } /** *

An array of ProjectArtifacts objects that contains information * about the build output artifact overrides for the build project.

*/ inline bool ArtifactsOverrideHasBeenSet() const { return m_artifactsOverrideHasBeenSet; } /** *

An array of ProjectArtifacts objects that contains information * about the build output artifact overrides for the build project.

*/ inline void SetArtifactsOverride(const ProjectArtifacts& value) { m_artifactsOverrideHasBeenSet = true; m_artifactsOverride = value; } /** *

An array of ProjectArtifacts objects that contains information * about the build output artifact overrides for the build project.

*/ inline void SetArtifactsOverride(ProjectArtifacts&& value) { m_artifactsOverrideHasBeenSet = true; m_artifactsOverride = std::move(value); } /** *

An array of ProjectArtifacts objects that contains information * about the build output artifact overrides for the build project.

*/ inline StartBuildBatchRequest& WithArtifactsOverride(const ProjectArtifacts& value) { SetArtifactsOverride(value); return *this;} /** *

An array of ProjectArtifacts objects that contains information * about the build output artifact overrides for the build project.

*/ inline StartBuildBatchRequest& WithArtifactsOverride(ProjectArtifacts&& value) { SetArtifactsOverride(std::move(value)); return *this;} /** *

An array of ProjectArtifacts objects that override the secondary * artifacts defined in the batch build project.

*/ inline const Aws::Vector& GetSecondaryArtifactsOverride() const{ return m_secondaryArtifactsOverride; } /** *

An array of ProjectArtifacts objects that override the secondary * artifacts defined in the batch build project.

*/ inline bool SecondaryArtifactsOverrideHasBeenSet() const { return m_secondaryArtifactsOverrideHasBeenSet; } /** *

An array of ProjectArtifacts objects that override the secondary * artifacts defined in the batch build project.

*/ inline void SetSecondaryArtifactsOverride(const Aws::Vector& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride = value; } /** *

An array of ProjectArtifacts objects that override the secondary * artifacts defined in the batch build project.

*/ inline void SetSecondaryArtifactsOverride(Aws::Vector&& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride = std::move(value); } /** *

An array of ProjectArtifacts objects that override the secondary * artifacts defined in the batch build project.

*/ inline StartBuildBatchRequest& WithSecondaryArtifactsOverride(const Aws::Vector& value) { SetSecondaryArtifactsOverride(value); return *this;} /** *

An array of ProjectArtifacts objects that override the secondary * artifacts defined in the batch build project.

*/ inline StartBuildBatchRequest& WithSecondaryArtifactsOverride(Aws::Vector&& value) { SetSecondaryArtifactsOverride(std::move(value)); return *this;} /** *

An array of ProjectArtifacts objects that override the secondary * artifacts defined in the batch build project.

*/ inline StartBuildBatchRequest& AddSecondaryArtifactsOverride(const ProjectArtifacts& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride.push_back(value); return *this; } /** *

An array of ProjectArtifacts objects that override the secondary * artifacts defined in the batch build project.

*/ inline StartBuildBatchRequest& AddSecondaryArtifactsOverride(ProjectArtifacts&& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride.push_back(std::move(value)); return *this; } /** *

An array of EnvironmentVariable objects that override, or add * to, the environment variables defined in the batch build project.

*/ inline const Aws::Vector& GetEnvironmentVariablesOverride() const{ return m_environmentVariablesOverride; } /** *

An array of EnvironmentVariable objects that override, or add * to, the environment variables defined in the batch build project.

*/ inline bool EnvironmentVariablesOverrideHasBeenSet() const { return m_environmentVariablesOverrideHasBeenSet; } /** *

An array of EnvironmentVariable objects that override, or add * to, the environment variables defined in the batch build project.

*/ inline void SetEnvironmentVariablesOverride(const Aws::Vector& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride = value; } /** *

An array of EnvironmentVariable objects that override, or add * to, the environment variables defined in the batch build project.

*/ inline void SetEnvironmentVariablesOverride(Aws::Vector&& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride = std::move(value); } /** *

An array of EnvironmentVariable objects that override, or add * to, the environment variables defined in the batch build project.

*/ inline StartBuildBatchRequest& WithEnvironmentVariablesOverride(const Aws::Vector& value) { SetEnvironmentVariablesOverride(value); return *this;} /** *

An array of EnvironmentVariable objects that override, or add * to, the environment variables defined in the batch build project.

*/ inline StartBuildBatchRequest& WithEnvironmentVariablesOverride(Aws::Vector&& value) { SetEnvironmentVariablesOverride(std::move(value)); return *this;} /** *

An array of EnvironmentVariable objects that override, or add * to, the environment variables defined in the batch build project.

*/ inline StartBuildBatchRequest& AddEnvironmentVariablesOverride(const EnvironmentVariable& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride.push_back(value); return *this; } /** *

An array of EnvironmentVariable objects that override, or add * to, the environment variables defined in the batch build project.

*/ inline StartBuildBatchRequest& AddEnvironmentVariablesOverride(EnvironmentVariable&& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride.push_back(std::move(value)); return *this; } /** *

The source input type that overrides the source input defined in the batch * build project.

*/ inline const SourceType& GetSourceTypeOverride() const{ return m_sourceTypeOverride; } /** *

The source input type that overrides the source input defined in the batch * build project.

*/ inline bool SourceTypeOverrideHasBeenSet() const { return m_sourceTypeOverrideHasBeenSet; } /** *

The source input type that overrides the source input defined in the batch * build project.

*/ inline void SetSourceTypeOverride(const SourceType& value) { m_sourceTypeOverrideHasBeenSet = true; m_sourceTypeOverride = value; } /** *

The source input type that overrides the source input defined in the batch * build project.

*/ inline void SetSourceTypeOverride(SourceType&& value) { m_sourceTypeOverrideHasBeenSet = true; m_sourceTypeOverride = std::move(value); } /** *

The source input type that overrides the source input defined in the batch * build project.

*/ inline StartBuildBatchRequest& WithSourceTypeOverride(const SourceType& value) { SetSourceTypeOverride(value); return *this;} /** *

The source input type that overrides the source input defined in the batch * build project.

*/ inline StartBuildBatchRequest& WithSourceTypeOverride(SourceType&& value) { SetSourceTypeOverride(std::move(value)); return *this;} /** *

A location that overrides, for this batch build, the source location defined * in the batch build project.

*/ inline const Aws::String& GetSourceLocationOverride() const{ return m_sourceLocationOverride; } /** *

A location that overrides, for this batch build, the source location defined * in the batch build project.

*/ inline bool SourceLocationOverrideHasBeenSet() const { return m_sourceLocationOverrideHasBeenSet; } /** *

A location that overrides, for this batch build, the source location defined * in the batch build project.

*/ inline void SetSourceLocationOverride(const Aws::String& value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride = value; } /** *

A location that overrides, for this batch build, the source location defined * in the batch build project.

*/ inline void SetSourceLocationOverride(Aws::String&& value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride = std::move(value); } /** *

A location that overrides, for this batch build, the source location defined * in the batch build project.

*/ inline void SetSourceLocationOverride(const char* value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride.assign(value); } /** *

A location that overrides, for this batch build, the source location defined * in the batch build project.

*/ inline StartBuildBatchRequest& WithSourceLocationOverride(const Aws::String& value) { SetSourceLocationOverride(value); return *this;} /** *

A location that overrides, for this batch build, the source location defined * in the batch build project.

*/ inline StartBuildBatchRequest& WithSourceLocationOverride(Aws::String&& value) { SetSourceLocationOverride(std::move(value)); return *this;} /** *

A location that overrides, for this batch build, the source location defined * in the batch build project.

*/ inline StartBuildBatchRequest& WithSourceLocationOverride(const char* value) { SetSourceLocationOverride(value); return *this;} /** *

A SourceAuth object that overrides the one defined in the batch * build project. This override applies only if the build project's source is * BitBucket or GitHub.

*/ inline const SourceAuth& GetSourceAuthOverride() const{ return m_sourceAuthOverride; } /** *

A SourceAuth object that overrides the one defined in the batch * build project. This override applies only if the build project's source is * BitBucket or GitHub.

*/ inline bool SourceAuthOverrideHasBeenSet() const { return m_sourceAuthOverrideHasBeenSet; } /** *

A SourceAuth object that overrides the one defined in the batch * build project. This override applies only if the build project's source is * BitBucket or GitHub.

*/ inline void SetSourceAuthOverride(const SourceAuth& value) { m_sourceAuthOverrideHasBeenSet = true; m_sourceAuthOverride = value; } /** *

A SourceAuth object that overrides the one defined in the batch * build project. This override applies only if the build project's source is * BitBucket or GitHub.

*/ inline void SetSourceAuthOverride(SourceAuth&& value) { m_sourceAuthOverrideHasBeenSet = true; m_sourceAuthOverride = std::move(value); } /** *

A SourceAuth object that overrides the one defined in the batch * build project. This override applies only if the build project's source is * BitBucket or GitHub.

*/ inline StartBuildBatchRequest& WithSourceAuthOverride(const SourceAuth& value) { SetSourceAuthOverride(value); return *this;} /** *

A SourceAuth object that overrides the one defined in the batch * build project. This override applies only if the build project's source is * BitBucket or GitHub.

*/ inline StartBuildBatchRequest& WithSourceAuthOverride(SourceAuth&& value) { SetSourceAuthOverride(std::move(value)); return *this;} /** *

The user-defined depth of history, with a minimum value of 0, that overrides, * for this batch build only, any previous depth of history defined in the batch * build project.

*/ inline int GetGitCloneDepthOverride() const{ return m_gitCloneDepthOverride; } /** *

The user-defined depth of history, with a minimum value of 0, that overrides, * for this batch build only, any previous depth of history defined in the batch * build project.

*/ inline bool GitCloneDepthOverrideHasBeenSet() const { return m_gitCloneDepthOverrideHasBeenSet; } /** *

The user-defined depth of history, with a minimum value of 0, that overrides, * for this batch build only, any previous depth of history defined in the batch * build project.

*/ inline void SetGitCloneDepthOverride(int value) { m_gitCloneDepthOverrideHasBeenSet = true; m_gitCloneDepthOverride = value; } /** *

The user-defined depth of history, with a minimum value of 0, that overrides, * for this batch build only, any previous depth of history defined in the batch * build project.

*/ inline StartBuildBatchRequest& WithGitCloneDepthOverride(int value) { SetGitCloneDepthOverride(value); return *this;} /** *

A GitSubmodulesConfig object that overrides the Git submodules * configuration for this batch build.

*/ inline const GitSubmodulesConfig& GetGitSubmodulesConfigOverride() const{ return m_gitSubmodulesConfigOverride; } /** *

A GitSubmodulesConfig object that overrides the Git submodules * configuration for this batch build.

*/ inline bool GitSubmodulesConfigOverrideHasBeenSet() const { return m_gitSubmodulesConfigOverrideHasBeenSet; } /** *

A GitSubmodulesConfig object that overrides the Git submodules * configuration for this batch build.

*/ inline void SetGitSubmodulesConfigOverride(const GitSubmodulesConfig& value) { m_gitSubmodulesConfigOverrideHasBeenSet = true; m_gitSubmodulesConfigOverride = value; } /** *

A GitSubmodulesConfig object that overrides the Git submodules * configuration for this batch build.

*/ inline void SetGitSubmodulesConfigOverride(GitSubmodulesConfig&& value) { m_gitSubmodulesConfigOverrideHasBeenSet = true; m_gitSubmodulesConfigOverride = std::move(value); } /** *

A GitSubmodulesConfig object that overrides the Git submodules * configuration for this batch build.

*/ inline StartBuildBatchRequest& WithGitSubmodulesConfigOverride(const GitSubmodulesConfig& value) { SetGitSubmodulesConfigOverride(value); return *this;} /** *

A GitSubmodulesConfig object that overrides the Git submodules * configuration for this batch build.

*/ inline StartBuildBatchRequest& WithGitSubmodulesConfigOverride(GitSubmodulesConfig&& value) { SetGitSubmodulesConfigOverride(std::move(value)); return *this;} /** *

A buildspec file declaration that overrides, for this build only, the latest * one already defined in the build project.

If this value is set, it can be * either an inline buildspec definition, the path to an alternate buildspec file * relative to the value of the built-in CODEBUILD_SRC_DIR environment * variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web * Services Region as the build project. Specify the buildspec file using its ARN * (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If * this value is not provided or is set to an empty string, the source code must * contain a buildspec file in its root directory. For more information, see Buildspec * File Name and Storage Location.

*/ inline const Aws::String& GetBuildspecOverride() const{ return m_buildspecOverride; } /** *

A buildspec file declaration that overrides, for this build only, the latest * one already defined in the build project.

If this value is set, it can be * either an inline buildspec definition, the path to an alternate buildspec file * relative to the value of the built-in CODEBUILD_SRC_DIR environment * variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web * Services Region as the build project. Specify the buildspec file using its ARN * (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If * this value is not provided or is set to an empty string, the source code must * contain a buildspec file in its root directory. For more information, see Buildspec * File Name and Storage Location.

*/ inline bool BuildspecOverrideHasBeenSet() const { return m_buildspecOverrideHasBeenSet; } /** *

A buildspec file declaration that overrides, for this build only, the latest * one already defined in the build project.

If this value is set, it can be * either an inline buildspec definition, the path to an alternate buildspec file * relative to the value of the built-in CODEBUILD_SRC_DIR environment * variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web * Services Region as the build project. Specify the buildspec file using its ARN * (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If * this value is not provided or is set to an empty string, the source code must * contain a buildspec file in its root directory. For more information, see Buildspec * File Name and Storage Location.

*/ inline void SetBuildspecOverride(const Aws::String& value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride = value; } /** *

A buildspec file declaration that overrides, for this build only, the latest * one already defined in the build project.

If this value is set, it can be * either an inline buildspec definition, the path to an alternate buildspec file * relative to the value of the built-in CODEBUILD_SRC_DIR environment * variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web * Services Region as the build project. Specify the buildspec file using its ARN * (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If * this value is not provided or is set to an empty string, the source code must * contain a buildspec file in its root directory. For more information, see Buildspec * File Name and Storage Location.

*/ inline void SetBuildspecOverride(Aws::String&& value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride = std::move(value); } /** *

A buildspec file declaration that overrides, for this build only, the latest * one already defined in the build project.

If this value is set, it can be * either an inline buildspec definition, the path to an alternate buildspec file * relative to the value of the built-in CODEBUILD_SRC_DIR environment * variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web * Services Region as the build project. Specify the buildspec file using its ARN * (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If * this value is not provided or is set to an empty string, the source code must * contain a buildspec file in its root directory. For more information, see Buildspec * File Name and Storage Location.

*/ inline void SetBuildspecOverride(const char* value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride.assign(value); } /** *

A buildspec file declaration that overrides, for this build only, the latest * one already defined in the build project.

If this value is set, it can be * either an inline buildspec definition, the path to an alternate buildspec file * relative to the value of the built-in CODEBUILD_SRC_DIR environment * variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web * Services Region as the build project. Specify the buildspec file using its ARN * (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If * this value is not provided or is set to an empty string, the source code must * contain a buildspec file in its root directory. For more information, see Buildspec * File Name and Storage Location.

*/ inline StartBuildBatchRequest& WithBuildspecOverride(const Aws::String& value) { SetBuildspecOverride(value); return *this;} /** *

A buildspec file declaration that overrides, for this build only, the latest * one already defined in the build project.

If this value is set, it can be * either an inline buildspec definition, the path to an alternate buildspec file * relative to the value of the built-in CODEBUILD_SRC_DIR environment * variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web * Services Region as the build project. Specify the buildspec file using its ARN * (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If * this value is not provided or is set to an empty string, the source code must * contain a buildspec file in its root directory. For more information, see Buildspec * File Name and Storage Location.

*/ inline StartBuildBatchRequest& WithBuildspecOverride(Aws::String&& value) { SetBuildspecOverride(std::move(value)); return *this;} /** *

A buildspec file declaration that overrides, for this build only, the latest * one already defined in the build project.

If this value is set, it can be * either an inline buildspec definition, the path to an alternate buildspec file * relative to the value of the built-in CODEBUILD_SRC_DIR environment * variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web * Services Region as the build project. Specify the buildspec file using its ARN * (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If * this value is not provided or is set to an empty string, the source code must * contain a buildspec file in its root directory. For more information, see Buildspec * File Name and Storage Location.

*/ inline StartBuildBatchRequest& WithBuildspecOverride(const char* value) { SetBuildspecOverride(value); return *this;} /** *

Enable this flag to override the insecure SSL setting that is specified in * the batch build project. The insecure SSL setting determines whether to ignore * SSL warnings while connecting to the project source code. This override applies * only if the build's source is GitHub Enterprise.

*/ inline bool GetInsecureSslOverride() const{ return m_insecureSslOverride; } /** *

Enable this flag to override the insecure SSL setting that is specified in * the batch build project. The insecure SSL setting determines whether to ignore * SSL warnings while connecting to the project source code. This override applies * only if the build's source is GitHub Enterprise.

*/ inline bool InsecureSslOverrideHasBeenSet() const { return m_insecureSslOverrideHasBeenSet; } /** *

Enable this flag to override the insecure SSL setting that is specified in * the batch build project. The insecure SSL setting determines whether to ignore * SSL warnings while connecting to the project source code. This override applies * only if the build's source is GitHub Enterprise.

*/ inline void SetInsecureSslOverride(bool value) { m_insecureSslOverrideHasBeenSet = true; m_insecureSslOverride = value; } /** *

Enable this flag to override the insecure SSL setting that is specified in * the batch build project. The insecure SSL setting determines whether to ignore * SSL warnings while connecting to the project source code. This override applies * only if the build's source is GitHub Enterprise.

*/ inline StartBuildBatchRequest& WithInsecureSslOverride(bool value) { SetInsecureSslOverride(value); return *this;} /** *

Set to true to report to your source provider the status of a * batch build's start and completion. If you use this option with a source * provider other than GitHub, GitHub Enterprise, or Bitbucket, an * invalidInputException is thrown.

The status of a * build triggered by a webhook is always reported to your source provider.

* */ inline bool GetReportBuildBatchStatusOverride() const{ return m_reportBuildBatchStatusOverride; } /** *

Set to true to report to your source provider the status of a * batch build's start and completion. If you use this option with a source * provider other than GitHub, GitHub Enterprise, or Bitbucket, an * invalidInputException is thrown.

The status of a * build triggered by a webhook is always reported to your source provider.

* */ inline bool ReportBuildBatchStatusOverrideHasBeenSet() const { return m_reportBuildBatchStatusOverrideHasBeenSet; } /** *

Set to true to report to your source provider the status of a * batch build's start and completion. If you use this option with a source * provider other than GitHub, GitHub Enterprise, or Bitbucket, an * invalidInputException is thrown.

The status of a * build triggered by a webhook is always reported to your source provider.

* */ inline void SetReportBuildBatchStatusOverride(bool value) { m_reportBuildBatchStatusOverrideHasBeenSet = true; m_reportBuildBatchStatusOverride = value; } /** *

Set to true to report to your source provider the status of a * batch build's start and completion. If you use this option with a source * provider other than GitHub, GitHub Enterprise, or Bitbucket, an * invalidInputException is thrown.

The status of a * build triggered by a webhook is always reported to your source provider.

* */ inline StartBuildBatchRequest& WithReportBuildBatchStatusOverride(bool value) { SetReportBuildBatchStatusOverride(value); return *this;} /** *

A container type for this batch build that overrides the one specified in the * batch build project.

*/ inline const EnvironmentType& GetEnvironmentTypeOverride() const{ return m_environmentTypeOverride; } /** *

A container type for this batch build that overrides the one specified in the * batch build project.

*/ inline bool EnvironmentTypeOverrideHasBeenSet() const { return m_environmentTypeOverrideHasBeenSet; } /** *

A container type for this batch build that overrides the one specified in the * batch build project.

*/ inline void SetEnvironmentTypeOverride(const EnvironmentType& value) { m_environmentTypeOverrideHasBeenSet = true; m_environmentTypeOverride = value; } /** *

A container type for this batch build that overrides the one specified in the * batch build project.

*/ inline void SetEnvironmentTypeOverride(EnvironmentType&& value) { m_environmentTypeOverrideHasBeenSet = true; m_environmentTypeOverride = std::move(value); } /** *

A container type for this batch build that overrides the one specified in the * batch build project.

*/ inline StartBuildBatchRequest& WithEnvironmentTypeOverride(const EnvironmentType& value) { SetEnvironmentTypeOverride(value); return *this;} /** *

A container type for this batch build that overrides the one specified in the * batch build project.

*/ inline StartBuildBatchRequest& WithEnvironmentTypeOverride(EnvironmentType&& value) { SetEnvironmentTypeOverride(std::move(value)); return *this;} /** *

The name of an image for this batch build that overrides the one specified in * the batch build project.

*/ inline const Aws::String& GetImageOverride() const{ return m_imageOverride; } /** *

The name of an image for this batch build that overrides the one specified in * the batch build project.

*/ inline bool ImageOverrideHasBeenSet() const { return m_imageOverrideHasBeenSet; } /** *

The name of an image for this batch build that overrides the one specified in * the batch build project.

*/ inline void SetImageOverride(const Aws::String& value) { m_imageOverrideHasBeenSet = true; m_imageOverride = value; } /** *

The name of an image for this batch build that overrides the one specified in * the batch build project.

*/ inline void SetImageOverride(Aws::String&& value) { m_imageOverrideHasBeenSet = true; m_imageOverride = std::move(value); } /** *

The name of an image for this batch build that overrides the one specified in * the batch build project.

*/ inline void SetImageOverride(const char* value) { m_imageOverrideHasBeenSet = true; m_imageOverride.assign(value); } /** *

The name of an image for this batch build that overrides the one specified in * the batch build project.

*/ inline StartBuildBatchRequest& WithImageOverride(const Aws::String& value) { SetImageOverride(value); return *this;} /** *

The name of an image for this batch build that overrides the one specified in * the batch build project.

*/ inline StartBuildBatchRequest& WithImageOverride(Aws::String&& value) { SetImageOverride(std::move(value)); return *this;} /** *

The name of an image for this batch build that overrides the one specified in * the batch build project.

*/ inline StartBuildBatchRequest& WithImageOverride(const char* value) { SetImageOverride(value); return *this;} /** *

The name of a compute type for this batch build that overrides the one * specified in the batch build project.

*/ inline const ComputeType& GetComputeTypeOverride() const{ return m_computeTypeOverride; } /** *

The name of a compute type for this batch build that overrides the one * specified in the batch build project.

*/ inline bool ComputeTypeOverrideHasBeenSet() const { return m_computeTypeOverrideHasBeenSet; } /** *

The name of a compute type for this batch build that overrides the one * specified in the batch build project.

*/ inline void SetComputeTypeOverride(const ComputeType& value) { m_computeTypeOverrideHasBeenSet = true; m_computeTypeOverride = value; } /** *

The name of a compute type for this batch build that overrides the one * specified in the batch build project.

*/ inline void SetComputeTypeOverride(ComputeType&& value) { m_computeTypeOverrideHasBeenSet = true; m_computeTypeOverride = std::move(value); } /** *

The name of a compute type for this batch build that overrides the one * specified in the batch build project.

*/ inline StartBuildBatchRequest& WithComputeTypeOverride(const ComputeType& value) { SetComputeTypeOverride(value); return *this;} /** *

The name of a compute type for this batch build that overrides the one * specified in the batch build project.

*/ inline StartBuildBatchRequest& WithComputeTypeOverride(ComputeType&& value) { SetComputeTypeOverride(std::move(value)); return *this;} /** *

The name of a certificate for this batch build that overrides the one * specified in the batch build project.

*/ inline const Aws::String& GetCertificateOverride() const{ return m_certificateOverride; } /** *

The name of a certificate for this batch build that overrides the one * specified in the batch build project.

*/ inline bool CertificateOverrideHasBeenSet() const { return m_certificateOverrideHasBeenSet; } /** *

The name of a certificate for this batch build that overrides the one * specified in the batch build project.

*/ inline void SetCertificateOverride(const Aws::String& value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride = value; } /** *

The name of a certificate for this batch build that overrides the one * specified in the batch build project.

*/ inline void SetCertificateOverride(Aws::String&& value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride = std::move(value); } /** *

The name of a certificate for this batch build that overrides the one * specified in the batch build project.

*/ inline void SetCertificateOverride(const char* value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride.assign(value); } /** *

The name of a certificate for this batch build that overrides the one * specified in the batch build project.

*/ inline StartBuildBatchRequest& WithCertificateOverride(const Aws::String& value) { SetCertificateOverride(value); return *this;} /** *

The name of a certificate for this batch build that overrides the one * specified in the batch build project.

*/ inline StartBuildBatchRequest& WithCertificateOverride(Aws::String&& value) { SetCertificateOverride(std::move(value)); return *this;} /** *

The name of a certificate for this batch build that overrides the one * specified in the batch build project.

*/ inline StartBuildBatchRequest& WithCertificateOverride(const char* value) { SetCertificateOverride(value); return *this;} /** *

A ProjectCache object that specifies cache overrides.

*/ inline const ProjectCache& GetCacheOverride() const{ return m_cacheOverride; } /** *

A ProjectCache object that specifies cache overrides.

*/ inline bool CacheOverrideHasBeenSet() const { return m_cacheOverrideHasBeenSet; } /** *

A ProjectCache object that specifies cache overrides.

*/ inline void SetCacheOverride(const ProjectCache& value) { m_cacheOverrideHasBeenSet = true; m_cacheOverride = value; } /** *

A ProjectCache object that specifies cache overrides.

*/ inline void SetCacheOverride(ProjectCache&& value) { m_cacheOverrideHasBeenSet = true; m_cacheOverride = std::move(value); } /** *

A ProjectCache object that specifies cache overrides.

*/ inline StartBuildBatchRequest& WithCacheOverride(const ProjectCache& value) { SetCacheOverride(value); return *this;} /** *

A ProjectCache object that specifies cache overrides.

*/ inline StartBuildBatchRequest& WithCacheOverride(ProjectCache&& value) { SetCacheOverride(std::move(value)); return *this;} /** *

The name of a service role for this batch build that overrides the one * specified in the batch build project.

*/ inline const Aws::String& GetServiceRoleOverride() const{ return m_serviceRoleOverride; } /** *

The name of a service role for this batch build that overrides the one * specified in the batch build project.

*/ inline bool ServiceRoleOverrideHasBeenSet() const { return m_serviceRoleOverrideHasBeenSet; } /** *

The name of a service role for this batch build that overrides the one * specified in the batch build project.

*/ inline void SetServiceRoleOverride(const Aws::String& value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride = value; } /** *

The name of a service role for this batch build that overrides the one * specified in the batch build project.

*/ inline void SetServiceRoleOverride(Aws::String&& value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride = std::move(value); } /** *

The name of a service role for this batch build that overrides the one * specified in the batch build project.

*/ inline void SetServiceRoleOverride(const char* value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride.assign(value); } /** *

The name of a service role for this batch build that overrides the one * specified in the batch build project.

*/ inline StartBuildBatchRequest& WithServiceRoleOverride(const Aws::String& value) { SetServiceRoleOverride(value); return *this;} /** *

The name of a service role for this batch build that overrides the one * specified in the batch build project.

*/ inline StartBuildBatchRequest& WithServiceRoleOverride(Aws::String&& value) { SetServiceRoleOverride(std::move(value)); return *this;} /** *

The name of a service role for this batch build that overrides the one * specified in the batch build project.

*/ inline StartBuildBatchRequest& WithServiceRoleOverride(const char* value) { SetServiceRoleOverride(value); return *this;} /** *

Enable this flag to override privileged mode in the batch build project.

*/ inline bool GetPrivilegedModeOverride() const{ return m_privilegedModeOverride; } /** *

Enable this flag to override privileged mode in the batch build project.

*/ inline bool PrivilegedModeOverrideHasBeenSet() const { return m_privilegedModeOverrideHasBeenSet; } /** *

Enable this flag to override privileged mode in the batch build project.

*/ inline void SetPrivilegedModeOverride(bool value) { m_privilegedModeOverrideHasBeenSet = true; m_privilegedModeOverride = value; } /** *

Enable this flag to override privileged mode in the batch build project.

*/ inline StartBuildBatchRequest& WithPrivilegedModeOverride(bool value) { SetPrivilegedModeOverride(value); return *this;} /** *

Overrides the build timeout specified in the batch build project.

*/ inline int GetBuildTimeoutInMinutesOverride() const{ return m_buildTimeoutInMinutesOverride; } /** *

Overrides the build timeout specified in the batch build project.

*/ inline bool BuildTimeoutInMinutesOverrideHasBeenSet() const { return m_buildTimeoutInMinutesOverrideHasBeenSet; } /** *

Overrides the build timeout specified in the batch build project.

*/ inline void SetBuildTimeoutInMinutesOverride(int value) { m_buildTimeoutInMinutesOverrideHasBeenSet = true; m_buildTimeoutInMinutesOverride = value; } /** *

Overrides the build timeout specified in the batch build project.

*/ inline StartBuildBatchRequest& WithBuildTimeoutInMinutesOverride(int value) { SetBuildTimeoutInMinutesOverride(value); return *this;} /** *

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

*/ inline int GetQueuedTimeoutInMinutesOverride() const{ return m_queuedTimeoutInMinutesOverride; } /** *

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

*/ inline bool QueuedTimeoutInMinutesOverrideHasBeenSet() const { return m_queuedTimeoutInMinutesOverrideHasBeenSet; } /** *

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

*/ inline void SetQueuedTimeoutInMinutesOverride(int value) { m_queuedTimeoutInMinutesOverrideHasBeenSet = true; m_queuedTimeoutInMinutesOverride = value; } /** *

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

*/ inline StartBuildBatchRequest& WithQueuedTimeoutInMinutesOverride(int value) { SetQueuedTimeoutInMinutesOverride(value); return *this;} /** *

The Key Management Service customer master key (CMK) that overrides the one * specified in the batch build project. The CMK key encrypts 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>).

*/ inline const Aws::String& GetEncryptionKeyOverride() const{ return m_encryptionKeyOverride; } /** *

The Key Management Service customer master key (CMK) that overrides the one * specified in the batch build project. The CMK key encrypts 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>).

*/ inline bool EncryptionKeyOverrideHasBeenSet() const { return m_encryptionKeyOverrideHasBeenSet; } /** *

The Key Management Service customer master key (CMK) that overrides the one * specified in the batch build project. The CMK key encrypts 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>).

*/ inline void SetEncryptionKeyOverride(const Aws::String& value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride = value; } /** *

The Key Management Service customer master key (CMK) that overrides the one * specified in the batch build project. The CMK key encrypts 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>).

*/ inline void SetEncryptionKeyOverride(Aws::String&& value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride = std::move(value); } /** *

The Key Management Service customer master key (CMK) that overrides the one * specified in the batch build project. The CMK key encrypts 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>).

*/ inline void SetEncryptionKeyOverride(const char* value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride.assign(value); } /** *

The Key Management Service customer master key (CMK) that overrides the one * specified in the batch build project. The CMK key encrypts 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>).

*/ inline StartBuildBatchRequest& WithEncryptionKeyOverride(const Aws::String& value) { SetEncryptionKeyOverride(value); return *this;} /** *

The Key Management Service customer master key (CMK) that overrides the one * specified in the batch build project. The CMK key encrypts 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>).

*/ inline StartBuildBatchRequest& WithEncryptionKeyOverride(Aws::String&& value) { SetEncryptionKeyOverride(std::move(value)); return *this;} /** *

The Key Management Service customer master key (CMK) that overrides the one * specified in the batch build project. The CMK key encrypts 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>).

*/ inline StartBuildBatchRequest& WithEncryptionKeyOverride(const char* value) { SetEncryptionKeyOverride(value); return *this;} /** *

A unique, case sensitive identifier you provide to ensure the idempotency of * the StartBuildBatch request. The token is included in the * StartBuildBatch request and is valid for five minutes. If you * repeat the StartBuildBatch request with the same token, but change * a parameter, CodeBuild returns a parameter mismatch error.

*/ inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; } /** *

A unique, case sensitive identifier you provide to ensure the idempotency of * the StartBuildBatch request. The token is included in the * StartBuildBatch request and is valid for five minutes. If you * repeat the StartBuildBatch request with the same token, but change * a parameter, CodeBuild returns a parameter mismatch error.

*/ inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; } /** *

A unique, case sensitive identifier you provide to ensure the idempotency of * the StartBuildBatch request. The token is included in the * StartBuildBatch request and is valid for five minutes. If you * repeat the StartBuildBatch request with the same token, but change * a parameter, CodeBuild returns a parameter mismatch error.

*/ inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; } /** *

A unique, case sensitive identifier you provide to ensure the idempotency of * the StartBuildBatch request. The token is included in the * StartBuildBatch request and is valid for five minutes. If you * repeat the StartBuildBatch request with the same token, but change * a parameter, CodeBuild returns a parameter mismatch error.

*/ inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); } /** *

A unique, case sensitive identifier you provide to ensure the idempotency of * the StartBuildBatch request. The token is included in the * StartBuildBatch request and is valid for five minutes. If you * repeat the StartBuildBatch request with the same token, but change * a parameter, CodeBuild returns a parameter mismatch error.

*/ inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); } /** *

A unique, case sensitive identifier you provide to ensure the idempotency of * the StartBuildBatch request. The token is included in the * StartBuildBatch request and is valid for five minutes. If you * repeat the StartBuildBatch request with the same token, but change * a parameter, CodeBuild returns a parameter mismatch error.

*/ inline StartBuildBatchRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;} /** *

A unique, case sensitive identifier you provide to ensure the idempotency of * the StartBuildBatch request. The token is included in the * StartBuildBatch request and is valid for five minutes. If you * repeat the StartBuildBatch request with the same token, but change * a parameter, CodeBuild returns a parameter mismatch error.

*/ inline StartBuildBatchRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;} /** *

A unique, case sensitive identifier you provide to ensure the idempotency of * the StartBuildBatch request. The token is included in the * StartBuildBatch request and is valid for five minutes. If you * repeat the StartBuildBatch request with the same token, but change * a parameter, CodeBuild returns a parameter mismatch error.

*/ inline StartBuildBatchRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;} /** *

A LogsConfig object that override the log settings defined in * the batch build project.

*/ inline const LogsConfig& GetLogsConfigOverride() const{ return m_logsConfigOverride; } /** *

A LogsConfig object that override the log settings defined in * the batch build project.

*/ inline bool LogsConfigOverrideHasBeenSet() const { return m_logsConfigOverrideHasBeenSet; } /** *

A LogsConfig object that override the log settings defined in * the batch build project.

*/ inline void SetLogsConfigOverride(const LogsConfig& value) { m_logsConfigOverrideHasBeenSet = true; m_logsConfigOverride = value; } /** *

A LogsConfig object that override the log settings defined in * the batch build project.

*/ inline void SetLogsConfigOverride(LogsConfig&& value) { m_logsConfigOverrideHasBeenSet = true; m_logsConfigOverride = std::move(value); } /** *

A LogsConfig object that override the log settings defined in * the batch build project.

*/ inline StartBuildBatchRequest& WithLogsConfigOverride(const LogsConfig& value) { SetLogsConfigOverride(value); return *this;} /** *

A LogsConfig object that override the log settings defined in * the batch build project.

*/ inline StartBuildBatchRequest& WithLogsConfigOverride(LogsConfig&& value) { SetLogsConfigOverride(std::move(value)); return *this;} /** *

A RegistryCredential object that overrides credentials for * access to a private registry.

*/ inline const RegistryCredential& GetRegistryCredentialOverride() const{ return m_registryCredentialOverride; } /** *

A RegistryCredential object that overrides credentials for * access to a private registry.

*/ inline bool RegistryCredentialOverrideHasBeenSet() const { return m_registryCredentialOverrideHasBeenSet; } /** *

A RegistryCredential object that overrides credentials for * access to a private registry.

*/ inline void SetRegistryCredentialOverride(const RegistryCredential& value) { m_registryCredentialOverrideHasBeenSet = true; m_registryCredentialOverride = value; } /** *

A RegistryCredential object that overrides credentials for * access to a private registry.

*/ inline void SetRegistryCredentialOverride(RegistryCredential&& value) { m_registryCredentialOverrideHasBeenSet = true; m_registryCredentialOverride = std::move(value); } /** *

A RegistryCredential object that overrides credentials for * access to a private registry.

*/ inline StartBuildBatchRequest& WithRegistryCredentialOverride(const RegistryCredential& value) { SetRegistryCredentialOverride(value); return *this;} /** *

A RegistryCredential object that overrides credentials for * access to a private registry.

*/ inline StartBuildBatchRequest& WithRegistryCredentialOverride(RegistryCredential&& value) { SetRegistryCredentialOverride(std::move(value)); return *this;} /** *

The type of credentials CodeBuild uses to pull images in your batch build. * There are two valid values:

CODEBUILD

Specifies that * CodeBuild uses its own credentials. This requires that you modify your ECR * repository policy to trust CodeBuild's service principal.

*
SERVICE_ROLE

Specifies that CodeBuild uses your build project's * service role.

When using a cross-account or private registry * image, you must use SERVICE_ROLE credentials. When using an * CodeBuild curated image, you must use CODEBUILD credentials.

*/ inline const ImagePullCredentialsType& GetImagePullCredentialsTypeOverride() const{ return m_imagePullCredentialsTypeOverride; } /** *

The type of credentials CodeBuild uses to pull images in your batch build. * There are two valid values:

CODEBUILD

Specifies that * CodeBuild uses its own credentials. This requires that you modify your ECR * repository policy to trust CodeBuild's service principal.

*
SERVICE_ROLE

Specifies that CodeBuild uses your build project's * service role.

When using a cross-account or private registry * image, you must use SERVICE_ROLE credentials. When using an * CodeBuild curated image, you must use CODEBUILD credentials.

*/ inline bool ImagePullCredentialsTypeOverrideHasBeenSet() const { return m_imagePullCredentialsTypeOverrideHasBeenSet; } /** *

The type of credentials CodeBuild uses to pull images in your batch build. * There are two valid values:

CODEBUILD

Specifies that * CodeBuild uses its own credentials. This requires that you modify your ECR * repository policy to trust CodeBuild's service principal.

*
SERVICE_ROLE

Specifies that CodeBuild uses your build project's * service role.

When using a cross-account or private registry * image, you must use SERVICE_ROLE credentials. When using an * CodeBuild curated image, you must use CODEBUILD credentials.

*/ inline void SetImagePullCredentialsTypeOverride(const ImagePullCredentialsType& value) { m_imagePullCredentialsTypeOverrideHasBeenSet = true; m_imagePullCredentialsTypeOverride = value; } /** *

The type of credentials CodeBuild uses to pull images in your batch build. * There are two valid values:

CODEBUILD

Specifies that * CodeBuild uses its own credentials. This requires that you modify your ECR * repository policy to trust CodeBuild's service principal.

*
SERVICE_ROLE

Specifies that CodeBuild uses your build project's * service role.

When using a cross-account or private registry * image, you must use SERVICE_ROLE credentials. When using an * CodeBuild curated image, you must use CODEBUILD credentials.

*/ inline void SetImagePullCredentialsTypeOverride(ImagePullCredentialsType&& value) { m_imagePullCredentialsTypeOverrideHasBeenSet = true; m_imagePullCredentialsTypeOverride = std::move(value); } /** *

The type of credentials CodeBuild uses to pull images in your batch build. * There are two valid values:

CODEBUILD

Specifies that * CodeBuild uses its own credentials. This requires that you modify your ECR * repository policy to trust CodeBuild's service principal.

*
SERVICE_ROLE

Specifies that CodeBuild uses your build project's * service role.

When using a cross-account or private registry * image, you must use SERVICE_ROLE credentials. When using an * CodeBuild curated image, you must use CODEBUILD credentials.

*/ inline StartBuildBatchRequest& WithImagePullCredentialsTypeOverride(const ImagePullCredentialsType& value) { SetImagePullCredentialsTypeOverride(value); return *this;} /** *

The type of credentials CodeBuild uses to pull images in your batch build. * There are two valid values:

CODEBUILD

Specifies that * CodeBuild uses its own credentials. This requires that you modify your ECR * repository policy to trust CodeBuild's service principal.

*
SERVICE_ROLE

Specifies that CodeBuild uses your build project's * service role.

When using a cross-account or private registry * image, you must use SERVICE_ROLE credentials. When using an * CodeBuild curated image, you must use CODEBUILD credentials.

*/ inline StartBuildBatchRequest& WithImagePullCredentialsTypeOverride(ImagePullCredentialsType&& value) { SetImagePullCredentialsTypeOverride(std::move(value)); return *this;} /** *

A BuildBatchConfigOverride object that contains batch build * configuration overrides.

*/ inline const ProjectBuildBatchConfig& GetBuildBatchConfigOverride() const{ return m_buildBatchConfigOverride; } /** *

A BuildBatchConfigOverride object that contains batch build * configuration overrides.

*/ inline bool BuildBatchConfigOverrideHasBeenSet() const { return m_buildBatchConfigOverrideHasBeenSet; } /** *

A BuildBatchConfigOverride object that contains batch build * configuration overrides.

*/ inline void SetBuildBatchConfigOverride(const ProjectBuildBatchConfig& value) { m_buildBatchConfigOverrideHasBeenSet = true; m_buildBatchConfigOverride = value; } /** *

A BuildBatchConfigOverride object that contains batch build * configuration overrides.

*/ inline void SetBuildBatchConfigOverride(ProjectBuildBatchConfig&& value) { m_buildBatchConfigOverrideHasBeenSet = true; m_buildBatchConfigOverride = std::move(value); } /** *

A BuildBatchConfigOverride object that contains batch build * configuration overrides.

*/ inline StartBuildBatchRequest& WithBuildBatchConfigOverride(const ProjectBuildBatchConfig& value) { SetBuildBatchConfigOverride(value); return *this;} /** *

A BuildBatchConfigOverride object that contains batch build * configuration overrides.

*/ inline StartBuildBatchRequest& WithBuildBatchConfigOverride(ProjectBuildBatchConfig&& value) { SetBuildBatchConfigOverride(std::move(value)); return *this;} /** *

Specifies if session debugging is enabled for this batch build. For more * information, see Viewing * a running build in Session Manager. Batch session debugging is not supported * for matrix batch builds.

*/ inline bool GetDebugSessionEnabled() const{ return m_debugSessionEnabled; } /** *

Specifies if session debugging is enabled for this batch build. For more * information, see Viewing * a running build in Session Manager. Batch session debugging is not supported * for matrix batch builds.

*/ inline bool DebugSessionEnabledHasBeenSet() const { return m_debugSessionEnabledHasBeenSet; } /** *

Specifies if session debugging is enabled for this batch build. For more * information, see Viewing * a running build in Session Manager. Batch session debugging is not supported * for matrix batch builds.

*/ inline void SetDebugSessionEnabled(bool value) { m_debugSessionEnabledHasBeenSet = true; m_debugSessionEnabled = value; } /** *

Specifies if session debugging is enabled for this batch build. For more * information, see Viewing * a running build in Session Manager. Batch session debugging is not supported * for matrix batch builds.

*/ inline StartBuildBatchRequest& WithDebugSessionEnabled(bool value) { SetDebugSessionEnabled(value); return *this;} private: Aws::String m_projectName; bool m_projectNameHasBeenSet = false; Aws::Vector m_secondarySourcesOverride; bool m_secondarySourcesOverrideHasBeenSet = false; Aws::Vector m_secondarySourcesVersionOverride; bool m_secondarySourcesVersionOverrideHasBeenSet = false; Aws::String m_sourceVersion; bool m_sourceVersionHasBeenSet = false; ProjectArtifacts m_artifactsOverride; bool m_artifactsOverrideHasBeenSet = false; Aws::Vector m_secondaryArtifactsOverride; bool m_secondaryArtifactsOverrideHasBeenSet = false; Aws::Vector m_environmentVariablesOverride; bool m_environmentVariablesOverrideHasBeenSet = false; SourceType m_sourceTypeOverride; bool m_sourceTypeOverrideHasBeenSet = false; Aws::String m_sourceLocationOverride; bool m_sourceLocationOverrideHasBeenSet = false; SourceAuth m_sourceAuthOverride; bool m_sourceAuthOverrideHasBeenSet = false; int m_gitCloneDepthOverride; bool m_gitCloneDepthOverrideHasBeenSet = false; GitSubmodulesConfig m_gitSubmodulesConfigOverride; bool m_gitSubmodulesConfigOverrideHasBeenSet = false; Aws::String m_buildspecOverride; bool m_buildspecOverrideHasBeenSet = false; bool m_insecureSslOverride; bool m_insecureSslOverrideHasBeenSet = false; bool m_reportBuildBatchStatusOverride; bool m_reportBuildBatchStatusOverrideHasBeenSet = false; EnvironmentType m_environmentTypeOverride; bool m_environmentTypeOverrideHasBeenSet = false; Aws::String m_imageOverride; bool m_imageOverrideHasBeenSet = false; ComputeType m_computeTypeOverride; bool m_computeTypeOverrideHasBeenSet = false; Aws::String m_certificateOverride; bool m_certificateOverrideHasBeenSet = false; ProjectCache m_cacheOverride; bool m_cacheOverrideHasBeenSet = false; Aws::String m_serviceRoleOverride; bool m_serviceRoleOverrideHasBeenSet = false; bool m_privilegedModeOverride; bool m_privilegedModeOverrideHasBeenSet = false; int m_buildTimeoutInMinutesOverride; bool m_buildTimeoutInMinutesOverrideHasBeenSet = false; int m_queuedTimeoutInMinutesOverride; bool m_queuedTimeoutInMinutesOverrideHasBeenSet = false; Aws::String m_encryptionKeyOverride; bool m_encryptionKeyOverrideHasBeenSet = false; Aws::String m_idempotencyToken; bool m_idempotencyTokenHasBeenSet = false; LogsConfig m_logsConfigOverride; bool m_logsConfigOverrideHasBeenSet = false; RegistryCredential m_registryCredentialOverride; bool m_registryCredentialOverrideHasBeenSet = false; ImagePullCredentialsType m_imagePullCredentialsTypeOverride; bool m_imagePullCredentialsTypeOverrideHasBeenSet = false; ProjectBuildBatchConfig m_buildBatchConfigOverride; bool m_buildBatchConfigOverrideHasBeenSet = false; bool m_debugSessionEnabled; bool m_debugSessionEnabledHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws