7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/ValidationExceptionField.h>
11#include <aws/drs/model/ValidationExceptionReason.h>
42 template <
typename CodeT = Aws::String>
44 m_codeHasBeenSet =
true;
45 m_code = std::forward<CodeT>(value);
47 template <
typename CodeT = Aws::String>
49 SetCode(std::forward<CodeT>(value));
60 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
62 m_fieldListHasBeenSet =
true;
63 m_fieldList = std::forward<FieldListT>(value);
65 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
70 template <
typename FieldListT = Val
idationExceptionField>
72 m_fieldListHasBeenSet =
true;
73 m_fieldList.emplace_back(std::forward<FieldListT>(value));
82 template <
typename MessageT = Aws::String>
84 m_messageHasBeenSet =
true;
85 m_message = std::forward<MessageT>(value);
87 template <
typename MessageT = Aws::String>
101 m_reasonHasBeenSet =
true;
117 bool m_codeHasBeenSet =
false;
118 bool m_fieldListHasBeenSet =
false;
119 bool m_messageHasBeenSet =
false;
120 bool m_reasonHasBeenSet =
false;
const Aws::String & GetCode() const
ValidationException & WithMessage(MessageT &&value)
ValidationExceptionReason GetReason() const
bool CodeHasBeenSet() const
bool ReasonHasBeenSet() const
AWS_DRS_API ValidationException()=default
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationException & AddFieldList(FieldListT &&value)
void SetMessage(MessageT &&value)
ValidationException & WithFieldList(FieldListT &&value)
bool FieldListHasBeenSet() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
ValidationException & WithReason(ValidationExceptionReason value)
AWS_DRS_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
void SetCode(CodeT &&value)
AWS_DRS_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
void SetReason(ValidationExceptionReason value)
ValidationException & WithCode(CodeT &&value)
void SetFieldList(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