UMoviePipelineExecutorShot::GetOrCreateJobVariableAssignmentsForGraph

This method will return you the object which contains variable overrides for either the Job's Primary or the Shot's GraphPreset.