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

The unique IDs of each query execution as an array of strings.

*/ inline const Aws::Vector& GetQueryExecutionIds() const{ return m_queryExecutionIds; } /** *

The unique IDs of each query execution as an array of strings.

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

The unique IDs of each query execution as an array of strings.

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

The unique IDs of each query execution as an array of strings.

*/ inline ListQueryExecutionsResult& WithQueryExecutionIds(const Aws::Vector& value) { SetQueryExecutionIds(value); return *this;} /** *

The unique IDs of each query execution as an array of strings.

*/ inline ListQueryExecutionsResult& WithQueryExecutionIds(Aws::Vector&& value) { SetQueryExecutionIds(std::move(value)); return *this;} /** *

The unique IDs of each query execution as an array of strings.

*/ inline ListQueryExecutionsResult& AddQueryExecutionIds(const Aws::String& value) { m_queryExecutionIds.push_back(value); return *this; } /** *

The unique IDs of each query execution as an array of strings.

*/ inline ListQueryExecutionsResult& AddQueryExecutionIds(Aws::String&& value) { m_queryExecutionIds.push_back(std::move(value)); return *this; } /** *

The unique IDs of each query execution as an array of strings.

*/ inline ListQueryExecutionsResult& AddQueryExecutionIds(const char* value) { m_queryExecutionIds.push_back(value); return *this; } /** *

A token to be used by the next request if this request is truncated.

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

A token to be used by the next request if this request is truncated.

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

A token to be used by the next request if this request is truncated.

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

A token to be used by the next request if this request is truncated.

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

A token to be used by the next request if this request is truncated.

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

A token to be used by the next request if this request is truncated.

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

A token to be used by the next request if this request is truncated.

*/ inline ListQueryExecutionsResult& 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 ListQueryExecutionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListQueryExecutionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListQueryExecutionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_queryExecutionIds; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Athena } // namespace Aws