Yes they are compatible and so are the chains. SRAM cassettes are shimano compatible. You may have to do some minor adjustments to the rear der B screw but not because of switching brands but because of going from 12 to 11. I recommend sticking with a shimano chain, especially the dura ace level. It is difficult to install, but it is the best chain period.
Thanks guys, I keep getting that advice. Below is what's listed on most SRAM part suppliers websites
The new OpenGlide™ 1070 cassette features a semi-spidered design with specific amounts of material removed from the smaller cogs. This creates a cassette that shifts efficiently and positively in all situations. Fits Shimano 8, 9, and 10 speed cassette hubs, but will not work with Shimano 10 speed only hubs like the Dura-Ace 7800 or Shimano's 10 speed pre-built wheels.
2003 Specialized Hardrock, 2004 LOOK KG386i, 2005 Iron Horse Warrior Expert, 2009 Pedal Force CX1
The DA 7800 hubs and Ultegra 6600 wheelset both used aluminum freehubs with deeper splines. These hubs will only take DA7800 and Ultegra 6600 cassettes. However, the DA7800 and Ultegra 6600 cassettes will fit regular freehubs just fine.