/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Records a successful request to stop a specified * JobRun.

See Also:

AWS * API Reference

*/ class BatchStopJobRunSuccessfulSubmission { public: AWS_GLUE_API BatchStopJobRunSuccessfulSubmission(); AWS_GLUE_API BatchStopJobRunSuccessfulSubmission(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API BatchStopJobRunSuccessfulSubmission& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the job definition used in the job run that was stopped.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of the job definition used in the job run that was stopped.

*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *

The name of the job definition used in the job run that was stopped.

*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *

The name of the job definition used in the job run that was stopped.

*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *

The name of the job definition used in the job run that was stopped.

*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *

The name of the job definition used in the job run that was stopped.

*/ inline BatchStopJobRunSuccessfulSubmission& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the job definition used in the job run that was stopped.

*/ inline BatchStopJobRunSuccessfulSubmission& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of the job definition used in the job run that was stopped.

*/ inline BatchStopJobRunSuccessfulSubmission& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The JobRunId of the job run that was stopped.

*/ inline const Aws::String& GetJobRunId() const{ return m_jobRunId; } /** *

The JobRunId of the job run that was stopped.

*/ inline bool JobRunIdHasBeenSet() const { return m_jobRunIdHasBeenSet; } /** *

The JobRunId of the job run that was stopped.

*/ inline void SetJobRunId(const Aws::String& value) { m_jobRunIdHasBeenSet = true; m_jobRunId = value; } /** *

The JobRunId of the job run that was stopped.

*/ inline void SetJobRunId(Aws::String&& value) { m_jobRunIdHasBeenSet = true; m_jobRunId = std::move(value); } /** *

The JobRunId of the job run that was stopped.

*/ inline void SetJobRunId(const char* value) { m_jobRunIdHasBeenSet = true; m_jobRunId.assign(value); } /** *

The JobRunId of the job run that was stopped.

*/ inline BatchStopJobRunSuccessfulSubmission& WithJobRunId(const Aws::String& value) { SetJobRunId(value); return *this;} /** *

The JobRunId of the job run that was stopped.

*/ inline BatchStopJobRunSuccessfulSubmission& WithJobRunId(Aws::String&& value) { SetJobRunId(std::move(value)); return *this;} /** *

The JobRunId of the job run that was stopped.

*/ inline BatchStopJobRunSuccessfulSubmission& WithJobRunId(const char* value) { SetJobRunId(value); return *this;} private: Aws::String m_jobName; bool m_jobNameHasBeenSet = false; Aws::String m_jobRunId; bool m_jobRunIdHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws