/** * 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 Athena { namespace Model { class AWS_ATHENA_API BatchGetQueryExecutionResult { public: BatchGetQueryExecutionResult(); BatchGetQueryExecutionResult(const Aws::AmazonWebServiceResult& result); BatchGetQueryExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about a query execution.

*/ inline const Aws::Vector& GetQueryExecutions() const{ return m_queryExecutions; } /** *

Information about a query execution.

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

Information about a query execution.

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

Information about a query execution.

*/ inline BatchGetQueryExecutionResult& WithQueryExecutions(const Aws::Vector& value) { SetQueryExecutions(value); return *this;} /** *

Information about a query execution.

*/ inline BatchGetQueryExecutionResult& WithQueryExecutions(Aws::Vector&& value) { SetQueryExecutions(std::move(value)); return *this;} /** *

Information about a query execution.

*/ inline BatchGetQueryExecutionResult& AddQueryExecutions(const QueryExecution& value) { m_queryExecutions.push_back(value); return *this; } /** *

Information about a query execution.

*/ inline BatchGetQueryExecutionResult& AddQueryExecutions(QueryExecution&& value) { m_queryExecutions.push_back(std::move(value)); return *this; } /** *

Information about the query executions that failed to run.

*/ inline const Aws::Vector& GetUnprocessedQueryExecutionIds() const{ return m_unprocessedQueryExecutionIds; } /** *

Information about the query executions that failed to run.

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

Information about the query executions that failed to run.

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

Information about the query executions that failed to run.

*/ inline BatchGetQueryExecutionResult& WithUnprocessedQueryExecutionIds(const Aws::Vector& value) { SetUnprocessedQueryExecutionIds(value); return *this;} /** *

Information about the query executions that failed to run.

*/ inline BatchGetQueryExecutionResult& WithUnprocessedQueryExecutionIds(Aws::Vector&& value) { SetUnprocessedQueryExecutionIds(std::move(value)); return *this;} /** *

Information about the query executions that failed to run.

*/ inline BatchGetQueryExecutionResult& AddUnprocessedQueryExecutionIds(const UnprocessedQueryExecutionId& value) { m_unprocessedQueryExecutionIds.push_back(value); return *this; } /** *

Information about the query executions that failed to run.

*/ inline BatchGetQueryExecutionResult& AddUnprocessedQueryExecutionIds(UnprocessedQueryExecutionId&& value) { m_unprocessedQueryExecutionIds.push_back(std::move(value)); return *this; } private: Aws::Vector m_queryExecutions; Aws::Vector m_unprocessedQueryExecutionIds; }; } // namespace Model } // namespace Athena } // namespace Aws