Potato Cake with Vegetables, Ham, and Cheese