7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticsearchService
41 inline void SetErrorType(
const char* value) { m_errorTypeHasBeenSet =
true; m_errorType.assign(value); }
53 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
61 bool m_errorTypeHasBeenSet =
false;
64 bool m_errorMessageHasBeenSet =
false;
void SetErrorType(const Aws::String &value)
ErrorDetails & WithErrorMessage(Aws::String &&value)
ErrorDetails & WithErrorType(const char *value)
AWS_ELASTICSEARCHSERVICE_API ErrorDetails(Aws::Utils::Json::JsonView jsonValue)
ErrorDetails & WithErrorMessage(const char *value)
bool ErrorMessageHasBeenSet() const
ErrorDetails & WithErrorType(Aws::String &&value)
void SetErrorType(Aws::String &&value)
void SetErrorType(const char *value)
ErrorDetails & WithErrorType(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API ErrorDetails()
const Aws::String & GetErrorType() const
const Aws::String & GetErrorMessage() const
void SetErrorMessage(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API ErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ErrorTypeHasBeenSet() const
void SetErrorMessage(const char *value)
ErrorDetails & WithErrorMessage(const Aws::String &value)
void SetErrorMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue