ADirectionalLight intensity. How to set?

How do you set intensity of Directional light in c+±code?

ADirectionalLight* SunLightSource;

SunLightSource->GetLightComponent() Doesn’t give anything related to intensity.

Blueprint example on picture.

Never mind. I only had to include these both:

#include “Engine/DirectionalLight.h”
#include “Classes/Components/DirectionalLightComponent.h”

to get:

SunLightSource->GetLightComponent()->SetIntensity();

Only included the first one previously.