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
IdempotentParameterMismatchException & WithCode(int value)
IdempotentParameterMismatchException & WithMessage(MessageT &&value)
bool CodeHasBeenSet() const
AWS_MACHINELEARNING_API IdempotentParameterMismatchException(Aws::Utils::Json::JsonView jsonValue)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACHINELEARNING_API IdempotentParameterMismatchException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
AWS_MACHINELEARNING_API IdempotentParameterMismatchException()=default
void SetMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue