7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace OpenSearchService
49 inline void SetErrorType(
const char* value) { m_errorTypeHasBeenSet =
true; m_errorType.assign(value); }
63 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
71 bool m_errorTypeHasBeenSet =
false;
74 bool m_errorMessageHasBeenSet =
false;
ErrorDetails & WithErrorMessage(const char *value)
ErrorDetails & WithErrorType(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorMessage() const
ErrorDetails & WithErrorMessage(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ErrorDetails(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(Aws::String &&value)
void SetErrorType(Aws::String &&value)
ErrorDetails & WithErrorType(const char *value)
void SetErrorMessage(const char *value)
void SetErrorType(const char *value)
AWS_OPENSEARCHSERVICE_API ErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const Aws::String &value)
const Aws::String & GetErrorType() const
AWS_OPENSEARCHSERVICE_API ErrorDetails()
ErrorDetails & WithErrorMessage(Aws::String &&value)
bool ErrorTypeHasBeenSet() const
void SetErrorType(const Aws::String &value)
ErrorDetails & WithErrorType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue