You can publish events by using the SDK for C++ to call the required API operation that is related to events.

You can use the SDK for C++ to call the following API operation that is related to events: