AAmbientSound is just dummy actor for UAudioComponent, so to reproduce you it only need to create actor with UAudioComponent. Main role of this actor to easily place sound on the level, each component that use artistic asset has dummy actor like that just for that. There really no need to use AAmbientSound in C++ or else you really just want to spawn actor that only and exclusively play sound
If you have case like this don’t be shy to look in to engine source code: