// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetFolder`](crate::operation::get_folder::builders::GetFolderFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`provider(GitProvider)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::provider) / [`set_provider(Option<GitProvider>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::set_provider):<br>required: **true**<br><p>The Git provider.</p><br>
/// - [`owner(impl Into<String>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::owner) / [`set_owner(Option<String>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::set_owner):<br>required: **true**<br><p>The account that the Git connection is for. The value depends on the provider:</p> <ul> <li> <p>For GitHub, specify the user or organization name.</p></li> <li> <p>For GitLab, specify the user name.</p></li> </ul> <p>To get this value, call ListGitConnections.</p><br>
/// - [`repository_name(impl Into<String>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::set_repository_name):<br>required: **false**<br><p>The name of the repository, which is the last segment of RepositoryPath.</p><br>
/// - [`repository_path(impl Into<String>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::repository_path) / [`set_repository_path(Option<String>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::set_repository_path):<br>required: **true**<br><p>The full path of the repository in the Git provider, for example my-org/my-app. GitLab paths can include subgroups, for example my-group/subgroup/my-app. To get this value, call ListRepositories.</p><br>
/// - [`folder_path(impl Into<String>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::folder_path) / [`set_folder_path(Option<String>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::set_folder_path):<br>required: **true**<br><p>The path of the folder, relative to the root of the repository, for example src/app. To list the root of the repository, use /.</p><br>
/// - [`branch(impl Into<String>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::branch) / [`set_branch(Option<String>)`](crate::operation::get_folder::builders::GetFolderFluentBuilder::set_branch):<br>required: **true**<br><p>The name of the branch to read from.</p><br>
/// - On success, responds with [`GetFolderOutput`](crate::operation::get_folder::GetFolderOutput) with field(s):
/// - [`folder_path(String)`](crate::operation::get_folder::GetFolderOutput::folder_path): <p>The path of the folder that was listed.</p>
/// - [`sub_folders(Vec::<FolderReference>)`](crate::operation::get_folder::GetFolderOutput::sub_folders): <p>The folders directly inside the folder.</p>
/// - [`files(Vec::<FileReference>)`](crate::operation::get_folder::GetFolderOutput::files): <p>The files directly inside the folder.</p>
/// - On failure, responds with [`SdkError<GetFolderError>`](crate::operation::get_folder::GetFolderError)
pub fn get_folder(&self) -> crate::operation::get_folder::builders::GetFolderFluentBuilder {
crate::operation::get_folder::builders::GetFolderFluentBuilder::new(self.handle.clone())
}
}