/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include ListTasksResponseSee Also:
AWS
* API Reference
A list of all the tasks that are returned.
*/ inline const Aws::VectorA list of all the tasks that are returned.
*/ inline void SetTasks(const Aws::VectorA list of all the tasks that are returned.
*/ inline void SetTasks(Aws::VectorA list of all the tasks that are returned.
*/ inline ListTasksResult& WithTasks(const Aws::VectorA list of all the tasks that are returned.
*/ inline ListTasksResult& WithTasks(Aws::VectorA list of all the tasks that are returned.
*/ inline ListTasksResult& AddTasks(const TaskListEntry& value) { m_tasks.push_back(value); return *this; } /** *A list of all the tasks that are returned.
*/ inline ListTasksResult& AddTasks(TaskListEntry&& value) { m_tasks.push_back(std::move(value)); return *this; } /** *An opaque string that indicates the position at which to begin returning the * next list of tasks.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *An opaque string that indicates the position at which to begin returning the * next list of tasks.
*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *An opaque string that indicates the position at which to begin returning the * next list of tasks.
*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *An opaque string that indicates the position at which to begin returning the * next list of tasks.
*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *An opaque string that indicates the position at which to begin returning the * next list of tasks.
*/ inline ListTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *An opaque string that indicates the position at which to begin returning the * next list of tasks.
*/ inline ListTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *An opaque string that indicates the position at which to begin returning the * next list of tasks.
*/ inline ListTasksResult& WithNextToken(const char* value) { SetNextToken(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 ListTasksResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListTasksResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListTasksResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector