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