7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace MachineLearning
46 template<
typename MessageT = Aws::String>
47 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
48 template<
typename MessageT = Aws::String>
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;
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
AWS_MACHINELEARNING_API LimitExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_MACHINELEARNING_API LimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
LimitExceededException & WithMessage(MessageT &&value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
AWS_MACHINELEARNING_API LimitExceededException()=default
LimitExceededException & WithCode(int value)
bool CodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue