Can you eat cheese when you are breast feeding?

Yes
It's safe to eat whilst you're breast feeding, though it can affect you it is unlikely to affect your baby.
Cheese consists of proteins and fat from milk, usually the milk of cows, buffalo, goats, or sheep. It is produced by coagulation of the milk protein casein. Typically, the milk is acidified and addition of the enzyme rennet causes coagulation. The solids are separated and pressed into final form. Some cheeses have molds on the rind or throughout. Most cheeses melt at cooking temperature.
Dairy products are generally defined as food produced from the milk of mammals (the Food Standards Agency of the United Kingdom defines dairy as "foodstuffs made from mammalian milk"). They are usually high energy-yielding food products. A production plant for the processing of milk is called a dairy or a dairy factory. Apart from breastfed infants, the human consumption of dairy products is sourced primarily from the milk of cows, yet goats, sheep, yaks, camels, and other mammals are other sources of dairy products consumed by humans. Dairy products are commonly found in European, Middle Eastern and Indian cuisine, whereas aside from Mongolian cuisine they are little-known in traditional East Asian cuisine.