7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/machinelearning/MachineLearning_EXPORTS.h>
19namespace MachineLearning {
38 template <
typename MessageT = Aws::String>
40 m_messageHasBeenSet =
true;
41 m_message = std::forward<MessageT>(value);
43 template <
typename MessageT = Aws::String>
52 inline int GetCode()
const {
return m_code; }
55 m_codeHasBeenSet =
true;
67 bool m_messageHasBeenSet =
false;
68 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