DBFSClient.h 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. /*
  2. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #ifndef ALIBABACLOUD_DBFS_DBFSCLIENT_H_
  17. #define ALIBABACLOUD_DBFS_DBFSCLIENT_H_
  18. #include <future>
  19. #include <alibabacloud/core/AsyncCallerContext.h>
  20. #include <alibabacloud/core/EndpointProvider.h>
  21. #include <alibabacloud/core/RpcServiceClient.h>
  22. #include "DBFSExport.h"
  23. #include "model/AddTagsBatchRequest.h"
  24. #include "model/AddTagsBatchResult.h"
  25. #include "model/AttachDbfsRequest.h"
  26. #include "model/AttachDbfsResult.h"
  27. #include "model/CreateConstantsRequest.h"
  28. #include "model/CreateConstantsResult.h"
  29. #include "model/CreateDbfsRequest.h"
  30. #include "model/CreateDbfsResult.h"
  31. #include "model/CreateServiceLinkedRoleRequest.h"
  32. #include "model/CreateServiceLinkedRoleResult.h"
  33. #include "model/CreateSnapshotRequest.h"
  34. #include "model/CreateSnapshotResult.h"
  35. #include "model/DbfsRecordRequest.h"
  36. #include "model/DbfsRecordResult.h"
  37. #include "model/DeleteConstantsRequest.h"
  38. #include "model/DeleteConstantsResult.h"
  39. #include "model/DeleteDbfsRequest.h"
  40. #include "model/DeleteDbfsResult.h"
  41. #include "model/DeleteSnapshotRequest.h"
  42. #include "model/DeleteSnapshotResult.h"
  43. #include "model/DeleteTagsBatchRequest.h"
  44. #include "model/DeleteTagsBatchResult.h"
  45. #include "model/DetachDbfsRequest.h"
  46. #include "model/DetachDbfsResult.h"
  47. #include "model/GenerateUpgradeRecordRequest.h"
  48. #include "model/GenerateUpgradeRecordResult.h"
  49. #include "model/GetDbfsRequest.h"
  50. #include "model/GetDbfsResult.h"
  51. #include "model/GetServiceLinkedRoleRequest.h"
  52. #include "model/GetServiceLinkedRoleResult.h"
  53. #include "model/GetSynchronizConstantsRequest.h"
  54. #include "model/GetSynchronizConstantsResult.h"
  55. #include "model/InsertSynchronizConstantsRequest.h"
  56. #include "model/InsertSynchronizConstantsResult.h"
  57. #include "model/ListConstantsRequest.h"
  58. #include "model/ListConstantsResult.h"
  59. #include "model/ListDbfsRequest.h"
  60. #include "model/ListDbfsResult.h"
  61. #include "model/ListSnapshotRequest.h"
  62. #include "model/ListSnapshotResult.h"
  63. #include "model/ListTagKeysRequest.h"
  64. #include "model/ListTagKeysResult.h"
  65. #include "model/ListTagValuesRequest.h"
  66. #include "model/ListTagValuesResult.h"
  67. #include "model/ListTaskRequest.h"
  68. #include "model/ListTaskResult.h"
  69. #include "model/OpreateConstantsRequest.h"
  70. #include "model/OpreateConstantsResult.h"
  71. #include "model/PublishUpgradeTaskRequest.h"
  72. #include "model/PublishUpgradeTaskResult.h"
  73. #include "model/RenameDbfsRequest.h"
  74. #include "model/RenameDbfsResult.h"
  75. #include "model/ResetDbfsRequest.h"
  76. #include "model/ResetDbfsResult.h"
  77. #include "model/ResizeDbfsRequest.h"
  78. #include "model/ResizeDbfsResult.h"
  79. #include "model/StopUpgradeTaskRequest.h"
  80. #include "model/StopUpgradeTaskResult.h"
  81. #include "model/TagDbfsRequest.h"
  82. #include "model/TagDbfsResult.h"
  83. #include "model/UpdateConstantsRequest.h"
  84. #include "model/UpdateConstantsResult.h"
  85. #include "model/UpdateTaskRequest.h"
  86. #include "model/UpdateTaskResult.h"
  87. namespace AlibabaCloud
  88. {
  89. namespace DBFS
  90. {
  91. class ALIBABACLOUD_DBFS_EXPORT DBFSClient : public RpcServiceClient
  92. {
  93. public:
  94. typedef Outcome<Error, Model::AddTagsBatchResult> AddTagsBatchOutcome;
  95. typedef std::future<AddTagsBatchOutcome> AddTagsBatchOutcomeCallable;
  96. typedef std::function<void(const DBFSClient*, const Model::AddTagsBatchRequest&, const AddTagsBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddTagsBatchAsyncHandler;
  97. typedef Outcome<Error, Model::AttachDbfsResult> AttachDbfsOutcome;
  98. typedef std::future<AttachDbfsOutcome> AttachDbfsOutcomeCallable;
  99. typedef std::function<void(const DBFSClient*, const Model::AttachDbfsRequest&, const AttachDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachDbfsAsyncHandler;
  100. typedef Outcome<Error, Model::CreateConstantsResult> CreateConstantsOutcome;
  101. typedef std::future<CreateConstantsOutcome> CreateConstantsOutcomeCallable;
  102. typedef std::function<void(const DBFSClient*, const Model::CreateConstantsRequest&, const CreateConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConstantsAsyncHandler;
  103. typedef Outcome<Error, Model::CreateDbfsResult> CreateDbfsOutcome;
  104. typedef std::future<CreateDbfsOutcome> CreateDbfsOutcomeCallable;
  105. typedef std::function<void(const DBFSClient*, const Model::CreateDbfsRequest&, const CreateDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDbfsAsyncHandler;
  106. typedef Outcome<Error, Model::CreateServiceLinkedRoleResult> CreateServiceLinkedRoleOutcome;
  107. typedef std::future<CreateServiceLinkedRoleOutcome> CreateServiceLinkedRoleOutcomeCallable;
  108. typedef std::function<void(const DBFSClient*, const Model::CreateServiceLinkedRoleRequest&, const CreateServiceLinkedRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceLinkedRoleAsyncHandler;
  109. typedef Outcome<Error, Model::CreateSnapshotResult> CreateSnapshotOutcome;
  110. typedef std::future<CreateSnapshotOutcome> CreateSnapshotOutcomeCallable;
  111. typedef std::function<void(const DBFSClient*, const Model::CreateSnapshotRequest&, const CreateSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSnapshotAsyncHandler;
  112. typedef Outcome<Error, Model::DbfsRecordResult> DbfsRecordOutcome;
  113. typedef std::future<DbfsRecordOutcome> DbfsRecordOutcomeCallable;
  114. typedef std::function<void(const DBFSClient*, const Model::DbfsRecordRequest&, const DbfsRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DbfsRecordAsyncHandler;
  115. typedef Outcome<Error, Model::DeleteConstantsResult> DeleteConstantsOutcome;
  116. typedef std::future<DeleteConstantsOutcome> DeleteConstantsOutcomeCallable;
  117. typedef std::function<void(const DBFSClient*, const Model::DeleteConstantsRequest&, const DeleteConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConstantsAsyncHandler;
  118. typedef Outcome<Error, Model::DeleteDbfsResult> DeleteDbfsOutcome;
  119. typedef std::future<DeleteDbfsOutcome> DeleteDbfsOutcomeCallable;
  120. typedef std::function<void(const DBFSClient*, const Model::DeleteDbfsRequest&, const DeleteDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDbfsAsyncHandler;
  121. typedef Outcome<Error, Model::DeleteSnapshotResult> DeleteSnapshotOutcome;
  122. typedef std::future<DeleteSnapshotOutcome> DeleteSnapshotOutcomeCallable;
  123. typedef std::function<void(const DBFSClient*, const Model::DeleteSnapshotRequest&, const DeleteSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSnapshotAsyncHandler;
  124. typedef Outcome<Error, Model::DeleteTagsBatchResult> DeleteTagsBatchOutcome;
  125. typedef std::future<DeleteTagsBatchOutcome> DeleteTagsBatchOutcomeCallable;
  126. typedef std::function<void(const DBFSClient*, const Model::DeleteTagsBatchRequest&, const DeleteTagsBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagsBatchAsyncHandler;
  127. typedef Outcome<Error, Model::DetachDbfsResult> DetachDbfsOutcome;
  128. typedef std::future<DetachDbfsOutcome> DetachDbfsOutcomeCallable;
  129. typedef std::function<void(const DBFSClient*, const Model::DetachDbfsRequest&, const DetachDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachDbfsAsyncHandler;
  130. typedef Outcome<Error, Model::GenerateUpgradeRecordResult> GenerateUpgradeRecordOutcome;
  131. typedef std::future<GenerateUpgradeRecordOutcome> GenerateUpgradeRecordOutcomeCallable;
  132. typedef std::function<void(const DBFSClient*, const Model::GenerateUpgradeRecordRequest&, const GenerateUpgradeRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateUpgradeRecordAsyncHandler;
  133. typedef Outcome<Error, Model::GetDbfsResult> GetDbfsOutcome;
  134. typedef std::future<GetDbfsOutcome> GetDbfsOutcomeCallable;
  135. typedef std::function<void(const DBFSClient*, const Model::GetDbfsRequest&, const GetDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDbfsAsyncHandler;
  136. typedef Outcome<Error, Model::GetServiceLinkedRoleResult> GetServiceLinkedRoleOutcome;
  137. typedef std::future<GetServiceLinkedRoleOutcome> GetServiceLinkedRoleOutcomeCallable;
  138. typedef std::function<void(const DBFSClient*, const Model::GetServiceLinkedRoleRequest&, const GetServiceLinkedRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceLinkedRoleAsyncHandler;
  139. typedef Outcome<Error, Model::GetSynchronizConstantsResult> GetSynchronizConstantsOutcome;
  140. typedef std::future<GetSynchronizConstantsOutcome> GetSynchronizConstantsOutcomeCallable;
  141. typedef std::function<void(const DBFSClient*, const Model::GetSynchronizConstantsRequest&, const GetSynchronizConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSynchronizConstantsAsyncHandler;
  142. typedef Outcome<Error, Model::InsertSynchronizConstantsResult> InsertSynchronizConstantsOutcome;
  143. typedef std::future<InsertSynchronizConstantsOutcome> InsertSynchronizConstantsOutcomeCallable;
  144. typedef std::function<void(const DBFSClient*, const Model::InsertSynchronizConstantsRequest&, const InsertSynchronizConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InsertSynchronizConstantsAsyncHandler;
  145. typedef Outcome<Error, Model::ListConstantsResult> ListConstantsOutcome;
  146. typedef std::future<ListConstantsOutcome> ListConstantsOutcomeCallable;
  147. typedef std::function<void(const DBFSClient*, const Model::ListConstantsRequest&, const ListConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConstantsAsyncHandler;
  148. typedef Outcome<Error, Model::ListDbfsResult> ListDbfsOutcome;
  149. typedef std::future<ListDbfsOutcome> ListDbfsOutcomeCallable;
  150. typedef std::function<void(const DBFSClient*, const Model::ListDbfsRequest&, const ListDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDbfsAsyncHandler;
  151. typedef Outcome<Error, Model::ListSnapshotResult> ListSnapshotOutcome;
  152. typedef std::future<ListSnapshotOutcome> ListSnapshotOutcomeCallable;
  153. typedef std::function<void(const DBFSClient*, const Model::ListSnapshotRequest&, const ListSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSnapshotAsyncHandler;
  154. typedef Outcome<Error, Model::ListTagKeysResult> ListTagKeysOutcome;
  155. typedef std::future<ListTagKeysOutcome> ListTagKeysOutcomeCallable;
  156. typedef std::function<void(const DBFSClient*, const Model::ListTagKeysRequest&, const ListTagKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagKeysAsyncHandler;
  157. typedef Outcome<Error, Model::ListTagValuesResult> ListTagValuesOutcome;
  158. typedef std::future<ListTagValuesOutcome> ListTagValuesOutcomeCallable;
  159. typedef std::function<void(const DBFSClient*, const Model::ListTagValuesRequest&, const ListTagValuesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagValuesAsyncHandler;
  160. typedef Outcome<Error, Model::ListTaskResult> ListTaskOutcome;
  161. typedef std::future<ListTaskOutcome> ListTaskOutcomeCallable;
  162. typedef std::function<void(const DBFSClient*, const Model::ListTaskRequest&, const ListTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTaskAsyncHandler;
  163. typedef Outcome<Error, Model::OpreateConstantsResult> OpreateConstantsOutcome;
  164. typedef std::future<OpreateConstantsOutcome> OpreateConstantsOutcomeCallable;
  165. typedef std::function<void(const DBFSClient*, const Model::OpreateConstantsRequest&, const OpreateConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpreateConstantsAsyncHandler;
  166. typedef Outcome<Error, Model::PublishUpgradeTaskResult> PublishUpgradeTaskOutcome;
  167. typedef std::future<PublishUpgradeTaskOutcome> PublishUpgradeTaskOutcomeCallable;
  168. typedef std::function<void(const DBFSClient*, const Model::PublishUpgradeTaskRequest&, const PublishUpgradeTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishUpgradeTaskAsyncHandler;
  169. typedef Outcome<Error, Model::RenameDbfsResult> RenameDbfsOutcome;
  170. typedef std::future<RenameDbfsOutcome> RenameDbfsOutcomeCallable;
  171. typedef std::function<void(const DBFSClient*, const Model::RenameDbfsRequest&, const RenameDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenameDbfsAsyncHandler;
  172. typedef Outcome<Error, Model::ResetDbfsResult> ResetDbfsOutcome;
  173. typedef std::future<ResetDbfsOutcome> ResetDbfsOutcomeCallable;
  174. typedef std::function<void(const DBFSClient*, const Model::ResetDbfsRequest&, const ResetDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetDbfsAsyncHandler;
  175. typedef Outcome<Error, Model::ResizeDbfsResult> ResizeDbfsOutcome;
  176. typedef std::future<ResizeDbfsOutcome> ResizeDbfsOutcomeCallable;
  177. typedef std::function<void(const DBFSClient*, const Model::ResizeDbfsRequest&, const ResizeDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeDbfsAsyncHandler;
  178. typedef Outcome<Error, Model::StopUpgradeTaskResult> StopUpgradeTaskOutcome;
  179. typedef std::future<StopUpgradeTaskOutcome> StopUpgradeTaskOutcomeCallable;
  180. typedef std::function<void(const DBFSClient*, const Model::StopUpgradeTaskRequest&, const StopUpgradeTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopUpgradeTaskAsyncHandler;
  181. typedef Outcome<Error, Model::TagDbfsResult> TagDbfsOutcome;
  182. typedef std::future<TagDbfsOutcome> TagDbfsOutcomeCallable;
  183. typedef std::function<void(const DBFSClient*, const Model::TagDbfsRequest&, const TagDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagDbfsAsyncHandler;
  184. typedef Outcome<Error, Model::UpdateConstantsResult> UpdateConstantsOutcome;
  185. typedef std::future<UpdateConstantsOutcome> UpdateConstantsOutcomeCallable;
  186. typedef std::function<void(const DBFSClient*, const Model::UpdateConstantsRequest&, const UpdateConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateConstantsAsyncHandler;
  187. typedef Outcome<Error, Model::UpdateTaskResult> UpdateTaskOutcome;
  188. typedef std::future<UpdateTaskOutcome> UpdateTaskOutcomeCallable;
  189. typedef std::function<void(const DBFSClient*, const Model::UpdateTaskRequest&, const UpdateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTaskAsyncHandler;
  190. DBFSClient(const Credentials &credentials, const ClientConfiguration &configuration);
  191. DBFSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
  192. DBFSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
  193. ~DBFSClient();
  194. AddTagsBatchOutcome addTagsBatch(const Model::AddTagsBatchRequest &request)const;
  195. void addTagsBatchAsync(const Model::AddTagsBatchRequest& request, const AddTagsBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  196. AddTagsBatchOutcomeCallable addTagsBatchCallable(const Model::AddTagsBatchRequest& request) const;
  197. AttachDbfsOutcome attachDbfs(const Model::AttachDbfsRequest &request)const;
  198. void attachDbfsAsync(const Model::AttachDbfsRequest& request, const AttachDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  199. AttachDbfsOutcomeCallable attachDbfsCallable(const Model::AttachDbfsRequest& request) const;
  200. CreateConstantsOutcome createConstants(const Model::CreateConstantsRequest &request)const;
  201. void createConstantsAsync(const Model::CreateConstantsRequest& request, const CreateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  202. CreateConstantsOutcomeCallable createConstantsCallable(const Model::CreateConstantsRequest& request) const;
  203. CreateDbfsOutcome createDbfs(const Model::CreateDbfsRequest &request)const;
  204. void createDbfsAsync(const Model::CreateDbfsRequest& request, const CreateDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  205. CreateDbfsOutcomeCallable createDbfsCallable(const Model::CreateDbfsRequest& request) const;
  206. CreateServiceLinkedRoleOutcome createServiceLinkedRole(const Model::CreateServiceLinkedRoleRequest &request)const;
  207. void createServiceLinkedRoleAsync(const Model::CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  208. CreateServiceLinkedRoleOutcomeCallable createServiceLinkedRoleCallable(const Model::CreateServiceLinkedRoleRequest& request) const;
  209. CreateSnapshotOutcome createSnapshot(const Model::CreateSnapshotRequest &request)const;
  210. void createSnapshotAsync(const Model::CreateSnapshotRequest& request, const CreateSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  211. CreateSnapshotOutcomeCallable createSnapshotCallable(const Model::CreateSnapshotRequest& request) const;
  212. DbfsRecordOutcome dbfsRecord(const Model::DbfsRecordRequest &request)const;
  213. void dbfsRecordAsync(const Model::DbfsRecordRequest& request, const DbfsRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  214. DbfsRecordOutcomeCallable dbfsRecordCallable(const Model::DbfsRecordRequest& request) const;
  215. DeleteConstantsOutcome deleteConstants(const Model::DeleteConstantsRequest &request)const;
  216. void deleteConstantsAsync(const Model::DeleteConstantsRequest& request, const DeleteConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  217. DeleteConstantsOutcomeCallable deleteConstantsCallable(const Model::DeleteConstantsRequest& request) const;
  218. DeleteDbfsOutcome deleteDbfs(const Model::DeleteDbfsRequest &request)const;
  219. void deleteDbfsAsync(const Model::DeleteDbfsRequest& request, const DeleteDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  220. DeleteDbfsOutcomeCallable deleteDbfsCallable(const Model::DeleteDbfsRequest& request) const;
  221. DeleteSnapshotOutcome deleteSnapshot(const Model::DeleteSnapshotRequest &request)const;
  222. void deleteSnapshotAsync(const Model::DeleteSnapshotRequest& request, const DeleteSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  223. DeleteSnapshotOutcomeCallable deleteSnapshotCallable(const Model::DeleteSnapshotRequest& request) const;
  224. DeleteTagsBatchOutcome deleteTagsBatch(const Model::DeleteTagsBatchRequest &request)const;
  225. void deleteTagsBatchAsync(const Model::DeleteTagsBatchRequest& request, const DeleteTagsBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  226. DeleteTagsBatchOutcomeCallable deleteTagsBatchCallable(const Model::DeleteTagsBatchRequest& request) const;
  227. DetachDbfsOutcome detachDbfs(const Model::DetachDbfsRequest &request)const;
  228. void detachDbfsAsync(const Model::DetachDbfsRequest& request, const DetachDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  229. DetachDbfsOutcomeCallable detachDbfsCallable(const Model::DetachDbfsRequest& request) const;
  230. GenerateUpgradeRecordOutcome generateUpgradeRecord(const Model::GenerateUpgradeRecordRequest &request)const;
  231. void generateUpgradeRecordAsync(const Model::GenerateUpgradeRecordRequest& request, const GenerateUpgradeRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  232. GenerateUpgradeRecordOutcomeCallable generateUpgradeRecordCallable(const Model::GenerateUpgradeRecordRequest& request) const;
  233. GetDbfsOutcome getDbfs(const Model::GetDbfsRequest &request)const;
  234. void getDbfsAsync(const Model::GetDbfsRequest& request, const GetDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  235. GetDbfsOutcomeCallable getDbfsCallable(const Model::GetDbfsRequest& request) const;
  236. GetServiceLinkedRoleOutcome getServiceLinkedRole(const Model::GetServiceLinkedRoleRequest &request)const;
  237. void getServiceLinkedRoleAsync(const Model::GetServiceLinkedRoleRequest& request, const GetServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  238. GetServiceLinkedRoleOutcomeCallable getServiceLinkedRoleCallable(const Model::GetServiceLinkedRoleRequest& request) const;
  239. GetSynchronizConstantsOutcome getSynchronizConstants(const Model::GetSynchronizConstantsRequest &request)const;
  240. void getSynchronizConstantsAsync(const Model::GetSynchronizConstantsRequest& request, const GetSynchronizConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  241. GetSynchronizConstantsOutcomeCallable getSynchronizConstantsCallable(const Model::GetSynchronizConstantsRequest& request) const;
  242. InsertSynchronizConstantsOutcome insertSynchronizConstants(const Model::InsertSynchronizConstantsRequest &request)const;
  243. void insertSynchronizConstantsAsync(const Model::InsertSynchronizConstantsRequest& request, const InsertSynchronizConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  244. InsertSynchronizConstantsOutcomeCallable insertSynchronizConstantsCallable(const Model::InsertSynchronizConstantsRequest& request) const;
  245. ListConstantsOutcome listConstants(const Model::ListConstantsRequest &request)const;
  246. void listConstantsAsync(const Model::ListConstantsRequest& request, const ListConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  247. ListConstantsOutcomeCallable listConstantsCallable(const Model::ListConstantsRequest& request) const;
  248. ListDbfsOutcome listDbfs(const Model::ListDbfsRequest &request)const;
  249. void listDbfsAsync(const Model::ListDbfsRequest& request, const ListDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  250. ListDbfsOutcomeCallable listDbfsCallable(const Model::ListDbfsRequest& request) const;
  251. ListSnapshotOutcome listSnapshot(const Model::ListSnapshotRequest &request)const;
  252. void listSnapshotAsync(const Model::ListSnapshotRequest& request, const ListSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  253. ListSnapshotOutcomeCallable listSnapshotCallable(const Model::ListSnapshotRequest& request) const;
  254. ListTagKeysOutcome listTagKeys(const Model::ListTagKeysRequest &request)const;
  255. void listTagKeysAsync(const Model::ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  256. ListTagKeysOutcomeCallable listTagKeysCallable(const Model::ListTagKeysRequest& request) const;
  257. ListTagValuesOutcome listTagValues(const Model::ListTagValuesRequest &request)const;
  258. void listTagValuesAsync(const Model::ListTagValuesRequest& request, const ListTagValuesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  259. ListTagValuesOutcomeCallable listTagValuesCallable(const Model::ListTagValuesRequest& request) const;
  260. ListTaskOutcome listTask(const Model::ListTaskRequest &request)const;
  261. void listTaskAsync(const Model::ListTaskRequest& request, const ListTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  262. ListTaskOutcomeCallable listTaskCallable(const Model::ListTaskRequest& request) const;
  263. OpreateConstantsOutcome opreateConstants(const Model::OpreateConstantsRequest &request)const;
  264. void opreateConstantsAsync(const Model::OpreateConstantsRequest& request, const OpreateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  265. OpreateConstantsOutcomeCallable opreateConstantsCallable(const Model::OpreateConstantsRequest& request) const;
  266. PublishUpgradeTaskOutcome publishUpgradeTask(const Model::PublishUpgradeTaskRequest &request)const;
  267. void publishUpgradeTaskAsync(const Model::PublishUpgradeTaskRequest& request, const PublishUpgradeTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  268. PublishUpgradeTaskOutcomeCallable publishUpgradeTaskCallable(const Model::PublishUpgradeTaskRequest& request) const;
  269. RenameDbfsOutcome renameDbfs(const Model::RenameDbfsRequest &request)const;
  270. void renameDbfsAsync(const Model::RenameDbfsRequest& request, const RenameDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  271. RenameDbfsOutcomeCallable renameDbfsCallable(const Model::RenameDbfsRequest& request) const;
  272. ResetDbfsOutcome resetDbfs(const Model::ResetDbfsRequest &request)const;
  273. void resetDbfsAsync(const Model::ResetDbfsRequest& request, const ResetDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  274. ResetDbfsOutcomeCallable resetDbfsCallable(const Model::ResetDbfsRequest& request) const;
  275. ResizeDbfsOutcome resizeDbfs(const Model::ResizeDbfsRequest &request)const;
  276. void resizeDbfsAsync(const Model::ResizeDbfsRequest& request, const ResizeDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  277. ResizeDbfsOutcomeCallable resizeDbfsCallable(const Model::ResizeDbfsRequest& request) const;
  278. StopUpgradeTaskOutcome stopUpgradeTask(const Model::StopUpgradeTaskRequest &request)const;
  279. void stopUpgradeTaskAsync(const Model::StopUpgradeTaskRequest& request, const StopUpgradeTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  280. StopUpgradeTaskOutcomeCallable stopUpgradeTaskCallable(const Model::StopUpgradeTaskRequest& request) const;
  281. TagDbfsOutcome tagDbfs(const Model::TagDbfsRequest &request)const;
  282. void tagDbfsAsync(const Model::TagDbfsRequest& request, const TagDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  283. TagDbfsOutcomeCallable tagDbfsCallable(const Model::TagDbfsRequest& request) const;
  284. UpdateConstantsOutcome updateConstants(const Model::UpdateConstantsRequest &request)const;
  285. void updateConstantsAsync(const Model::UpdateConstantsRequest& request, const UpdateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  286. UpdateConstantsOutcomeCallable updateConstantsCallable(const Model::UpdateConstantsRequest& request) const;
  287. UpdateTaskOutcome updateTask(const Model::UpdateTaskRequest &request)const;
  288. void updateTaskAsync(const Model::UpdateTaskRequest& request, const UpdateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
  289. UpdateTaskOutcomeCallable updateTaskCallable(const Model::UpdateTaskRequest& request) const;
  290. private:
  291. std::shared_ptr<EndpointProvider> endpointProvider_;
  292. };
  293. }
  294. }
  295. #endif // !ALIBABACLOUD_DBFS_DBFSCLIENT_H_