7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datasync/DataSync_EXPORTS.h>
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
55 template <
typename ErrorCodeT = Aws::String>
57 m_errorCodeHasBeenSet =
true;
58 m_errorCode = std::forward<ErrorCodeT>(value);
60 template <
typename ErrorCodeT = Aws::String>
70 bool m_messageHasBeenSet =
false;
71 bool m_errorCodeHasBeenSet =
false;
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATASYNC_API InternalException(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API InternalException()=default
InternalException & WithErrorCode(ErrorCodeT &&value)
void SetMessage(MessageT &&value)
bool ErrorCodeHasBeenSet() const
AWS_DATASYNC_API InternalException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
InternalException & WithMessage(MessageT &&value)
const Aws::String & GetErrorCode() const
void SetErrorCode(ErrorCodeT &&value)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue