A multifunctional quantum thermal device: With and without inner coupling