6 #ifndef __ALTER_RESOURCE_GROUP_H__
7 #define __ALTER_RESOURCE_GROUP_H__
28 tierAttributes(std::map<std::string, std::map<std::string, std::string> >()),
31 options(std::map<std::string, std::string>())
129 AlterResourceGroupRequest(
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_):
148 template<>
struct codec_traits<gpudb::AlterResourceGroupRequest>
152 ::avro::encode(e, v.
name);
161 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
163 const std::vector<size_t> fo = rd->fieldOrder();
165 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
170 ::avro::decode(d, v.
name);
196 ::avro::decode(d, v.
name);
225 info(std::map<std::string, std::string>())
230 std::map<std::string, std::string>
info;
236 template<>
struct codec_traits<gpudb::AlterResourceGroupResponse>
240 ::avro::encode(e, v.
name);
241 ::avro::encode(e, v.
info);
246 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
248 const std::vector<size_t> fo = rd->fieldOrder();
250 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
255 ::avro::decode(d, v.
name);
259 ::avro::decode(d, v.
info);
269 ::avro::decode(d, v.
name);
270 ::avro::decode(d, v.
info);
std::map< std::string, std::map< std::string, std::string > > tierAttributes
AlterResourceGroupRequest()
Constructs an AlterResourceGroupRequest object with default parameter values.
std::map< std::string, std::string > options
AlterResourceGroupResponse()
Constructs an AlterResourceGroupResponse object with default parameter values.
AlterResourceGroupRequest(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 an AlterResourceGroupRequest object with the specified parameters.
std::string adjoiningResourceGroup
A set of input parameters for const.
std::map< std::string, std::string > info
A set of output parameters for const.