7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
59 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
67 bool m_messageHasBeenSet =
false;
70 bool m_errorCodeHasBeenSet =
false;
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
InternalException & WithErrorCode(const Aws::String &value)
AWS_DATASYNC_API InternalException(Aws::Utils::Json::JsonView jsonValue)
InternalException & WithErrorCode(const char *value)
InternalException & WithMessage(const char *value)
void SetErrorCode(const Aws::String &value)
void SetMessage(const Aws::String &value)
void SetErrorCode(const char *value)
void SetMessage(const char *value)
InternalException & WithErrorCode(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
AWS_DATASYNC_API InternalException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
void SetErrorCode(Aws::String &&value)
InternalException & WithMessage(Aws::String &&value)
bool MessageHasBeenSet() const
InternalException & WithMessage(const Aws::String &value)
const Aws::String & GetErrorCode() const
AWS_DATASYNC_API InternalException()
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue