7#include <aws/pcs/PCS_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); }
70 bool m_codeHasBeenSet =
false;
73 bool m_messageHasBeenSet =
false;
const Aws::String & GetMessage() const
ErrorInfo & WithCode(const Aws::String &value)
void SetCode(const Aws::String &value)
void SetCode(Aws::String &&value)
ErrorInfo & WithMessage(const Aws::String &value)
ErrorInfo & WithMessage(Aws::String &&value)
AWS_PCS_API ErrorInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorInfo & WithCode(const char *value)
void SetMessage(const Aws::String &value)
ErrorInfo & WithMessage(const char *value)
AWS_PCS_API ErrorInfo(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CodeHasBeenSet() const
void SetCode(const char *value)
void SetMessage(const char *value)
void SetMessage(Aws::String &&value)
const Aws::String & GetCode() const
ErrorInfo & WithCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue