7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wafv2/model/ParameterExceptionField.h>
52 template<
typename MessageT = Aws::String>
53 void SetMessage(
MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
54 template<
typename MessageT = Aws::String>
74 template<
typename ParameterT = Aws::String>
75 void SetParameter(
ParameterT&& value) { m_parameterHasBeenSet =
true; m_parameter = std::forward<ParameterT>(value); }
76 template<
typename ParameterT = Aws::String>
86 template<
typename ReasonT = Aws::String>
87 void SetReason(
ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
88 template<
typename ReasonT = Aws::String>
94 bool m_messageHasBeenSet =
false;
97 bool m_fieldHasBeenSet =
false;
100 bool m_parameterHasBeenSet =
false;
103 bool m_reasonHasBeenSet =
false;
void SetMessage(MessageT &&value)
void SetField(ParameterExceptionField value)
bool ParameterHasBeenSet() const
const Aws::String & GetMessage() const
WAFInvalidParameterException & WithParameter(ParameterT &&value)
ParameterExceptionField GetField() const
AWS_WAFV2_API WAFInvalidParameterException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParameter(ParameterT &&value)
const Aws::String & GetReason() const
AWS_WAFV2_API WAFInvalidParameterException()=default
bool ReasonHasBeenSet() const
WAFInvalidParameterException & WithReason(ReasonT &&value)
bool FieldHasBeenSet() const
bool MessageHasBeenSet() const
WAFInvalidParameterException & WithMessage(MessageT &&value)
void SetReason(ReasonT &&value)
WAFInvalidParameterException & WithField(ParameterExceptionField value)
AWS_WAFV2_API WAFInvalidParameterException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetParameter() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue