7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/ErrorCode.h>
52 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
78 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
86 bool m_userIdHasBeenSet =
false;
89 bool m_errorCodeHasBeenSet =
false;
92 bool m_errorMessageHasBeenSet =
false;
UserError & WithErrorCode(const ErrorCode &value)
AWS_CHIME_API UserError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const char *value)
void SetUserId(Aws::String &&value)
UserError & WithUserId(const Aws::String &value)
bool ErrorCodeHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
void SetErrorCode(ErrorCode &&value)
UserError & WithErrorMessage(Aws::String &&value)
AWS_CHIME_API UserError()
UserError & WithErrorMessage(const Aws::String &value)
UserError & WithUserId(Aws::String &&value)
bool UserIdHasBeenSet() const
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(const ErrorCode &value)
const Aws::String & GetErrorMessage() const
const Aws::String & GetUserId() const
UserError & WithErrorMessage(const char *value)
UserError & WithUserId(const char *value)
UserError & WithErrorCode(ErrorCode &&value)
bool ErrorMessageHasBeenSet() const
const ErrorCode & GetErrorCode() const
void SetErrorMessage(Aws::String &&value)
AWS_CHIME_API UserError(Aws::Utils::Json::JsonView jsonValue)
void SetUserId(const char *value)
void SetUserId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue