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