7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/ErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotsitewise/model/DetailedError.h>
49 inline void SetCode(
const ErrorCode& value) { m_codeHasBeenSet =
true; m_code = value; }
50 inline void SetCode(
ErrorCode&& value) { m_codeHasBeenSet =
true; m_code = std::move(value); }
63 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
85 bool m_codeHasBeenSet =
false;
88 bool m_messageHasBeenSet =
false;
91 bool m_detailsHasBeenSet =
false;
void SetMessage(Aws::String &&value)
ErrorDetails & WithMessage(const char *value)
ErrorDetails & WithCode(const ErrorCode &value)
const ErrorCode & GetCode() const
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API ErrorDetails()
ErrorDetails & WithDetails(const Aws::Vector< DetailedError > &value)
void SetMessage(const Aws::String &value)
ErrorDetails & AddDetails(DetailedError &&value)
const Aws::String & GetMessage() const
void SetMessage(const char *value)
ErrorDetails & WithCode(ErrorCode &&value)
void SetDetails(const Aws::Vector< DetailedError > &value)
void SetCode(const ErrorCode &value)
AWS_IOTSITEWISE_API ErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorDetails & WithMessage(Aws::String &&value)
void SetDetails(Aws::Vector< DetailedError > &&value)
ErrorDetails & AddDetails(const DetailedError &value)
ErrorDetails & WithMessage(const Aws::String &value)
bool CodeHasBeenSet() const
bool DetailsHasBeenSet() const
bool MessageHasBeenSet() const
void SetCode(ErrorCode &&value)
const Aws::Vector< DetailedError > & GetDetails() const
ErrorDetails & WithDetails(Aws::Vector< DetailedError > &&value)
AWS_IOTSITEWISE_API ErrorDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue