/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a query execution that failed to process.See Also:
* AWS
* API Reference
The unique identifier of the query execution.
*/ inline const Aws::String& GetQueryExecutionId() const{ return m_queryExecutionId; } /** *The unique identifier of the query execution.
*/ inline bool QueryExecutionIdHasBeenSet() const { return m_queryExecutionIdHasBeenSet; } /** *The unique identifier of the query execution.
*/ inline void SetQueryExecutionId(const Aws::String& value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId = value; } /** *The unique identifier of the query execution.
*/ inline void SetQueryExecutionId(Aws::String&& value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId = std::move(value); } /** *The unique identifier of the query execution.
*/ inline void SetQueryExecutionId(const char* value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId.assign(value); } /** *The unique identifier of the query execution.
*/ inline UnprocessedQueryExecutionId& WithQueryExecutionId(const Aws::String& value) { SetQueryExecutionId(value); return *this;} /** *The unique identifier of the query execution.
*/ inline UnprocessedQueryExecutionId& WithQueryExecutionId(Aws::String&& value) { SetQueryExecutionId(std::move(value)); return *this;} /** *The unique identifier of the query execution.
*/ inline UnprocessedQueryExecutionId& WithQueryExecutionId(const char* value) { SetQueryExecutionId(value); return *this;} /** *The error code returned when the query execution failed to process, if * applicable.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *The error code returned when the query execution failed to process, if * applicable.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code returned when the query execution failed to process, if * applicable.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code returned when the query execution failed to process, if * applicable.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code returned when the query execution failed to process, if * applicable.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *The error code returned when the query execution failed to process, if * applicable.
*/ inline UnprocessedQueryExecutionId& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *The error code returned when the query execution failed to process, if * applicable.
*/ inline UnprocessedQueryExecutionId& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *The error code returned when the query execution failed to process, if * applicable.
*/ inline UnprocessedQueryExecutionId& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *The error message returned when the query execution failed to process, if * applicable.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The error message returned when the query execution failed to process, if * applicable.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The error message returned when the query execution failed to process, if * applicable.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The error message returned when the query execution failed to process, if * applicable.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The error message returned when the query execution failed to process, if * applicable.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The error message returned when the query execution failed to process, if * applicable.
*/ inline UnprocessedQueryExecutionId& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The error message returned when the query execution failed to process, if * applicable.
*/ inline UnprocessedQueryExecutionId& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The error message returned when the query execution failed to process, if * applicable.
*/ inline UnprocessedQueryExecutionId& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_queryExecutionId; bool m_queryExecutionIdHasBeenSet = false; Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws