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 <aws/codecommit/model/ConflictResolution.h>
50 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
65 inline void SetSourceCommitSpecifier(
const char* value) { m_sourceCommitSpecifierHasBeenSet =
true; m_sourceCommitSpecifier.assign(value); }
80 inline void SetDestinationCommitSpecifier(
const char* value) { m_destinationCommitSpecifierHasBeenSet =
true; m_destinationCommitSpecifier.assign(value); }
138 inline void SetAuthorName(
const char* value) { m_authorNameHasBeenSet =
true; m_authorName.assign(value); }
152 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
166 inline void SetCommitMessage(
const char* value) { m_commitMessageHasBeenSet =
true; m_commitMessage.assign(value); }
180 inline void SetKeepEmptyFolders(
bool value) { m_keepEmptyFoldersHasBeenSet =
true; m_keepEmptyFolders = value; }
199 bool m_repositoryNameHasBeenSet =
false;
202 bool m_sourceCommitSpecifierHasBeenSet =
false;
205 bool m_destinationCommitSpecifierHasBeenSet =
false;
208 bool m_mergeOptionHasBeenSet =
false;
211 bool m_conflictDetailLevelHasBeenSet =
false;
214 bool m_conflictResolutionStrategyHasBeenSet =
false;
217 bool m_authorNameHasBeenSet =
false;
220 bool m_emailHasBeenSet =
false;
223 bool m_commitMessageHasBeenSet =
false;
225 bool m_keepEmptyFolders;
226 bool m_keepEmptyFoldersHasBeenSet =
false;
229 bool m_conflictResolutionHasBeenSet =
false;
void SetRepositoryName(const Aws::String &value)
bool ConflictResolutionHasBeenSet() const
void SetAuthorName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAuthorName() const
const Aws::String & GetCommitMessage() const
void SetSourceCommitSpecifier(const char *value)
const Aws::String & GetDestinationCommitSpecifier() const
bool GetKeepEmptyFolders() const
void SetDestinationCommitSpecifier(const char *value)
CreateUnreferencedMergeCommitRequest & WithRepositoryName(const char *value)
const MergeOptionTypeEnum & GetMergeOption() const
CreateUnreferencedMergeCommitRequest & WithConflictResolution(const ConflictResolution &value)
void SetConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
const ConflictResolutionStrategyTypeEnum & GetConflictResolutionStrategy() const
bool EmailHasBeenSet() const
AWS_CODECOMMIT_API CreateUnreferencedMergeCommitRequest()
const Aws::String & GetEmail() const
CreateUnreferencedMergeCommitRequest & WithSourceCommitSpecifier(Aws::String &&value)
CreateUnreferencedMergeCommitRequest & WithConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
CreateUnreferencedMergeCommitRequest & WithAuthorName(Aws::String &&value)
void SetSourceCommitSpecifier(const Aws::String &value)
void SetRepositoryName(Aws::String &&value)
void SetEmail(Aws::String &&value)
bool SourceCommitSpecifierHasBeenSet() const
void SetAuthorName(const char *value)
const ConflictResolution & GetConflictResolution() const
void SetConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
void SetMergeOption(MergeOptionTypeEnum &&value)
const Aws::String & GetRepositoryName() const
bool ConflictDetailLevelHasBeenSet() const
const ConflictDetailLevelTypeEnum & GetConflictDetailLevel() const
CreateUnreferencedMergeCommitRequest & WithAuthorName(const Aws::String &value)
void SetEmail(const char *value)
void SetMergeOption(const MergeOptionTypeEnum &value)
bool MergeOptionHasBeenSet() const
CreateUnreferencedMergeCommitRequest & WithEmail(const Aws::String &value)
CreateUnreferencedMergeCommitRequest & WithSourceCommitSpecifier(const Aws::String &value)
bool RepositoryNameHasBeenSet() const
CreateUnreferencedMergeCommitRequest & WithKeepEmptyFolders(bool value)
void SetCommitMessage(const Aws::String &value)
void SetConflictResolution(ConflictResolution &&value)
const Aws::String & GetSourceCommitSpecifier() const
bool DestinationCommitSpecifierHasBeenSet() const
void SetCommitMessage(Aws::String &&value)
CreateUnreferencedMergeCommitRequest & WithConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
CreateUnreferencedMergeCommitRequest & WithCommitMessage(const Aws::String &value)
void SetDestinationCommitSpecifier(Aws::String &&value)
CreateUnreferencedMergeCommitRequest & WithEmail(Aws::String &&value)
void SetCommitMessage(const char *value)
CreateUnreferencedMergeCommitRequest & WithConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
void SetSourceCommitSpecifier(Aws::String &&value)
void SetDestinationCommitSpecifier(const Aws::String &value)
void SetRepositoryName(const char *value)
void SetKeepEmptyFolders(bool value)
CreateUnreferencedMergeCommitRequest & WithSourceCommitSpecifier(const char *value)
bool CommitMessageHasBeenSet() const
void SetConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
CreateUnreferencedMergeCommitRequest & WithDestinationCommitSpecifier(const char *value)
CreateUnreferencedMergeCommitRequest & WithRepositoryName(const Aws::String &value)
CreateUnreferencedMergeCommitRequest & WithCommitMessage(const char *value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUnreferencedMergeCommitRequest & WithConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
void SetEmail(const Aws::String &value)
CreateUnreferencedMergeCommitRequest & WithDestinationCommitSpecifier(const Aws::String &value)
CreateUnreferencedMergeCommitRequest & WithEmail(const char *value)
bool AuthorNameHasBeenSet() const
void SetAuthorName(Aws::String &&value)
bool KeepEmptyFoldersHasBeenSet() const
CreateUnreferencedMergeCommitRequest & WithAuthorName(const char *value)
CreateUnreferencedMergeCommitRequest & WithConflictResolution(ConflictResolution &&value)
void SetConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
void SetConflictResolution(const ConflictResolution &value)
CreateUnreferencedMergeCommitRequest & WithMergeOption(const MergeOptionTypeEnum &value)
CreateUnreferencedMergeCommitRequest & WithCommitMessage(Aws::String &&value)
CreateUnreferencedMergeCommitRequest & WithDestinationCommitSpecifier(Aws::String &&value)
CreateUnreferencedMergeCommitRequest & WithRepositoryName(Aws::String &&value)
CreateUnreferencedMergeCommitRequest & WithMergeOption(MergeOptionTypeEnum &&value)
bool ConflictResolutionStrategyHasBeenSet() const
ConflictDetailLevelTypeEnum
ConflictResolutionStrategyTypeEnum
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String