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