/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Records an error that occurred when attempting to stop a specified job
* run.See Also:
AWS
* API Reference
The name of the job definition that is used in the job run in question.
*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *The name of the job definition that is used in the job run in question.
*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *The name of the job definition that is used in the job run in question.
*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *The name of the job definition that is used in the job run in question.
*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *The name of the job definition that is used in the job run in question.
*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *The name of the job definition that is used in the job run in question.
*/ inline BatchStopJobRunError& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *The name of the job definition that is used in the job run in question.
*/ inline BatchStopJobRunError& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *The name of the job definition that is used in the job run in question.
*/ inline BatchStopJobRunError& WithJobName(const char* value) { SetJobName(value); return *this;} /** *The JobRunId
of the job run in question.
The JobRunId
of the job run in question.
The JobRunId
of the job run in question.
The JobRunId
of the job run in question.
The JobRunId
of the job run in question.
The JobRunId
of the job run in question.
The JobRunId
of the job run in question.
The JobRunId
of the job run in question.
Specifies details about the error that was encountered.
*/ inline const ErrorDetail& GetErrorDetail() const{ return m_errorDetail; } /** *Specifies details about the error that was encountered.
*/ inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; } /** *Specifies details about the error that was encountered.
*/ inline void SetErrorDetail(const ErrorDetail& value) { m_errorDetailHasBeenSet = true; m_errorDetail = value; } /** *Specifies details about the error that was encountered.
*/ inline void SetErrorDetail(ErrorDetail&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::move(value); } /** *Specifies details about the error that was encountered.
*/ inline BatchStopJobRunError& WithErrorDetail(const ErrorDetail& value) { SetErrorDetail(value); return *this;} /** *Specifies details about the error that was encountered.
*/ inline BatchStopJobRunError& WithErrorDetail(ErrorDetail&& value) { SetErrorDetail(std::move(value)); return *this;} private: Aws::String m_jobName; bool m_jobNameHasBeenSet = false; Aws::String m_jobRunId; bool m_jobRunIdHasBeenSet = false; ErrorDetail m_errorDetail; bool m_errorDetailHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws