This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetPullRequestResult.h

68 lines
1.7 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codecommit/CodeCommit_EXPORTS.h>
#include <aws/codecommit/model/PullRequest.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace CodeCommit
{
namespace Model
{
class AWS_CODECOMMIT_API GetPullRequestResult
{
public:
GetPullRequestResult();
GetPullRequestResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetPullRequestResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the specified pull request.</p>
*/
inline const PullRequest& GetPullRequest() const{ return m_pullRequest; }
/**
* <p>Information about the specified pull request.</p>
*/
inline void SetPullRequest(const PullRequest& value) { m_pullRequest = value; }
/**
* <p>Information about the specified pull request.</p>
*/
inline void SetPullRequest(PullRequest&& value) { m_pullRequest = std::move(value); }
/**
* <p>Information about the specified pull request.</p>
*/
inline GetPullRequestResult& WithPullRequest(const PullRequest& value) { SetPullRequest(value); return *this;}
/**
* <p>Information about the specified pull request.</p>
*/
inline GetPullRequestResult& WithPullRequest(PullRequest&& value) { SetPullRequest(std::move(value)); return *this;}
private:
PullRequest m_pullRequest;
};
} // namespace Model
} // namespace CodeCommit
} // namespace Aws