The cheeses listed can be replaced according to your taste, and what you have on hand, but I recommend finishing with a hard cheese (like Comté) on top, as your gratin will brown more easily.
The proportions of cream and cheese given are indicative, so feel free to adapt them to your taste.