The invention is directed to inhibitors of PI3K and mTOR and pharmaceutically acceptable salts or solvates thereof, as well as methods of using them, wherein the inhibitors are of structural Formula I and pharmaceutically acceptable salts thereof, wherein the variables are as defined herein.