I used to work in a shop selling farmhouse cheese and the advice we gave was that outlined by slinkymalinky.
soft and mould ripened cheese, and blues were not safe, whether pasteurised or un-pasteurised, due to the risk of listeria.
hard cheeses are safe regardless, ie cheddar, parmesan, leicester etc.
In addition, we also advised caution with sheeps milk and goats milk cheeses as they can be carriers of toxoplasmosis.
mozzarella and cottage cheeses are OK as far as I know.
If the cheese is cooked, this is also OK, so blue cheese in a quiche or soup, or toasted brie is just fine as cooking destroys the bacteria.
Saying that, in the four years I worked there we only ever had one case of a soft cheese being infected with listeria.
Like everything else in pregnancy, it;s about weighing up the risks and deciding whether or not you are prepared to take that risk.