6 #ifndef __ADMIN_ALTER_JOBS_H__ 7 #define __ADMIN_ALTER_JOBS_H__ 31 jobIds(std::vector<int32_t>()),
33 options(std::map<std::string, std::string>())
50 AdminAlterJobsRequest(
const std::vector<int32_t>& jobIds_,
const std::string& action_,
const std::map<std::string, std::string>& options_):
59 std::map<std::string, std::string>
options;
69 ::avro::encode(e, v.
jobIds);
70 ::avro::encode(e, v.
action);
76 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
78 const std::vector<size_t> fo = rd->fieldOrder();
80 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
85 ::avro::decode(d, v.
jobIds);
89 ::avro::decode(d, v.
action);
103 ::avro::decode(d, v.
jobIds);
104 ::avro::decode(d, v.
action);
133 jobIds(std::vector<int32_t>()),
135 status(std::vector<std::string>())
151 ::avro::encode(e, v.
jobIds);
152 ::avro::encode(e, v.
action);
153 ::avro::encode(e, v.
status);
158 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
160 const std::vector<size_t> fo = rd->fieldOrder();
162 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
167 ::avro::decode(d, v.
jobIds);
171 ::avro::decode(d, v.
action);
175 ::avro::decode(d, v.
status);
185 ::avro::decode(d, v.
jobIds);
186 ::avro::decode(d, v.
action);
187 ::avro::decode(d, v.
status);
AdminAlterJobsRequest(const std::vector< int32_t > &jobIds_, const std::string &action_, const std::map< std::string, std::string > &options_)
Constructs an AdminAlterJobsRequest object with the specified parameters.
A set of output parameters for adminAlterJobs(const AdminAlterJobsRequest&) const.
std::vector< int32_t > jobIds
std::map< std::string, std::string > options
std::vector< std::string > status
A set of input parameters for adminAlterJobs(const AdminAlterJobsRequest&) const. ...
std::vector< int32_t > jobIds
AdminAlterJobsRequest()
Constructs an AdminAlterJobsRequest object with default parameter values.
AdminAlterJobsResponse()
Constructs an AdminAlterJobsResponse object with default parameter values.