/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class GetMLTaskRunsRequest : public GlueRequest { public: AWS_GLUE_API GetMLTaskRunsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetMLTaskRuns"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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 bool TransformIdHasBeenSet() const { return m_transformIdHasBeenSet; } /** *

The unique identifier of the machine learning transform.

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

The unique identifier of the machine learning transform.

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

The unique identifier of the machine learning transform.

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

The unique identifier of the machine learning transform.

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

The unique identifier of the machine learning transform.

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

The unique identifier of the machine learning transform.

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

A token for pagination of the results. The default is empty.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A token for pagination of the results. The default is empty.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A token for pagination of the results. The default is empty.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

A token for pagination of the results. The default is empty.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

A token for pagination of the results. The default is empty.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

A token for pagination of the results. The default is empty.

*/ inline GetMLTaskRunsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A token for pagination of the results. The default is empty.

*/ inline GetMLTaskRunsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A token for pagination of the results. The default is empty.

*/ inline GetMLTaskRunsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of results to return.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return.

*/ inline GetMLTaskRunsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The filter criteria, in the TaskRunFilterCriteria structure, for * the task run.

*/ inline const TaskRunFilterCriteria& GetFilter() const{ return m_filter; } /** *

The filter criteria, in the TaskRunFilterCriteria structure, for * the task run.

*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *

The filter criteria, in the TaskRunFilterCriteria structure, for * the task run.

*/ inline void SetFilter(const TaskRunFilterCriteria& value) { m_filterHasBeenSet = true; m_filter = value; } /** *

The filter criteria, in the TaskRunFilterCriteria structure, for * the task run.

*/ inline void SetFilter(TaskRunFilterCriteria&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** *

The filter criteria, in the TaskRunFilterCriteria structure, for * the task run.

*/ inline GetMLTaskRunsRequest& WithFilter(const TaskRunFilterCriteria& value) { SetFilter(value); return *this;} /** *

The filter criteria, in the TaskRunFilterCriteria structure, for * the task run.

*/ inline GetMLTaskRunsRequest& WithFilter(TaskRunFilterCriteria&& value) { SetFilter(std::move(value)); return *this;} /** *

The sorting criteria, in the TaskRunSortCriteria structure, for * the task run.

*/ inline const TaskRunSortCriteria& GetSort() const{ return m_sort; } /** *

The sorting criteria, in the TaskRunSortCriteria structure, for * the task run.

*/ inline bool SortHasBeenSet() const { return m_sortHasBeenSet; } /** *

The sorting criteria, in the TaskRunSortCriteria structure, for * the task run.

*/ inline void SetSort(const TaskRunSortCriteria& value) { m_sortHasBeenSet = true; m_sort = value; } /** *

The sorting criteria, in the TaskRunSortCriteria structure, for * the task run.

*/ inline void SetSort(TaskRunSortCriteria&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); } /** *

The sorting criteria, in the TaskRunSortCriteria structure, for * the task run.

*/ inline GetMLTaskRunsRequest& WithSort(const TaskRunSortCriteria& value) { SetSort(value); return *this;} /** *

The sorting criteria, in the TaskRunSortCriteria structure, for * the task run.

*/ inline GetMLTaskRunsRequest& WithSort(TaskRunSortCriteria&& value) { SetSort(std::move(value)); return *this;} private: Aws::String m_transformId; bool m_transformIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; TaskRunFilterCriteria m_filter; bool m_filterHasBeenSet = false; TaskRunSortCriteria m_sort; bool m_sortHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws