/** * 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 BatchGetBuildBatchesResult { public: AWS_CODEBUILD_API BatchGetBuildBatchesResult(); AWS_CODEBUILD_API BatchGetBuildBatchesResult(const Aws::AmazonWebServiceResult& result); AWS_CODEBUILD_API 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; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline BatchGetBuildBatchesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetBuildBatchesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetBuildBatchesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_buildBatches; Aws::Vector m_buildBatchesNotFound; Aws::String m_requestId; }; } // namespace Model } // namespace CodeBuild } // namespace Aws