AWS SDK for C++  1.8.152
AWS SDK for C++
BatchDescribeMergeConflictsResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace CodeCommit
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
42  inline const Aws::Vector<Conflict>& GetConflicts() const{ return m_conflicts; }
43 
48  inline void SetConflicts(const Aws::Vector<Conflict>& value) { m_conflicts = value; }
49 
54  inline void SetConflicts(Aws::Vector<Conflict>&& value) { m_conflicts = std::move(value); }
55 
60  inline BatchDescribeMergeConflictsResult& WithConflicts(const Aws::Vector<Conflict>& value) { SetConflicts(value); return *this;}
61 
66  inline BatchDescribeMergeConflictsResult& WithConflicts(Aws::Vector<Conflict>&& value) { SetConflicts(std::move(value)); return *this;}
67 
72  inline BatchDescribeMergeConflictsResult& AddConflicts(const Conflict& value) { m_conflicts.push_back(value); return *this; }
73 
78  inline BatchDescribeMergeConflictsResult& AddConflicts(Conflict&& value) { m_conflicts.push_back(std::move(value)); return *this; }
79 
80 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
91  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
92 
97  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
98 
103  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
104 
109  inline BatchDescribeMergeConflictsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
110 
115  inline BatchDescribeMergeConflictsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
116 
121  inline BatchDescribeMergeConflictsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
122 
123 
128  inline const Aws::Vector<BatchDescribeMergeConflictsError>& GetErrors() const{ return m_errors; }
129 
134  inline void SetErrors(const Aws::Vector<BatchDescribeMergeConflictsError>& value) { m_errors = value; }
135 
140  inline void SetErrors(Aws::Vector<BatchDescribeMergeConflictsError>&& value) { m_errors = std::move(value); }
141 
146  inline BatchDescribeMergeConflictsResult& WithErrors(const Aws::Vector<BatchDescribeMergeConflictsError>& value) { SetErrors(value); return *this;}
147 
152  inline BatchDescribeMergeConflictsResult& WithErrors(Aws::Vector<BatchDescribeMergeConflictsError>&& value) { SetErrors(std::move(value)); return *this;}
153 
158  inline BatchDescribeMergeConflictsResult& AddErrors(const BatchDescribeMergeConflictsError& value) { m_errors.push_back(value); return *this; }
159 
164  inline BatchDescribeMergeConflictsResult& AddErrors(BatchDescribeMergeConflictsError&& value) { m_errors.push_back(std::move(value)); return *this; }
165 
166 
171  inline const Aws::String& GetDestinationCommitId() const{ return m_destinationCommitId; }
172 
177  inline void SetDestinationCommitId(const Aws::String& value) { m_destinationCommitId = value; }
178 
183  inline void SetDestinationCommitId(Aws::String&& value) { m_destinationCommitId = std::move(value); }
184 
189  inline void SetDestinationCommitId(const char* value) { m_destinationCommitId.assign(value); }
190 
195  inline BatchDescribeMergeConflictsResult& WithDestinationCommitId(const Aws::String& value) { SetDestinationCommitId(value); return *this;}
196 
201  inline BatchDescribeMergeConflictsResult& WithDestinationCommitId(Aws::String&& value) { SetDestinationCommitId(std::move(value)); return *this;}
202 
207  inline BatchDescribeMergeConflictsResult& WithDestinationCommitId(const char* value) { SetDestinationCommitId(value); return *this;}
208 
209 
214  inline const Aws::String& GetSourceCommitId() const{ return m_sourceCommitId; }
215 
220  inline void SetSourceCommitId(const Aws::String& value) { m_sourceCommitId = value; }
221 
226  inline void SetSourceCommitId(Aws::String&& value) { m_sourceCommitId = std::move(value); }
227 
232  inline void SetSourceCommitId(const char* value) { m_sourceCommitId.assign(value); }
233 
238  inline BatchDescribeMergeConflictsResult& WithSourceCommitId(const Aws::String& value) { SetSourceCommitId(value); return *this;}
239 
244  inline BatchDescribeMergeConflictsResult& WithSourceCommitId(Aws::String&& value) { SetSourceCommitId(std::move(value)); return *this;}
245 
250  inline BatchDescribeMergeConflictsResult& WithSourceCommitId(const char* value) { SetSourceCommitId(value); return *this;}
251 
252 
256  inline const Aws::String& GetBaseCommitId() const{ return m_baseCommitId; }
257 
261  inline void SetBaseCommitId(const Aws::String& value) { m_baseCommitId = value; }
262 
266  inline void SetBaseCommitId(Aws::String&& value) { m_baseCommitId = std::move(value); }
267 
271  inline void SetBaseCommitId(const char* value) { m_baseCommitId.assign(value); }
272 
276  inline BatchDescribeMergeConflictsResult& WithBaseCommitId(const Aws::String& value) { SetBaseCommitId(value); return *this;}
277 
281  inline BatchDescribeMergeConflictsResult& WithBaseCommitId(Aws::String&& value) { SetBaseCommitId(std::move(value)); return *this;}
282 
286  inline BatchDescribeMergeConflictsResult& WithBaseCommitId(const char* value) { SetBaseCommitId(value); return *this;}
287 
288  private:
289 
290  Aws::Vector<Conflict> m_conflicts;
291 
292  Aws::String m_nextToken;
293 
295 
296  Aws::String m_destinationCommitId;
297 
298  Aws::String m_sourceCommitId;
299 
300  Aws::String m_baseCommitId;
301  };
302 
303 } // namespace Model
304 } // namespace CodeCommit
305 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::BatchDescribeMergeConflictsResult
BatchDescribeMergeConflictsResult()
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetSourceCommitId
void SetSourceCommitId(const Aws::String &value)
Definition: BatchDescribeMergeConflictsResult.h:220
Conflict.h
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetDestinationCommitId
void SetDestinationCommitId(const char *value)
Definition: BatchDescribeMergeConflictsResult.h:189
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetBaseCommitId
void SetBaseCommitId(const char *value)
Definition: BatchDescribeMergeConflictsResult.h:271
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithSourceCommitId
BatchDescribeMergeConflictsResult & WithSourceCommitId(const char *value)
Definition: BatchDescribeMergeConflictsResult.h:250
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetBaseCommitId
void SetBaseCommitId(Aws::String &&value)
Definition: BatchDescribeMergeConflictsResult.h:266
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::operator=
BatchDescribeMergeConflictsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetErrors
void SetErrors(const Aws::Vector< BatchDescribeMergeConflictsError > &value)
Definition: BatchDescribeMergeConflictsResult.h:134
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithBaseCommitId
BatchDescribeMergeConflictsResult & WithBaseCommitId(const Aws::String &value)
Definition: BatchDescribeMergeConflictsResult.h:276
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetBaseCommitId
void SetBaseCommitId(const Aws::String &value)
Definition: BatchDescribeMergeConflictsResult.h:261
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::GetConflicts
const Aws::Vector< Conflict > & GetConflicts() const
Definition: BatchDescribeMergeConflictsResult.h:42
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::AddErrors
BatchDescribeMergeConflictsResult & AddErrors(const BatchDescribeMergeConflictsError &value)
Definition: BatchDescribeMergeConflictsResult.h:158
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::GetSourceCommitId
const Aws::String & GetSourceCommitId() const
Definition: BatchDescribeMergeConflictsResult.h:214
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithConflicts
BatchDescribeMergeConflictsResult & WithConflicts(Aws::Vector< Conflict > &&value)
Definition: BatchDescribeMergeConflictsResult.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::GetBaseCommitId
const Aws::String & GetBaseCommitId() const
Definition: BatchDescribeMergeConflictsResult.h:256
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::AddConflicts
BatchDescribeMergeConflictsResult & AddConflicts(Conflict &&value)
Definition: BatchDescribeMergeConflictsResult.h:78
AWSVector.h
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetSourceCommitId
void SetSourceCommitId(const char *value)
Definition: BatchDescribeMergeConflictsResult.h:232
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithNextToken
BatchDescribeMergeConflictsResult & WithNextToken(Aws::String &&value)
Definition: BatchDescribeMergeConflictsResult.h:115
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithSourceCommitId
BatchDescribeMergeConflictsResult & WithSourceCommitId(Aws::String &&value)
Definition: BatchDescribeMergeConflictsResult.h:244
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult
Definition: BatchDescribeMergeConflictsResult.h:31
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithSourceCommitId
BatchDescribeMergeConflictsResult & WithSourceCommitId(const Aws::String &value)
Definition: BatchDescribeMergeConflictsResult.h:238
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::GetErrors
const Aws::Vector< BatchDescribeMergeConflictsError > & GetErrors() const
Definition: BatchDescribeMergeConflictsResult.h:128
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithDestinationCommitId
BatchDescribeMergeConflictsResult & WithDestinationCommitId(Aws::String &&value)
Definition: BatchDescribeMergeConflictsResult.h:201
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithErrors
BatchDescribeMergeConflictsResult & WithErrors(const Aws::Vector< BatchDescribeMergeConflictsError > &value)
Definition: BatchDescribeMergeConflictsResult.h:146
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError
Definition: BatchDescribeMergeConflictsError.h:33
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetNextToken
void SetNextToken(const char *value)
Definition: BatchDescribeMergeConflictsResult.h:103
BatchDescribeMergeConflictsError.h
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithNextToken
BatchDescribeMergeConflictsResult & WithNextToken(const char *value)
Definition: BatchDescribeMergeConflictsResult.h:121
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetDestinationCommitId
void SetDestinationCommitId(Aws::String &&value)
Definition: BatchDescribeMergeConflictsResult.h:183
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: BatchDescribeMergeConflictsResult.h:85
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithNextToken
BatchDescribeMergeConflictsResult & WithNextToken(const Aws::String &value)
Definition: BatchDescribeMergeConflictsResult.h:109
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::BatchDescribeMergeConflictsResult
BatchDescribeMergeConflictsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::Conflict
Definition: Conflict.h:35
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithBaseCommitId
BatchDescribeMergeConflictsResult & WithBaseCommitId(const char *value)
Definition: BatchDescribeMergeConflictsResult.h:286
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetDestinationCommitId
void SetDestinationCommitId(const Aws::String &value)
Definition: BatchDescribeMergeConflictsResult.h:177
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithConflicts
BatchDescribeMergeConflictsResult & WithConflicts(const Aws::Vector< Conflict > &value)
Definition: BatchDescribeMergeConflictsResult.h:60
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetSourceCommitId
void SetSourceCommitId(Aws::String &&value)
Definition: BatchDescribeMergeConflictsResult.h:226
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: BatchDescribeMergeConflictsResult.h:97
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::GetDestinationCommitId
const Aws::String & GetDestinationCommitId() const
Definition: BatchDescribeMergeConflictsResult.h:171
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: BatchDescribeMergeConflictsResult.h:91
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithBaseCommitId
BatchDescribeMergeConflictsResult & WithBaseCommitId(Aws::String &&value)
Definition: BatchDescribeMergeConflictsResult.h:281
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::AddConflicts
BatchDescribeMergeConflictsResult & AddConflicts(const Conflict &value)
Definition: BatchDescribeMergeConflictsResult.h:72
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithDestinationCommitId
BatchDescribeMergeConflictsResult & WithDestinationCommitId(const Aws::String &value)
Definition: BatchDescribeMergeConflictsResult.h:195
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetConflicts
void SetConflicts(Aws::Vector< Conflict > &&value)
Definition: BatchDescribeMergeConflictsResult.h:54
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::AddErrors
BatchDescribeMergeConflictsResult & AddErrors(BatchDescribeMergeConflictsError &&value)
Definition: BatchDescribeMergeConflictsResult.h:164
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetConflicts
void SetConflicts(const Aws::Vector< Conflict > &value)
Definition: BatchDescribeMergeConflictsResult.h:48
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithErrors
BatchDescribeMergeConflictsResult & WithErrors(Aws::Vector< BatchDescribeMergeConflictsError > &&value)
Definition: BatchDescribeMergeConflictsResult.h:152
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::WithDestinationCommitId
BatchDescribeMergeConflictsResult & WithDestinationCommitId(const char *value)
Definition: BatchDescribeMergeConflictsResult.h:207
Aws::CodeCommit::Model::BatchDescribeMergeConflictsResult::SetErrors
void SetErrors(Aws::Vector< BatchDescribeMergeConflictsError > &&value)
Definition: BatchDescribeMergeConflictsResult.h:140