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