6 #ifndef __CREATE_JOB_H__ 7 #define __CREATE_JOB_H__ 30 data(std::vector<uint8_t>()),
32 options(std::map<std::string, std::string>())
69 CreateJobRequest(
const std::string& endpoint_,
const std::string& requestEncoding_,
const std::vector<uint8_t>& data_,
const std::string& dataStr_,
const std::map<std::string, std::string>& options_):
82 std::map<std::string, std::string>
options;
94 ::avro::encode(e, v.
data);
101 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
103 const std::vector<size_t> fo = rd->fieldOrder();
105 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
118 ::avro::decode(d, v.
data);
138 ::avro::decode(d, v.
data);
179 ::avro::encode(e, v.
jobId);
184 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
186 const std::vector<size_t> fo = rd->fieldOrder();
188 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
193 ::avro::decode(d, v.
jobId);
203 ::avro::decode(d, v.
jobId);
CreateJobRequest(const std::string &endpoint_, const std::string &requestEncoding_, const std::vector< uint8_t > &data_, const std::string &dataStr_, const std::map< std::string, std::string > &options_)
Constructs a CreateJobRequest object with the specified parameters.
A set of input parameters for createJob(const CreateJobRequest&) const.
CreateJobResponse()
Constructs a CreateJobResponse object with default parameter values.
std::string requestEncoding
CreateJobRequest()
Constructs a CreateJobRequest object with default parameter values.
std::map< std::string, std::string > options
std::vector< uint8_t > data
A set of output parameters for createJob(const CreateJobRequest&) const.