sow-historical
Including the basic AMPS library:
#include <amps/ampsplusplus.hpp>
Constructing the command:
AMPS::Command cmd(AMPS::Message::Command::SOW);
// AMPS bookmark or time specifier
cmd.setBookmark(point_in_time_specification);
cmd.setTopic(topic);
// Set other options as needed
The command can now be used in execute or executeAsync.