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