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>())
110 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_):
129 template<>
struct codec_traits<gpudb::AlterResourceGroupRequest>
133 ::avro::encode(e, v.
name);
142 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
144 const std::vector<size_t> fo = rd->fieldOrder();
146 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
151 ::avro::decode(d, v.
name);
177 ::avro::decode(d, v.
name);
206 info(std::map<std::string, std::string>())
211 std::map<std::string, std::string>
info;
217 template<>
struct codec_traits<gpudb::AlterResourceGroupResponse>
221 ::avro::encode(e, v.
name);
222 ::avro::encode(e, v.
info);
227 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
229 const std::vector<size_t> fo = rd->fieldOrder();
231 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
236 ::avro::decode(d, v.
name);
240 ::avro::decode(d, v.
info);
250 ::avro::decode(d, v.
name);
251 ::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.