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

Information about the requested build projects.

*/ inline const Aws::Vector& GetProjects() const{ return m_projects; } /** *

Information about the requested build projects.

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

Information about the requested build projects.

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

Information about the requested build projects.

*/ inline BatchGetProjectsResult& WithProjects(const Aws::Vector& value) { SetProjects(value); return *this;} /** *

Information about the requested build projects.

*/ inline BatchGetProjectsResult& WithProjects(Aws::Vector&& value) { SetProjects(std::move(value)); return *this;} /** *

Information about the requested build projects.

*/ inline BatchGetProjectsResult& AddProjects(const Project& value) { m_projects.push_back(value); return *this; } /** *

Information about the requested build projects.

*/ inline BatchGetProjectsResult& AddProjects(Project&& value) { m_projects.push_back(std::move(value)); return *this; } /** *

The names of build projects for which information could not be found.

*/ inline const Aws::Vector& GetProjectsNotFound() const{ return m_projectsNotFound; } /** *

The names of build projects for which information could not be found.

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

The names of build projects for which information could not be found.

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

The names of build projects for which information could not be found.

*/ inline BatchGetProjectsResult& WithProjectsNotFound(const Aws::Vector& value) { SetProjectsNotFound(value); return *this;} /** *

The names of build projects for which information could not be found.

*/ inline BatchGetProjectsResult& WithProjectsNotFound(Aws::Vector&& value) { SetProjectsNotFound(std::move(value)); return *this;} /** *

The names of build projects for which information could not be found.

*/ inline BatchGetProjectsResult& AddProjectsNotFound(const Aws::String& value) { m_projectsNotFound.push_back(value); return *this; } /** *

The names of build projects for which information could not be found.

*/ inline BatchGetProjectsResult& AddProjectsNotFound(Aws::String&& value) { m_projectsNotFound.push_back(std::move(value)); return *this; } /** *

The names of build projects for which information could not be found.

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