7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
60 inline void SetStatusCode(
int value) { m_statusCodeHasBeenSet =
true; m_statusCode = value; }
66 bool m_messageHasBeenSet =
false;
69 bool m_statusCodeHasBeenSet =
false;
FailureDetails & WithStatusCode(int value)
void SetMessage(const char *value)
FailureDetails & WithMessage(const char *value)
FailureDetails & WithMessage(const Aws::String &value)
void SetMessage(Aws::String &&value)
AWS_VOICEID_API FailureDetails()
void SetMessage(const Aws::String &value)
bool StatusCodeHasBeenSet() const
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
int GetStatusCode() const
AWS_VOICEID_API FailureDetails(Aws::Utils::Json::JsonView jsonValue)
FailureDetails & WithMessage(Aws::String &&value)
AWS_VOICEID_API FailureDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
const Aws::String & GetMessage() const
void SetStatusCode(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue