How to replace BP enums and structs with c++?

Sorry for reviving this old thread but it ranks high on google and I have something useful to add:).

As Levitikon217 noticed the “NewEnumeratorXX” names may not be in order or have missing entries and be totally mixed up.
An easy way to find out what maps to what is to go to the Enum asset in the content browser, then in the right click menu under asset actions find export. When you export you get a COPY file and in that file you can read the current mappings and use correct ones in the redirect command.

Had a really old enum that was modified many times and without this trick it was not going to work. Hope it helps someone:).