7#include <aws/evs/EVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/evs/model/ValidationExceptionReason.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/evs/model/ValidationExceptionField.h>
52 template<
typename MessageT = Aws::String>
53 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
54 template<
typename MessageT = Aws::String>
74 template<
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
75 void SetFieldList(FieldListT&& value) { m_fieldListHasBeenSet =
true; m_fieldList = std::forward<FieldListT>(value); }
76 template<
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
78 template<
typename FieldListT = Val
idationExceptionField>
84 bool m_messageHasBeenSet =
false;
87 bool m_reasonHasBeenSet =
false;
90 bool m_fieldListHasBeenSet =
false;
bool MessageHasBeenSet() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
bool ReasonHasBeenSet() const
ValidationException & WithReason(ValidationExceptionReason value)
bool FieldListHasBeenSet() const
AWS_EVS_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & AddFieldList(FieldListT &&value)
void SetMessage(MessageT &&value)
ValidationException & WithMessage(MessageT &&value)
AWS_EVS_API ValidationException()=default
void SetFieldList(FieldListT &&value)
void SetReason(ValidationExceptionReason value)
AWS_EVS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EVS_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithFieldList(FieldListT &&value)
ValidationExceptionReason GetReason() const
const Aws::String & GetMessage() 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