7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
10#include <aws/docdb-elastic/model/ValidationExceptionField.h>
11#include <aws/docdb-elastic/model/ValidationExceptionReason.h>
22namespace DocDBElastic {
43 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
45 m_fieldListHasBeenSet =
true;
46 m_fieldList = std::forward<FieldListT>(value);
48 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
53 template <
typename FieldListT = Val
idationExceptionField>
55 m_fieldListHasBeenSet =
true;
56 m_fieldList.emplace_back(std::forward<FieldListT>(value));
67 template <
typename MessageT = Aws::String>
69 m_messageHasBeenSet =
true;
70 m_message = std::forward<MessageT>(value);
72 template <
typename MessageT = Aws::String>
88 m_reasonHasBeenSet =
true;
102 bool m_fieldListHasBeenSet =
false;
103 bool m_messageHasBeenSet =
false;
104 bool m_reasonHasBeenSet =
false;
bool FieldListHasBeenSet() const
bool MessageHasBeenSet() const
const Aws::String & GetMessage() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
ValidationException & AddFieldList(FieldListT &&value)
AWS_DOCDBELASTIC_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DOCDBELASTIC_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationExceptionReason GetReason() const
ValidationException & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
bool ReasonHasBeenSet() const
ValidationException & WithReason(ValidationExceptionReason value)
void SetFieldList(FieldListT &&value)
ValidationException & WithFieldList(FieldListT &&value)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReason(ValidationExceptionReason value)
AWS_DOCDBELASTIC_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