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