6 #ifndef __DELETE_RESOURCE_GROUP_H__ 7 #define __DELETE_RESOURCE_GROUP_H__ 26 options(std::map<std::string, std::string>())
92 std::map<std::string, std::string>
options;
98 template<>
struct codec_traits<
gpudb::DeleteResourceGroupRequest>
102 ::avro::encode(e, v.
name);
108 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
110 const std::vector<size_t> fo = rd->fieldOrder();
112 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
117 ::avro::decode(d, v.
name);
131 ::avro::decode(d, v.
name);
153 info(std::map<std::string, std::string>())
165 std::map<std::string, std::string>
info;
171 template<>
struct codec_traits<
gpudb::DeleteResourceGroupResponse>
175 ::avro::encode(e, v.
name);
176 ::avro::encode(e, v.
info);
181 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
183 const std::vector<size_t> fo = rd->fieldOrder();
185 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
190 ::avro::decode(d, v.
name);
194 ::avro::decode(d, v.
info);
204 ::avro::decode(d, v.
name);
205 ::avro::decode(d, v.
info);
211 #endif // __DELETE_RESOURCE_GROUP_H__ DeleteResourceGroupRequest()
Constructs a DeleteResourceGroupRequest object with default parameters.
std::map< std::string, std::string > info
Additional information.
DeleteResourceGroupRequest(const std::string &name_, const std::map< std::string, std::string > &options_)
Constructs a DeleteResourceGroupRequest object with the specified parameters.
std::map< std::string, std::string > options
Optional parameters.
std::string name
Value of name.
DeleteResourceGroupResponse()
Constructs a DeleteResourceGroupResponse object with default parameters.
std::string name
Name of the resource group to be deleted.
A set of parameters for GPUdb::deleteResourceGroup.
A set of results returned by GPUdb::deleteResourceGroup.