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