7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/MonitorErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
57 template<
typename MessageT = Aws::String>
58 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
59 template<
typename MessageT = Aws::String>
65 bool m_codeHasBeenSet =
false;
68 bool m_messageHasBeenSet =
false;
MonitorErrorDetails & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
AWS_IOTSITEWISE_API MonitorErrorDetails()=default
bool MessageHasBeenSet() const
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API MonitorErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitorErrorCode GetCode() const
bool CodeHasBeenSet() const
AWS_IOTSITEWISE_API MonitorErrorDetails(Aws::Utils::Json::JsonView jsonValue)
MonitorErrorDetails & WithCode(MonitorErrorCode value)
void SetCode(MonitorErrorCode value)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue