Using UE 4.18:
While refactoring these functions, I ran into errors. Once I cleared the typos, I found that these functions needed “const” added to allow the correct return type.
One more observation with the newer versions of the Unreal engine, before you start typing the component; do a quick search for the .h file(s) required. This will save a lot of troubleshooting, and make coding the project more fun.