7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/evidently/model/ValidationExceptionReason.h>
11#include <aws/evidently/model/ValidationExceptionField.h>
24namespace CloudWatchEvidently
50 template<
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
51 void SetFieldList(FieldListT&& value) { m_fieldListHasBeenSet =
true; m_fieldList = std::forward<FieldListT>(value); }
52 template<
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
54 template<
typename FieldListT = Val
idationExceptionField>
62 template<
typename MessageT = Aws::String>
63 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
64 template<
typename MessageT = Aws::String>
80 bool m_fieldListHasBeenSet =
false;
83 bool m_messageHasBeenSet =
false;
86 bool m_reasonHasBeenSet =
false;
void SetReason(ValidationExceptionReason value)
AWS_CLOUDWATCHEVIDENTLY_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationExceptionReason GetReason() const
void SetMessage(MessageT &&value)
ValidationException & WithFieldList(FieldListT &&value)
bool MessageHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationException & AddFieldList(FieldListT &&value)
const Aws::String & GetMessage() const
bool ReasonHasBeenSet() const
ValidationException & WithReason(ValidationExceptionReason value)
AWS_CLOUDWATCHEVIDENTLY_API ValidationException()=default
void SetFieldList(FieldListT &&value)
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
bool FieldListHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(MessageT &&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