7#include <aws/abuse-signal/AbuseSignal_EXPORTS.h>
8#include <aws/abuse-signal/model/ValidationExceptionField.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace AbuseSignal {
44 template <
typename MessageT = Aws::String>
46 m_messageHasBeenSet =
true;
47 m_message = std::forward<MessageT>(value);
49 template <
typename MessageT = Aws::String>
62 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
64 m_fieldListHasBeenSet =
true;
65 m_fieldList = std::forward<FieldListT>(value);
67 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
72 template <
typename FieldListT = Val
idationExceptionField>
74 m_fieldListHasBeenSet =
true;
75 m_fieldList.emplace_back(std::forward<FieldListT>(value));
83 bool m_messageHasBeenSet =
false;
84 bool m_fieldListHasBeenSet =
false;
ValidationException & WithMessage(MessageT &&value)
ValidationException & AddFieldList(FieldListT &&value)
AWS_ABUSESIGNAL_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFieldList(FieldListT &&value)
AWS_ABUSESIGNAL_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_ABUSESIGNAL_API ValidationException()=default
AWS_ABUSESIGNAL_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
ValidationException & WithFieldList(FieldListT &&value)
bool FieldListHasBeenSet() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue