6 #ifndef __GRANT_ROLE_H__ 7 #define __GRANT_ROLE_H__ 27 options(std::map<std::string, std::string>())
42 GrantRoleRequest(
const std::string& role_,
const std::string& member_,
const std::map<std::string, std::string>& options_):
51 std::map<std::string, std::string>
options;
61 ::avro::encode(e, v.
role);
62 ::avro::encode(e, v.
member);
68 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
70 const std::vector<size_t> fo = rd->fieldOrder();
72 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
77 ::avro::decode(d, v.
role);
81 ::avro::decode(d, v.
member);
95 ::avro::decode(d, v.
role);
96 ::avro::decode(d, v.
member);
135 ::avro::encode(e, v.
role);
136 ::avro::encode(e, v.
member);
141 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
143 const std::vector<size_t> fo = rd->fieldOrder();
145 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
150 ::avro::decode(d, v.
role);
154 ::avro::decode(d, v.
member);
164 ::avro::decode(d, v.
role);
165 ::avro::decode(d, v.
member);
GrantRoleRequest()
Constructs a GrantRoleRequest object with default parameter values.
std::map< std::string, std::string > options
GrantRoleRequest(const std::string &role_, const std::string &member_, const std::map< std::string, std::string > &options_)
Constructs a GrantRoleRequest object with the specified parameters.
A set of output parameters for grantRole(const GrantRoleRequest&) const.
GrantRoleResponse()
Constructs a GrantRoleResponse object with default parameter values.
A set of input parameters for grantRole(const GrantRoleRequest&) const.