7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/ValidationExceptionReason.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/auditmanager/model/ValidationExceptionField.h>
48 template<
typename MessageT = Aws::String>
49 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
50 template<
typename MessageT = Aws::String>
70 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
71 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
72 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
74 template<
typename FieldsT = Val
idationExceptionField>
80 bool m_messageHasBeenSet =
false;
83 bool m_reasonHasBeenSet =
false;
86 bool m_fieldsHasBeenSet =
false;
AWS_AUDITMANAGER_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithReason(ValidationExceptionReason value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationException & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
const Aws::Vector< ValidationExceptionField > & GetFields() const
AWS_AUDITMANAGER_API ValidationException()=default
bool ReasonHasBeenSet() const
ValidationException & AddFields(FieldsT &&value)
const Aws::String & GetMessage() const
AWS_AUDITMANAGER_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFields(FieldsT &&value)
void SetReason(ValidationExceptionReason value)
bool FieldsHasBeenSet() const
ValidationExceptionReason GetReason() const
ValidationException & WithFields(FieldsT &&value)
ValidationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue