/** * 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 BatchGetBuildsResult { public: AWS_CODEBUILD_API BatchGetBuildsResult(); AWS_CODEBUILD_API BatchGetBuildsResult(const Aws::AmazonWebServiceResult& result); AWS_CODEBUILD_API BatchGetBuildsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the requested builds.

*/ inline const Aws::Vector& GetBuilds() const{ return m_builds; } /** *

Information about the requested builds.

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

Information about the requested builds.

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

Information about the requested builds.

*/ inline BatchGetBuildsResult& WithBuilds(const Aws::Vector& value) { SetBuilds(value); return *this;} /** *

Information about the requested builds.

*/ inline BatchGetBuildsResult& WithBuilds(Aws::Vector&& value) { SetBuilds(std::move(value)); return *this;} /** *

Information about the requested builds.

*/ inline BatchGetBuildsResult& AddBuilds(const Build& value) { m_builds.push_back(value); return *this; } /** *

Information about the requested builds.

*/ inline BatchGetBuildsResult& AddBuilds(Build&& value) { m_builds.push_back(std::move(value)); return *this; } /** *

The IDs of builds for which information could not be found.

*/ inline const Aws::Vector& GetBuildsNotFound() const{ return m_buildsNotFound; } /** *

The IDs of builds for which information could not be found.

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

The IDs of builds for which information could not be found.

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

The IDs of builds for which information could not be found.

*/ inline BatchGetBuildsResult& WithBuildsNotFound(const Aws::Vector& value) { SetBuildsNotFound(value); return *this;} /** *

The IDs of builds for which information could not be found.

*/ inline BatchGetBuildsResult& WithBuildsNotFound(Aws::Vector&& value) { SetBuildsNotFound(std::move(value)); return *this;} /** *

The IDs of builds for which information could not be found.

*/ inline BatchGetBuildsResult& AddBuildsNotFound(const Aws::String& value) { m_buildsNotFound.push_back(value); return *this; } /** *

The IDs of builds for which information could not be found.

*/ inline BatchGetBuildsResult& AddBuildsNotFound(Aws::String&& value) { m_buildsNotFound.push_back(std::move(value)); return *this; } /** *

The IDs of builds for which information could not be found.

*/ inline BatchGetBuildsResult& AddBuildsNotFound(const char* value) { m_buildsNotFound.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 BatchGetBuildsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetBuildsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetBuildsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_builds; Aws::Vector m_buildsNotFound; Aws::String m_requestId; }; } // namespace Model } // namespace CodeBuild } // namespace Aws