AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMergeConflictsRequest.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 GetMergeConflictsRequest();
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 "GetMergeConflicts"; }
34
35 AWS_CODECOMMIT_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
45 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
46 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
47 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
48 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
49 inline GetMergeConflictsRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
50 inline GetMergeConflictsRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
51 inline GetMergeConflictsRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
53
55
59 inline const Aws::String& GetDestinationCommitSpecifier() const{ return m_destinationCommitSpecifier; }
60 inline bool DestinationCommitSpecifierHasBeenSet() const { return m_destinationCommitSpecifierHasBeenSet; }
61 inline void SetDestinationCommitSpecifier(const Aws::String& value) { m_destinationCommitSpecifierHasBeenSet = true; m_destinationCommitSpecifier = value; }
62 inline void SetDestinationCommitSpecifier(Aws::String&& value) { m_destinationCommitSpecifierHasBeenSet = true; m_destinationCommitSpecifier = std::move(value); }
63 inline void SetDestinationCommitSpecifier(const char* value) { m_destinationCommitSpecifierHasBeenSet = true; m_destinationCommitSpecifier.assign(value); }
68
70
74 inline const Aws::String& GetSourceCommitSpecifier() const{ return m_sourceCommitSpecifier; }
75 inline bool SourceCommitSpecifierHasBeenSet() const { return m_sourceCommitSpecifierHasBeenSet; }
76 inline void SetSourceCommitSpecifier(const Aws::String& value) { m_sourceCommitSpecifierHasBeenSet = true; m_sourceCommitSpecifier = value; }
77 inline void SetSourceCommitSpecifier(Aws::String&& value) { m_sourceCommitSpecifierHasBeenSet = true; m_sourceCommitSpecifier = std::move(value); }
78 inline void SetSourceCommitSpecifier(const char* value) { m_sourceCommitSpecifierHasBeenSet = true; m_sourceCommitSpecifier.assign(value); }
81 inline GetMergeConflictsRequest& WithSourceCommitSpecifier(const char* value) { SetSourceCommitSpecifier(value); return *this;}
83
85
88 inline const MergeOptionTypeEnum& GetMergeOption() const{ return m_mergeOption; }
89 inline bool MergeOptionHasBeenSet() const { return m_mergeOptionHasBeenSet; }
90 inline void SetMergeOption(const MergeOptionTypeEnum& value) { m_mergeOptionHasBeenSet = true; m_mergeOption = value; }
91 inline void SetMergeOption(MergeOptionTypeEnum&& value) { m_mergeOptionHasBeenSet = true; m_mergeOption = std::move(value); }
92 inline GetMergeConflictsRequest& WithMergeOption(const MergeOptionTypeEnum& value) { SetMergeOption(value); return *this;}
93 inline GetMergeConflictsRequest& WithMergeOption(MergeOptionTypeEnum&& value) { SetMergeOption(std::move(value)); return *this;}
95
97
104 inline const ConflictDetailLevelTypeEnum& GetConflictDetailLevel() const{ return m_conflictDetailLevel; }
105 inline bool ConflictDetailLevelHasBeenSet() const { return m_conflictDetailLevelHasBeenSet; }
106 inline void SetConflictDetailLevel(const ConflictDetailLevelTypeEnum& value) { m_conflictDetailLevelHasBeenSet = true; m_conflictDetailLevel = value; }
107 inline void SetConflictDetailLevel(ConflictDetailLevelTypeEnum&& value) { m_conflictDetailLevelHasBeenSet = true; m_conflictDetailLevel = std::move(value); }
111
113
116 inline int GetMaxConflictFiles() const{ return m_maxConflictFiles; }
117 inline bool MaxConflictFilesHasBeenSet() const { return m_maxConflictFilesHasBeenSet; }
118 inline void SetMaxConflictFiles(int value) { m_maxConflictFilesHasBeenSet = true; m_maxConflictFiles = value; }
119 inline GetMergeConflictsRequest& WithMaxConflictFiles(int value) { SetMaxConflictFiles(value); return *this;}
121
123
129 inline const ConflictResolutionStrategyTypeEnum& GetConflictResolutionStrategy() const{ return m_conflictResolutionStrategy; }
130 inline bool ConflictResolutionStrategyHasBeenSet() const { return m_conflictResolutionStrategyHasBeenSet; }
131 inline void SetConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum& value) { m_conflictResolutionStrategyHasBeenSet = true; m_conflictResolutionStrategy = value; }
132 inline void SetConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum&& value) { m_conflictResolutionStrategyHasBeenSet = true; m_conflictResolutionStrategy = std::move(value); }
136
138
142 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
143 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
144 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
145 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
146 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
147 inline GetMergeConflictsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
148 inline GetMergeConflictsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
149 inline GetMergeConflictsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
151 private:
152
153 Aws::String m_repositoryName;
154 bool m_repositoryNameHasBeenSet = false;
155
156 Aws::String m_destinationCommitSpecifier;
157 bool m_destinationCommitSpecifierHasBeenSet = false;
158
159 Aws::String m_sourceCommitSpecifier;
160 bool m_sourceCommitSpecifierHasBeenSet = false;
161
162 MergeOptionTypeEnum m_mergeOption;
163 bool m_mergeOptionHasBeenSet = false;
164
165 ConflictDetailLevelTypeEnum m_conflictDetailLevel;
166 bool m_conflictDetailLevelHasBeenSet = false;
167
168 int m_maxConflictFiles;
169 bool m_maxConflictFilesHasBeenSet = false;
170
171 ConflictResolutionStrategyTypeEnum m_conflictResolutionStrategy;
172 bool m_conflictResolutionStrategyHasBeenSet = false;
173
174 Aws::String m_nextToken;
175 bool m_nextTokenHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace CodeCommit
180} // namespace Aws
GetMergeConflictsRequest & WithDestinationCommitSpecifier(Aws::String &&value)
GetMergeConflictsRequest & WithRepositoryName(const Aws::String &value)
GetMergeConflictsRequest & WithNextToken(const char *value)
GetMergeConflictsRequest & WithNextToken(const Aws::String &value)
GetMergeConflictsRequest & WithSourceCommitSpecifier(const Aws::String &value)
void SetConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
const ConflictDetailLevelTypeEnum & GetConflictDetailLevel() const
GetMergeConflictsRequest & WithSourceCommitSpecifier(Aws::String &&value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetMergeConflictsRequest & WithConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
void SetConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
GetMergeConflictsRequest & WithDestinationCommitSpecifier(const Aws::String &value)
void SetConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
void SetConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
GetMergeConflictsRequest & WithRepositoryName(const char *value)
GetMergeConflictsRequest & WithMergeOption(MergeOptionTypeEnum &&value)
GetMergeConflictsRequest & WithNextToken(Aws::String &&value)
GetMergeConflictsRequest & WithSourceCommitSpecifier(const char *value)
GetMergeConflictsRequest & WithMaxConflictFiles(int value)
const ConflictResolutionStrategyTypeEnum & GetConflictResolutionStrategy() const
GetMergeConflictsRequest & WithConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
GetMergeConflictsRequest & WithDestinationCommitSpecifier(const char *value)
GetMergeConflictsRequest & WithRepositoryName(Aws::String &&value)
GetMergeConflictsRequest & WithMergeOption(const MergeOptionTypeEnum &value)
GetMergeConflictsRequest & WithConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
GetMergeConflictsRequest & WithConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
void SetMergeOption(const MergeOptionTypeEnum &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String