7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace MachineLearning
47 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
55 inline int GetCode()
const{
return m_code; }
57 inline void SetCode(
int value) { m_codeHasBeenSet =
true; m_code = value; }
63 bool m_messageHasBeenSet =
false;
66 bool m_codeHasBeenSet =
false;
void SetMessage(const char *value)
AWS_MACHINELEARNING_API InternalServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
InternalServerException & WithMessage(const char *value)
void SetMessage(Aws::String &&value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
InternalServerException & WithMessage(Aws::String &&value)
InternalServerException & WithCode(int value)
void SetMessage(const Aws::String &value)
AWS_MACHINELEARNING_API InternalServerException(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
bool MessageHasBeenSet() const
InternalServerException & WithMessage(const Aws::String &value)
AWS_MACHINELEARNING_API InternalServerException()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue