Center Console Boats And More

Can a 5 month old be outside, in the shade, all day?

I am going to the lake with my family on a double decker pontoon boat, and I would like to take my daughter. The pontoon top will offer 100% protection since there is another level and we will be in a shaded cove most of the day.