7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/notifications/Notifications_EXPORTS.h>
10#include <aws/notifications/model/ValidationExceptionField.h>
11#include <aws/notifications/model/ValidationExceptionReason.h>
22namespace Notifications {
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
61 m_reasonHasBeenSet =
true;
76 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
78 m_fieldListHasBeenSet =
true;
79 m_fieldList = std::forward<FieldListT>(value);
81 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
86 template <
typename FieldListT = Val
idationExceptionField>
88 m_fieldListHasBeenSet =
true;
89 m_fieldList.emplace_back(std::forward<FieldListT>(value));
99 bool m_messageHasBeenSet =
false;
100 bool m_reasonHasBeenSet =
false;
101 bool m_fieldListHasBeenSet =
false;
void SetFieldList(FieldListT &&value)
ValidationException & WithReason(ValidationExceptionReason value)
ValidationException & WithMessage(MessageT &&value)
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NOTIFICATIONS_API ValidationException()=default
AWS_NOTIFICATIONS_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
AWS_NOTIFICATIONS_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
ValidationException & AddFieldList(FieldListT &&value)
ValidationException & WithFieldList(FieldListT &&value)
ValidationExceptionReason GetReason() const
const Aws::String & GetMessage() const
bool FieldListHasBeenSet() const
bool ReasonHasBeenSet() const
void SetReason(ValidationExceptionReason value)
void SetMessage(MessageT &&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