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; }
86 template<
typename ErrorMessageT = Aws::String>
87 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
88 template<
typename ErrorMessageT = Aws::String>
93 int m_errorCategory{0};
94 bool m_errorCategoryHasBeenSet =
false;
97 bool m_errorTypeHasBeenSet =
false;
99 bool m_retryable{
false};
100 bool m_retryableHasBeenSet =
false;
103 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