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