// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetBranch`](crate::operation::get_branch::builders::GetBranchFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`repository_name(impl Into<String>)`](crate::operation::get_branch::builders::GetBranchFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::get_branch::builders::GetBranchFluentBuilder::set_repository_name):<br>required: **false**<br><p>The name of the repository that contains the branch for which you want to retrieve information.</p><br>
/// - [`branch_name(impl Into<String>)`](crate::operation::get_branch::builders::GetBranchFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::get_branch::builders::GetBranchFluentBuilder::set_branch_name):<br>required: **false**<br><p>The name of the branch for which you want to retrieve information.</p><br>
/// - On success, responds with [`GetBranchOutput`](crate::operation::get_branch::GetBranchOutput) with field(s):
/// - [`branch(Option<BranchInfo>)`](crate::operation::get_branch::GetBranchOutput::branch): <p>The name of the branch.</p>
/// - On failure, responds with [`SdkError<GetBranchError>`](crate::operation::get_branch::GetBranchError)
pub fn get_branch(&self) -> crate::operation::get_branch::builders::GetBranchFluentBuilder {
crate::operation::get_branch::builders::GetBranchFluentBuilder::new(self.handle.clone())
}
}