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