7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/MonitorErrorCode.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;
MonitorErrorDetails & WithCode(MonitorErrorCode &&value)
void SetCode(const MonitorErrorCode &value)
void SetCode(MonitorErrorCode &&value)
void SetMessage(const Aws::String &value)
MonitorErrorDetails & WithMessage(Aws::String &&value)
bool MessageHasBeenSet() const
MonitorErrorDetails & WithCode(const MonitorErrorCode &value)
MonitorErrorDetails & WithMessage(const Aws::String &value)
const MonitorErrorCode & GetCode() const
void SetMessage(const char *value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API MonitorErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
AWS_IOTSITEWISE_API MonitorErrorDetails()
MonitorErrorDetails & WithMessage(const char *value)
bool CodeHasBeenSet() const
AWS_IOTSITEWISE_API MonitorErrorDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue