Mate to move along with the curve

Does anyone know how to mate the shaft in order to move along  with  the highlighted edges?Thanks advanve for  any comments.

SolidworksAssemblies