// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopDominantLanguageDetectionJob`](crate::operation::stop_dominant_language_detection_job::builders::StopDominantLanguageDetectionJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`job_id(impl Into<String>)`](crate::operation::stop_dominant_language_detection_job::builders::StopDominantLanguageDetectionJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::stop_dominant_language_detection_job::builders::StopDominantLanguageDetectionJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The identifier of the dominant language detection job to stop.</p><br>
/// - On success, responds with [`StopDominantLanguageDetectionJobOutput`](crate::operation::stop_dominant_language_detection_job::StopDominantLanguageDetectionJobOutput) with field(s):
/// - [`job_id(Option<String>)`](crate::operation::stop_dominant_language_detection_job::StopDominantLanguageDetectionJobOutput::job_id): <p>The identifier of the dominant language detection job to stop.</p>
/// - [`job_status(Option<JobStatus>)`](crate::operation::stop_dominant_language_detection_job::StopDominantLanguageDetectionJobOutput::job_status): <p>Either <code>STOP_REQUESTED</code> if the job is currently running, or <code>STOPPED</code> if the job was previously stopped with the <code>StopDominantLanguageDetectionJob</code> operation.</p>
/// - On failure, responds with [`SdkError<StopDominantLanguageDetectionJobError>`](crate::operation::stop_dominant_language_detection_job::StopDominantLanguageDetectionJobError)
pub fn stop_dominant_language_detection_job(
&self,
) -> crate::operation::stop_dominant_language_detection_job::builders::StopDominantLanguageDetectionJobFluentBuilder {
crate::operation::stop_dominant_language_detection_job::builders::StopDominantLanguageDetectionJobFluentBuilder::new(self.handle.clone())
}
}