// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`MergePullRequestByThreeWay`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`pull_request_id(impl Into<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::pull_request_id) / [`set_pull_request_id(Option<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::set_pull_request_id):<br>required: **true**<br><p>The system-generated ID of the pull request. To get this ID, use <code>ListPullRequests</code>.</p><br>
/// - [`repository_name(impl Into<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository where the pull request was created.</p><br>
/// - [`source_commit_id(impl Into<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::source_commit_id) / [`set_source_commit_id(Option<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::set_source_commit_id):<br>required: **false**<br><p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p><br>
/// - [`conflict_detail_level(ConflictDetailLevelTypeEnum)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::conflict_detail_level) / [`set_conflict_detail_level(Option<ConflictDetailLevelTypeEnum>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::set_conflict_detail_level):<br>required: **false**<br><p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p><br>
/// - [`conflict_resolution_strategy(ConflictResolutionStrategyTypeEnum)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::conflict_resolution_strategy) / [`set_conflict_resolution_strategy(Option<ConflictResolutionStrategyTypeEnum>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::set_conflict_resolution_strategy):<br>required: **false**<br><p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p><br>
/// - [`commit_message(impl Into<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::commit_message) / [`set_commit_message(Option<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::set_commit_message):<br>required: **false**<br><p>The commit message to include in the commit information for the merge.</p><br>
/// - [`author_name(impl Into<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::author_name) / [`set_author_name(Option<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::set_author_name):<br>required: **false**<br><p>The name of the author who created the commit. This information is used as both the author and committer for the commit.</p><br>
/// - [`email(impl Into<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::email) / [`set_email(Option<String>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::set_email):<br>required: **false**<br><p>The email address of the person merging the branches. This information is used in the commit information for the merge.</p><br>
/// - [`keep_empty_folders(bool)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::keep_empty_folders) / [`set_keep_empty_folders(Option<bool>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::set_keep_empty_folders):<br>required: **false**<br><p>If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false.</p><br>
/// - [`conflict_resolution(ConflictResolution)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::conflict_resolution) / [`set_conflict_resolution(Option<ConflictResolution>)`](crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::set_conflict_resolution):<br>required: **false**<br><p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.</p><br>
/// - On success, responds with [`MergePullRequestByThreeWayOutput`](crate::operation::merge_pull_request_by_three_way::MergePullRequestByThreeWayOutput) with field(s):
/// - [`pull_request(Option<PullRequest>)`](crate::operation::merge_pull_request_by_three_way::MergePullRequestByThreeWayOutput::pull_request): <p>Returns information about a pull request.</p>
/// - On failure, responds with [`SdkError<MergePullRequestByThreeWayError>`](crate::operation::merge_pull_request_by_three_way::MergePullRequestByThreeWayError)
pub fn merge_pull_request_by_three_way(
&self,
) -> crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder {
crate::operation::merge_pull_request_by_three_way::builders::MergePullRequestByThreeWayFluentBuilder::new(self.handle.clone())
}
}