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