Put on the pasta water and bring to the boil. In the meantime, drain the corn and peas. Chop the pickles, cheese and ham and finely chop the onion. Peel the cucumber, first halve lengthways, then quarter and also cut into small pieces.
Mix the yogurt with the cream, herb vinegar, oil, salt and a pinch of sugar, add the vegetables - but not the tomatoes - and mix.
Boil the pasta until al dente and rinse with cold water, stir into the yogurt-vegetable mixture, also add the cheese and ham and mix. Let the pasta salad steep for about 30 minutes, season again to taste. Cut the tomatoes into bite-sized pieces and spread them on the pasta salad just before serving, season with salt and pepper.
The recipe is enough for a main meal for 3 people, as a side dish for grilling for about 6 people.