AWS SDK for C++  1.8.152
AWS SDK for C++
GetMergeCommitResult.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 
39  inline const Aws::String& GetSourceCommitId() const{ return m_sourceCommitId; }
40 
45  inline void SetSourceCommitId(const Aws::String& value) { m_sourceCommitId = value; }
46 
51  inline void SetSourceCommitId(Aws::String&& value) { m_sourceCommitId = std::move(value); }
52 
57  inline void SetSourceCommitId(const char* value) { m_sourceCommitId.assign(value); }
58 
63  inline GetMergeCommitResult& WithSourceCommitId(const Aws::String& value) { SetSourceCommitId(value); return *this;}
64 
69  inline GetMergeCommitResult& WithSourceCommitId(Aws::String&& value) { SetSourceCommitId(std::move(value)); return *this;}
70 
75  inline GetMergeCommitResult& WithSourceCommitId(const char* value) { SetSourceCommitId(value); return *this;}
76 
77 
82  inline const Aws::String& GetDestinationCommitId() const{ return m_destinationCommitId; }
83 
88  inline void SetDestinationCommitId(const Aws::String& value) { m_destinationCommitId = value; }
89 
94  inline void SetDestinationCommitId(Aws::String&& value) { m_destinationCommitId = std::move(value); }
95 
100  inline void SetDestinationCommitId(const char* value) { m_destinationCommitId.assign(value); }
101 
106  inline GetMergeCommitResult& WithDestinationCommitId(const Aws::String& value) { SetDestinationCommitId(value); return *this;}
107 
112  inline GetMergeCommitResult& WithDestinationCommitId(Aws::String&& value) { SetDestinationCommitId(std::move(value)); return *this;}
113 
118  inline GetMergeCommitResult& WithDestinationCommitId(const char* value) { SetDestinationCommitId(value); return *this;}
119 
120 
124  inline const Aws::String& GetBaseCommitId() const{ return m_baseCommitId; }
125 
129  inline void SetBaseCommitId(const Aws::String& value) { m_baseCommitId = value; }
130 
134  inline void SetBaseCommitId(Aws::String&& value) { m_baseCommitId = std::move(value); }
135 
139  inline void SetBaseCommitId(const char* value) { m_baseCommitId.assign(value); }
140 
144  inline GetMergeCommitResult& WithBaseCommitId(const Aws::String& value) { SetBaseCommitId(value); return *this;}
145 
149  inline GetMergeCommitResult& WithBaseCommitId(Aws::String&& value) { SetBaseCommitId(std::move(value)); return *this;}
150 
154  inline GetMergeCommitResult& WithBaseCommitId(const char* value) { SetBaseCommitId(value); return *this;}
155 
156 
162  inline const Aws::String& GetMergedCommitId() const{ return m_mergedCommitId; }
163 
169  inline void SetMergedCommitId(const Aws::String& value) { m_mergedCommitId = value; }
170 
176  inline void SetMergedCommitId(Aws::String&& value) { m_mergedCommitId = std::move(value); }
177 
183  inline void SetMergedCommitId(const char* value) { m_mergedCommitId.assign(value); }
184 
190  inline GetMergeCommitResult& WithMergedCommitId(const Aws::String& value) { SetMergedCommitId(value); return *this;}
191 
197  inline GetMergeCommitResult& WithMergedCommitId(Aws::String&& value) { SetMergedCommitId(std::move(value)); return *this;}
198 
204  inline GetMergeCommitResult& WithMergedCommitId(const char* value) { SetMergedCommitId(value); return *this;}
205 
206  private:
207 
208  Aws::String m_sourceCommitId;
209 
210  Aws::String m_destinationCommitId;
211 
212  Aws::String m_baseCommitId;
213 
214  Aws::String m_mergedCommitId;
215  };
216 
217 } // namespace Model
218 } // namespace CodeCommit
219 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::GetMergeCommitResult::GetBaseCommitId
const Aws::String & GetBaseCommitId() const
Definition: GetMergeCommitResult.h:124
Aws::CodeCommit::Model::GetMergeCommitResult::WithSourceCommitId
GetMergeCommitResult & WithSourceCommitId(Aws::String &&value)
Definition: GetMergeCommitResult.h:69
Aws::CodeCommit::Model::GetMergeCommitResult::SetSourceCommitId
void SetSourceCommitId(const char *value)
Definition: GetMergeCommitResult.h:57
Aws::CodeCommit::Model::GetMergeCommitResult::WithBaseCommitId
GetMergeCommitResult & WithBaseCommitId(Aws::String &&value)
Definition: GetMergeCommitResult.h:149
Aws::CodeCommit::Model::GetMergeCommitResult::operator=
GetMergeCommitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::GetMergeCommitResult::SetDestinationCommitId
void SetDestinationCommitId(const Aws::String &value)
Definition: GetMergeCommitResult.h:88
Aws::CodeCommit::Model::GetMergeCommitResult::SetSourceCommitId
void SetSourceCommitId(Aws::String &&value)
Definition: GetMergeCommitResult.h:51
Aws::CodeCommit::Model::GetMergeCommitResult::WithSourceCommitId
GetMergeCommitResult & WithSourceCommitId(const Aws::String &value)
Definition: GetMergeCommitResult.h:63
Aws::CodeCommit::Model::GetMergeCommitResult::GetMergeCommitResult
GetMergeCommitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::GetMergeCommitResult::SetBaseCommitId
void SetBaseCommitId(const char *value)
Definition: GetMergeCommitResult.h:139
Aws::CodeCommit::Model::GetMergeCommitResult::SetMergedCommitId
void SetMergedCommitId(Aws::String &&value)
Definition: GetMergeCommitResult.h:176
Aws::CodeCommit::Model::GetMergeCommitResult::SetBaseCommitId
void SetBaseCommitId(Aws::String &&value)
Definition: GetMergeCommitResult.h:134
Aws::CodeCommit::Model::GetMergeCommitResult::WithBaseCommitId
GetMergeCommitResult & WithBaseCommitId(const char *value)
Definition: GetMergeCommitResult.h:154
Aws::CodeCommit::Model::GetMergeCommitResult::WithBaseCommitId
GetMergeCommitResult & WithBaseCommitId(const Aws::String &value)
Definition: GetMergeCommitResult.h:144
Aws::CodeCommit::Model::GetMergeCommitResult::SetSourceCommitId
void SetSourceCommitId(const Aws::String &value)
Definition: GetMergeCommitResult.h:45
Aws::CodeCommit::Model::GetMergeCommitResult::GetMergedCommitId
const Aws::String & GetMergedCommitId() const
Definition: GetMergeCommitResult.h:162
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::GetMergeCommitResult::GetDestinationCommitId
const Aws::String & GetDestinationCommitId() const
Definition: GetMergeCommitResult.h:82
Aws::CodeCommit::Model::GetMergeCommitResult::GetSourceCommitId
const Aws::String & GetSourceCommitId() const
Definition: GetMergeCommitResult.h:39
Aws::CodeCommit::Model::GetMergeCommitResult::WithMergedCommitId
GetMergeCommitResult & WithMergedCommitId(const Aws::String &value)
Definition: GetMergeCommitResult.h:190
Aws::CodeCommit::Model::GetMergeCommitResult::WithDestinationCommitId
GetMergeCommitResult & WithDestinationCommitId(const char *value)
Definition: GetMergeCommitResult.h:118
Aws::CodeCommit::Model::GetMergeCommitResult::GetMergeCommitResult
GetMergeCommitResult()
Aws::CodeCommit::Model::GetMergeCommitResult
Definition: GetMergeCommitResult.h:28
Aws::CodeCommit::Model::GetMergeCommitResult::SetDestinationCommitId
void SetDestinationCommitId(Aws::String &&value)
Definition: GetMergeCommitResult.h:94
Aws::CodeCommit::Model::GetMergeCommitResult::SetDestinationCommitId
void SetDestinationCommitId(const char *value)
Definition: GetMergeCommitResult.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::GetMergeCommitResult::WithMergedCommitId
GetMergeCommitResult & WithMergedCommitId(const char *value)
Definition: GetMergeCommitResult.h:204
Aws::CodeCommit::Model::GetMergeCommitResult::SetMergedCommitId
void SetMergedCommitId(const Aws::String &value)
Definition: GetMergeCommitResult.h:169
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::GetMergeCommitResult::SetMergedCommitId
void SetMergedCommitId(const char *value)
Definition: GetMergeCommitResult.h:183
Aws::CodeCommit::Model::GetMergeCommitResult::WithDestinationCommitId
GetMergeCommitResult & WithDestinationCommitId(Aws::String &&value)
Definition: GetMergeCommitResult.h:112
Aws::CodeCommit::Model::GetMergeCommitResult::WithSourceCommitId
GetMergeCommitResult & WithSourceCommitId(const char *value)
Definition: GetMergeCommitResult.h:75
Aws::CodeCommit::Model::GetMergeCommitResult::SetBaseCommitId
void SetBaseCommitId(const Aws::String &value)
Definition: GetMergeCommitResult.h:129
Aws::CodeCommit::Model::GetMergeCommitResult::WithDestinationCommitId
GetMergeCommitResult & WithDestinationCommitId(const Aws::String &value)
Definition: GetMergeCommitResult.h:106
Aws::CodeCommit::Model::GetMergeCommitResult::WithMergedCommitId
GetMergeCommitResult & WithMergedCommitId(Aws::String &&value)
Definition: GetMergeCommitResult.h:197