7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
53 inline void SetErrorCategory(
int value) { m_errorCategoryHasBeenSet =
true; m_errorCategory = value; }
66 inline void SetErrorType(
int value) { m_errorTypeHasBeenSet =
true; m_errorType = value; }
76 inline void SetRetryable(
bool value) { m_retryableHasBeenSet =
true; m_retryable = value; }
88 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
96 bool m_errorCategoryHasBeenSet =
false;
99 bool m_errorTypeHasBeenSet =
false;
102 bool m_retryableHasBeenSet =
false;
105 bool m_errorMessageHasBeenSet =
false;
void SetErrorCategory(int value)
AthenaError & WithErrorMessage(const Aws::String &value)
const Aws::String & GetErrorMessage() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API AthenaError(Aws::Utils::Json::JsonView jsonValue)
void SetErrorType(int value)
bool ErrorMessageHasBeenSet() const
bool ErrorCategoryHasBeenSet() const
AWS_ATHENA_API AthenaError()
AthenaError & WithErrorMessage(const char *value)
void SetErrorMessage(const char *value)
AthenaError & WithErrorCategory(int value)
bool ErrorTypeHasBeenSet() const
void SetErrorMessage(Aws::String &&value)
AthenaError & WithErrorType(int value)
AthenaError & WithRetryable(bool value)
void SetRetryable(bool value)
void SetErrorMessage(const Aws::String &value)
AWS_ATHENA_API AthenaError & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetRetryable() const
bool RetryableHasBeenSet() const
AthenaError & WithErrorMessage(Aws::String &&value)
int GetErrorCategory() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue