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

Information about the build project that was created.

*/ inline const Project& GetProject() const{ return m_project; } /** *

Information about the build project that was created.

*/ inline void SetProject(const Project& value) { m_project = value; } /** *

Information about the build project that was created.

*/ inline void SetProject(Project&& value) { m_project = std::move(value); } /** *

Information about the build project that was created.

*/ inline CreateProjectResult& WithProject(const Project& value) { SetProject(value); return *this;} /** *

Information about the build project that was created.

*/ inline CreateProjectResult& WithProject(Project&& value) { SetProject(std::move(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 CreateProjectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateProjectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateProjectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Project m_project; Aws::String m_requestId; }; } // namespace Model } // namespace CodeBuild } // namespace Aws