/** * 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 CodeCommit { namespace Model { class MergePullRequestByFastForwardResult { public: AWS_CODECOMMIT_API MergePullRequestByFastForwardResult(); AWS_CODECOMMIT_API MergePullRequestByFastForwardResult(const Aws::AmazonWebServiceResult& result); AWS_CODECOMMIT_API MergePullRequestByFastForwardResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the specified pull request, including the merge.

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

Information about the specified pull request, including the merge.

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

Information about the specified pull request, including the merge.

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

Information about the specified pull request, including the merge.

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

Information about the specified pull request, including the merge.

*/ inline MergePullRequestByFastForwardResult& WithPullRequest(PullRequest&& value) { SetPullRequest(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 MergePullRequestByFastForwardResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline MergePullRequestByFastForwardResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline MergePullRequestByFastForwardResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: PullRequest m_pullRequest; Aws::String m_requestId; }; } // namespace Model } // namespace CodeCommit } // namespace Aws