7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/shield/Shield_EXPORTS.h>
10#include <aws/shield/model/ValidationExceptionField.h>
11#include <aws/shield/model/ValidationExceptionReason.h>
43 template <
typename MessageT = Aws::String>
45 m_messageHasBeenSet =
true;
46 m_message = std::forward<MessageT>(value);
48 template <
typename MessageT = Aws::String>
62 m_reasonHasBeenSet =
true;
77 template <
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
79 m_fieldsHasBeenSet =
true;
80 m_fields = std::forward<FieldsT>(value);
82 template <
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
87 template <
typename FieldsT = Val
idationExceptionField>
89 m_fieldsHasBeenSet =
true;
90 m_fields.emplace_back(std::forward<FieldsT>(value));
100 bool m_messageHasBeenSet =
false;
101 bool m_reasonHasBeenSet =
false;
102 bool m_fieldsHasBeenSet =
false;
const Aws::Vector< ValidationExceptionField > & GetFields() const
bool MessageHasBeenSet() const
void SetReason(ValidationExceptionReason value)
AWS_SHIELD_API InvalidParameterException(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API InvalidParameterException()=default
const Aws::String & GetMessage() const
bool ReasonHasBeenSet() const
bool FieldsHasBeenSet() const
void SetMessage(MessageT &&value)
InvalidParameterException & WithReason(ValidationExceptionReason value)
InvalidParameterException & AddFields(FieldsT &&value)
ValidationExceptionReason GetReason() const
InvalidParameterException & WithMessage(MessageT &&value)
InvalidParameterException & WithFields(FieldsT &&value)
AWS_SHIELD_API InvalidParameterException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFields(FieldsT &&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