6 #ifndef __CREATE_RESOURCE_GROUP_H__
7 #define __CREATE_RESOURCE_GROUP_H__
27 tierAttributes(std::map<std::string, std::map<std::string, std::string> >()),
30 options(std::map<std::string, std::string>())
94 CreateResourceGroupRequest(
const std::string& name_,
const std::map<std::string, std::map<std::string, std::string> >& tierAttributes_,
const std::string& ranking_,
const std::string& adjoiningResourceGroup_,
const std::map<std::string, std::string>& options_):
113 template<>
struct codec_traits<gpudb::CreateResourceGroupRequest>
117 ::avro::encode(e, v.
name);
126 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
128 const std::vector<size_t> fo = rd->fieldOrder();
130 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
135 ::avro::decode(d, v.
name);
161 ::avro::decode(d, v.
name);
189 info(std::map<std::string, std::string>())
194 std::map<std::string, std::string>
info;
200 template<>
struct codec_traits<gpudb::CreateResourceGroupResponse>
204 ::avro::encode(e, v.
name);
205 ::avro::encode(e, v.
info);
210 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
212 const std::vector<size_t> fo = rd->fieldOrder();
214 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
219 ::avro::decode(d, v.
name);
223 ::avro::decode(d, v.
info);
233 ::avro::decode(d, v.
name);
234 ::avro::decode(d, v.
info);
CreateResourceGroupResponse()
Constructs a CreateResourceGroupResponse object with default parameter values.
std::map< std::string, std::string > info
A set of output parameters for const.
std::map< std::string, std::map< std::string, std::string > > tierAttributes
CreateResourceGroupRequest(const std::string &name_, const std::map< std::string, std::map< std::string, std::string > > &tierAttributes_, const std::string &ranking_, const std::string &adjoiningResourceGroup_, const std::map< std::string, std::string > &options_)
Constructs a CreateResourceGroupRequest object with the specified parameters.
std::string adjoiningResourceGroup
CreateResourceGroupRequest()
Constructs a CreateResourceGroupRequest object with default parameter values.
std::map< std::string, std::string > options
A set of input parameters for const.