// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopSentimentDetectionJob`](crate::operation::stop_sentiment_detection_job::builders::StopSentimentDetectionJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`job_id(impl Into<String>)`](crate::operation::stop_sentiment_detection_job::builders::StopSentimentDetectionJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::stop_sentiment_detection_job::builders::StopSentimentDetectionJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The identifier of the sentiment detection job to stop.</p><br>
/// - On success, responds with [`StopSentimentDetectionJobOutput`](crate::operation::stop_sentiment_detection_job::StopSentimentDetectionJobOutput) with field(s):
/// - [`job_id(Option<String>)`](crate::operation::stop_sentiment_detection_job::StopSentimentDetectionJobOutput::job_id): <p>The identifier of the sentiment detection job to stop.</p>
/// - [`job_status(Option<JobStatus>)`](crate::operation::stop_sentiment_detection_job::StopSentimentDetectionJobOutput::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>StopSentimentDetectionJob</code> operation.</p>
/// - On failure, responds with [`SdkError<StopSentimentDetectionJobError>`](crate::operation::stop_sentiment_detection_job::StopSentimentDetectionJobError)
pub fn stop_sentiment_detection_job(&self) -> crate::operation::stop_sentiment_detection_job::builders::StopSentimentDetectionJobFluentBuilder {
crate::operation::stop_sentiment_detection_job::builders::StopSentimentDetectionJobFluentBuilder::new(self.handle.clone())
}
}