/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class StopProcessingJobRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API StopProcessingJobRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StopProcessingJob"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the processing job to stop.

*/ inline const Aws::String& GetProcessingJobName() const{ return m_processingJobName; } /** *

The name of the processing job to stop.

*/ inline bool ProcessingJobNameHasBeenSet() const { return m_processingJobNameHasBeenSet; } /** *

The name of the processing job to stop.

*/ inline void SetProcessingJobName(const Aws::String& value) { m_processingJobNameHasBeenSet = true; m_processingJobName = value; } /** *

The name of the processing job to stop.

*/ inline void SetProcessingJobName(Aws::String&& value) { m_processingJobNameHasBeenSet = true; m_processingJobName = std::move(value); } /** *

The name of the processing job to stop.

*/ inline void SetProcessingJobName(const char* value) { m_processingJobNameHasBeenSet = true; m_processingJobName.assign(value); } /** *

The name of the processing job to stop.

*/ inline StopProcessingJobRequest& WithProcessingJobName(const Aws::String& value) { SetProcessingJobName(value); return *this;} /** *

The name of the processing job to stop.

*/ inline StopProcessingJobRequest& WithProcessingJobName(Aws::String&& value) { SetProcessingJobName(std::move(value)); return *this;} /** *

The name of the processing job to stop.

*/ inline StopProcessingJobRequest& WithProcessingJobName(const char* value) { SetProcessingJobName(value); return *this;} private: Aws::String m_processingJobName; bool m_processingJobNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws