7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/ErrorCode.h>
48 template<
typename ErrorMessageT = Aws::String>
50 template<
typename ErrorMessageT = Aws::String>
66 bool m_errorMessageHasBeenSet =
false;
69 bool m_errorCodeHasBeenSet =
false;
AWS_QBUSINESS_API ErrorDetail()=default
const Aws::String & GetErrorMessage() const
ErrorDetail & WithErrorMessage(ErrorMessageT &&value)
ErrorDetail & WithErrorCode(ErrorCode value)
void SetErrorCode(ErrorCode value)
AWS_QBUSINESS_API ErrorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorMessageHasBeenSet() const
bool ErrorCodeHasBeenSet() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
ErrorCode GetErrorCode() const
void SetErrorMessage(ErrorMessageT &&value)
AWS_QBUSINESS_API ErrorDetail(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue