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