7#include <aws/rbin/RecycleBin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rbin/model/ValidationExceptionReason.h>
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>
64 bool m_messageHasBeenSet =
false;
67 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