7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
55 template<
typename ErrorCodeT = Aws::String>
56 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
57 template<
typename ErrorCodeT = Aws::String>
63 bool m_messageHasBeenSet =
false;
66 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