// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopLaunch`](crate::operation::stop_launch::builders::StopLaunchFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`project(impl Into<String>)`](crate::operation::stop_launch::builders::StopLaunchFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::stop_launch::builders::StopLaunchFluentBuilder::set_project):<br>required: **true**<br><p>The name or ARN of the project that contains the launch that you want to stop.</p><br>
/// - [`launch(impl Into<String>)`](crate::operation::stop_launch::builders::StopLaunchFluentBuilder::launch) / [`set_launch(Option<String>)`](crate::operation::stop_launch::builders::StopLaunchFluentBuilder::set_launch):<br>required: **true**<br><p>The name of the launch to stop.</p><br>
/// - [`desired_state(LaunchStopDesiredState)`](crate::operation::stop_launch::builders::StopLaunchFluentBuilder::desired_state) / [`set_desired_state(Option<LaunchStopDesiredState>)`](crate::operation::stop_launch::builders::StopLaunchFluentBuilder::set_desired_state):<br>required: **false**<br><p>Specify whether to consider the launch as <code>COMPLETED</code> or <code>CANCELLED</code> after it stops.</p><br>
/// - [`reason(impl Into<String>)`](crate::operation::stop_launch::builders::StopLaunchFluentBuilder::reason) / [`set_reason(Option<String>)`](crate::operation::stop_launch::builders::StopLaunchFluentBuilder::set_reason):<br>required: **false**<br><p>A string that describes why you are stopping the launch.</p><br>
/// - On success, responds with [`StopLaunchOutput`](crate::operation::stop_launch::StopLaunchOutput) with field(s):
/// - [`ended_time(Option<DateTime>)`](crate::operation::stop_launch::StopLaunchOutput::ended_time): <p>The date and time that the launch stopped.</p>
/// - On failure, responds with [`SdkError<StopLaunchError>`](crate::operation::stop_launch::StopLaunchError)
pub fn stop_launch(&self) -> crate::operation::stop_launch::builders::StopLaunchFluentBuilder {
crate::operation::stop_launch::builders::StopLaunchFluentBuilder::new(self.handle.clone())
}
}