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/ConflictDetailLevelTypeEnum.h>
11#include <aws/codecommit/model/ConflictResolutionStrategyTypeEnum.h>
12#include <aws/codecommit/model/ConflictResolution.h>
46 template<
typename RepositoryNameT = Aws::String>
47 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
48 template<
typename RepositoryNameT = Aws::String>
59 template<
typename SourceCommitSpecifierT = Aws::String>
60 void SetSourceCommitSpecifier(SourceCommitSpecifierT&& value) { m_sourceCommitSpecifierHasBeenSet =
true; m_sourceCommitSpecifier = std::forward<SourceCommitSpecifierT>(value); }
61 template<
typename SourceCommitSpecifierT = Aws::String>
72 template<
typename DestinationCommitSpecifierT = Aws::String>
73 void SetDestinationCommitSpecifier(DestinationCommitSpecifierT&& value) { m_destinationCommitSpecifierHasBeenSet =
true; m_destinationCommitSpecifier = std::forward<DestinationCommitSpecifierT>(value); }
74 template<
typename DestinationCommitSpecifierT = Aws::String>
84 template<
typename TargetBranchT = Aws::String>
85 void SetTargetBranch(TargetBranchT&& value) { m_targetBranchHasBeenSet =
true; m_targetBranch = std::forward<TargetBranchT>(value); }
86 template<
typename TargetBranchT = Aws::String>
124 template<
typename AuthorNameT = Aws::String>
125 void SetAuthorName(AuthorNameT&& value) { m_authorNameHasBeenSet =
true; m_authorName = std::forward<AuthorNameT>(value); }
126 template<
typename AuthorNameT = Aws::String>
137 template<
typename EmailT = Aws::String>
138 void SetEmail(EmailT&& value) { m_emailHasBeenSet =
true; m_email = std::forward<EmailT>(value); }
139 template<
typename EmailT = Aws::String>
149 template<
typename CommitMessageT = Aws::String>
150 void SetCommitMessage(CommitMessageT&& value) { m_commitMessageHasBeenSet =
true; m_commitMessage = std::forward<CommitMessageT>(value); }
151 template<
typename CommitMessageT = Aws::String>
163 inline void SetKeepEmptyFolders(
bool value) { m_keepEmptyFoldersHasBeenSet =
true; m_keepEmptyFolders = value; }
174 template<
typename ConflictResolutionT = ConflictResolution>
175 void SetConflictResolution(ConflictResolutionT&& value) { m_conflictResolutionHasBeenSet =
true; m_conflictResolution = std::forward<ConflictResolutionT>(value); }
176 template<
typename ConflictResolutionT = ConflictResolution>
182 bool m_repositoryNameHasBeenSet =
false;
185 bool m_sourceCommitSpecifierHasBeenSet =
false;
188 bool m_destinationCommitSpecifierHasBeenSet =
false;
191 bool m_targetBranchHasBeenSet =
false;
194 bool m_conflictDetailLevelHasBeenSet =
false;
197 bool m_conflictResolutionStrategyHasBeenSet =
false;
200 bool m_authorNameHasBeenSet =
false;
203 bool m_emailHasBeenSet =
false;
206 bool m_commitMessageHasBeenSet =
false;
208 bool m_keepEmptyFolders{
false};
209 bool m_keepEmptyFoldersHasBeenSet =
false;
211 ConflictResolution m_conflictResolution;
212 bool m_conflictResolutionHasBeenSet =
false;
void SetDestinationCommitSpecifier(DestinationCommitSpecifierT &&value)
bool CommitMessageHasBeenSet() const
void SetSourceCommitSpecifier(SourceCommitSpecifierT &&value)
MergeBranchesByThreeWayRequest & WithCommitMessage(CommitMessageT &&value)
const Aws::String & GetRepositoryName() const
const Aws::String & GetSourceCommitSpecifier() const
MergeBranchesByThreeWayRequest & WithRepositoryName(RepositoryNameT &&value)
void SetAuthorName(AuthorNameT &&value)
MergeBranchesByThreeWayRequest & WithAuthorName(AuthorNameT &&value)
MergeBranchesByThreeWayRequest & WithSourceCommitSpecifier(SourceCommitSpecifierT &&value)
const Aws::String & GetTargetBranch() const
void SetTargetBranch(TargetBranchT &&value)
MergeBranchesByThreeWayRequest & WithEmail(EmailT &&value)
void SetConflictDetailLevel(ConflictDetailLevelTypeEnum value)
const Aws::String & GetCommitMessage() const
MergeBranchesByThreeWayRequest & WithKeepEmptyFolders(bool value)
void SetConflictResolution(ConflictResolutionT &&value)
bool ConflictResolutionStrategyHasBeenSet() const
bool SourceCommitSpecifierHasBeenSet() const
ConflictDetailLevelTypeEnum GetConflictDetailLevel() const
void SetConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum value)
AWS_CODECOMMIT_API MergeBranchesByThreeWayRequest()=default
const Aws::String & GetEmail() const
ConflictResolutionStrategyTypeEnum GetConflictResolutionStrategy() const
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRepositoryName(RepositoryNameT &&value)
void SetKeepEmptyFolders(bool value)
bool AuthorNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
MergeBranchesByThreeWayRequest & WithConflictDetailLevel(ConflictDetailLevelTypeEnum value)
bool TargetBranchHasBeenSet() const
bool ConflictDetailLevelHasBeenSet() const
MergeBranchesByThreeWayRequest & WithTargetBranch(TargetBranchT &&value)
MergeBranchesByThreeWayRequest & WithConflictResolution(ConflictResolutionT &&value)
const Aws::String & GetAuthorName() const
bool EmailHasBeenSet() const
bool ConflictResolutionHasBeenSet() const
void SetEmail(EmailT &&value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
const ConflictResolution & GetConflictResolution() const
bool DestinationCommitSpecifierHasBeenSet() const
MergeBranchesByThreeWayRequest & WithDestinationCommitSpecifier(DestinationCommitSpecifierT &&value)
bool RepositoryNameHasBeenSet() const
void SetCommitMessage(CommitMessageT &&value)
bool GetKeepEmptyFolders() const
MergeBranchesByThreeWayRequest & WithConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum value)
const Aws::String & GetDestinationCommitSpecifier() const
bool KeepEmptyFoldersHasBeenSet() const
ConflictDetailLevelTypeEnum
ConflictResolutionStrategyTypeEnum
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String