/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a build project.See Also:
AWS
* API Reference
The name of the build project.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the build project.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the build project.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the build project.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the build project.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the build project.
*/ inline Project& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the build project.
*/ inline Project& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the build project.
*/ inline Project& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the build project.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the build project.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the build project.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the build project.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the build project.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the build project.
*/ inline Project& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the build project.
*/ inline Project& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the build project.
*/ inline Project& WithArn(const char* value) { SetArn(value); return *this;} /** *A description that makes the build project easy to identify.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description that makes the build project easy to identify.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description that makes the build project easy to identify.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description that makes the build project easy to identify.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description that makes the build project easy to identify.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description that makes the build project easy to identify.
*/ inline Project& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description that makes the build project easy to identify.
*/ inline Project& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description that makes the build project easy to identify.
*/ inline Project& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Information about the build input source code for this build project.
*/ inline const ProjectSource& GetSource() const{ return m_source; } /** *Information about the build input source code for this build project.
*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *Information about the build input source code for this build project.
*/ inline void SetSource(const ProjectSource& value) { m_sourceHasBeenSet = true; m_source = value; } /** *Information about the build input source code for this build project.
*/ inline void SetSource(ProjectSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *Information about the build input source code for this build project.
*/ inline Project& WithSource(const ProjectSource& value) { SetSource(value); return *this;} /** *Information about the build input source code for this build project.
*/ inline Project& WithSource(ProjectSource&& value) { SetSource(std::move(value)); return *this;} /** *An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
An array of ProjectSource
objects.
A version of the build input to be built for this project. If not specified, * the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
If sourceVersion
is specified at the build
* level, then that version takes precedence over this sourceVersion
* (at the project level).
For more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; } /** *A version of the build input to be built for this project. If not specified, * the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
If sourceVersion
is specified at the build
* level, then that version takes precedence over this sourceVersion
* (at the project level).
For more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; } /** *A version of the build input to be built for this project. If not specified, * the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
If sourceVersion
is specified at the build
* level, then that version takes precedence over this sourceVersion
* (at the project level).
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; } /** *A version of the build input to be built for this project. If not specified, * the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
If sourceVersion
is specified at the build
* level, then that version takes precedence over this sourceVersion
* (at the project level).
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); } /** *A version of the build input to be built for this project. If not specified, * the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
If sourceVersion
is specified at the build
* level, then that version takes precedence over this sourceVersion
* (at the project level).
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); } /** *A version of the build input to be built for this project. If not specified, * the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
If sourceVersion
is specified at the build
* level, then that version takes precedence over this sourceVersion
* (at the project level).
For more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline Project& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;} /** *A version of the build input to be built for this project. If not specified, * the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
If sourceVersion
is specified at the build
* level, then that version takes precedence over this sourceVersion
* (at the project level).
For more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline Project& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;} /** *A version of the build input to be built for this project. If not specified, * the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that
* corresponds to the version of the source code you want to build. If a pull
* request ID is specified, it must use the format pr/pull-request-ID
* (for example pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is
* used.
For Bitbucket: the commit ID, branch name, or tag name * that corresponds to the version of the source code you want to build. If a * branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used.
For Amazon S3: * the version ID of the object that represents the build input ZIP file to * use.
If sourceVersion
is specified at the build
* level, then that version takes precedence over this sourceVersion
* (at the project level).
For more information, see Source * Version Sample with CodeBuild in the CodeBuild User Guide.
*/ inline Project& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;} /** *An array of ProjectSourceVersion
objects. If
* secondarySourceVersions
is specified at the build level, then they
* take over these secondarySourceVersions
(at the project level).
*
An array of ProjectSourceVersion
objects. If
* secondarySourceVersions
is specified at the build level, then they
* take over these secondarySourceVersions
(at the project level).
*
An array of ProjectSourceVersion
objects. If
* secondarySourceVersions
is specified at the build level, then they
* take over these secondarySourceVersions
(at the project level).
*
An array of ProjectSourceVersion
objects. If
* secondarySourceVersions
is specified at the build level, then they
* take over these secondarySourceVersions
(at the project level).
*
An array of ProjectSourceVersion
objects. If
* secondarySourceVersions
is specified at the build level, then they
* take over these secondarySourceVersions
(at the project level).
*
An array of ProjectSourceVersion
objects. If
* secondarySourceVersions
is specified at the build level, then they
* take over these secondarySourceVersions
(at the project level).
*
An array of ProjectSourceVersion
objects. If
* secondarySourceVersions
is specified at the build level, then they
* take over these secondarySourceVersions
(at the project level).
*
An array of ProjectSourceVersion
objects. If
* secondarySourceVersions
is specified at the build level, then they
* take over these secondarySourceVersions
(at the project level).
*
Information about the build output artifacts for the build project.
*/ inline const ProjectArtifacts& GetArtifacts() const{ return m_artifacts; } /** *Information about the build output artifacts for the build project.
*/ inline bool ArtifactsHasBeenSet() const { return m_artifactsHasBeenSet; } /** *Information about the build output artifacts for the build project.
*/ inline void SetArtifacts(const ProjectArtifacts& value) { m_artifactsHasBeenSet = true; m_artifacts = value; } /** *Information about the build output artifacts for the build project.
*/ inline void SetArtifacts(ProjectArtifacts&& value) { m_artifactsHasBeenSet = true; m_artifacts = std::move(value); } /** *Information about the build output artifacts for the build project.
*/ inline Project& WithArtifacts(const ProjectArtifacts& value) { SetArtifacts(value); return *this;} /** *Information about the build output artifacts for the build project.
*/ inline Project& WithArtifacts(ProjectArtifacts&& value) { SetArtifacts(std::move(value)); return *this;} /** *An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
An array of ProjectArtifacts
objects.
Information about the cache for the build project.
*/ inline const ProjectCache& GetCache() const{ return m_cache; } /** *Information about the cache for the build project.
*/ inline bool CacheHasBeenSet() const { return m_cacheHasBeenSet; } /** *Information about the cache for the build project.
*/ inline void SetCache(const ProjectCache& value) { m_cacheHasBeenSet = true; m_cache = value; } /** *Information about the cache for the build project.
*/ inline void SetCache(ProjectCache&& value) { m_cacheHasBeenSet = true; m_cache = std::move(value); } /** *Information about the cache for the build project.
*/ inline Project& WithCache(const ProjectCache& value) { SetCache(value); return *this;} /** *Information about the cache for the build project.
*/ inline Project& WithCache(ProjectCache&& value) { SetCache(std::move(value)); return *this;} /** *Information about the build environment for this build project.
*/ inline const ProjectEnvironment& GetEnvironment() const{ return m_environment; } /** *Information about the build environment for this build project.
*/ inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } /** *Information about the build environment for this build project.
*/ inline void SetEnvironment(const ProjectEnvironment& value) { m_environmentHasBeenSet = true; m_environment = value; } /** *Information about the build environment for this build project.
*/ inline void SetEnvironment(ProjectEnvironment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); } /** *Information about the build environment for this build project.
*/ inline Project& WithEnvironment(const ProjectEnvironment& value) { SetEnvironment(value); return *this;} /** *Information about the build environment for this build project.
*/ inline Project& WithEnvironment(ProjectEnvironment&& value) { SetEnvironment(std::move(value)); return *this;} /** *The ARN of the IAM role that enables CodeBuild to interact with dependent * Amazon Web Services services on behalf of the Amazon Web Services account.
*/ inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } /** *The ARN of the IAM role that enables CodeBuild to interact with dependent * Amazon Web Services services on behalf of the Amazon Web Services account.
*/ inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; } /** *The ARN of the IAM role that enables CodeBuild to interact with dependent * Amazon Web Services services on behalf of the Amazon Web Services account.
*/ inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; } /** *The ARN of the IAM role that enables CodeBuild to interact with dependent * Amazon Web Services services on behalf of the Amazon Web Services account.
*/ inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); } /** *The ARN of the IAM role that enables CodeBuild to interact with dependent * Amazon Web Services services on behalf of the Amazon Web Services account.
*/ inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); } /** *The ARN of the IAM role that enables CodeBuild to interact with dependent * Amazon Web Services services on behalf of the Amazon Web Services account.
*/ inline Project& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} /** *The ARN of the IAM role that enables CodeBuild to interact with dependent * Amazon Web Services services on behalf of the Amazon Web Services account.
*/ inline Project& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} /** *The ARN of the IAM role that enables CodeBuild to interact with dependent * Amazon Web Services services on behalf of the Amazon Web Services account.
*/ inline Project& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} /** *How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before * timing out any related build that did not get marked as completed. The default * is 60 minutes.
*/ inline int GetTimeoutInMinutes() const{ return m_timeoutInMinutes; } /** *How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before * timing out any related build that did not get marked as completed. The default * is 60 minutes.
*/ inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; } /** *How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before * timing out any related build that did not get marked as completed. The default * is 60 minutes.
*/ inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; } /** *How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before * timing out any related build that did not get marked as completed. The default * is 60 minutes.
*/ inline Project& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;} /** *The number of minutes a build is allowed to be queued before it times out. *
*/ inline int GetQueuedTimeoutInMinutes() const{ return m_queuedTimeoutInMinutes; } /** *The number of minutes a build is allowed to be queued before it times out. *
*/ inline bool QueuedTimeoutInMinutesHasBeenSet() const { return m_queuedTimeoutInMinutesHasBeenSet; } /** *The number of minutes a build is allowed to be queued before it times out. *
*/ inline void SetQueuedTimeoutInMinutes(int value) { m_queuedTimeoutInMinutesHasBeenSet = true; m_queuedTimeoutInMinutes = value; } /** *The number of minutes a build is allowed to be queued before it times out. *
*/ inline Project& WithQueuedTimeoutInMinutes(int value) { SetQueuedTimeoutInMinutes(value); return *this;} /** *The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a cross-account * KMS key to encrypt the build output artifacts if your service role has * permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
). If you don't specify a value,
* CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).
*
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a cross-account * KMS key to encrypt the build output artifacts if your service role has * permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
). If you don't specify a value,
* CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).
*
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a cross-account * KMS key to encrypt the build output artifacts if your service role has * permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
). If you don't specify a value,
* CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).
*
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a cross-account * KMS key to encrypt the build output artifacts if your service role has * permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
). If you don't specify a value,
* CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).
*
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a cross-account * KMS key to encrypt the build output artifacts if your service role has * permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
). If you don't specify a value,
* CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).
*
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a cross-account * KMS key to encrypt the build output artifacts if your service role has * permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
). If you don't specify a value,
* CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).
*
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a cross-account * KMS key to encrypt the build output artifacts if your service role has * permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
). If you don't specify a value,
* CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).
*
The Key Management Service customer master key (CMK) to be used for * encrypting the build output artifacts.
You can use a cross-account * KMS key to encrypt the build output artifacts if your service role has * permission to that key.
You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
). If you don't specify a value,
* CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).
*
A list of tag key and value pairs associated with this build project.
*These tags are available for use by Amazon Web Services services that support * CodeBuild build project tags.
*/ inline const Aws::VectorA list of tag key and value pairs associated with this build project.
*These tags are available for use by Amazon Web Services services that support * CodeBuild build project tags.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A list of tag key and value pairs associated with this build project.
*These tags are available for use by Amazon Web Services services that support * CodeBuild build project tags.
*/ inline void SetTags(const Aws::VectorA list of tag key and value pairs associated with this build project.
*These tags are available for use by Amazon Web Services services that support * CodeBuild build project tags.
*/ inline void SetTags(Aws::VectorA list of tag key and value pairs associated with this build project.
*These tags are available for use by Amazon Web Services services that support * CodeBuild build project tags.
*/ inline Project& WithTags(const Aws::VectorA list of tag key and value pairs associated with this build project.
*These tags are available for use by Amazon Web Services services that support * CodeBuild build project tags.
*/ inline Project& WithTags(Aws::VectorA list of tag key and value pairs associated with this build project.
*These tags are available for use by Amazon Web Services services that support * CodeBuild build project tags.
*/ inline Project& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *A list of tag key and value pairs associated with this build project.
*These tags are available for use by Amazon Web Services services that support * CodeBuild build project tags.
*/ inline Project& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *When the build project was created, expressed in Unix time format.
*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *When the build project was created, expressed in Unix time format.
*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *When the build project was created, expressed in Unix time format.
*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; } /** *When the build project was created, expressed in Unix time format.
*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *When the build project was created, expressed in Unix time format.
*/ inline Project& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *When the build project was created, expressed in Unix time format.
*/ inline Project& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *When the build project's settings were last modified, expressed in Unix time * format.
*/ inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; } /** *When the build project's settings were last modified, expressed in Unix time * format.
*/ inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } /** *When the build project's settings were last modified, expressed in Unix time * format.
*/ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } /** *When the build project's settings were last modified, expressed in Unix time * format.
*/ inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); } /** *When the build project's settings were last modified, expressed in Unix time * format.
*/ inline Project& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;} /** *When the build project's settings were last modified, expressed in Unix time * format.
*/ inline Project& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} /** *Information about a webhook that connects repository events to a build * project in CodeBuild.
*/ inline const Webhook& GetWebhook() const{ return m_webhook; } /** *Information about a webhook that connects repository events to a build * project in CodeBuild.
*/ inline bool WebhookHasBeenSet() const { return m_webhookHasBeenSet; } /** *Information about a webhook that connects repository events to a build * project in CodeBuild.
*/ inline void SetWebhook(const Webhook& value) { m_webhookHasBeenSet = true; m_webhook = value; } /** *Information about a webhook that connects repository events to a build * project in CodeBuild.
*/ inline void SetWebhook(Webhook&& value) { m_webhookHasBeenSet = true; m_webhook = std::move(value); } /** *Information about a webhook that connects repository events to a build * project in CodeBuild.
*/ inline Project& WithWebhook(const Webhook& value) { SetWebhook(value); return *this;} /** *Information about a webhook that connects repository events to a build * project in CodeBuild.
*/ inline Project& WithWebhook(Webhook&& value) { SetWebhook(std::move(value)); return *this;} /** *Information about the VPC configuration that CodeBuild accesses.
*/ inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } /** *Information about the VPC configuration that CodeBuild accesses.
*/ inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } /** *Information about the VPC configuration that CodeBuild accesses.
*/ inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } /** *Information about the VPC configuration that CodeBuild accesses.
*/ inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } /** *Information about the VPC configuration that CodeBuild accesses.
*/ inline Project& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;} /** *Information about the VPC configuration that CodeBuild accesses.
*/ inline Project& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} /** *Information about the build badge for the build project.
*/ inline const ProjectBadge& GetBadge() const{ return m_badge; } /** *Information about the build badge for the build project.
*/ inline bool BadgeHasBeenSet() const { return m_badgeHasBeenSet; } /** *Information about the build badge for the build project.
*/ inline void SetBadge(const ProjectBadge& value) { m_badgeHasBeenSet = true; m_badge = value; } /** *Information about the build badge for the build project.
*/ inline void SetBadge(ProjectBadge&& value) { m_badgeHasBeenSet = true; m_badge = std::move(value); } /** *Information about the build badge for the build project.
*/ inline Project& WithBadge(const ProjectBadge& value) { SetBadge(value); return *this;} /** *Information about the build badge for the build project.
*/ inline Project& WithBadge(ProjectBadge&& value) { SetBadge(std::move(value)); return *this;} /** *Information about logs for the build project. A project can create logs in * CloudWatch Logs, an S3 bucket, or both.
*/ inline const LogsConfig& GetLogsConfig() const{ return m_logsConfig; } /** *Information about logs for the build project. A project can create logs in * CloudWatch Logs, an S3 bucket, or both.
*/ inline bool LogsConfigHasBeenSet() const { return m_logsConfigHasBeenSet; } /** *Information about logs for the build project. A project can create logs in * CloudWatch Logs, an S3 bucket, or both.
*/ inline void SetLogsConfig(const LogsConfig& value) { m_logsConfigHasBeenSet = true; m_logsConfig = value; } /** *Information about logs for the build project. A project can create logs in * CloudWatch Logs, an S3 bucket, or both.
*/ inline void SetLogsConfig(LogsConfig&& value) { m_logsConfigHasBeenSet = true; m_logsConfig = std::move(value); } /** *Information about logs for the build project. A project can create logs in * CloudWatch Logs, an S3 bucket, or both.
*/ inline Project& WithLogsConfig(const LogsConfig& value) { SetLogsConfig(value); return *this;} /** *Information about logs for the build project. A project can create logs in * CloudWatch Logs, an S3 bucket, or both.
*/ inline Project& WithLogsConfig(LogsConfig&& value) { SetLogsConfig(std::move(value)); return *this;} /** * An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
An array of ProjectFileSystemLocation
objects for a CodeBuild
* build project. A ProjectFileSystemLocation
object specifies the
* identifier
, location
, mountOptions
,
* mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
A ProjectBuildBatchConfig object that defines the batch build options * for the project.
*/ inline const ProjectBuildBatchConfig& GetBuildBatchConfig() const{ return m_buildBatchConfig; } /** *A ProjectBuildBatchConfig object that defines the batch build options * for the project.
*/ inline bool BuildBatchConfigHasBeenSet() const { return m_buildBatchConfigHasBeenSet; } /** *A ProjectBuildBatchConfig object that defines the batch build options * for the project.
*/ inline void SetBuildBatchConfig(const ProjectBuildBatchConfig& value) { m_buildBatchConfigHasBeenSet = true; m_buildBatchConfig = value; } /** *A ProjectBuildBatchConfig object that defines the batch build options * for the project.
*/ inline void SetBuildBatchConfig(ProjectBuildBatchConfig&& value) { m_buildBatchConfigHasBeenSet = true; m_buildBatchConfig = std::move(value); } /** *A ProjectBuildBatchConfig object that defines the batch build options * for the project.
*/ inline Project& WithBuildBatchConfig(const ProjectBuildBatchConfig& value) { SetBuildBatchConfig(value); return *this;} /** *A ProjectBuildBatchConfig object that defines the batch build options * for the project.
*/ inline Project& WithBuildBatchConfig(ProjectBuildBatchConfig&& value) { SetBuildBatchConfig(std::move(value)); return *this;} /** *The maximum number of concurrent builds that are allowed for this * project.
New builds are only started if the current number of builds is * less than or equal to this limit. If the current build count meets this limit, * new builds are throttled and are not run.
*/ inline int GetConcurrentBuildLimit() const{ return m_concurrentBuildLimit; } /** *The maximum number of concurrent builds that are allowed for this * project.
New builds are only started if the current number of builds is * less than or equal to this limit. If the current build count meets this limit, * new builds are throttled and are not run.
*/ inline bool ConcurrentBuildLimitHasBeenSet() const { return m_concurrentBuildLimitHasBeenSet; } /** *The maximum number of concurrent builds that are allowed for this * project.
New builds are only started if the current number of builds is * less than or equal to this limit. If the current build count meets this limit, * new builds are throttled and are not run.
*/ inline void SetConcurrentBuildLimit(int value) { m_concurrentBuildLimitHasBeenSet = true; m_concurrentBuildLimit = value; } /** *The maximum number of concurrent builds that are allowed for this * project.
New builds are only started if the current number of builds is * less than or equal to this limit. If the current build count meets this limit, * new builds are throttled and are not run.
*/ inline Project& WithConcurrentBuildLimit(int value) { SetConcurrentBuildLimit(value); return *this;} inline const ProjectVisibilityType& GetProjectVisibility() const{ return m_projectVisibility; } inline bool ProjectVisibilityHasBeenSet() const { return m_projectVisibilityHasBeenSet; } inline void SetProjectVisibility(const ProjectVisibilityType& value) { m_projectVisibilityHasBeenSet = true; m_projectVisibility = value; } inline void SetProjectVisibility(ProjectVisibilityType&& value) { m_projectVisibilityHasBeenSet = true; m_projectVisibility = std::move(value); } inline Project& WithProjectVisibility(const ProjectVisibilityType& value) { SetProjectVisibility(value); return *this;} inline Project& WithProjectVisibility(ProjectVisibilityType&& value) { SetProjectVisibility(std::move(value)); return *this;} /** *Contains the project identifier used with the public build APIs.
*/ inline const Aws::String& GetPublicProjectAlias() const{ return m_publicProjectAlias; } /** *Contains the project identifier used with the public build APIs.
*/ inline bool PublicProjectAliasHasBeenSet() const { return m_publicProjectAliasHasBeenSet; } /** *Contains the project identifier used with the public build APIs.
*/ inline void SetPublicProjectAlias(const Aws::String& value) { m_publicProjectAliasHasBeenSet = true; m_publicProjectAlias = value; } /** *Contains the project identifier used with the public build APIs.
*/ inline void SetPublicProjectAlias(Aws::String&& value) { m_publicProjectAliasHasBeenSet = true; m_publicProjectAlias = std::move(value); } /** *Contains the project identifier used with the public build APIs.
*/ inline void SetPublicProjectAlias(const char* value) { m_publicProjectAliasHasBeenSet = true; m_publicProjectAlias.assign(value); } /** *Contains the project identifier used with the public build APIs.
*/ inline Project& WithPublicProjectAlias(const Aws::String& value) { SetPublicProjectAlias(value); return *this;} /** *Contains the project identifier used with the public build APIs.
*/ inline Project& WithPublicProjectAlias(Aws::String&& value) { SetPublicProjectAlias(std::move(value)); return *this;} /** *Contains the project identifier used with the public build APIs.
*/ inline Project& WithPublicProjectAlias(const char* value) { SetPublicProjectAlias(value); return *this;} /** *The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs * and Amazon S3 artifacts for the project's builds.
*/ inline const Aws::String& GetResourceAccessRole() const{ return m_resourceAccessRole; } /** *The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs * and Amazon S3 artifacts for the project's builds.
*/ inline bool ResourceAccessRoleHasBeenSet() const { return m_resourceAccessRoleHasBeenSet; } /** *The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs * and Amazon S3 artifacts for the project's builds.
*/ inline void SetResourceAccessRole(const Aws::String& value) { m_resourceAccessRoleHasBeenSet = true; m_resourceAccessRole = value; } /** *The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs * and Amazon S3 artifacts for the project's builds.
*/ inline void SetResourceAccessRole(Aws::String&& value) { m_resourceAccessRoleHasBeenSet = true; m_resourceAccessRole = std::move(value); } /** *The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs * and Amazon S3 artifacts for the project's builds.
*/ inline void SetResourceAccessRole(const char* value) { m_resourceAccessRoleHasBeenSet = true; m_resourceAccessRole.assign(value); } /** *The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs * and Amazon S3 artifacts for the project's builds.
*/ inline Project& WithResourceAccessRole(const Aws::String& value) { SetResourceAccessRole(value); return *this;} /** *The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs * and Amazon S3 artifacts for the project's builds.
*/ inline Project& WithResourceAccessRole(Aws::String&& value) { SetResourceAccessRole(std::move(value)); return *this;} /** *The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs * and Amazon S3 artifacts for the project's builds.
*/ inline Project& WithResourceAccessRole(const char* value) { SetResourceAccessRole(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ProjectSource m_source; bool m_sourceHasBeenSet = false; Aws::Vector