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>
49 inline void SetPullRequestId(
const char* value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId.assign(value); }
63 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
79 inline void SetSourceCommitId(
const char* value) { m_sourceCommitIdHasBeenSet =
true; m_sourceCommitId.assign(value); }
124 inline void SetCommitMessage(
const char* value) { m_commitMessageHasBeenSet =
true; m_commitMessage.assign(value); }
139 inline void SetAuthorName(
const char* value) { m_authorNameHasBeenSet =
true; m_authorName.assign(value); }
154 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
168 inline void SetKeepEmptyFolders(
bool value) { m_keepEmptyFoldersHasBeenSet =
true; m_keepEmptyFolders = value; }
187 bool m_pullRequestIdHasBeenSet =
false;
190 bool m_repositoryNameHasBeenSet =
false;
193 bool m_sourceCommitIdHasBeenSet =
false;
196 bool m_conflictDetailLevelHasBeenSet =
false;
199 bool m_conflictResolutionStrategyHasBeenSet =
false;
202 bool m_commitMessageHasBeenSet =
false;
205 bool m_authorNameHasBeenSet =
false;
208 bool m_emailHasBeenSet =
false;
210 bool m_keepEmptyFolders;
211 bool m_keepEmptyFoldersHasBeenSet =
false;
214 bool m_conflictResolutionHasBeenSet =
false;
bool GetKeepEmptyFolders() const
MergePullRequestBySquashRequest & WithConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
void SetPullRequestId(const char *value)
MergePullRequestBySquashRequest & WithCommitMessage(Aws::String &&value)
void SetEmail(const char *value)
bool AuthorNameHasBeenSet() const
void SetSourceCommitId(Aws::String &&value)
bool SourceCommitIdHasBeenSet() const
void SetRepositoryName(const char *value)
MergePullRequestBySquashRequest & WithRepositoryName(const Aws::String &value)
MergePullRequestBySquashRequest & WithAuthorName(Aws::String &&value)
const Aws::String & GetRepositoryName() const
void SetPullRequestId(Aws::String &&value)
void SetPullRequestId(const Aws::String &value)
void SetConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
bool ConflictDetailLevelHasBeenSet() const
MergePullRequestBySquashRequest & WithCommitMessage(const char *value)
const Aws::String & GetSourceCommitId() const
bool KeepEmptyFoldersHasBeenSet() const
const Aws::String & GetEmail() const
bool PullRequestIdHasBeenSet() const
void SetCommitMessage(const Aws::String &value)
void SetAuthorName(const char *value)
MergePullRequestBySquashRequest & WithConflictResolution(const ConflictResolution &value)
MergePullRequestBySquashRequest & WithPullRequestId(Aws::String &&value)
MergePullRequestBySquashRequest & WithCommitMessage(const Aws::String &value)
void SetConflictResolution(ConflictResolution &&value)
const Aws::String & GetCommitMessage() const
void SetRepositoryName(const Aws::String &value)
void SetCommitMessage(Aws::String &&value)
void SetSourceCommitId(const char *value)
MergePullRequestBySquashRequest & WithSourceCommitId(const Aws::String &value)
MergePullRequestBySquashRequest & WithConflictResolution(ConflictResolution &&value)
MergePullRequestBySquashRequest & WithAuthorName(const char *value)
void SetConflictDetailLevel(ConflictDetailLevelTypeEnum &&value)
bool RepositoryNameHasBeenSet() const
bool EmailHasBeenSet() const
MergePullRequestBySquashRequest & WithRepositoryName(Aws::String &&value)
const ConflictDetailLevelTypeEnum & GetConflictDetailLevel() const
MergePullRequestBySquashRequest & WithConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
bool ConflictResolutionHasBeenSet() const
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
MergePullRequestBySquashRequest & WithConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
MergePullRequestBySquashRequest & WithPullRequestId(const char *value)
void SetAuthorName(Aws::String &&value)
MergePullRequestBySquashRequest & WithConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum &&value)
const ConflictResolution & GetConflictResolution() const
MergePullRequestBySquashRequest & WithEmail(const char *value)
void SetConflictDetailLevel(const ConflictDetailLevelTypeEnum &value)
MergePullRequestBySquashRequest & WithKeepEmptyFolders(bool value)
MergePullRequestBySquashRequest & WithRepositoryName(const char *value)
MergePullRequestBySquashRequest & WithAuthorName(const Aws::String &value)
MergePullRequestBySquashRequest & WithSourceCommitId(const char *value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetKeepEmptyFolders(bool value)
void SetSourceCommitId(const Aws::String &value)
void SetEmail(const Aws::String &value)
void SetCommitMessage(const char *value)
MergePullRequestBySquashRequest & WithEmail(Aws::String &&value)
MergePullRequestBySquashRequest & WithEmail(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetConflictResolution(const ConflictResolution &value)
MergePullRequestBySquashRequest & WithPullRequestId(const Aws::String &value)
MergePullRequestBySquashRequest & WithSourceCommitId(Aws::String &&value)
void SetConflictResolutionStrategy(const ConflictResolutionStrategyTypeEnum &value)
bool CommitMessageHasBeenSet() const
bool ConflictResolutionStrategyHasBeenSet() const
const Aws::String & GetPullRequestId() const
AWS_CODECOMMIT_API MergePullRequestBySquashRequest()
void SetAuthorName(const Aws::String &value)
void SetRepositoryName(Aws::String &&value)
const Aws::String & GetAuthorName() const
void SetEmail(Aws::String &&value)
const ConflictResolutionStrategyTypeEnum & GetConflictResolutionStrategy() const
ConflictDetailLevelTypeEnum
ConflictResolutionStrategyTypeEnum
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String