https://www.nvic.org/vaccines-and-diseases/Measles/measles-vaccine-effectiveness.aspx they have been giving the vaccine for a long time and have had many outbreaks of vaccinated children all the way up to 2019 where 80% to 89% of children were found to be properly vaccinated.
2002 shows re-infection rates of naturally immune and vaccinated children. The article is a good read and educational as you must get your booster shots every 10 years to get any immunity at all.