The vaccines are cheap (government paid about $20 per dose to buy them in mass quantities), safe, and effective, and in plentiful supply (at least in developed countries). Even if natural immunity provides some protection, better to just get everyone vaccinated to maximize the protection, because it would cost more to determine that someone has effective antibodies than to just give them the shot. The only reason people are resisting this is because there has been an antivax propaganda campaign.