7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace MachineLearning
44 template<
typename MessageT = Aws::String>
45 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
46 template<
typename MessageT = Aws::String>
52 inline int GetCode()
const {
return m_code; }
54 inline void SetCode(
int value) { m_codeHasBeenSet =
true; m_code = value; }
60 bool m_messageHasBeenSet =
false;
63 bool m_codeHasBeenSet =
false;
ResourceNotFoundException & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
AWS_MACHINELEARNING_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithCode(int value)
bool MessageHasBeenSet() const
AWS_MACHINELEARNING_API ResourceNotFoundException()=default
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
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