7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
19namespace OpenSearchService {
41 template <
typename ErrorTypeT = Aws::String>
43 m_errorTypeHasBeenSet =
true;
44 m_errorType = std::forward<ErrorTypeT>(value);
46 template <
typename ErrorTypeT = Aws::String>
59 template <
typename ErrorMessageT = Aws::String>
61 m_errorMessageHasBeenSet =
true;
62 m_errorMessage = std::forward<ErrorMessageT>(value);
64 template <
typename ErrorMessageT = Aws::String>
74 bool m_errorTypeHasBeenSet =
false;
75 bool m_errorMessageHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorMessage() const
bool ErrorMessageHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ErrorDetails(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(ErrorMessageT &&value)
ErrorDetails & WithErrorMessage(ErrorMessageT &&value)
AWS_OPENSEARCHSERVICE_API ErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API ErrorDetails()=default
const Aws::String & GetErrorType() const
bool ErrorTypeHasBeenSet() const
ErrorDetails & WithErrorType(ErrorTypeT &&value)
void SetErrorType(ErrorTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue