7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/shield/model/ValidationExceptionReason.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/shield/model/ValidationExceptionField.h>
51 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
85 bool m_messageHasBeenSet =
false;
88 bool m_reasonHasBeenSet =
false;
91 bool m_fieldsHasBeenSet =
false;
const Aws::Vector< ValidationExceptionField > & GetFields() const
bool MessageHasBeenSet() const
void SetFields(Aws::Vector< ValidationExceptionField > &&value)
InvalidParameterException & AddFields(const ValidationExceptionField &value)
InvalidParameterException & WithMessage(const char *value)
AWS_SHIELD_API InvalidParameterException(Aws::Utils::Json::JsonView jsonValue)
InvalidParameterException & WithMessage(const Aws::String &value)
const Aws::String & GetMessage() const
bool ReasonHasBeenSet() const
void SetMessage(const Aws::String &value)
bool FieldsHasBeenSet() const
InvalidParameterException & WithReason(ValidationExceptionReason &&value)
void SetMessage(Aws::String &&value)
void SetMessage(const char *value)
void SetReason(const ValidationExceptionReason &value)
InvalidParameterException & WithFields(const Aws::Vector< ValidationExceptionField > &value)
void SetReason(ValidationExceptionReason &&value)
InvalidParameterException & WithReason(const ValidationExceptionReason &value)
AWS_SHIELD_API InvalidParameterException()
InvalidParameterException & AddFields(ValidationExceptionField &&value)
InvalidParameterException & WithFields(Aws::Vector< ValidationExceptionField > &&value)
AWS_SHIELD_API InvalidParameterException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFields(const Aws::Vector< ValidationExceptionField > &value)
InvalidParameterException & WithMessage(Aws::String &&value)
const ValidationExceptionReason & GetReason() 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