7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
61 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
62 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
76 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
84 bool m_errorCodeHasBeenSet =
false;
87 bool m_idHasBeenSet =
false;
90 bool m_messageHasBeenSet =
false;
bool MessageHasBeenSet() const
AWS_CONNECTCASES_API FieldError()
FieldError & WithMessage(Aws::String &&value)
void SetErrorCode(Aws::String &&value)
FieldError & WithMessage(const char *value)
FieldError & WithErrorCode(const char *value)
void SetId(const char *value)
bool ErrorCodeHasBeenSet() const
void SetMessage(const Aws::String &value)
AWS_CONNECTCASES_API FieldError(Aws::Utils::Json::JsonView jsonValue)
FieldError & WithErrorCode(Aws::String &&value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorCode() const
void SetMessage(const char *value)
const Aws::String & GetMessage() const
void SetMessage(Aws::String &&value)
void SetId(const Aws::String &value)
AWS_CONNECTCASES_API FieldError & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldError & WithErrorCode(const Aws::String &value)
FieldError & WithId(Aws::String &&value)
FieldError & WithId(const char *value)
void SetId(Aws::String &&value)
const Aws::String & GetId() const
void SetErrorCode(const Aws::String &value)
void SetErrorCode(const char *value)
FieldError & WithMessage(const Aws::String &value)
bool IdHasBeenSet() const
FieldError & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue