This is the power button sliding switch that allows your Bose QuietComfort 45 & 35 headphones to power on and engages in Bluetooth mode. This button has a spring on one side and a locking slide on another. This part is identical to the part the Bose uses on their Bluetooth board which houses this switch. 

Repair Video: https://youtu.be/eCoDAb5HI_8