6 #ifndef __ALTER_USER_H__ 7 #define __ALTER_USER_H__ 28 options(std::map<std::string, std::string>())
49 AlterUserRequest(
const std::string& name_,
const std::string& action_,
const std::string& value_,
const std::map<std::string, std::string>& options_):
60 std::map<std::string, std::string>
options;
70 ::avro::encode(e, v.
name);
71 ::avro::encode(e, v.
action);
72 ::avro::encode(e, v.
value);
78 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
80 const std::vector<size_t> fo = rd->fieldOrder();
82 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
87 ::avro::decode(d, v.
name);
91 ::avro::decode(d, v.
action);
95 ::avro::decode(d, v.
value);
109 ::avro::decode(d, v.
name);
110 ::avro::decode(d, v.
action);
111 ::avro::decode(d, v.
value);
149 ::avro::encode(e, v.
name);
154 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
156 const std::vector<size_t> fo = rd->fieldOrder();
158 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
163 ::avro::decode(d, v.
name);
173 ::avro::decode(d, v.
name);
std::map< std::string, std::string > options
AlterUserRequest()
Constructs an AlterUserRequest object with default parameter values.
A set of output parameters for alterUser(const AlterUserRequest&) const.
A set of input parameters for alterUser(const AlterUserRequest&) const.
AlterUserRequest(const std::string &name_, const std::string &action_, const std::string &value_, const std::map< std::string, std::string > &options_)
Constructs an AlterUserRequest object with the specified parameters.
AlterUserResponse()
Constructs an AlterUserResponse object with default parameter values.