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