7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/vpc-lattice/model/ValidationExceptionReason.h>
11#include <aws/vpc-lattice/model/ValidationExceptionField.h>
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;
bool ReasonHasBeenSet() const
ValidationException & WithMessage(const char *value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationException & WithFieldList(Aws::Vector< ValidationExceptionField > &&value)
ValidationException & AddFieldList(ValidationExceptionField &&value)
ValidationException & WithFieldList(const Aws::Vector< ValidationExceptionField > &value)
void SetFieldList(Aws::Vector< ValidationExceptionField > &&value)
const ValidationExceptionReason & GetReason() const
void SetMessage(const char *value)
AWS_VPCLATTICE_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(Aws::String &&value)
bool FieldListHasBeenSet() const
void SetReason(const ValidationExceptionReason &value)
ValidationException & WithReason(const ValidationExceptionReason &value)
void SetReason(ValidationExceptionReason &&value)
ValidationException & WithReason(ValidationExceptionReason &&value)
AWS_VPCLATTICE_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
void SetFieldList(const Aws::Vector< ValidationExceptionField > &value)
void SetMessage(const Aws::String &value)
bool MessageHasBeenSet() const
AWS_VPCLATTICE_API ValidationException()
ValidationException & AddFieldList(const ValidationExceptionField &value)
ValidationException & WithMessage(const Aws::String &value)
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
void SetMessage(Aws::String &&value)
const Aws::String & GetMessage() const
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