AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDescribeMergeConflictsResult.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codecommit/model/Conflict.h>
11#include <aws/codecommit/model/BatchDescribeMergeConflictsError.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CodeCommit
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::Vector<Conflict>& GetConflicts() const{ return m_conflicts; }
44 inline void SetConflicts(const Aws::Vector<Conflict>& value) { m_conflicts = value; }
45 inline void SetConflicts(Aws::Vector<Conflict>&& value) { m_conflicts = std::move(value); }
47 inline BatchDescribeMergeConflictsResult& WithConflicts(Aws::Vector<Conflict>&& value) { SetConflicts(std::move(value)); return *this;}
48 inline BatchDescribeMergeConflictsResult& AddConflicts(const Conflict& value) { m_conflicts.push_back(value); return *this; }
49 inline BatchDescribeMergeConflictsResult& AddConflicts(Conflict&& value) { m_conflicts.push_back(std::move(value)); return *this; }
51
53
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
59 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
60 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
61 inline BatchDescribeMergeConflictsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
62 inline BatchDescribeMergeConflictsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
63 inline BatchDescribeMergeConflictsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
65
67
71 inline const Aws::Vector<BatchDescribeMergeConflictsError>& GetErrors() const{ return m_errors; }
72 inline void SetErrors(const Aws::Vector<BatchDescribeMergeConflictsError>& value) { m_errors = value; }
73 inline void SetErrors(Aws::Vector<BatchDescribeMergeConflictsError>&& value) { m_errors = std::move(value); }
76 inline BatchDescribeMergeConflictsResult& AddErrors(const BatchDescribeMergeConflictsError& value) { m_errors.push_back(value); return *this; }
77 inline BatchDescribeMergeConflictsResult& AddErrors(BatchDescribeMergeConflictsError&& value) { m_errors.push_back(std::move(value)); return *this; }
79
81
85 inline const Aws::String& GetDestinationCommitId() const{ return m_destinationCommitId; }
86 inline void SetDestinationCommitId(const Aws::String& value) { m_destinationCommitId = value; }
87 inline void SetDestinationCommitId(Aws::String&& value) { m_destinationCommitId = std::move(value); }
88 inline void SetDestinationCommitId(const char* value) { m_destinationCommitId.assign(value); }
91 inline BatchDescribeMergeConflictsResult& WithDestinationCommitId(const char* value) { SetDestinationCommitId(value); return *this;}
93
95
99 inline const Aws::String& GetSourceCommitId() const{ return m_sourceCommitId; }
100 inline void SetSourceCommitId(const Aws::String& value) { m_sourceCommitId = value; }
101 inline void SetSourceCommitId(Aws::String&& value) { m_sourceCommitId = std::move(value); }
102 inline void SetSourceCommitId(const char* value) { m_sourceCommitId.assign(value); }
104 inline BatchDescribeMergeConflictsResult& WithSourceCommitId(Aws::String&& value) { SetSourceCommitId(std::move(value)); return *this;}
105 inline BatchDescribeMergeConflictsResult& WithSourceCommitId(const char* value) { SetSourceCommitId(value); return *this;}
107
109
112 inline const Aws::String& GetBaseCommitId() const{ return m_baseCommitId; }
113 inline void SetBaseCommitId(const Aws::String& value) { m_baseCommitId = value; }
114 inline void SetBaseCommitId(Aws::String&& value) { m_baseCommitId = std::move(value); }
115 inline void SetBaseCommitId(const char* value) { m_baseCommitId.assign(value); }
117 inline BatchDescribeMergeConflictsResult& WithBaseCommitId(Aws::String&& value) { SetBaseCommitId(std::move(value)); return *this;}
118 inline BatchDescribeMergeConflictsResult& WithBaseCommitId(const char* value) { SetBaseCommitId(value); return *this;}
120
122
123 inline const Aws::String& GetRequestId() const{ return m_requestId; }
124 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
125 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
126 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
127 inline BatchDescribeMergeConflictsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
128 inline BatchDescribeMergeConflictsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
129 inline BatchDescribeMergeConflictsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
131 private:
132
133 Aws::Vector<Conflict> m_conflicts;
134
135 Aws::String m_nextToken;
136
138
139 Aws::String m_destinationCommitId;
140
141 Aws::String m_sourceCommitId;
142
143 Aws::String m_baseCommitId;
144
145 Aws::String m_requestId;
146 };
147
148} // namespace Model
149} // namespace CodeCommit
150} // namespace Aws
void SetErrors(Aws::Vector< BatchDescribeMergeConflictsError > &&value)
BatchDescribeMergeConflictsResult & WithRequestId(const char *value)
BatchDescribeMergeConflictsResult & AddErrors(const BatchDescribeMergeConflictsError &value)
AWS_CODECOMMIT_API BatchDescribeMergeConflictsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDescribeMergeConflictsResult & WithDestinationCommitId(Aws::String &&value)
BatchDescribeMergeConflictsResult & WithSourceCommitId(const Aws::String &value)
BatchDescribeMergeConflictsResult & WithNextToken(const Aws::String &value)
BatchDescribeMergeConflictsResult & AddConflicts(const Conflict &value)
BatchDescribeMergeConflictsResult & WithErrors(const Aws::Vector< BatchDescribeMergeConflictsError > &value)
const Aws::Vector< BatchDescribeMergeConflictsError > & GetErrors() const
BatchDescribeMergeConflictsResult & WithDestinationCommitId(const Aws::String &value)
BatchDescribeMergeConflictsResult & WithConflicts(Aws::Vector< Conflict > &&value)
BatchDescribeMergeConflictsResult & WithErrors(Aws::Vector< BatchDescribeMergeConflictsError > &&value)
BatchDescribeMergeConflictsResult & WithConflicts(const Aws::Vector< Conflict > &value)
BatchDescribeMergeConflictsResult & AddConflicts(Conflict &&value)
BatchDescribeMergeConflictsResult & WithRequestId(const Aws::String &value)
AWS_CODECOMMIT_API BatchDescribeMergeConflictsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDescribeMergeConflictsResult & WithDestinationCommitId(const char *value)
BatchDescribeMergeConflictsResult & WithRequestId(Aws::String &&value)
BatchDescribeMergeConflictsResult & WithSourceCommitId(Aws::String &&value)
void SetErrors(const Aws::Vector< BatchDescribeMergeConflictsError > &value)
BatchDescribeMergeConflictsResult & WithSourceCommitId(const char *value)
BatchDescribeMergeConflictsResult & WithBaseCommitId(const char *value)
BatchDescribeMergeConflictsResult & AddErrors(BatchDescribeMergeConflictsError &&value)
BatchDescribeMergeConflictsResult & WithBaseCommitId(const Aws::String &value)
BatchDescribeMergeConflictsResult & WithBaseCommitId(Aws::String &&value)
BatchDescribeMergeConflictsResult & WithNextToken(const char *value)
BatchDescribeMergeConflictsResult & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue