The impact of active galactic nuclei and cooling mechanisms on the intra-cluster properties in the L-Galaxies semi-analytical model