// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopExperiment`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`project(impl Into<String>)`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::set_project): <p>The name or ARN of the project that contains the experiment to stop.</p>
/// - [`experiment(impl Into<String>)`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::experiment) / [`set_experiment(Option<String>)`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::set_experiment): <p>The name of the experiment to stop.</p>
/// - [`desired_state(ExperimentStopDesiredState)`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::desired_state) / [`set_desired_state(Option<ExperimentStopDesiredState>)`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::set_desired_state): <p>Specify whether the experiment is to be considered <code>COMPLETED</code> or <code>CANCELLED</code> after it stops.</p>
/// - [`reason(impl Into<String>)`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::reason) / [`set_reason(Option<String>)`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::set_reason): <p>A string that describes why you are stopping the experiment.</p>
/// - On success, responds with [`StopExperimentOutput`](crate::operation::stop_experiment::StopExperimentOutput) with field(s):
/// - [`ended_time(Option<DateTime>)`](crate::operation::stop_experiment::StopExperimentOutput::ended_time): <p>The date and time that the experiment stopped.</p>
/// - On failure, responds with [`SdkError<StopExperimentError>`](crate::operation::stop_experiment::StopExperimentError)
pub fn stop_experiment(
&self,
) -> crate::operation::stop_experiment::builders::StopExperimentFluentBuilder {
crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::new(
self.handle.clone(),
)
}
}