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

The Amazon Resource Name (ARN) of the build project.

*/ inline const Aws::String& GetProjectArn() const{ return m_projectArn; } /** *

The Amazon Resource Name (ARN) of the build project.

*/ inline void SetProjectArn(const Aws::String& value) { m_projectArn = value; } /** *

The Amazon Resource Name (ARN) of the build project.

*/ inline void SetProjectArn(Aws::String&& value) { m_projectArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the build project.

*/ inline void SetProjectArn(const char* value) { m_projectArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the build project.

*/ inline UpdateProjectVisibilityResult& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the build project.

*/ inline UpdateProjectVisibilityResult& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the build project.

*/ inline UpdateProjectVisibilityResult& WithProjectArn(const char* value) { SetProjectArn(value); return *this;} /** *

Contains the project identifier used with the public build APIs.

*/ inline const Aws::String& GetPublicProjectAlias() const{ return m_publicProjectAlias; } /** *

Contains the project identifier used with the public build APIs.

*/ inline void SetPublicProjectAlias(const Aws::String& value) { m_publicProjectAlias = value; } /** *

Contains the project identifier used with the public build APIs.

*/ inline void SetPublicProjectAlias(Aws::String&& value) { m_publicProjectAlias = std::move(value); } /** *

Contains the project identifier used with the public build APIs.

*/ inline void SetPublicProjectAlias(const char* value) { m_publicProjectAlias.assign(value); } /** *

Contains the project identifier used with the public build APIs.

*/ inline UpdateProjectVisibilityResult& WithPublicProjectAlias(const Aws::String& value) { SetPublicProjectAlias(value); return *this;} /** *

Contains the project identifier used with the public build APIs.

*/ inline UpdateProjectVisibilityResult& WithPublicProjectAlias(Aws::String&& value) { SetPublicProjectAlias(std::move(value)); return *this;} /** *

Contains the project identifier used with the public build APIs.

*/ inline UpdateProjectVisibilityResult& WithPublicProjectAlias(const char* value) { SetPublicProjectAlias(value); return *this;} inline const ProjectVisibilityType& GetProjectVisibility() const{ return m_projectVisibility; } inline void SetProjectVisibility(const ProjectVisibilityType& value) { m_projectVisibility = value; } inline void SetProjectVisibility(ProjectVisibilityType&& value) { m_projectVisibility = std::move(value); } inline UpdateProjectVisibilityResult& WithProjectVisibility(const ProjectVisibilityType& value) { SetProjectVisibility(value); return *this;} inline UpdateProjectVisibilityResult& WithProjectVisibility(ProjectVisibilityType&& value) { SetProjectVisibility(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 UpdateProjectVisibilityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateProjectVisibilityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateProjectVisibilityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_projectArn; Aws::String m_publicProjectAlias; ProjectVisibilityType m_projectVisibility; Aws::String m_requestId; }; } // namespace Model } // namespace CodeBuild } // namespace Aws