This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

1273 lines
57 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codebuild/CodeBuild_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/codebuild/model/ProjectSource.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/codebuild/model/ProjectArtifacts.h>
#include <aws/codebuild/model/ProjectCache.h>
#include <aws/codebuild/model/ProjectEnvironment.h>
#include <aws/core/utils/DateTime.h>
#include <aws/codebuild/model/Webhook.h>
#include <aws/codebuild/model/VpcConfig.h>
#include <aws/codebuild/model/ProjectBadge.h>
#include <aws/codebuild/model/LogsConfig.h>
#include <aws/codebuild/model/ProjectBuildBatchConfig.h>
#include <aws/codebuild/model/ProjectSourceVersion.h>
#include <aws/codebuild/model/Tag.h>
#include <aws/codebuild/model/ProjectFileSystemLocation.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace CodeBuild
{
namespace Model
{
/**
* <p>Information about a build project.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project">AWS
* API Reference</a></p>
*/
class AWS_CODEBUILD_API Project
{
public:
Project();
Project(Aws::Utils::Json::JsonView jsonValue);
Project& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the build project.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the build project.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the build project.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the build project.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the build project.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the build project.</p>
*/
inline Project& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the build project.</p>
*/
inline Project& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the build project.</p>
*/
inline Project& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the build project.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the build project.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the build project.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the build project.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the build project.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the build project.</p>
*/
inline Project& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the build project.</p>
*/
inline Project& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the build project.</p>
*/
inline Project& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>A description that makes the build project easy to identify.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>A description that makes the build project easy to identify.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>A description that makes the build project easy to identify.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>A description that makes the build project easy to identify.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>A description that makes the build project easy to identify.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>A description that makes the build project easy to identify.</p>
*/
inline Project& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>A description that makes the build project easy to identify.</p>
*/
inline Project& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>A description that makes the build project easy to identify.</p>
*/
inline Project& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>Information about the build input source code for this build project.</p>
*/
inline const ProjectSource& GetSource() const{ return m_source; }
/**
* <p>Information about the build input source code for this build project.</p>
*/
inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
/**
* <p>Information about the build input source code for this build project.</p>
*/
inline void SetSource(const ProjectSource& value) { m_sourceHasBeenSet = true; m_source = value; }
/**
* <p>Information about the build input source code for this build project.</p>
*/
inline void SetSource(ProjectSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
/**
* <p>Information about the build input source code for this build project.</p>
*/
inline Project& WithSource(const ProjectSource& value) { SetSource(value); return *this;}
/**
* <p>Information about the build input source code for this build project.</p>
*/
inline Project& WithSource(ProjectSource&& value) { SetSource(std::move(value)); return *this;}
/**
* <p>An array of <code>ProjectSource</code> objects. </p>
*/
inline const Aws::Vector<ProjectSource>& GetSecondarySources() const{ return m_secondarySources; }
/**
* <p>An array of <code>ProjectSource</code> objects. </p>
*/
inline bool SecondarySourcesHasBeenSet() const { return m_secondarySourcesHasBeenSet; }
/**
* <p>An array of <code>ProjectSource</code> objects. </p>
*/
inline void SetSecondarySources(const Aws::Vector<ProjectSource>& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources = value; }
/**
* <p>An array of <code>ProjectSource</code> objects. </p>
*/
inline void SetSecondarySources(Aws::Vector<ProjectSource>&& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources = std::move(value); }
/**
* <p>An array of <code>ProjectSource</code> objects. </p>
*/
inline Project& WithSecondarySources(const Aws::Vector<ProjectSource>& value) { SetSecondarySources(value); return *this;}
/**
* <p>An array of <code>ProjectSource</code> objects. </p>
*/
inline Project& WithSecondarySources(Aws::Vector<ProjectSource>&& value) { SetSecondarySources(std::move(value)); return *this;}
/**
* <p>An array of <code>ProjectSource</code> objects. </p>
*/
inline Project& AddSecondarySources(const ProjectSource& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources.push_back(value); return *this; }
/**
* <p>An array of <code>ProjectSource</code> objects. </p>
*/
inline Project& AddSecondarySources(ProjectSource&& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources.push_back(std::move(value)); return *this; }
/**
* <p>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:</p> <ul> <li>
* <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p> </li> <li>
* <p>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 <code>pr/pull-request-ID</code>
* (for example <code>pr/25</code>). 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.</p> </li> <li> <p>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.</p> </li> <li> <p>For Amazon Simple
* Storage Service (Amazon S3): the version ID of the object that represents the
* build input ZIP file to use.</p> </li> </ul> <p>If <code>sourceVersion</code> is
* specified at the build level, then that version takes precedence over this
* <code>sourceVersion</code> (at the project level). </p> <p>For more information,
* see <a
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html">Source
* Version Sample with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>
*/
inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; }
/**
* <p>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:</p> <ul> <li>
* <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p> </li> <li>
* <p>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 <code>pr/pull-request-ID</code>
* (for example <code>pr/25</code>). 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.</p> </li> <li> <p>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.</p> </li> <li> <p>For Amazon Simple
* Storage Service (Amazon S3): the version ID of the object that represents the
* build input ZIP file to use.</p> </li> </ul> <p>If <code>sourceVersion</code> is
* specified at the build level, then that version takes precedence over this
* <code>sourceVersion</code> (at the project level). </p> <p>For more information,
* see <a
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html">Source
* Version Sample with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>
*/
inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
/**
* <p>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:</p> <ul> <li>
* <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p> </li> <li>
* <p>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 <code>pr/pull-request-ID</code>
* (for example <code>pr/25</code>). 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.</p> </li> <li> <p>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.</p> </li> <li> <p>For Amazon Simple
* Storage Service (Amazon S3): the version ID of the object that represents the
* build input ZIP file to use.</p> </li> </ul> <p>If <code>sourceVersion</code> is
* specified at the build level, then that version takes precedence over this
* <code>sourceVersion</code> (at the project level). </p> <p>For more information,
* see <a
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html">Source
* Version Sample with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>
*/
inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; }
/**
* <p>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:</p> <ul> <li>
* <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p> </li> <li>
* <p>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 <code>pr/pull-request-ID</code>
* (for example <code>pr/25</code>). 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.</p> </li> <li> <p>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.</p> </li> <li> <p>For Amazon Simple
* Storage Service (Amazon S3): the version ID of the object that represents the
* build input ZIP file to use.</p> </li> </ul> <p>If <code>sourceVersion</code> is
* specified at the build level, then that version takes precedence over this
* <code>sourceVersion</code> (at the project level). </p> <p>For more information,
* see <a
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html">Source
* Version Sample with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>
*/
inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); }
/**
* <p>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:</p> <ul> <li>
* <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p> </li> <li>
* <p>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 <code>pr/pull-request-ID</code>
* (for example <code>pr/25</code>). 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.</p> </li> <li> <p>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.</p> </li> <li> <p>For Amazon Simple
* Storage Service (Amazon S3): the version ID of the object that represents the
* build input ZIP file to use.</p> </li> </ul> <p>If <code>sourceVersion</code> is
* specified at the build level, then that version takes precedence over this
* <code>sourceVersion</code> (at the project level). </p> <p>For more information,
* see <a
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html">Source
* Version Sample with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>
*/
inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); }
/**
* <p>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:</p> <ul> <li>
* <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p> </li> <li>
* <p>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 <code>pr/pull-request-ID</code>
* (for example <code>pr/25</code>). 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.</p> </li> <li> <p>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.</p> </li> <li> <p>For Amazon Simple
* Storage Service (Amazon S3): the version ID of the object that represents the
* build input ZIP file to use.</p> </li> </ul> <p>If <code>sourceVersion</code> is
* specified at the build level, then that version takes precedence over this
* <code>sourceVersion</code> (at the project level). </p> <p>For more information,
* see <a
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html">Source
* Version Sample with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>
*/
inline Project& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;}
/**
* <p>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:</p> <ul> <li>
* <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p> </li> <li>
* <p>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 <code>pr/pull-request-ID</code>
* (for example <code>pr/25</code>). 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.</p> </li> <li> <p>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.</p> </li> <li> <p>For Amazon Simple
* Storage Service (Amazon S3): the version ID of the object that represents the
* build input ZIP file to use.</p> </li> </ul> <p>If <code>sourceVersion</code> is
* specified at the build level, then that version takes precedence over this
* <code>sourceVersion</code> (at the project level). </p> <p>For more information,
* see <a
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html">Source
* Version Sample with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>
*/
inline Project& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;}
/**
* <p>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:</p> <ul> <li>
* <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p> </li> <li>
* <p>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 <code>pr/pull-request-ID</code>
* (for example <code>pr/25</code>). 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.</p> </li> <li> <p>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.</p> </li> <li> <p>For Amazon Simple
* Storage Service (Amazon S3): the version ID of the object that represents the
* build input ZIP file to use.</p> </li> </ul> <p>If <code>sourceVersion</code> is
* specified at the build level, then that version takes precedence over this
* <code>sourceVersion</code> (at the project level). </p> <p>For more information,
* see <a
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html">Source
* Version Sample with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>
*/
inline Project& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;}
/**
* <p>An array of <code>ProjectSourceVersion</code> objects. If
* <code>secondarySourceVersions</code> is specified at the build level, then they
* take over these <code>secondarySourceVersions</code> (at the project level).
* </p>
*/
inline const Aws::Vector<ProjectSourceVersion>& GetSecondarySourceVersions() const{ return m_secondarySourceVersions; }
/**
* <p>An array of <code>ProjectSourceVersion</code> objects. If
* <code>secondarySourceVersions</code> is specified at the build level, then they
* take over these <code>secondarySourceVersions</code> (at the project level).
* </p>
*/
inline bool SecondarySourceVersionsHasBeenSet() const { return m_secondarySourceVersionsHasBeenSet; }
/**
* <p>An array of <code>ProjectSourceVersion</code> objects. If
* <code>secondarySourceVersions</code> is specified at the build level, then they
* take over these <code>secondarySourceVersions</code> (at the project level).
* </p>
*/
inline void SetSecondarySourceVersions(const Aws::Vector<ProjectSourceVersion>& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions = value; }
/**
* <p>An array of <code>ProjectSourceVersion</code> objects. If
* <code>secondarySourceVersions</code> is specified at the build level, then they
* take over these <code>secondarySourceVersions</code> (at the project level).
* </p>
*/
inline void SetSecondarySourceVersions(Aws::Vector<ProjectSourceVersion>&& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions = std::move(value); }
/**
* <p>An array of <code>ProjectSourceVersion</code> objects. If
* <code>secondarySourceVersions</code> is specified at the build level, then they
* take over these <code>secondarySourceVersions</code> (at the project level).
* </p>
*/
inline Project& WithSecondarySourceVersions(const Aws::Vector<ProjectSourceVersion>& value) { SetSecondarySourceVersions(value); return *this;}
/**
* <p>An array of <code>ProjectSourceVersion</code> objects. If
* <code>secondarySourceVersions</code> is specified at the build level, then they
* take over these <code>secondarySourceVersions</code> (at the project level).
* </p>
*/
inline Project& WithSecondarySourceVersions(Aws::Vector<ProjectSourceVersion>&& value) { SetSecondarySourceVersions(std::move(value)); return *this;}
/**
* <p>An array of <code>ProjectSourceVersion</code> objects. If
* <code>secondarySourceVersions</code> is specified at the build level, then they
* take over these <code>secondarySourceVersions</code> (at the project level).
* </p>
*/
inline Project& AddSecondarySourceVersions(const ProjectSourceVersion& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions.push_back(value); return *this; }
/**
* <p>An array of <code>ProjectSourceVersion</code> objects. If
* <code>secondarySourceVersions</code> is specified at the build level, then they
* take over these <code>secondarySourceVersions</code> (at the project level).
* </p>
*/
inline Project& AddSecondarySourceVersions(ProjectSourceVersion&& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions.push_back(std::move(value)); return *this; }
/**
* <p>Information about the build output artifacts for the build project.</p>
*/
inline const ProjectArtifacts& GetArtifacts() const{ return m_artifacts; }
/**
* <p>Information about the build output artifacts for the build project.</p>
*/
inline bool ArtifactsHasBeenSet() const { return m_artifactsHasBeenSet; }
/**
* <p>Information about the build output artifacts for the build project.</p>
*/
inline void SetArtifacts(const ProjectArtifacts& value) { m_artifactsHasBeenSet = true; m_artifacts = value; }
/**
* <p>Information about the build output artifacts for the build project.</p>
*/
inline void SetArtifacts(ProjectArtifacts&& value) { m_artifactsHasBeenSet = true; m_artifacts = std::move(value); }
/**
* <p>Information about the build output artifacts for the build project.</p>
*/
inline Project& WithArtifacts(const ProjectArtifacts& value) { SetArtifacts(value); return *this;}
/**
* <p>Information about the build output artifacts for the build project.</p>
*/
inline Project& WithArtifacts(ProjectArtifacts&& value) { SetArtifacts(std::move(value)); return *this;}
/**
* <p>An array of <code>ProjectArtifacts</code> objects. </p>
*/
inline const Aws::Vector<ProjectArtifacts>& GetSecondaryArtifacts() const{ return m_secondaryArtifacts; }
/**
* <p>An array of <code>ProjectArtifacts</code> objects. </p>
*/
inline bool SecondaryArtifactsHasBeenSet() const { return m_secondaryArtifactsHasBeenSet; }
/**
* <p>An array of <code>ProjectArtifacts</code> objects. </p>
*/
inline void SetSecondaryArtifacts(const Aws::Vector<ProjectArtifacts>& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts = value; }
/**
* <p>An array of <code>ProjectArtifacts</code> objects. </p>
*/
inline void SetSecondaryArtifacts(Aws::Vector<ProjectArtifacts>&& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts = std::move(value); }
/**
* <p>An array of <code>ProjectArtifacts</code> objects. </p>
*/
inline Project& WithSecondaryArtifacts(const Aws::Vector<ProjectArtifacts>& value) { SetSecondaryArtifacts(value); return *this;}
/**
* <p>An array of <code>ProjectArtifacts</code> objects. </p>
*/
inline Project& WithSecondaryArtifacts(Aws::Vector<ProjectArtifacts>&& value) { SetSecondaryArtifacts(std::move(value)); return *this;}
/**
* <p>An array of <code>ProjectArtifacts</code> objects. </p>
*/
inline Project& AddSecondaryArtifacts(const ProjectArtifacts& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts.push_back(value); return *this; }
/**
* <p>An array of <code>ProjectArtifacts</code> objects. </p>
*/
inline Project& AddSecondaryArtifacts(ProjectArtifacts&& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts.push_back(std::move(value)); return *this; }
/**
* <p>Information about the cache for the build project.</p>
*/
inline const ProjectCache& GetCache() const{ return m_cache; }
/**
* <p>Information about the cache for the build project.</p>
*/
inline bool CacheHasBeenSet() const { return m_cacheHasBeenSet; }
/**
* <p>Information about the cache for the build project.</p>
*/
inline void SetCache(const ProjectCache& value) { m_cacheHasBeenSet = true; m_cache = value; }
/**
* <p>Information about the cache for the build project.</p>
*/
inline void SetCache(ProjectCache&& value) { m_cacheHasBeenSet = true; m_cache = std::move(value); }
/**
* <p>Information about the cache for the build project.</p>
*/
inline Project& WithCache(const ProjectCache& value) { SetCache(value); return *this;}
/**
* <p>Information about the cache for the build project.</p>
*/
inline Project& WithCache(ProjectCache&& value) { SetCache(std::move(value)); return *this;}
/**
* <p>Information about the build environment for this build project.</p>
*/
inline const ProjectEnvironment& GetEnvironment() const{ return m_environment; }
/**
* <p>Information about the build environment for this build project.</p>
*/
inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
/**
* <p>Information about the build environment for this build project.</p>
*/
inline void SetEnvironment(const ProjectEnvironment& value) { m_environmentHasBeenSet = true; m_environment = value; }
/**
* <p>Information about the build environment for this build project.</p>
*/
inline void SetEnvironment(ProjectEnvironment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
/**
* <p>Information about the build environment for this build project.</p>
*/
inline Project& WithEnvironment(const ProjectEnvironment& value) { SetEnvironment(value); return *this;}
/**
* <p>Information about the build environment for this build project.</p>
*/
inline Project& WithEnvironment(ProjectEnvironment&& value) { SetEnvironment(std::move(value)); return *this;}
/**
* <p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS
* CodeBuild to interact with dependent AWS services on behalf of the AWS
* account.</p>
*/
inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
/**
* <p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS
* CodeBuild to interact with dependent AWS services on behalf of the AWS
* account.</p>
*/
inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
/**
* <p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS
* CodeBuild to interact with dependent AWS services on behalf of the AWS
* account.</p>
*/
inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
/**
* <p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS
* CodeBuild to interact with dependent AWS services on behalf of the AWS
* account.</p>
*/
inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
/**
* <p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS
* CodeBuild to interact with dependent AWS services on behalf of the AWS
* account.</p>
*/
inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
/**
* <p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS
* CodeBuild to interact with dependent AWS services on behalf of the AWS
* account.</p>
*/
inline Project& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
/**
* <p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS
* CodeBuild to interact with dependent AWS services on behalf of the AWS
* account.</p>
*/
inline Project& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
/**
* <p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS
* CodeBuild to interact with dependent AWS services on behalf of the AWS
* account.</p>
*/
inline Project& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
/**
* <p>How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait
* before timing out any related build that did not get marked as completed. The
* default is 60 minutes.</p>
*/
inline int GetTimeoutInMinutes() const{ return m_timeoutInMinutes; }
/**
* <p>How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait
* before timing out any related build that did not get marked as completed. The
* default is 60 minutes.</p>
*/
inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; }
/**
* <p>How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait
* before timing out any related build that did not get marked as completed. The
* default is 60 minutes.</p>
*/
inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; }
/**
* <p>How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait
* before timing out any related build that did not get marked as completed. The
* default is 60 minutes.</p>
*/
inline Project& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;}
/**
* <p>The number of minutes a build is allowed to be queued before it times out.
* </p>
*/
inline int GetQueuedTimeoutInMinutes() const{ return m_queuedTimeoutInMinutes; }
/**
* <p>The number of minutes a build is allowed to be queued before it times out.
* </p>
*/
inline bool QueuedTimeoutInMinutesHasBeenSet() const { return m_queuedTimeoutInMinutesHasBeenSet; }
/**
* <p>The number of minutes a build is allowed to be queued before it times out.
* </p>
*/
inline void SetQueuedTimeoutInMinutes(int value) { m_queuedTimeoutInMinutesHasBeenSet = true; m_queuedTimeoutInMinutes = value; }
/**
* <p>The number of minutes a build is allowed to be queued before it times out.
* </p>
*/
inline Project& WithQueuedTimeoutInMinutes(int value) { SetQueuedTimeoutInMinutes(value); return *this;}
/**
* <p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used
* for encrypting the build output artifacts.</p> <p>You can use a
* cross-account KMS key to encrypt the build output artifacts if your service role
* has permission to that key. </p> <p>You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format <code>alias/&lt;alias-name&gt;</code>).</p>
*/
inline const Aws::String& GetEncryptionKey() const{ return m_encryptionKey; }
/**
* <p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used
* for encrypting the build output artifacts.</p> <p>You can use a
* cross-account KMS key to encrypt the build output artifacts if your service role
* has permission to that key. </p> <p>You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format <code>alias/&lt;alias-name&gt;</code>).</p>
*/
inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
/**
* <p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used
* for encrypting the build output artifacts.</p> <p>You can use a
* cross-account KMS key to encrypt the build output artifacts if your service role
* has permission to that key. </p> <p>You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format <code>alias/&lt;alias-name&gt;</code>).</p>
*/
inline void SetEncryptionKey(const Aws::String& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
/**
* <p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used
* for encrypting the build output artifacts.</p> <p>You can use a
* cross-account KMS key to encrypt the build output artifacts if your service role
* has permission to that key. </p> <p>You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format <code>alias/&lt;alias-name&gt;</code>).</p>
*/
inline void SetEncryptionKey(Aws::String&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
/**
* <p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used
* for encrypting the build output artifacts.</p> <p>You can use a
* cross-account KMS key to encrypt the build output artifacts if your service role
* has permission to that key. </p> <p>You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format <code>alias/&lt;alias-name&gt;</code>).</p>
*/
inline void SetEncryptionKey(const char* value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey.assign(value); }
/**
* <p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used
* for encrypting the build output artifacts.</p> <p>You can use a
* cross-account KMS key to encrypt the build output artifacts if your service role
* has permission to that key. </p> <p>You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format <code>alias/&lt;alias-name&gt;</code>).</p>
*/
inline Project& WithEncryptionKey(const Aws::String& value) { SetEncryptionKey(value); return *this;}
/**
* <p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used
* for encrypting the build output artifacts.</p> <p>You can use a
* cross-account KMS key to encrypt the build output artifacts if your service role
* has permission to that key. </p> <p>You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format <code>alias/&lt;alias-name&gt;</code>).</p>
*/
inline Project& WithEncryptionKey(Aws::String&& value) { SetEncryptionKey(std::move(value)); return *this;}
/**
* <p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used
* for encrypting the build output artifacts.</p> <p>You can use a
* cross-account KMS key to encrypt the build output artifacts if your service role
* has permission to that key. </p> <p>You can specify either the Amazon
* Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format <code>alias/&lt;alias-name&gt;</code>).</p>
*/
inline Project& WithEncryptionKey(const char* value) { SetEncryptionKey(value); return *this;}
/**
* <p>A list of tag key and value pairs associated with this build project.</p>
* <p>These tags are available for use by AWS services that support AWS CodeBuild
* build project tags.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>A list of tag key and value pairs associated with this build project.</p>
* <p>These tags are available for use by AWS services that support AWS CodeBuild
* build project tags.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A list of tag key and value pairs associated with this build project.</p>
* <p>These tags are available for use by AWS services that support AWS CodeBuild
* build project tags.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A list of tag key and value pairs associated with this build project.</p>
* <p>These tags are available for use by AWS services that support AWS CodeBuild
* build project tags.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A list of tag key and value pairs associated with this build project.</p>
* <p>These tags are available for use by AWS services that support AWS CodeBuild
* build project tags.</p>
*/
inline Project& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>A list of tag key and value pairs associated with this build project.</p>
* <p>These tags are available for use by AWS services that support AWS CodeBuild
* build project tags.</p>
*/
inline Project& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A list of tag key and value pairs associated with this build project.</p>
* <p>These tags are available for use by AWS services that support AWS CodeBuild
* build project tags.</p>
*/
inline Project& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>A list of tag key and value pairs associated with this build project.</p>
* <p>These tags are available for use by AWS services that support AWS CodeBuild
* build project tags.</p>
*/
inline Project& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
/**
* <p>When the build project was created, expressed in Unix time format.</p>
*/
inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
/**
* <p>When the build project was created, expressed in Unix time format.</p>
*/
inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
/**
* <p>When the build project was created, expressed in Unix time format.</p>
*/
inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
/**
* <p>When the build project was created, expressed in Unix time format.</p>
*/
inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
/**
* <p>When the build project was created, expressed in Unix time format.</p>
*/
inline Project& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
/**
* <p>When the build project was created, expressed in Unix time format.</p>
*/
inline Project& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
/**
* <p>When the build project's settings were last modified, expressed in Unix time
* format.</p>
*/
inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
/**
* <p>When the build project's settings were last modified, expressed in Unix time
* format.</p>
*/
inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
/**
* <p>When the build project's settings were last modified, expressed in Unix time
* format.</p>
*/
inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
/**
* <p>When the build project's settings were last modified, expressed in Unix time
* format.</p>
*/
inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
/**
* <p>When the build project's settings were last modified, expressed in Unix time
* format.</p>
*/
inline Project& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
/**
* <p>When the build project's settings were last modified, expressed in Unix time
* format.</p>
*/
inline Project& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
/**
* <p>Information about a webhook that connects repository events to a build
* project in AWS CodeBuild.</p>
*/
inline const Webhook& GetWebhook() const{ return m_webhook; }
/**
* <p>Information about a webhook that connects repository events to a build
* project in AWS CodeBuild.</p>
*/
inline bool WebhookHasBeenSet() const { return m_webhookHasBeenSet; }
/**
* <p>Information about a webhook that connects repository events to a build
* project in AWS CodeBuild.</p>
*/
inline void SetWebhook(const Webhook& value) { m_webhookHasBeenSet = true; m_webhook = value; }
/**
* <p>Information about a webhook that connects repository events to a build
* project in AWS CodeBuild.</p>
*/
inline void SetWebhook(Webhook&& value) { m_webhookHasBeenSet = true; m_webhook = std::move(value); }
/**
* <p>Information about a webhook that connects repository events to a build
* project in AWS CodeBuild.</p>
*/
inline Project& WithWebhook(const Webhook& value) { SetWebhook(value); return *this;}
/**
* <p>Information about a webhook that connects repository events to a build
* project in AWS CodeBuild.</p>
*/
inline Project& WithWebhook(Webhook&& value) { SetWebhook(std::move(value)); return *this;}
/**
* <p>Information about the VPC configuration that AWS CodeBuild accesses.</p>
*/
inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
/**
* <p>Information about the VPC configuration that AWS CodeBuild accesses.</p>
*/
inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
/**
* <p>Information about the VPC configuration that AWS CodeBuild accesses.</p>
*/
inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
/**
* <p>Information about the VPC configuration that AWS CodeBuild accesses.</p>
*/
inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
/**
* <p>Information about the VPC configuration that AWS CodeBuild accesses.</p>
*/
inline Project& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
/**
* <p>Information about the VPC configuration that AWS CodeBuild accesses.</p>
*/
inline Project& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
/**
* <p>Information about the build badge for the build project.</p>
*/
inline const ProjectBadge& GetBadge() const{ return m_badge; }
/**
* <p>Information about the build badge for the build project.</p>
*/
inline bool BadgeHasBeenSet() const { return m_badgeHasBeenSet; }
/**
* <p>Information about the build badge for the build project.</p>
*/
inline void SetBadge(const ProjectBadge& value) { m_badgeHasBeenSet = true; m_badge = value; }
/**
* <p>Information about the build badge for the build project.</p>
*/
inline void SetBadge(ProjectBadge&& value) { m_badgeHasBeenSet = true; m_badge = std::move(value); }
/**
* <p>Information about the build badge for the build project.</p>
*/
inline Project& WithBadge(const ProjectBadge& value) { SetBadge(value); return *this;}
/**
* <p>Information about the build badge for the build project.</p>
*/
inline Project& WithBadge(ProjectBadge&& value) { SetBadge(std::move(value)); return *this;}
/**
* <p>Information about logs for the build project. A project can create logs in
* Amazon CloudWatch Logs, an S3 bucket, or both. </p>
*/
inline const LogsConfig& GetLogsConfig() const{ return m_logsConfig; }
/**
* <p>Information about logs for the build project. A project can create logs in
* Amazon CloudWatch Logs, an S3 bucket, or both. </p>
*/
inline bool LogsConfigHasBeenSet() const { return m_logsConfigHasBeenSet; }
/**
* <p>Information about logs for the build project. A project can create logs in
* Amazon CloudWatch Logs, an S3 bucket, or both. </p>
*/
inline void SetLogsConfig(const LogsConfig& value) { m_logsConfigHasBeenSet = true; m_logsConfig = value; }
/**
* <p>Information about logs for the build project. A project can create logs in
* Amazon CloudWatch Logs, an S3 bucket, or both. </p>
*/
inline void SetLogsConfig(LogsConfig&& value) { m_logsConfigHasBeenSet = true; m_logsConfig = std::move(value); }
/**
* <p>Information about logs for the build project. A project can create logs in
* Amazon CloudWatch Logs, an S3 bucket, or both. </p>
*/
inline Project& WithLogsConfig(const LogsConfig& value) { SetLogsConfig(value); return *this;}
/**
* <p>Information about logs for the build project. A project can create logs in
* Amazon CloudWatch Logs, an S3 bucket, or both. </p>
*/
inline Project& WithLogsConfig(LogsConfig&& value) { SetLogsConfig(std::move(value)); return *this;}
/**
* <p> An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild
* build project. A <code>ProjectFileSystemLocation</code> object specifies the
* <code>identifier</code>, <code>location</code>, <code>mountOptions</code>,
* <code>mountPoint</code>, and <code>type</code> of a file system created using
* Amazon Elastic File System. </p>
*/
inline const Aws::Vector<ProjectFileSystemLocation>& GetFileSystemLocations() const{ return m_fileSystemLocations; }
/**
* <p> An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild
* build project. A <code>ProjectFileSystemLocation</code> object specifies the
* <code>identifier</code>, <code>location</code>, <code>mountOptions</code>,
* <code>mountPoint</code>, and <code>type</code> of a file system created using
* Amazon Elastic File System. </p>
*/
inline bool FileSystemLocationsHasBeenSet() const { return m_fileSystemLocationsHasBeenSet; }
/**
* <p> An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild
* build project. A <code>ProjectFileSystemLocation</code> object specifies the
* <code>identifier</code>, <code>location</code>, <code>mountOptions</code>,
* <code>mountPoint</code>, and <code>type</code> of a file system created using
* Amazon Elastic File System. </p>
*/
inline void SetFileSystemLocations(const Aws::Vector<ProjectFileSystemLocation>& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = value; }
/**
* <p> An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild
* build project. A <code>ProjectFileSystemLocation</code> object specifies the
* <code>identifier</code>, <code>location</code>, <code>mountOptions</code>,
* <code>mountPoint</code>, and <code>type</code> of a file system created using
* Amazon Elastic File System. </p>
*/
inline void SetFileSystemLocations(Aws::Vector<ProjectFileSystemLocation>&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = std::move(value); }
/**
* <p> An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild
* build project. A <code>ProjectFileSystemLocation</code> object specifies the
* <code>identifier</code>, <code>location</code>, <code>mountOptions</code>,
* <code>mountPoint</code>, and <code>type</code> of a file system created using
* Amazon Elastic File System. </p>
*/
inline Project& WithFileSystemLocations(const Aws::Vector<ProjectFileSystemLocation>& value) { SetFileSystemLocations(value); return *this;}
/**
* <p> An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild
* build project. A <code>ProjectFileSystemLocation</code> object specifies the
* <code>identifier</code>, <code>location</code>, <code>mountOptions</code>,
* <code>mountPoint</code>, and <code>type</code> of a file system created using
* Amazon Elastic File System. </p>
*/
inline Project& WithFileSystemLocations(Aws::Vector<ProjectFileSystemLocation>&& value) { SetFileSystemLocations(std::move(value)); return *this;}
/**
* <p> An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild
* build project. A <code>ProjectFileSystemLocation</code> object specifies the
* <code>identifier</code>, <code>location</code>, <code>mountOptions</code>,
* <code>mountPoint</code>, and <code>type</code> of a file system created using
* Amazon Elastic File System. </p>
*/
inline Project& AddFileSystemLocations(const ProjectFileSystemLocation& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.push_back(value); return *this; }
/**
* <p> An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild
* build project. A <code>ProjectFileSystemLocation</code> object specifies the
* <code>identifier</code>, <code>location</code>, <code>mountOptions</code>,
* <code>mountPoint</code>, and <code>type</code> of a file system created using
* Amazon Elastic File System. </p>
*/
inline Project& AddFileSystemLocations(ProjectFileSystemLocation&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.push_back(std::move(value)); return *this; }
/**
* <p>A <a>ProjectBuildBatchConfig</a> object that defines the batch build options
* for the project.</p>
*/
inline const ProjectBuildBatchConfig& GetBuildBatchConfig() const{ return m_buildBatchConfig; }
/**
* <p>A <a>ProjectBuildBatchConfig</a> object that defines the batch build options
* for the project.</p>
*/
inline bool BuildBatchConfigHasBeenSet() const { return m_buildBatchConfigHasBeenSet; }
/**
* <p>A <a>ProjectBuildBatchConfig</a> object that defines the batch build options
* for the project.</p>
*/
inline void SetBuildBatchConfig(const ProjectBuildBatchConfig& value) { m_buildBatchConfigHasBeenSet = true; m_buildBatchConfig = value; }
/**
* <p>A <a>ProjectBuildBatchConfig</a> object that defines the batch build options
* for the project.</p>
*/
inline void SetBuildBatchConfig(ProjectBuildBatchConfig&& value) { m_buildBatchConfigHasBeenSet = true; m_buildBatchConfig = std::move(value); }
/**
* <p>A <a>ProjectBuildBatchConfig</a> object that defines the batch build options
* for the project.</p>
*/
inline Project& WithBuildBatchConfig(const ProjectBuildBatchConfig& value) { SetBuildBatchConfig(value); return *this;}
/**
* <p>A <a>ProjectBuildBatchConfig</a> object that defines the batch build options
* for the project.</p>
*/
inline Project& WithBuildBatchConfig(ProjectBuildBatchConfig&& value) { SetBuildBatchConfig(std::move(value)); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
ProjectSource m_source;
bool m_sourceHasBeenSet;
Aws::Vector<ProjectSource> m_secondarySources;
bool m_secondarySourcesHasBeenSet;
Aws::String m_sourceVersion;
bool m_sourceVersionHasBeenSet;
Aws::Vector<ProjectSourceVersion> m_secondarySourceVersions;
bool m_secondarySourceVersionsHasBeenSet;
ProjectArtifacts m_artifacts;
bool m_artifactsHasBeenSet;
Aws::Vector<ProjectArtifacts> m_secondaryArtifacts;
bool m_secondaryArtifactsHasBeenSet;
ProjectCache m_cache;
bool m_cacheHasBeenSet;
ProjectEnvironment m_environment;
bool m_environmentHasBeenSet;
Aws::String m_serviceRole;
bool m_serviceRoleHasBeenSet;
int m_timeoutInMinutes;
bool m_timeoutInMinutesHasBeenSet;
int m_queuedTimeoutInMinutes;
bool m_queuedTimeoutInMinutesHasBeenSet;
Aws::String m_encryptionKey;
bool m_encryptionKeyHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
Aws::Utils::DateTime m_created;
bool m_createdHasBeenSet;
Aws::Utils::DateTime m_lastModified;
bool m_lastModifiedHasBeenSet;
Webhook m_webhook;
bool m_webhookHasBeenSet;
VpcConfig m_vpcConfig;
bool m_vpcConfigHasBeenSet;
ProjectBadge m_badge;
bool m_badgeHasBeenSet;
LogsConfig m_logsConfig;
bool m_logsConfigHasBeenSet;
Aws::Vector<ProjectFileSystemLocation> m_fileSystemLocations;
bool m_fileSystemLocationsHasBeenSet;
ProjectBuildBatchConfig m_buildBatchConfig;
bool m_buildBatchConfigHasBeenSet;
};
} // namespace Model
} // namespace CodeBuild
} // namespace Aws