7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/datasync/DataSync_EXPORTS.h>
31 AWS_DATASYNC_API
InternalException(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_DATASYNC_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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 InternalException()=default
InternalException & WithErrorCode(ErrorCodeT &&value)
void SetMessage(MessageT &&value)
bool ErrorCodeHasBeenSet() const
AWS_DATASYNC_API InternalException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_DATASYNC_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool MessageHasBeenSet() const
InternalException & WithMessage(MessageT &&value)
const Aws::String & GetErrorCode() const
void SetErrorCode(ErrorCodeT &&value)
AWS_DATASYNC_API InternalException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String