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

Information about the updated pull request.

*/ inline const PullRequest& GetPullRequest() const{ return m_pullRequest; } /** *

Information about the updated pull request.

*/ inline void SetPullRequest(const PullRequest& value) { m_pullRequest = value; } /** *

Information about the updated pull request.

*/ inline void SetPullRequest(PullRequest&& value) { m_pullRequest = std::move(value); } /** *

Information about the updated pull request.

*/ inline UpdatePullRequestDescriptionResult& WithPullRequest(const PullRequest& value) { SetPullRequest(value); return *this;} /** *

Information about the updated pull request.

*/ inline UpdatePullRequestDescriptionResult& WithPullRequest(PullRequest&& value) { SetPullRequest(std::move(value)); return *this;} private: PullRequest m_pullRequest; }; } // namespace Model } // namespace CodeCommit } // namespace Aws