/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure for the output.See Also:
AWS
* API Reference
An error message when the operation fails.
*/ inline const Aws::String& GetError() const{ return m_error; } /** *An error message when the operation fails.
*/ inline void SetError(const Aws::String& value) { m_error = value; } /** *An error message when the operation fails.
*/ inline void SetError(Aws::String&& value) { m_error = std::move(value); } /** *An error message when the operation fails.
*/ inline void SetError(const char* value) { m_error.assign(value); } /** *An error message when the operation fails.
*/ inline GetQueryStateResult& WithError(const Aws::String& value) { SetError(value); return *this;} /** *An error message when the operation fails.
*/ inline GetQueryStateResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;} /** *An error message when the operation fails.
*/ inline GetQueryStateResult& WithError(const char* value) { SetError(value); return *this;} /** *The state of a query previously submitted. The possible states are:
PENDING: the query is pending.
WORKUNITS_AVAILABLE: * some work units are ready for retrieval and execution.
FINISHED: the query planning finished successfully, and all work units are * ready for retrieval and execution.
ERROR: an error occurred * with the query, such as an invalid query ID or a backend error.
The state of a query previously submitted. The possible states are:
PENDING: the query is pending.
WORKUNITS_AVAILABLE: * some work units are ready for retrieval and execution.
FINISHED: the query planning finished successfully, and all work units are * ready for retrieval and execution.
ERROR: an error occurred * with the query, such as an invalid query ID or a backend error.
The state of a query previously submitted. The possible states are:
PENDING: the query is pending.
WORKUNITS_AVAILABLE: * some work units are ready for retrieval and execution.
FINISHED: the query planning finished successfully, and all work units are * ready for retrieval and execution.
ERROR: an error occurred * with the query, such as an invalid query ID or a backend error.
The state of a query previously submitted. The possible states are:
PENDING: the query is pending.
WORKUNITS_AVAILABLE: * some work units are ready for retrieval and execution.
FINISHED: the query planning finished successfully, and all work units are * ready for retrieval and execution.
ERROR: an error occurred * with the query, such as an invalid query ID or a backend error.
The state of a query previously submitted. The possible states are:
PENDING: the query is pending.
WORKUNITS_AVAILABLE: * some work units are ready for retrieval and execution.
FINISHED: the query planning finished successfully, and all work units are * ready for retrieval and execution.
ERROR: an error occurred * with the query, such as an invalid query ID or a backend error.