How to use bpy.context.scene.use_denoising in Blender 2.8? This give an error: AttributeError: 'Scene' object has no attribute 'use_denoising'

I know that in the previous version like Blender 2.79 the command to access use_denoising was:

bpy.context.scene.render.layers[0].cycles.use_denoising


How to access this in Blender 2.8x?

This question is very specific to use_denoising, so it has no precise answer except in this post (at the moment), I think it can be useful to many.

The answers are given by @ydvisual and @batFINGER has specified an important question.
Try this:

bpy.context.scene.view_layers[0].cycles.use_denoising = True