7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/ErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetCode(
const ErrorCode& value) { m_codeHasBeenSet =
true; m_code = value; }
46 inline void SetCode(
ErrorCode&& value) { m_codeHasBeenSet =
true; m_code = std::move(value); }
57 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
65 bool m_codeHasBeenSet =
false;
68 bool m_messageHasBeenSet =
false;
ServiceFailureException & WithMessage(const Aws::String &value)
const Aws::String & GetMessage() const
ServiceFailureException & WithCode(const ErrorCode &value)
AWS_CHIME_API ServiceFailureException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API ServiceFailureException(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
bool MessageHasBeenSet() const
void SetMessage(Aws::String &&value)
ServiceFailureException & WithMessage(Aws::String &&value)
void SetCode(ErrorCode &&value)
const ErrorCode & GetCode() const
void SetMessage(const char *value)
AWS_CHIME_API ServiceFailureException()
bool CodeHasBeenSet() const
void SetCode(const ErrorCode &value)
ServiceFailureException & WithCode(ErrorCode &&value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceFailureException & WithMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue