6 #ifndef __CREATE_ROLE_H__ 7 #define __CREATE_ROLE_H__ 26 options(std::map<std::string, std::string>())
40 CreateRoleRequest(
const std::string& name_,
const std::map<std::string, std::string>& options_):
47 std::map<std::string, std::string>
options;
57 ::avro::encode(e, v.
name);
63 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
65 const std::vector<size_t> fo = rd->fieldOrder();
67 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
72 ::avro::decode(d, v.
name);
86 ::avro::decode(d, v.
name);
124 ::avro::encode(e, v.
name);
129 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
131 const std::vector<size_t> fo = rd->fieldOrder();
133 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
138 ::avro::decode(d, v.
name);
148 ::avro::decode(d, v.
name);
A set of input parameters for createRole(const CreateRoleRequest&) const.
A set of output parameters for createRole(const CreateRoleRequest&) const.
std::map< std::string, std::string > options
CreateRoleResponse()
Constructs a CreateRoleResponse object with default parameter values.
CreateRoleRequest()
Constructs a CreateRoleRequest object with default parameter values.
CreateRoleRequest(const std::string &name_, const std::map< std::string, std::string > &options_)
Constructs a CreateRoleRequest object with the specified parameters.