// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListBranches`](crate::operation::list_branches::builders::ListBranchesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`app_id(impl Into<String>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::set_app_id): <p> The unique ID for an Amplify app. </p>
/// - [`next_token(impl Into<String>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::set_next_token): <p> A pagination token. Set to null to start listing branches from the start. If a non-null pagination token is returned in a result, pass its value in here to list more branches. </p>
/// - [`max_results(i32)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::set_max_results): <p> The maximum number of records to list in a single response. </p>
/// - On success, responds with [`ListBranchesOutput`](crate::operation::list_branches::ListBranchesOutput) with field(s):
/// - [`branches(Option<Vec<Branch>>)`](crate::operation::list_branches::ListBranchesOutput::branches): <p> A list of branches for an Amplify app. </p>
/// - [`next_token(Option<String>)`](crate::operation::list_branches::ListBranchesOutput::next_token): <p> A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries. </p>
/// - On failure, responds with [`SdkError<ListBranchesError>`](crate::operation::list_branches::ListBranchesError)
pub fn list_branches(&self) -> crate::operation::list_branches::builders::ListBranchesFluentBuilder {
crate::operation::list_branches::builders::ListBranchesFluentBuilder::new(self.handle.clone())
}
}