7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 m_errorCategoryHasBeenSet =
true;
49 m_errorCategory = value;
67 m_errorTypeHasBeenSet =
true;
83 m_retryableHasBeenSet =
true;
98 template <
typename ErrorMessageT = Aws::String>
100 m_errorMessageHasBeenSet =
true;
101 m_errorMessage = std::forward<ErrorMessageT>(value);
103 template <
typename ErrorMessageT = Aws::String>
110 int m_errorCategory{0};
114 bool m_retryable{
false};
117 bool m_errorCategoryHasBeenSet =
false;
118 bool m_errorTypeHasBeenSet =
false;
119 bool m_retryableHasBeenSet =
false;
120 bool m_errorMessageHasBeenSet =
false;
void SetErrorCategory(int 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()=default
void SetErrorMessage(ErrorMessageT &&value)
AthenaError & WithErrorCategory(int value)
bool ErrorTypeHasBeenSet() const
AthenaError & WithErrorMessage(ErrorMessageT &&value)
AthenaError & WithErrorType(int value)
AthenaError & WithRetryable(bool value)
void SetRetryable(bool value)
AWS_ATHENA_API AthenaError & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetRetryable() const
bool RetryableHasBeenSet() const
int GetErrorCategory() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue