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