/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The sampling parameters that are associated with the machine learning
* transform.See Also:
AWS API
* Reference
The unique identifier for the transform.
*/ inline const Aws::String& GetTransformId() const{ return m_transformId; } /** *The unique identifier for the transform.
*/ inline bool TransformIdHasBeenSet() const { return m_transformIdHasBeenSet; } /** *The unique identifier for the transform.
*/ inline void SetTransformId(const Aws::String& value) { m_transformIdHasBeenSet = true; m_transformId = value; } /** *The unique identifier for the transform.
*/ inline void SetTransformId(Aws::String&& value) { m_transformIdHasBeenSet = true; m_transformId = std::move(value); } /** *The unique identifier for the transform.
*/ inline void SetTransformId(const char* value) { m_transformIdHasBeenSet = true; m_transformId.assign(value); } /** *The unique identifier for the transform.
*/ inline TaskRun& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;} /** *The unique identifier for the transform.
*/ inline TaskRun& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;} /** *The unique identifier for the transform.
*/ inline TaskRun& WithTransformId(const char* value) { SetTransformId(value); return *this;} /** *The unique identifier for this task run.
*/ inline const Aws::String& GetTaskRunId() const{ return m_taskRunId; } /** *The unique identifier for this task run.
*/ inline bool TaskRunIdHasBeenSet() const { return m_taskRunIdHasBeenSet; } /** *The unique identifier for this task run.
*/ inline void SetTaskRunId(const Aws::String& value) { m_taskRunIdHasBeenSet = true; m_taskRunId = value; } /** *The unique identifier for this task run.
*/ inline void SetTaskRunId(Aws::String&& value) { m_taskRunIdHasBeenSet = true; m_taskRunId = std::move(value); } /** *The unique identifier for this task run.
*/ inline void SetTaskRunId(const char* value) { m_taskRunIdHasBeenSet = true; m_taskRunId.assign(value); } /** *The unique identifier for this task run.
*/ inline TaskRun& WithTaskRunId(const Aws::String& value) { SetTaskRunId(value); return *this;} /** *The unique identifier for this task run.
*/ inline TaskRun& WithTaskRunId(Aws::String&& value) { SetTaskRunId(std::move(value)); return *this;} /** *The unique identifier for this task run.
*/ inline TaskRun& WithTaskRunId(const char* value) { SetTaskRunId(value); return *this;} /** *The current status of the requested task run.
*/ inline const TaskStatusType& GetStatus() const{ return m_status; } /** *The current status of the requested task run.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the requested task run.
*/ inline void SetStatus(const TaskStatusType& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the requested task run.
*/ inline void SetStatus(TaskStatusType&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the requested task run.
*/ inline TaskRun& WithStatus(const TaskStatusType& value) { SetStatus(value); return *this;} /** *The current status of the requested task run.
*/ inline TaskRun& WithStatus(TaskStatusType&& value) { SetStatus(std::move(value)); return *this;} /** *The names of the log group for secure logging, associated with this task * run.
*/ inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; } /** *The names of the log group for secure logging, associated with this task * run.
*/ inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; } /** *The names of the log group for secure logging, associated with this task * run.
*/ inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; } /** *The names of the log group for secure logging, associated with this task * run.
*/ inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); } /** *The names of the log group for secure logging, associated with this task * run.
*/ inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); } /** *The names of the log group for secure logging, associated with this task * run.
*/ inline TaskRun& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;} /** *The names of the log group for secure logging, associated with this task * run.
*/ inline TaskRun& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;} /** *The names of the log group for secure logging, associated with this task * run.
*/ inline TaskRun& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;} /** *Specifies configuration properties associated with this task run.
*/ inline const TaskRunProperties& GetProperties() const{ return m_properties; } /** *Specifies configuration properties associated with this task run.
*/ inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } /** *Specifies configuration properties associated with this task run.
*/ inline void SetProperties(const TaskRunProperties& value) { m_propertiesHasBeenSet = true; m_properties = value; } /** *Specifies configuration properties associated with this task run.
*/ inline void SetProperties(TaskRunProperties&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); } /** *Specifies configuration properties associated with this task run.
*/ inline TaskRun& WithProperties(const TaskRunProperties& value) { SetProperties(value); return *this;} /** *Specifies configuration properties associated with this task run.
*/ inline TaskRun& WithProperties(TaskRunProperties&& value) { SetProperties(std::move(value)); return *this;} /** *The list of error strings associated with this task run.
*/ inline const Aws::String& GetErrorString() const{ return m_errorString; } /** *The list of error strings associated with this task run.
*/ inline bool ErrorStringHasBeenSet() const { return m_errorStringHasBeenSet; } /** *The list of error strings associated with this task run.
*/ inline void SetErrorString(const Aws::String& value) { m_errorStringHasBeenSet = true; m_errorString = value; } /** *The list of error strings associated with this task run.
*/ inline void SetErrorString(Aws::String&& value) { m_errorStringHasBeenSet = true; m_errorString = std::move(value); } /** *The list of error strings associated with this task run.
*/ inline void SetErrorString(const char* value) { m_errorStringHasBeenSet = true; m_errorString.assign(value); } /** *The list of error strings associated with this task run.
*/ inline TaskRun& WithErrorString(const Aws::String& value) { SetErrorString(value); return *this;} /** *The list of error strings associated with this task run.
*/ inline TaskRun& WithErrorString(Aws::String&& value) { SetErrorString(std::move(value)); return *this;} /** *The list of error strings associated with this task run.
*/ inline TaskRun& WithErrorString(const char* value) { SetErrorString(value); return *this;} /** *The date and time that this task run started.
*/ inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; } /** *The date and time that this task run started.
*/ inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; } /** *The date and time that this task run started.
*/ inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOnHasBeenSet = true; m_startedOn = value; } /** *The date and time that this task run started.
*/ inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::move(value); } /** *The date and time that this task run started.
*/ inline TaskRun& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;} /** *The date and time that this task run started.
*/ inline TaskRun& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;} /** *The last point in time that the requested task run was updated.
*/ inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; } /** *The last point in time that the requested task run was updated.
*/ inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; } /** *The last point in time that the requested task run was updated.
*/ inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = value; } /** *The last point in time that the requested task run was updated.
*/ inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::move(value); } /** *The last point in time that the requested task run was updated.
*/ inline TaskRun& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;} /** *The last point in time that the requested task run was updated.
*/ inline TaskRun& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;} /** *The last point in time that the requested task run was completed.
*/ inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; } /** *The last point in time that the requested task run was completed.
*/ inline bool CompletedOnHasBeenSet() const { return m_completedOnHasBeenSet; } /** *The last point in time that the requested task run was completed.
*/ inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOnHasBeenSet = true; m_completedOn = value; } /** *The last point in time that the requested task run was completed.
*/ inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::move(value); } /** *The last point in time that the requested task run was completed.
*/ inline TaskRun& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;} /** *The last point in time that the requested task run was completed.
*/ inline TaskRun& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;} /** *The amount of time (in seconds) that the task run consumed resources.
*/ inline int GetExecutionTime() const{ return m_executionTime; } /** *The amount of time (in seconds) that the task run consumed resources.
*/ inline bool ExecutionTimeHasBeenSet() const { return m_executionTimeHasBeenSet; } /** *The amount of time (in seconds) that the task run consumed resources.
*/ inline void SetExecutionTime(int value) { m_executionTimeHasBeenSet = true; m_executionTime = value; } /** *The amount of time (in seconds) that the task run consumed resources.
*/ inline TaskRun& WithExecutionTime(int value) { SetExecutionTime(value); return *this;} private: Aws::String m_transformId; bool m_transformIdHasBeenSet = false; Aws::String m_taskRunId; bool m_taskRunIdHasBeenSet = false; TaskStatusType m_status; bool m_statusHasBeenSet = false; Aws::String m_logGroupName; bool m_logGroupNameHasBeenSet = false; TaskRunProperties m_properties; bool m_propertiesHasBeenSet = false; Aws::String m_errorString; bool m_errorStringHasBeenSet = false; Aws::Utils::DateTime m_startedOn; bool m_startedOnHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedOn; bool m_lastModifiedOnHasBeenSet = false; Aws::Utils::DateTime m_completedOn; bool m_completedOnHasBeenSet = false; int m_executionTime; bool m_executionTimeHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws