// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetRestoreWindow`](crate::operation::get_restore_window::builders::GetRestoreWindowFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`branch_arn(impl Into<String>)`](crate::operation::get_restore_window::builders::GetRestoreWindowFluentBuilder::branch_arn) / [`set_branch_arn(Option<String>)`](crate::operation::get_restore_window::builders::GetRestoreWindowFluentBuilder::set_branch_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the production branch of the Production environment. Other branches can't be restored.</p><br>
/// - On success, responds with [`GetRestoreWindowOutput`](crate::operation::get_restore_window::GetRestoreWindowOutput) with field(s):
/// - [`earliest_restorable_time(Option<DateTime>)`](crate::operation::get_restore_window::GetRestoreWindowOutput::earliest_restorable_time): <p>The earliest time that you can restore the production branch to. Absent when no restore window is available yet.</p>
/// - [`latest_restorable_time(Option<DateTime>)`](crate::operation::get_restore_window::GetRestoreWindowOutput::latest_restorable_time): <p>The latest time that you can restore the production branch to. Absent when no restore window is available yet.</p>
/// - On failure, responds with [`SdkError<GetRestoreWindowError>`](crate::operation::get_restore_window::GetRestoreWindowError)
pub fn get_restore_window(&self) -> crate::operation::get_restore_window::builders::GetRestoreWindowFluentBuilder {
crate::operation::get_restore_window::builders::GetRestoreWindowFluentBuilder::new(self.handle.clone())
}
}