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