7#include <aws/repostspace/Repostspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/repostspace/model/ValidationExceptionReason.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/repostspace/model/ValidationExceptionField.h>
48 template<
typename MessageT = Aws::String>
49 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
50 template<
typename MessageT = Aws::String>
70 template<
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
71 void SetFieldList(FieldListT&& value) { m_fieldListHasBeenSet =
true; m_fieldList = std::forward<FieldListT>(value); }
72 template<
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
74 template<
typename FieldListT = Val
idationExceptionField>
80 bool m_messageHasBeenSet =
false;
83 bool m_reasonHasBeenSet =
false;
86 bool m_fieldListHasBeenSet =
false;
AWS_REPOSTSPACE_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
void SetReason(ValidationExceptionReason value)
bool ReasonHasBeenSet() const
ValidationException & WithFieldList(FieldListT &&value)
void SetFieldList(FieldListT &&value)
ValidationException & AddFieldList(FieldListT &&value)
bool MessageHasBeenSet() const
AWS_REPOSTSPACE_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
ValidationException & WithReason(ValidationExceptionReason value)
ValidationException & WithMessage(MessageT &&value)
AWS_REPOSTSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
ValidationExceptionReason GetReason() const
bool FieldListHasBeenSet() const
AWS_REPOSTSPACE_API ValidationException()=default
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