/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class CancelMLTaskRunResult { public: AWS_GLUE_API CancelMLTaskRunResult(); AWS_GLUE_API CancelMLTaskRunResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API CancelMLTaskRunResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the machine learning transform.

*/ inline const Aws::String& GetTransformId() const{ return m_transformId; } /** *

The unique identifier of the machine learning transform.

*/ inline void SetTransformId(const Aws::String& value) { m_transformId = value; } /** *

The unique identifier of the machine learning transform.

*/ inline void SetTransformId(Aws::String&& value) { m_transformId = std::move(value); } /** *

The unique identifier of the machine learning transform.

*/ inline void SetTransformId(const char* value) { m_transformId.assign(value); } /** *

The unique identifier of the machine learning transform.

*/ inline CancelMLTaskRunResult& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;} /** *

The unique identifier of the machine learning transform.

*/ inline CancelMLTaskRunResult& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;} /** *

The unique identifier of the machine learning transform.

*/ inline CancelMLTaskRunResult& WithTransformId(const char* value) { SetTransformId(value); return *this;} /** *

The unique identifier for the task run.

*/ inline const Aws::String& GetTaskRunId() const{ return m_taskRunId; } /** *

The unique identifier for the task run.

*/ inline void SetTaskRunId(const Aws::String& value) { m_taskRunId = value; } /** *

The unique identifier for the task run.

*/ inline void SetTaskRunId(Aws::String&& value) { m_taskRunId = std::move(value); } /** *

The unique identifier for the task run.

*/ inline void SetTaskRunId(const char* value) { m_taskRunId.assign(value); } /** *

The unique identifier for the task run.

*/ inline CancelMLTaskRunResult& WithTaskRunId(const Aws::String& value) { SetTaskRunId(value); return *this;} /** *

The unique identifier for the task run.

*/ inline CancelMLTaskRunResult& WithTaskRunId(Aws::String&& value) { SetTaskRunId(std::move(value)); return *this;} /** *

The unique identifier for the task run.

*/ inline CancelMLTaskRunResult& WithTaskRunId(const char* value) { SetTaskRunId(value); return *this;} /** *

The status for this run.

*/ inline const TaskStatusType& GetStatus() const{ return m_status; } /** *

The status for this run.

*/ inline void SetStatus(const TaskStatusType& value) { m_status = value; } /** *

The status for this run.

*/ inline void SetStatus(TaskStatusType&& value) { m_status = std::move(value); } /** *

The status for this run.

*/ inline CancelMLTaskRunResult& WithStatus(const TaskStatusType& value) { SetStatus(value); return *this;} /** *

The status for this run.

*/ inline CancelMLTaskRunResult& WithStatus(TaskStatusType&& value) { SetStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CancelMLTaskRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CancelMLTaskRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CancelMLTaskRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_transformId; Aws::String m_taskRunId; TaskStatusType m_status; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws