Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learning