7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
62 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
76 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
90 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
98 bool m_codeHasBeenSet =
false;
101 bool m_messageHasBeenSet =
false;
104 bool m_resourceIdHasBeenSet =
false;
107 bool m_resourceTypeHasBeenSet =
false;
bool CodeHasBeenSet() const
ErrorDetails & WithMessage(const Aws::String &value)
ErrorDetails & WithCode(const Aws::String &value)
void SetCode(const Aws::String &value)
AWS_MGN_API ErrorDetails()
void SetResourceId(Aws::String &&value)
void SetResourceId(const char *value)
void SetCode(const char *value)
void SetResourceType(Aws::String &&value)
ErrorDetails & WithResourceId(const Aws::String &value)
AWS_MGN_API ErrorDetails(Aws::Utils::Json::JsonView jsonValue)
void SetResourceType(const Aws::String &value)
AWS_MGN_API ErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorDetails & WithCode(const char *value)
const Aws::String & GetCode() const
ErrorDetails & WithResourceId(Aws::String &&value)
const Aws::String & GetResourceId() const
void SetResourceType(const char *value)
void SetMessage(const char *value)
ErrorDetails & WithResourceId(const char *value)
ErrorDetails & WithMessage(Aws::String &&value)
ErrorDetails & WithResourceType(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
ErrorDetails & WithMessage(const char *value)
void SetMessage(const Aws::String &value)
ErrorDetails & WithResourceType(const Aws::String &value)
bool ResourceIdHasBeenSet() const
void SetResourceId(const Aws::String &value)
ErrorDetails & WithResourceType(const char *value)
const Aws::String & GetMessage() const
ErrorDetails & WithCode(Aws::String &&value)
const Aws::String & GetResourceType() const
void SetCode(Aws::String &&value)
void SetMessage(Aws::String &&value)
bool MessageHasBeenSet() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue