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