7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/ValidationExceptionReason.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/qbusiness/model/ValidationExceptionField.h>
52 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
86 bool m_messageHasBeenSet =
false;
89 bool m_reasonHasBeenSet =
false;
92 bool m_fieldsHasBeenSet =
false;
ValidationException & WithFields(Aws::Vector< ValidationExceptionField > &&value)
const Aws::Vector< ValidationExceptionField > & GetFields() const
bool ReasonHasBeenSet() const
ValidationException & WithMessage(const Aws::String &value)
ValidationException & WithReason(const ValidationExceptionReason &value)
ValidationException & WithReason(ValidationExceptionReason &&value)
void SetFields(Aws::Vector< ValidationExceptionField > &&value)
AWS_QBUSINESS_API ValidationException()
void SetMessage(const Aws::String &value)
ValidationException & WithFields(const Aws::Vector< ValidationExceptionField > &value)
ValidationException & AddFields(ValidationExceptionField &&value)
bool MessageHasBeenSet() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReason(const ValidationExceptionReason &value)
const Aws::String & GetMessage() const
void SetFields(const Aws::Vector< ValidationExceptionField > &value)
ValidationException & AddFields(const ValidationExceptionField &value)
ValidationException & WithMessage(Aws::String &&value)
const ValidationExceptionReason & GetReason() const
void SetMessage(const char *value)
void SetReason(ValidationExceptionReason &&value)
void SetMessage(Aws::String &&value)
AWS_QBUSINESS_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FieldsHasBeenSet() const
AWS_QBUSINESS_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(const char *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