7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/DetailedErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
61 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
69 bool m_codeHasBeenSet =
false;
72 bool m_messageHasBeenSet =
false;
AWS_IOTSITEWISE_API DetailedError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
const Aws::String & GetMessage() const
const DetailedErrorCode & GetCode() const
bool MessageHasBeenSet() const
DetailedError & WithCode(DetailedErrorCode &&value)
void SetCode(DetailedErrorCode &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API DetailedError(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
DetailedError & WithCode(const DetailedErrorCode &value)
void SetCode(const DetailedErrorCode &value)
DetailedError & WithMessage(Aws::String &&value)
void SetMessage(const char *value)
DetailedError & WithMessage(const char *value)
AWS_IOTSITEWISE_API DetailedError()
void SetMessage(const Aws::String &value)
DetailedError & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue