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