/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the result of a list runs request.See Also:
AWS
* API Reference
Information about the runs.
*/ inline const Aws::VectorInformation about the runs.
*/ inline void SetRuns(const Aws::VectorInformation about the runs.
*/ inline void SetRuns(Aws::VectorInformation about the runs.
*/ inline ListRunsResult& WithRuns(const Aws::VectorInformation about the runs.
*/ inline ListRunsResult& WithRuns(Aws::VectorInformation about the runs.
*/ inline ListRunsResult& AddRuns(const Run& value) { m_runs.push_back(value); return *this; } /** *Information about the runs.
*/ inline ListRunsResult& AddRuns(Run&& value) { m_runs.push_back(std::move(value)); return *this; } /** *If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.
*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.
*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.
*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.
*/ inline ListRunsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.
*/ inline ListRunsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.
*/ inline ListRunsResult& 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 ListRunsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListRunsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListRunsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector