cpp templates: Add configuration for each object

Change-Id: I283c2f2e2fee4137039c176eae51797112839716