7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticsearchService
39 template<
typename ErrorTypeT = Aws::String>
40 void SetErrorType(ErrorTypeT&& value) { m_errorTypeHasBeenSet =
true; m_errorType = std::forward<ErrorTypeT>(value); }
41 template<
typename ErrorTypeT = Aws::String>
49 template<
typename ErrorMessageT = Aws::String>
50 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
51 template<
typename ErrorMessageT = Aws::String>
57 bool m_errorTypeHasBeenSet =
false;
60 bool m_errorMessageHasBeenSet =
false;
AWS_ELASTICSEARCHSERVICE_API ErrorDetails()=default
AWS_ELASTICSEARCHSERVICE_API ErrorDetails(Aws::Utils::Json::JsonView jsonValue)
ErrorDetails & WithErrorMessage(ErrorMessageT &&value)
bool ErrorMessageHasBeenSet() const
ErrorDetails & WithErrorType(ErrorTypeT &&value)
const Aws::String & GetErrorType() const
void SetErrorType(ErrorTypeT &&value)
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetErrorMessage() const
AWS_ELASTICSEARCHSERVICE_API ErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ErrorTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue