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