AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeMergeConflictsRequest.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/codecommit/model/ConflictDetailLevelTypeEnum.h>
12#include <aws/codecommit/model/ConflictResolutionStrategyTypeEnum.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CodeCommit
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CODECOMMIT_API DescribeMergeConflictsRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeMergeConflicts"; }
34
35 AWS_CODECOMMIT_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
46 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
47 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
48 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
49 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
51 inline DescribeMergeConflictsRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
52 inline DescribeMergeConflictsRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
54
56
60 inline const Aws::String& GetDestinationCommitSpecifier() const{ return m_destinationCommitSpecifier; }
61 inline bool DestinationCommitSpecifierHasBeenSet() const { return m_destinationCommitSpecifierHasBeenSet; }
62 inline void SetDestinationCommitSpecifier(const Aws::String& value) { m_destinationCommitSpecifierHasBeenSet = true; m_destinationCommitSpecifier = value; }
63 inline void SetDestinationCommitSpecifier(Aws::String&& value) { m_destinationCommitSpecifierHasBeenSet = true; m_destinationCommitSpecifier = std::move(value); }
64 inline void SetDestinationCommitSpecifier(const char* value) { m_destinationCommitSpecifierHasBeenSet = true; m_destinationCommitSpecifier.assign(value); }
69
71
75 inline const Aws::String& GetSourceCommitSpecifier() const{ return m_sourceCommitSpecifier; }
76 inline bool SourceCommitSpecifierHasBeenSet() const { return m_sourceCommitSpecifierHasBeenSet; }
77 inline void SetSourceCommitSpecifier(const Aws::String& value) { m_sourceCommitSpecifierHasBeenSet = true; m_sourceCommitSpecifier = value; }
78 inline void SetSourceCommitSpecifier(Aws::String&& value) { m_sourceCommitSpecifierHasBeenSet = true; m_sourceCommitSpecifier = std::move(value); }
79 inline void SetSourceCommitSpecifier(const char* value) { m_sourceCommitSpecifierHasBeenSet = true; m_sourceCommitSpecifier.assign(value); }
82 inline DescribeMergeConflictsRequest& WithSourceCommitSpecifier(const char* value) { SetSourceCommitSpecifier(value); return *this;}
84
86
89 inline const MergeOptionTypeEnum& GetMergeOption() const{ return m_mergeOption; }
90 inline bool MergeOptionHasBeenSet() const { return m_mergeOptionHasBeenSet; }
91 inline void SetMergeOption(const MergeOptionTypeEnum& value) { m_mergeOptionHasBeenSet = true; m_mergeOption = value; }
92 inline void SetMergeOption(MergeOptionTypeEnum&& value) { m_mergeOptionHasBeenSet = true; m_mergeOption = std::move(value); }
94 inline DescribeMergeConflictsRequest& WithMergeOption(MergeOptionTypeEnum&& value) { SetMergeOption(std::move(value)); return *this;}
96
98
101 inline int GetMaxMergeHunks() const{ return m_maxMergeHunks; }
102 inline bool MaxMergeHunksHasBeenSet() const { return m_maxMergeHunksHasBeenSet; }
103 inline void SetMaxMergeHunks(int value) { m_maxMergeHunksHasBeenSet = true; m_maxMergeHunks = value; }
104 inline DescribeMergeConflictsRequest& WithMaxMergeHunks(int value) { SetMaxMergeHunks(value); return *this;}
106
108
111 inline const Aws::String& GetFilePath() const{ return m_filePath; }
112 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
113 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
114 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
115 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
116 inline DescribeMergeConflictsRequest& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
117 inline DescribeMergeConflictsRequest& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
118 inline DescribeMergeConflictsRequest& WithFilePath(const char* value) { SetFilePath(value); return *this;}
120
122
129 inline const ConflictDetailLevelTypeEnum& GetConflictDetailLevel() const{ return m_conflictDetailLevel; }
130 inline bool ConflictDetailLevelHasBeenSet() const { return m_conflictDetailLevelHasBeenSet; }
131 inline void SetConflictDetailLevel(const ConflictDetailLevelTypeEnum& value) { m_conflictDetailLevelHasBeenSet = true; m_conflictDetailLevel = value; }
132 inline void SetConflictDetailLevel(ConflictDetailLevelTypeEnum&& value) { m_conflictDetailLevelHasBeenSet = true; m_conflictDetailLevel = std::move(value); }
136
138
144 inline const ConflictResolutionStrategyTypeEnum& GetConflictResolutionStrategy() const{ return m_conflictResolutionStrategy; }
145 inline bool ConflictResolutionStrategyHasBeenSet() const { return m_conflictResolutionStrategyHasBeenSet; }
146 inline void SetConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum& value) { m_conflictResolutionStrategyHasBeenSet = true; m_conflictResolutionStrategy = value; }
147 inline void SetConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum&& value) { m_conflictResolutionStrategyHasBeenSet = true; m_conflictResolutionStrategy = std::move(value); }
151
153
157 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
158 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
159 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
160 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
161 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
162 inline DescribeMergeConflictsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
163 inline DescribeMergeConflictsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
164 inline DescribeMergeConflictsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
166 private:
167
168 Aws::String m_repositoryName;
169 bool m_repositoryNameHasBeenSet = false;
170
171 Aws::String m_destinationCommitSpecifier;
172 bool m_destinationCommitSpecifierHasBeenSet = false;
173
174 Aws::String m_sourceCommitSpecifier;
175 bool m_sourceCommitSpecifierHasBeenSet = false;
176
177 MergeOptionTypeEnum m_mergeOption;
178 bool m_mergeOptionHasBeenSet = false;
179
180 int m_maxMergeHunks;
181 bool m_maxMergeHunksHasBeenSet = false;
182
183 Aws::String m_filePath;
184 bool m_filePathHasBeenSet = false;
185
186 ConflictDetailLevelTypeEnum m_conflictDetailLevel;
187 bool m_conflictDetailLevelHasBeenSet = false;
188
189 ConflictResolutionStrategyTypeEnum m_conflictResolutionStrategy;
190 bool m_conflictResolutionStrategyHasBeenSet = false;
191
192 Aws::String m_nextToken;
193 bool m_nextTokenHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace CodeCommit
198} // namespace Aws
DescribeMergeConflictsRequest & WithNextToken(const Aws::String &value)
DescribeMergeConflictsRequest & WithConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
DescribeMergeConflictsRequest & WithSourceCommitSpecifier(const Aws::String &value)
DescribeMergeConflictsRequest & WithNextToken(const char *value)
DescribeMergeConflictsRequest & WithConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
DescribeMergeConflictsRequest & WithDestinationCommitSpecifier(const Aws::String &value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeMergeConflictsRequest & WithMergeOption(MergeOptionTypeEnum &&value)
void SetConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
DescribeMergeConflictsRequest & WithDestinationCommitSpecifier(const char *value)
DescribeMergeConflictsRequest & WithFilePath(const Aws::String &value)
DescribeMergeConflictsRequest & WithRepositoryName(Aws::String &&value)
DescribeMergeConflictsRequest & WithDestinationCommitSpecifier(Aws::String &&value)
DescribeMergeConflictsRequest & WithRepositoryName(const char *value)
void SetConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
DescribeMergeConflictsRequest & WithMergeOption(const MergeOptionTypeEnum &value)
void SetConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
DescribeMergeConflictsRequest & WithConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
DescribeMergeConflictsRequest & WithRepositoryName(const Aws::String &value)
DescribeMergeConflictsRequest & WithConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
DescribeMergeConflictsRequest & WithNextToken(Aws::String &&value)
DescribeMergeConflictsRequest & WithSourceCommitSpecifier(const char *value)
DescribeMergeConflictsRequest & WithFilePath(Aws::String &&value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
void SetConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
const ConflictResolutionStrategyTypeEnum & GetConflictResolutionStrategy() const
DescribeMergeConflictsRequest & WithSourceCommitSpecifier(Aws::String &&value)
DescribeMergeConflictsRequest & WithFilePath(const char *value)
const ConflictDetailLevelTypeEnum & GetConflictDetailLevel() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String