Struct WriteObjectParams (2.19.0)

A thin wrapper around the WriteObject() parameters.

We use a single struct as the input parameter for this function to prevent breaking any mocks when additional parameters are needed.