7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/nova-act/NovaAct_EXPORTS.h>
10#include <aws/nova-act/model/ValidationExceptionField.h>
11#include <aws/nova-act/model/ValidationExceptionReason.h>
44 template <
typename MessageT = Aws::String>
46 m_messageHasBeenSet =
true;
47 m_message = std::forward<MessageT>(value);
49 template <
typename MessageT = Aws::String>
63 m_reasonHasBeenSet =
true;
78 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
80 m_fieldListHasBeenSet =
true;
81 m_fieldList = std::forward<FieldListT>(value);
83 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
88 template <
typename FieldListT = Val
idationExceptionField>
90 m_fieldListHasBeenSet =
true;
91 m_fieldList.emplace_back(std::forward<FieldListT>(value));
101 bool m_messageHasBeenSet =
false;
102 bool m_reasonHasBeenSet =
false;
103 bool m_fieldListHasBeenSet =
false;
ValidationException & AddFieldList(FieldListT &&value)
ValidationExceptionReason GetReason() const
const Aws::String & GetMessage() const
bool FieldListHasBeenSet() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
bool MessageHasBeenSet() const
AWS_NOVAACT_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(MessageT &&value)
AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationException & WithReason(ValidationExceptionReason value)
ValidationException & WithFieldList(FieldListT &&value)
void SetReason(ValidationExceptionReason value)
AWS_NOVAACT_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
void SetFieldList(FieldListT &&value)
AWS_NOVAACT_API ValidationException()=default
bool ReasonHasBeenSet() const
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