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

A list of task runs that are associated with the transform.

*/ inline const Aws::Vector& GetTaskRuns() const{ return m_taskRuns; } /** *

A list of task runs that are associated with the transform.

*/ inline void SetTaskRuns(const Aws::Vector& value) { m_taskRuns = value; } /** *

A list of task runs that are associated with the transform.

*/ inline void SetTaskRuns(Aws::Vector&& value) { m_taskRuns = std::move(value); } /** *

A list of task runs that are associated with the transform.

*/ inline GetMLTaskRunsResult& WithTaskRuns(const Aws::Vector& value) { SetTaskRuns(value); return *this;} /** *

A list of task runs that are associated with the transform.

*/ inline GetMLTaskRunsResult& WithTaskRuns(Aws::Vector&& value) { SetTaskRuns(std::move(value)); return *this;} /** *

A list of task runs that are associated with the transform.

*/ inline GetMLTaskRunsResult& AddTaskRuns(const TaskRun& value) { m_taskRuns.push_back(value); return *this; } /** *

A list of task runs that are associated with the transform.

*/ inline GetMLTaskRunsResult& AddTaskRuns(TaskRun&& value) { m_taskRuns.push_back(std::move(value)); return *this; } /** *

A pagination token, if more results are available.

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

A pagination token, if more results are available.

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

A pagination token, if more results are available.

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

A pagination token, if more results are available.

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

A pagination token, if more results are available.

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

A pagination token, if more results are available.

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

A pagination token, if more results are available.

*/ inline GetMLTaskRunsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_taskRuns; Aws::String m_nextToken; }; } // namespace Model } // namespace Glue } // namespace Aws