The total heat content of the air is the sum of the sensible heat of the air and the latent heat of the air. Thus,
Total heat of the air = SH + LH
The sensible heat depends on dry bulb temperature of air while latent heat depends on dew point temperature of the air, hence the total quantity of heat in the air depends on the dry bulb and dew point temperature of the air. Further, for any combination of the dry bulb and dew point temperature, there can be only one wet bulb temperature, hence the total quantity of heat in the air also depends on the wet bulb temperature.
It will also be interesting to note here that for various combinations of air having different dry bulb and dew point temperature, but the same wet bulb temperature, the total heat content of the air remains constant. The only change will be the proportion of the sensible heat and the latent heat. On the similar lines, if the dry bulb temperature of air is constant, the total heat content of the air depends on the wet bulb temperature of the air.