7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/m2/model/ValidationExceptionReason.h>
11#include <aws/m2/model/ValidationExceptionField.h>
24namespace MainframeModernization
64 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
84 bool m_fieldListHasBeenSet =
false;
87 bool m_messageHasBeenSet =
false;
90 bool m_reasonHasBeenSet =
false;
void SetFieldList(Aws::Vector< ValidationExceptionField > &&value)
ValidationException & WithMessage(const char *value)
ValidationException & WithFieldList(const Aws::Vector< ValidationExceptionField > &value)
ValidationException & WithMessage(Aws::String &&value)
const ValidationExceptionReason & GetReason() const
ValidationException & WithReason(ValidationExceptionReason &&value)
const Aws::String & GetMessage() const
bool FieldListHasBeenSet() const
void SetMessage(const char *value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
AWS_MAINFRAMEMODERNIZATION_API ValidationException()
void SetReason(const ValidationExceptionReason &value)
ValidationException & WithMessage(const Aws::String &value)
void SetMessage(const Aws::String &value)
void SetFieldList(const Aws::Vector< ValidationExceptionField > &value)
ValidationException & WithFieldList(Aws::Vector< ValidationExceptionField > &&value)
AWS_MAINFRAMEMODERNIZATION_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
void SetMessage(Aws::String &&value)
bool ReasonHasBeenSet() const
ValidationException & AddFieldList(const ValidationExceptionField &value)
ValidationException & WithReason(const ValidationExceptionReason &value)
ValidationException & AddFieldList(ValidationExceptionField &&value)
void SetReason(ValidationExceptionReason &&value)
AWS_MAINFRAMEMODERNIZATION_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
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