sow-keys
Including the basic AMPS library:
#include <amps/ampsplusplus.hpp>
Constructing the command:
AMPS::Command cmd(AMPS::Message::Command::SOW);
// Key string contains AMPS sow keys
cmd.setSowKeys(comma_delimited_key_string);
cmd.setTopic(topic);
The command can now be used in execute or executeAsync.