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