7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/payments/Payments_EXPORTS.h>
10#include <aws/payments/model/ValidationExceptionField.h>
11#include <aws/payments/model/ValidationExceptionReason.h>
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
71 m_reasonHasBeenSet =
true;
87 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
89 m_fieldListHasBeenSet =
true;
90 m_fieldList = std::forward<FieldListT>(value);
92 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
97 template <
typename FieldListT = Val
idationExceptionField>
99 m_fieldListHasBeenSet =
true;
100 m_fieldList.emplace_back(std::forward<FieldListT>(value));
110 bool m_messageHasBeenSet =
false;
111 bool m_reasonHasBeenSet =
false;
112 bool m_fieldListHasBeenSet =
false;
bool FieldListHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_PAYMENTS_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
ValidationException & AddFieldList(FieldListT &&value)
AWS_PAYMENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFieldList(FieldListT &&value)
ValidationException & WithReason(ValidationExceptionReason value)
AWS_PAYMENTS_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
void SetReason(ValidationExceptionReason value)
ValidationExceptionReason GetReason() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
ValidationException & WithMessage(MessageT &&value)
AWS_PAYMENTS_API ValidationException()=default
bool ReasonHasBeenSet() const
ValidationException & WithFieldList(FieldListT &&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