/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeBuild { namespace Model { class AWS_CODEBUILD_API BatchGetBuildBatchesResult { public: BatchGetBuildBatchesResult(); BatchGetBuildBatchesResult(const Aws::AmazonWebServiceResult& result); BatchGetBuildBatchesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of BuildBatch objects that represent the retrieved * batch builds.

*/ inline const Aws::Vector& GetBuildBatches() const{ return m_buildBatches; } /** *

An array of BuildBatch objects that represent the retrieved * batch builds.

*/ inline void SetBuildBatches(const Aws::Vector& value) { m_buildBatches = value; } /** *

An array of BuildBatch objects that represent the retrieved * batch builds.

*/ inline void SetBuildBatches(Aws::Vector&& value) { m_buildBatches = std::move(value); } /** *

An array of BuildBatch objects that represent the retrieved * batch builds.

*/ inline BatchGetBuildBatchesResult& WithBuildBatches(const Aws::Vector& value) { SetBuildBatches(value); return *this;} /** *

An array of BuildBatch objects that represent the retrieved * batch builds.

*/ inline BatchGetBuildBatchesResult& WithBuildBatches(Aws::Vector&& value) { SetBuildBatches(std::move(value)); return *this;} /** *

An array of BuildBatch objects that represent the retrieved * batch builds.

*/ inline BatchGetBuildBatchesResult& AddBuildBatches(const BuildBatch& value) { m_buildBatches.push_back(value); return *this; } /** *

An array of BuildBatch objects that represent the retrieved * batch builds.

*/ inline BatchGetBuildBatchesResult& AddBuildBatches(BuildBatch&& value) { m_buildBatches.push_back(std::move(value)); return *this; } /** *

An array that contains the identifiers of any batch builds that are not * found.

*/ inline const Aws::Vector& GetBuildBatchesNotFound() const{ return m_buildBatchesNotFound; } /** *

An array that contains the identifiers of any batch builds that are not * found.

*/ inline void SetBuildBatchesNotFound(const Aws::Vector& value) { m_buildBatchesNotFound = value; } /** *

An array that contains the identifiers of any batch builds that are not * found.

*/ inline void SetBuildBatchesNotFound(Aws::Vector&& value) { m_buildBatchesNotFound = std::move(value); } /** *

An array that contains the identifiers of any batch builds that are not * found.

*/ inline BatchGetBuildBatchesResult& WithBuildBatchesNotFound(const Aws::Vector& value) { SetBuildBatchesNotFound(value); return *this;} /** *

An array that contains the identifiers of any batch builds that are not * found.

*/ inline BatchGetBuildBatchesResult& WithBuildBatchesNotFound(Aws::Vector&& value) { SetBuildBatchesNotFound(std::move(value)); return *this;} /** *

An array that contains the identifiers of any batch builds that are not * found.

*/ inline BatchGetBuildBatchesResult& AddBuildBatchesNotFound(const Aws::String& value) { m_buildBatchesNotFound.push_back(value); return *this; } /** *

An array that contains the identifiers of any batch builds that are not * found.

*/ inline BatchGetBuildBatchesResult& AddBuildBatchesNotFound(Aws::String&& value) { m_buildBatchesNotFound.push_back(std::move(value)); return *this; } /** *

An array that contains the identifiers of any batch builds that are not * found.

*/ inline BatchGetBuildBatchesResult& AddBuildBatchesNotFound(const char* value) { m_buildBatchesNotFound.push_back(value); return *this; } private: Aws::Vector m_buildBatches; Aws::Vector m_buildBatchesNotFound; }; } // namespace Model } // namespace CodeBuild } // namespace Aws