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>
48 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
63 inline void SetSourceCommitSpecifier(
const char* value) { m_sourceCommitSpecifierHasBeenSet =
true; m_sourceCommitSpecifier.assign(value); }
78 inline void SetDestinationCommitSpecifier(
const char* value) { m_destinationCommitSpecifierHasBeenSet =
true; m_destinationCommitSpecifier.assign(value); }
92 inline void SetTargetBranch(
const char* value) { m_targetBranchHasBeenSet =
true; m_targetBranch.assign(value); }
138 inline void SetAuthorName(
const char* value) { m_authorNameHasBeenSet =
true; m_authorName.assign(value); }
153 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
167 inline void SetCommitMessage(
const char* value) { m_commitMessageHasBeenSet =
true; m_commitMessage.assign(value); }
181 inline void SetKeepEmptyFolders(
bool value) { m_keepEmptyFoldersHasBeenSet =
true; m_keepEmptyFolders = value; }
200 bool m_repositoryNameHasBeenSet =
false;
203 bool m_sourceCommitSpecifierHasBeenSet =
false;
206 bool m_destinationCommitSpecifierHasBeenSet =
false;
209 bool m_targetBranchHasBeenSet =
false;
212 bool m_conflictDetailLevelHasBeenSet =
false;
215 bool m_conflictResolutionStrategyHasBeenSet =
false;
218 bool m_authorNameHasBeenSet =
false;
221 bool m_emailHasBeenSet =
false;
224 bool m_commitMessageHasBeenSet =
false;
226 bool m_keepEmptyFolders;
227 bool m_keepEmptyFoldersHasBeenSet =
false;
230 bool m_conflictResolutionHasBeenSet =
false;
MergeBranchesByThreeWayRequest & WithCommitMessage(const Aws::String &value)
bool CommitMessageHasBeenSet() const
MergeBranchesByThreeWayRequest & WithRepositoryName(Aws::String &&value)
const Aws::String & GetRepositoryName() const
MergeBranchesByThreeWayRequest & WithConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
const Aws::String & GetSourceCommitSpecifier() const
const Aws::String & GetTargetBranch() const
MergeBranchesByThreeWayRequest & WithDestinationCommitSpecifier(const char *value)
const ConflictResolutionStrategyTypeEnum & GetConflictResolutionStrategy() const
const Aws::String & GetCommitMessage() const
MergeBranchesByThreeWayRequest & WithSourceCommitSpecifier(Aws::String &&value)
MergeBranchesByThreeWayRequest & WithKeepEmptyFolders(bool value)
MergeBranchesByThreeWayRequest & WithEmail(const char *value)
void SetTargetBranch(const Aws::String &value)
void SetAuthorName(Aws::String &&value)
void SetEmail(const Aws::String &value)
MergeBranchesByThreeWayRequest & WithConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
MergeBranchesByThreeWayRequest & WithSourceCommitSpecifier(const char *value)
void SetTargetBranch(const char *value)
bool ConflictResolutionStrategyHasBeenSet() const
void SetConflictResolution(const ConflictResolution &value)
bool SourceCommitSpecifierHasBeenSet() const
void SetConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
MergeBranchesByThreeWayRequest & WithRepositoryName(const Aws::String &value)
MergeBranchesByThreeWayRequest & WithDestinationCommitSpecifier(const Aws::String &value)
MergeBranchesByThreeWayRequest & WithTargetBranch(const Aws::String &value)
MergeBranchesByThreeWayRequest & WithSourceCommitSpecifier(const Aws::String &value)
const Aws::String & GetEmail() const
MergeBranchesByThreeWayRequest & WithConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
void SetDestinationCommitSpecifier(const char *value)
void SetDestinationCommitSpecifier(Aws::String &&value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetConflictResolution(ConflictResolution &&value)
MergeBranchesByThreeWayRequest & WithEmail(Aws::String &&value)
void SetKeepEmptyFolders(bool value)
bool AuthorNameHasBeenSet() const
MergeBranchesByThreeWayRequest & WithDestinationCommitSpecifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_CODECOMMIT_API MergeBranchesByThreeWayRequest()
MergeBranchesByThreeWayRequest & WithCommitMessage(const char *value)
void SetDestinationCommitSpecifier(const Aws::String &value)
bool TargetBranchHasBeenSet() const
MergeBranchesByThreeWayRequest & WithAuthorName(const Aws::String &value)
void SetSourceCommitSpecifier(Aws::String &&value)
bool ConflictDetailLevelHasBeenSet() const
MergeBranchesByThreeWayRequest & WithTargetBranch(Aws::String &&value)
void SetConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
MergeBranchesByThreeWayRequest & WithTargetBranch(const char *value)
MergeBranchesByThreeWayRequest & WithAuthorName(const char *value)
void SetRepositoryName(const char *value)
void SetRepositoryName(const Aws::String &value)
MergeBranchesByThreeWayRequest & WithConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
MergeBranchesByThreeWayRequest & WithConflictResolution(ConflictResolution &&value)
const Aws::String & GetAuthorName() const
bool EmailHasBeenSet() const
bool ConflictResolutionHasBeenSet() const
void SetEmail(Aws::String &&value)
MergeBranchesByThreeWayRequest & WithCommitMessage(Aws::String &&value)
void SetRepositoryName(Aws::String &&value)
void SetSourceCommitSpecifier(const Aws::String &value)
void SetCommitMessage(Aws::String &&value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
MergeBranchesByThreeWayRequest & WithEmail(const Aws::String &value)
const ConflictResolution & GetConflictResolution() const
bool DestinationCommitSpecifierHasBeenSet() const
bool RepositoryNameHasBeenSet() const
void SetTargetBranch(Aws::String &&value)
void SetCommitMessage(const char *value)
MergeBranchesByThreeWayRequest & WithConflictResolution(const ConflictResolution &value)
void SetSourceCommitSpecifier(const char *value)
MergeBranchesByThreeWayRequest & WithAuthorName(Aws::String &&value)
MergeBranchesByThreeWayRequest & WithRepositoryName(const char *value)
const ConflictDetailLevelTypeEnum & GetConflictDetailLevel() const
void SetEmail(const char *value)
void SetAuthorName(const char *value)
bool GetKeepEmptyFolders() const
void SetConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
void SetAuthorName(const Aws::String &value)
void SetConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
const Aws::String & GetDestinationCommitSpecifier() const
bool KeepEmptyFoldersHasBeenSet() const
void SetCommitMessage(const Aws::String &value)
ConflictDetailLevelTypeEnum
ConflictResolutionStrategyTypeEnum
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String