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>
49 template<
typename MessageT = Aws::String>
50 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
51 template<
typename MessageT = Aws::String>
71 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
72 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
73 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
75 template<
typename FieldsT = Val
idationExceptionField>
81 bool m_messageHasBeenSet =
false;
84 bool m_reasonHasBeenSet =
false;
87 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