sow-and-subscribe-select
Including the basic AMPS library:
#include <amps/ampsplusplus.hpp>
Constructing the command:
AMPS::Command cmd(AMPS::Message::Command::SOWAndSubscribe);
cmd.setTopic(topic);
// set other options as needed
cmd.setOptions(AMPS::Message::Options::Select("-/,+/fieldOne"));
The command can now be used in execute or executeAsync.