7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace FraudDetector
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
57 inline int GetCode()
const {
return m_code; }
59 inline void SetCode(
int value) { m_codeHasBeenSet =
true; m_code = value; }
69 template<
typename MessageT = Aws::String>
70 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
71 template<
typename MessageT = Aws::String>
77 bool m_nameHasBeenSet =
false;
80 bool m_codeHasBeenSet =
false;
83 bool m_messageHasBeenSet =
false;
bool NameHasBeenSet() const
BatchCreateVariableError & WithName(NameT &&value)
void SetMessage(MessageT &&value)
AWS_FRAUDDETECTOR_API BatchCreateVariableError & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool CodeHasBeenSet() const
BatchCreateVariableError & WithCode(int value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
AWS_FRAUDDETECTOR_API BatchCreateVariableError(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
BatchCreateVariableError & WithMessage(MessageT &&value)
void SetName(NameT &&value)
AWS_FRAUDDETECTOR_API BatchCreateVariableError()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue