// 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:
/// - [`app_name(impl Into<String>)`](crate::operation::get_branch::builders::GetBranchFluentBuilder::app_name) / [`set_app_name(Option<String>)`](crate::operation::get_branch::builders::GetBranchFluentBuilder::set_app_name):<br>required: **true**<br><p>The name of the app.</p><br>
/// - [`environment_name(impl Into<String>)`](crate::operation::get_branch::builders::GetBranchFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::get_branch::builders::GetBranchFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the environment.</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: **true**<br><p>The name of the branch.</p><br>
/// - On success, responds with [`GetBranchOutput`](crate::operation::get_branch::GetBranchOutput) with field(s):
/// - [`app_name(String)`](crate::operation::get_branch::GetBranchOutput::app_name): <p>The name of the app.</p>
/// - [`environment_name(String)`](crate::operation::get_branch::GetBranchOutput::environment_name): <p>The name of the environment.</p>
/// - [`branch_name(String)`](crate::operation::get_branch::GetBranchOutput::branch_name): <p>The name of the branch.</p>
/// - [`branch_arn(String)`](crate::operation::get_branch::GetBranchOutput::branch_arn): <p>The Amazon Resource Name (ARN) of the branch.</p>
/// - [`git_branch_name(Option<String>)`](crate::operation::get_branch::GetBranchOutput::git_branch_name): <p>The name of the Git branch that the branch was created for. Present only for a branch that was created for a Git branch.</p>
/// - [`created_at(DateTime)`](crate::operation::get_branch::GetBranchOutput::created_at): <p>The time at which the branch was created. The value is in ISO-8601 format.</p>
/// - [`backend(Option<BranchBackend>)`](crate::operation::get_branch::GetBranchOutput::backend): <p>The backend of the branch. If Amplify can't read the state of the backend, the request fails.</p>
/// - [`source_branch(Option<RestoreSourceBranch>)`](crate::operation::get_branch::GetBranchOutput::source_branch): <p>The branch that this branch was restored from, and the point in time it was restored to. Present only for a branch that was created by RestoreBranch.</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())
}
}