The Heat do everything possible to keep Herro & Bam. The Heat would surround Giannis with great movement shooting/tough shotmakers in Herro & Hawkins. Ingram can play in the midrange and get a bucket whenever he wants while shooting the 3 as well. Herro, Hawkins & Ingram would open up the lane even more for Giannis driving to the rim. Bam would finally be able to roam the perimeter on defense similar to how AD & Bam did in the Olympics and being the connector on the floor. In my opinion, a lineup of Herro/Hawkins/Ingram/Bam/Giannis can comepete for a championship for a long time.
The Bucks can reroute Jimmy to the GSW or the Rockets for more young assets after this trade. They would also have Dame, Middleton & Bobby to acquire even more young assets.
The Pelicans would have Rozier to cover for Murray until hes back and Duncan can cover Hawkins shooting. Also Rozier and Duncans contracts (45 million) would be expiring next year which would be valuable in the league. Getting off the CJ contract would get them a nice long term piece in Ayton. Ware would be developing behind him too.
The Blazers can reroute CJ to another team for more young assets.