/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a named query ID that could not be processed.See
* Also:
AWS
* API Reference
The unique identifier of the named query.
*/ inline const Aws::String& GetNamedQueryId() const{ return m_namedQueryId; } /** *The unique identifier of the named query.
*/ inline bool NamedQueryIdHasBeenSet() const { return m_namedQueryIdHasBeenSet; } /** *The unique identifier of the named query.
*/ inline void SetNamedQueryId(const Aws::String& value) { m_namedQueryIdHasBeenSet = true; m_namedQueryId = value; } /** *The unique identifier of the named query.
*/ inline void SetNamedQueryId(Aws::String&& value) { m_namedQueryIdHasBeenSet = true; m_namedQueryId = std::move(value); } /** *The unique identifier of the named query.
*/ inline void SetNamedQueryId(const char* value) { m_namedQueryIdHasBeenSet = true; m_namedQueryId.assign(value); } /** *The unique identifier of the named query.
*/ inline UnprocessedNamedQueryId& WithNamedQueryId(const Aws::String& value) { SetNamedQueryId(value); return *this;} /** *The unique identifier of the named query.
*/ inline UnprocessedNamedQueryId& WithNamedQueryId(Aws::String&& value) { SetNamedQueryId(std::move(value)); return *this;} /** *The unique identifier of the named query.
*/ inline UnprocessedNamedQueryId& WithNamedQueryId(const char* value) { SetNamedQueryId(value); return *this;} /** *The error code returned when the processing request for the named query * failed, if applicable.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *The error code returned when the processing request for the named query * failed, if applicable.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code returned when the processing request for the named query * failed, if applicable.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code returned when the processing request for the named query * failed, if applicable.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code returned when the processing request for the named query * failed, if applicable.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *The error code returned when the processing request for the named query * failed, if applicable.
*/ inline UnprocessedNamedQueryId& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *The error code returned when the processing request for the named query * failed, if applicable.
*/ inline UnprocessedNamedQueryId& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *The error code returned when the processing request for the named query * failed, if applicable.
*/ inline UnprocessedNamedQueryId& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *The error message returned when the processing request for the named query * failed, if applicable.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The error message returned when the processing request for the named query * failed, if applicable.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The error message returned when the processing request for the named query * failed, if applicable.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The error message returned when the processing request for the named query * failed, if applicable.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The error message returned when the processing request for the named query * failed, if applicable.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The error message returned when the processing request for the named query * failed, if applicable.
*/ inline UnprocessedNamedQueryId& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The error message returned when the processing request for the named query * failed, if applicable.
*/ inline UnprocessedNamedQueryId& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The error message returned when the processing request for the named query * failed, if applicable.
*/ inline UnprocessedNamedQueryId& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_namedQueryId; bool m_namedQueryIdHasBeenSet = false; Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws