pub fn is_waf_disallowed_name_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreateRegexPatternSetErrorKind::WafDisallowedNameException(_)
        )
    }
/// Returns `true` if the error kind is `CreateRegexPatternSetErrorKind::WafDisallowedNameException`.
Returns `true` if the error kind is `CreateRegexPatternSetErrorKind::WafDisallowedNameException`.
Returns ` true ` if the error kind is ` CreateRegexPatternSetErrorKind :: WafDisallowedNameException ` .
pub fn is_waf_disallowed_name_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreateRegexPatternSetErrorKind::WafDisallowedNameException(_)
        )
    }
pub fn is_waf_disallowed_name_exception ( & self ) -> bool { matches ! ( self kind CreateRegexPatternSetErrorKind WafDisallowedNameException ( ) ) }
Returns `true` if the error kind is `CreateRegexPatternSetErrorKind::WafDisallowedNameException`.
Returns ` true ` if the error kind is ` CreateRegexPatternSetErrorKind :: WafDisallowedNameException ` .
&self
&self