GENERATED_BODY() causing function declaration and member inaccessibility errors

no. You would simply use the & operator to get the adress of the reference.I would encourage you to just try it and see if you get any errors. You can just substitute one call at a time and see what happens.