7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rbin/RecycleBin_EXPORTS.h>
9#include <aws/rbin/model/ValidationExceptionReason.h>
40 template <
typename MessageT = Aws::String>
42 m_messageHasBeenSet =
true;
43 m_message = std::forward<MessageT>(value);
45 template <
typename MessageT = Aws::String>
59 m_reasonHasBeenSet =
true;
71 bool m_messageHasBeenSet =
false;
72 bool m_reasonHasBeenSet =
false;
AWS_RECYCLEBIN_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationExceptionReason GetReason() const
bool ReasonHasBeenSet() const
ValidationException & WithMessage(MessageT &&value)
void SetReason(ValidationExceptionReason value)
AWS_RECYCLEBIN_API ValidationException()=default
AWS_RECYCLEBIN_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RECYCLEBIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
ValidationException & WithReason(ValidationExceptionReason value)
bool MessageHasBeenSet() const
ValidationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue