/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

The sorting criteria that are used to sort the list of task runs for the * machine learning transform.

See Also:

AWS * API Reference

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

The column to be used to sort the list of task runs for the machine learning * transform.

*/ inline const TaskRunSortColumnType& GetColumn() const{ return m_column; } /** *

The column to be used to sort the list of task runs for the machine learning * transform.

*/ inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; } /** *

The column to be used to sort the list of task runs for the machine learning * transform.

*/ inline void SetColumn(const TaskRunSortColumnType& value) { m_columnHasBeenSet = true; m_column = value; } /** *

The column to be used to sort the list of task runs for the machine learning * transform.

*/ inline void SetColumn(TaskRunSortColumnType&& value) { m_columnHasBeenSet = true; m_column = std::move(value); } /** *

The column to be used to sort the list of task runs for the machine learning * transform.

*/ inline TaskRunSortCriteria& WithColumn(const TaskRunSortColumnType& value) { SetColumn(value); return *this;} /** *

The column to be used to sort the list of task runs for the machine learning * transform.

*/ inline TaskRunSortCriteria& WithColumn(TaskRunSortColumnType&& value) { SetColumn(std::move(value)); return *this;} /** *

The sort direction to be used to sort the list of task runs for the machine * learning transform.

*/ inline const SortDirectionType& GetSortDirection() const{ return m_sortDirection; } /** *

The sort direction to be used to sort the list of task runs for the machine * learning transform.

*/ inline bool SortDirectionHasBeenSet() const { return m_sortDirectionHasBeenSet; } /** *

The sort direction to be used to sort the list of task runs for the machine * learning transform.

*/ inline void SetSortDirection(const SortDirectionType& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = value; } /** *

The sort direction to be used to sort the list of task runs for the machine * learning transform.

*/ inline void SetSortDirection(SortDirectionType&& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = std::move(value); } /** *

The sort direction to be used to sort the list of task runs for the machine * learning transform.

*/ inline TaskRunSortCriteria& WithSortDirection(const SortDirectionType& value) { SetSortDirection(value); return *this;} /** *

The sort direction to be used to sort the list of task runs for the machine * learning transform.

*/ inline TaskRunSortCriteria& WithSortDirection(SortDirectionType&& value) { SetSortDirection(std::move(value)); return *this;} private: TaskRunSortColumnType m_column; bool m_columnHasBeenSet = false; SortDirectionType m_sortDirection; bool m_sortDirectionHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws