AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDescribeMergeConflictsRequest.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codecommit/model/MergeOptionTypeEnum.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codecommit/model/ConflictDetailLevelTypeEnum.h>
13#include <aws/codecommit/model/ConflictResolutionStrategyTypeEnum.h>
14#include <utility>
15
16namespace Aws
17{
18namespace CodeCommit
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "BatchDescribeMergeConflicts"; }
35
36 AWS_CODECOMMIT_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
47 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
48 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
49 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
50 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
52 inline BatchDescribeMergeConflictsRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
53 inline BatchDescribeMergeConflictsRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
55
57
61 inline const Aws::String& GetDestinationCommitSpecifier() const{ return m_destinationCommitSpecifier; }
62 inline bool DestinationCommitSpecifierHasBeenSet() const { return m_destinationCommitSpecifierHasBeenSet; }
63 inline void SetDestinationCommitSpecifier(const Aws::String& value) { m_destinationCommitSpecifierHasBeenSet = true; m_destinationCommitSpecifier = value; }
64 inline void SetDestinationCommitSpecifier(Aws::String&& value) { m_destinationCommitSpecifierHasBeenSet = true; m_destinationCommitSpecifier = std::move(value); }
65 inline void SetDestinationCommitSpecifier(const char* value) { m_destinationCommitSpecifierHasBeenSet = true; m_destinationCommitSpecifier.assign(value); }
70
72
76 inline const Aws::String& GetSourceCommitSpecifier() const{ return m_sourceCommitSpecifier; }
77 inline bool SourceCommitSpecifierHasBeenSet() const { return m_sourceCommitSpecifierHasBeenSet; }
78 inline void SetSourceCommitSpecifier(const Aws::String& value) { m_sourceCommitSpecifierHasBeenSet = true; m_sourceCommitSpecifier = value; }
79 inline void SetSourceCommitSpecifier(Aws::String&& value) { m_sourceCommitSpecifierHasBeenSet = true; m_sourceCommitSpecifier = std::move(value); }
80 inline void SetSourceCommitSpecifier(const char* value) { m_sourceCommitSpecifierHasBeenSet = true; m_sourceCommitSpecifier.assign(value); }
85
87
90 inline const MergeOptionTypeEnum& GetMergeOption() const{ return m_mergeOption; }
91 inline bool MergeOptionHasBeenSet() const { return m_mergeOptionHasBeenSet; }
92 inline void SetMergeOption(const MergeOptionTypeEnum& value) { m_mergeOptionHasBeenSet = true; m_mergeOption = value; }
93 inline void SetMergeOption(MergeOptionTypeEnum&& value) { m_mergeOptionHasBeenSet = true; m_mergeOption = std::move(value); }
95 inline BatchDescribeMergeConflictsRequest& WithMergeOption(MergeOptionTypeEnum&& value) { SetMergeOption(std::move(value)); return *this;}
97
99
102 inline int GetMaxMergeHunks() const{ return m_maxMergeHunks; }
103 inline bool MaxMergeHunksHasBeenSet() const { return m_maxMergeHunksHasBeenSet; }
104 inline void SetMaxMergeHunks(int value) { m_maxMergeHunksHasBeenSet = true; m_maxMergeHunks = value; }
107
109
112 inline int GetMaxConflictFiles() const{ return m_maxConflictFiles; }
113 inline bool MaxConflictFilesHasBeenSet() const { return m_maxConflictFilesHasBeenSet; }
114 inline void SetMaxConflictFiles(int value) { m_maxConflictFilesHasBeenSet = true; m_maxConflictFiles = value; }
117
119
123 inline const Aws::Vector<Aws::String>& GetFilePaths() const{ return m_filePaths; }
124 inline bool FilePathsHasBeenSet() const { return m_filePathsHasBeenSet; }
125 inline void SetFilePaths(const Aws::Vector<Aws::String>& value) { m_filePathsHasBeenSet = true; m_filePaths = value; }
126 inline void SetFilePaths(Aws::Vector<Aws::String>&& value) { m_filePathsHasBeenSet = true; m_filePaths = std::move(value); }
129 inline BatchDescribeMergeConflictsRequest& AddFilePaths(const Aws::String& value) { m_filePathsHasBeenSet = true; m_filePaths.push_back(value); return *this; }
130 inline BatchDescribeMergeConflictsRequest& AddFilePaths(Aws::String&& value) { m_filePathsHasBeenSet = true; m_filePaths.push_back(std::move(value)); return *this; }
131 inline BatchDescribeMergeConflictsRequest& AddFilePaths(const char* value) { m_filePathsHasBeenSet = true; m_filePaths.push_back(value); return *this; }
133
135
142 inline const ConflictDetailLevelTypeEnum& GetConflictDetailLevel() const{ return m_conflictDetailLevel; }
143 inline bool ConflictDetailLevelHasBeenSet() const { return m_conflictDetailLevelHasBeenSet; }
144 inline void SetConflictDetailLevel(const ConflictDetailLevelTypeEnum& value) { m_conflictDetailLevelHasBeenSet = true; m_conflictDetailLevel = value; }
145 inline void SetConflictDetailLevel(ConflictDetailLevelTypeEnum&& value) { m_conflictDetailLevelHasBeenSet = true; m_conflictDetailLevel = std::move(value); }
149
151
157 inline const ConflictResolutionStrategyTypeEnum& GetConflictResolutionStrategy() const{ return m_conflictResolutionStrategy; }
158 inline bool ConflictResolutionStrategyHasBeenSet() const { return m_conflictResolutionStrategyHasBeenSet; }
159 inline void SetConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum& value) { m_conflictResolutionStrategyHasBeenSet = true; m_conflictResolutionStrategy = value; }
160 inline void SetConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum&& value) { m_conflictResolutionStrategyHasBeenSet = true; m_conflictResolutionStrategy = std::move(value); }
164
166
170 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
171 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
172 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
173 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
174 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
175 inline BatchDescribeMergeConflictsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
176 inline BatchDescribeMergeConflictsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
177 inline BatchDescribeMergeConflictsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
179 private:
180
181 Aws::String m_repositoryName;
182 bool m_repositoryNameHasBeenSet = false;
183
184 Aws::String m_destinationCommitSpecifier;
185 bool m_destinationCommitSpecifierHasBeenSet = false;
186
187 Aws::String m_sourceCommitSpecifier;
188 bool m_sourceCommitSpecifierHasBeenSet = false;
189
190 MergeOptionTypeEnum m_mergeOption;
191 bool m_mergeOptionHasBeenSet = false;
192
193 int m_maxMergeHunks;
194 bool m_maxMergeHunksHasBeenSet = false;
195
196 int m_maxConflictFiles;
197 bool m_maxConflictFilesHasBeenSet = false;
198
199 Aws::Vector<Aws::String> m_filePaths;
200 bool m_filePathsHasBeenSet = false;
201
202 ConflictDetailLevelTypeEnum m_conflictDetailLevel;
203 bool m_conflictDetailLevelHasBeenSet = false;
204
205 ConflictResolutionStrategyTypeEnum m_conflictResolutionStrategy;
206 bool m_conflictResolutionStrategyHasBeenSet = false;
207
208 Aws::String m_nextToken;
209 bool m_nextTokenHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace CodeCommit
214} // namespace Aws
BatchDescribeMergeConflictsRequest & WithDestinationCommitSpecifier(Aws::String &&value)
BatchDescribeMergeConflictsRequest & WithRepositoryName(const char *value)
void SetConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
BatchDescribeMergeConflictsRequest & WithConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
BatchDescribeMergeConflictsRequest & WithConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
BatchDescribeMergeConflictsRequest & WithConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
BatchDescribeMergeConflictsRequest & WithConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
BatchDescribeMergeConflictsRequest & WithSourceCommitSpecifier(Aws::String &&value)
BatchDescribeMergeConflictsRequest & AddFilePaths(const char *value)
BatchDescribeMergeConflictsRequest & WithFilePaths(const Aws::Vector< Aws::String > &value)
BatchDescribeMergeConflictsRequest & WithNextToken(const Aws::String &value)
BatchDescribeMergeConflictsRequest & WithDestinationCommitSpecifier(const char *value)
BatchDescribeMergeConflictsRequest & WithNextToken(Aws::String &&value)
void SetConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
BatchDescribeMergeConflictsRequest & WithFilePaths(Aws::Vector< Aws::String > &&value)
BatchDescribeMergeConflictsRequest & WithRepositoryName(const Aws::String &value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDescribeMergeConflictsRequest & WithMergeOption(MergeOptionTypeEnum &&value)
BatchDescribeMergeConflictsRequest & AddFilePaths(Aws::String &&value)
const ConflictResolutionStrategyTypeEnum & GetConflictResolutionStrategy() const
BatchDescribeMergeConflictsRequest & WithMergeOption(const MergeOptionTypeEnum &value)
BatchDescribeMergeConflictsRequest & WithDestinationCommitSpecifier(const Aws::String &value)
BatchDescribeMergeConflictsRequest & WithRepositoryName(Aws::String &&value)
BatchDescribeMergeConflictsRequest & WithSourceCommitSpecifier(const Aws::String &value)
BatchDescribeMergeConflictsRequest & AddFilePaths(const Aws::String &value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
BatchDescribeMergeConflictsRequest & WithNextToken(const char *value)
BatchDescribeMergeConflictsRequest & WithSourceCommitSpecifier(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector