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