AWS SDK for C++  1.8.152
AWS SDK for C++
MergePullRequestByThreeWayResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace CodeCommit
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
35 
36  inline const PullRequest& GetPullRequest() const{ return m_pullRequest; }
37 
38 
39  inline void SetPullRequest(const PullRequest& value) { m_pullRequest = value; }
40 
41 
42  inline void SetPullRequest(PullRequest&& value) { m_pullRequest = std::move(value); }
43 
44 
45  inline MergePullRequestByThreeWayResult& WithPullRequest(const PullRequest& value) { SetPullRequest(value); return *this;}
46 
47 
48  inline MergePullRequestByThreeWayResult& WithPullRequest(PullRequest&& value) { SetPullRequest(std::move(value)); return *this;}
49 
50  private:
51 
52  PullRequest m_pullRequest;
53  };
54 
55 } // namespace Model
56 } // namespace CodeCommit
57 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::MergePullRequestByThreeWayResult::SetPullRequest
void SetPullRequest(const PullRequest &value)
Definition: MergePullRequestByThreeWayResult.h:39
Aws::CodeCommit::Model::PullRequest
Definition: PullRequest.h:37
Aws::CodeCommit::Model::MergePullRequestByThreeWayResult::SetPullRequest
void SetPullRequest(PullRequest &&value)
Definition: MergePullRequestByThreeWayResult.h:42
Aws::CodeCommit::Model::MergePullRequestByThreeWayResult::WithPullRequest
MergePullRequestByThreeWayResult & WithPullRequest(const PullRequest &value)
Definition: MergePullRequestByThreeWayResult.h:45
Aws::CodeCommit::Model::MergePullRequestByThreeWayResult::MergePullRequestByThreeWayResult
MergePullRequestByThreeWayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::MergePullRequestByThreeWayResult
Definition: MergePullRequestByThreeWayResult.h:28
Aws::CodeCommit::Model::MergePullRequestByThreeWayResult::WithPullRequest
MergePullRequestByThreeWayResult & WithPullRequest(PullRequest &&value)
Definition: MergePullRequestByThreeWayResult.h:48
PullRequest.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::MergePullRequestByThreeWayResult::MergePullRequestByThreeWayResult
MergePullRequestByThreeWayResult()
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::MergePullRequestByThreeWayResult::GetPullRequest
const PullRequest & GetPullRequest() const
Definition: MergePullRequestByThreeWayResult.h:36
Aws::CodeCommit::Model::MergePullRequestByThreeWayResult::operator=
MergePullRequestByThreeWayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)