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