// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetTrail`](crate::operation::get_trail::builders::GetTrailFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::get_trail::builders::GetTrailFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_trail::builders::GetTrailFluentBuilder::set_name):<br>required: **true**<br><p>The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.</p><br>
/// - On success, responds with [`GetTrailOutput`](crate::operation::get_trail::GetTrailOutput) with field(s):
/// - [`trail(Option<Trail>)`](crate::operation::get_trail::GetTrailOutput::trail): <p>The settings for a trail.</p>
/// - On failure, responds with [`SdkError<GetTrailError>`](crate::operation::get_trail::GetTrailError)
pub fn get_trail(&self) -> crate::operation::get_trail::builders::GetTrailFluentBuilder {
crate::operation::get_trail::builders::GetTrailFluentBuilder::new(self.handle.clone())
}
}