7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/detective/model/ErrorCode.h>
47 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
73 inline void SetErrorCodeReason(
const char* value) { m_errorCodeReasonHasBeenSet =
true; m_errorCodeReason.assign(value); }
81 bool m_messageHasBeenSet =
false;
84 bool m_errorCodeHasBeenSet =
false;
87 bool m_errorCodeReasonHasBeenSet =
false;
AWS_DETECTIVE_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(const Aws::String &value)
ValidationException & WithErrorCodeReason(const Aws::String &value)
void SetMessage(Aws::String &&value)
const ErrorCode & GetErrorCode() const
const Aws::String & GetMessage() const
void SetErrorCode(ErrorCode &&value)
ValidationException & WithMessage(const char *value)
void SetErrorCode(const ErrorCode &value)
ValidationException & WithErrorCode(const ErrorCode &value)
bool ErrorCodeHasBeenSet() const
void SetErrorCodeReason(const char *value)
const Aws::String & GetErrorCodeReason() const
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ErrorCodeReasonHasBeenSet() const
AWS_DETECTIVE_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
void SetErrorCodeReason(const Aws::String &value)
void SetErrorCodeReason(Aws::String &&value)
ValidationException & WithErrorCode(ErrorCode &&value)
ValidationException & WithMessage(Aws::String &&value)
ValidationException & WithErrorCodeReason(const char *value)
ValidationException & WithErrorCodeReason(Aws::String &&value)
void SetMessage(const Aws::String &value)
void SetMessage(const char *value)
AWS_DETECTIVE_API ValidationException()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue