Generated 2020-05-18 for dataworks-public.
This commit is contained in:
@@ -23,6 +23,8 @@ set(dataworks-public_public_header
|
||||
set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h
|
||||
include/alibabacloud/dataworks-public/model/AddMetaCollectionEntityRequest.h
|
||||
include/alibabacloud/dataworks-public/model/AddMetaCollectionEntityResult.h
|
||||
include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h
|
||||
include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h
|
||||
@@ -71,6 +73,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/CreateManualDagResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateMetaCollectionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateMetaCollectionResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h
|
||||
@@ -115,6 +119,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteMetaCollectionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteMetaCollectionResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteMetaCollectionEntityRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteMetaCollectionEntityResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h
|
||||
@@ -211,6 +219,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/GetManualDagInstancesResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaCollectionDetailRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaCollectionDetailResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h
|
||||
@@ -235,6 +245,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTablePartitionResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableProducingTasksRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableProducingTasksResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMigrationProcessRequest.h
|
||||
@@ -343,6 +355,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListInstancesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListManualDagInstancesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListManualDagInstancesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListMetaCollectionEntitiesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListMetaCollectionEntitiesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListMetaCollectionsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListMetaCollectionsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListMetaDBResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListMigrationsRequest.h
|
||||
@@ -473,6 +489,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/UpdateIDEEventResultResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaCollectionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaCollectionResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaTableResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h
|
||||
@@ -506,6 +524,8 @@ set(dataworks-public_src
|
||||
src/Dataworks-publicClient.cc
|
||||
src/model/AbolishDataServiceApiRequest.cc
|
||||
src/model/AbolishDataServiceApiResult.cc
|
||||
src/model/AddMetaCollectionEntityRequest.cc
|
||||
src/model/AddMetaCollectionEntityResult.cc
|
||||
src/model/AddProjectMemberToRoleRequest.cc
|
||||
src/model/AddProjectMemberToRoleResult.cc
|
||||
src/model/AddToMetaCategoryRequest.cc
|
||||
@@ -554,6 +574,8 @@ set(dataworks-public_src
|
||||
src/model/CreateManualDagResult.cc
|
||||
src/model/CreateMetaCategoryRequest.cc
|
||||
src/model/CreateMetaCategoryResult.cc
|
||||
src/model/CreateMetaCollectionRequest.cc
|
||||
src/model/CreateMetaCollectionResult.cc
|
||||
src/model/CreatePermissionApplyOrderRequest.cc
|
||||
src/model/CreatePermissionApplyOrderResult.cc
|
||||
src/model/CreateProjectMemberRequest.cc
|
||||
@@ -598,6 +620,10 @@ set(dataworks-public_src
|
||||
src/model/DeleteFromMetaCategoryResult.cc
|
||||
src/model/DeleteMetaCategoryRequest.cc
|
||||
src/model/DeleteMetaCategoryResult.cc
|
||||
src/model/DeleteMetaCollectionRequest.cc
|
||||
src/model/DeleteMetaCollectionResult.cc
|
||||
src/model/DeleteMetaCollectionEntityRequest.cc
|
||||
src/model/DeleteMetaCollectionEntityResult.cc
|
||||
src/model/DeleteProjectMemberRequest.cc
|
||||
src/model/DeleteProjectMemberResult.cc
|
||||
src/model/DeleteQualityEntityRequest.cc
|
||||
@@ -694,6 +720,8 @@ set(dataworks-public_src
|
||||
src/model/GetManualDagInstancesResult.cc
|
||||
src/model/GetMetaCategoryRequest.cc
|
||||
src/model/GetMetaCategoryResult.cc
|
||||
src/model/GetMetaCollectionDetailRequest.cc
|
||||
src/model/GetMetaCollectionDetailResult.cc
|
||||
src/model/GetMetaColumnLineageRequest.cc
|
||||
src/model/GetMetaColumnLineageResult.cc
|
||||
src/model/GetMetaDBInfoRequest.cc
|
||||
@@ -718,6 +746,8 @@ set(dataworks-public_src
|
||||
src/model/GetMetaTableOutputResult.cc
|
||||
src/model/GetMetaTablePartitionRequest.cc
|
||||
src/model/GetMetaTablePartitionResult.cc
|
||||
src/model/GetMetaTableProducingTasksRequest.cc
|
||||
src/model/GetMetaTableProducingTasksResult.cc
|
||||
src/model/GetMetaTableThemeLevelRequest.cc
|
||||
src/model/GetMetaTableThemeLevelResult.cc
|
||||
src/model/GetMigrationProcessRequest.cc
|
||||
@@ -826,6 +856,10 @@ set(dataworks-public_src
|
||||
src/model/ListInstancesResult.cc
|
||||
src/model/ListManualDagInstancesRequest.cc
|
||||
src/model/ListManualDagInstancesResult.cc
|
||||
src/model/ListMetaCollectionEntitiesRequest.cc
|
||||
src/model/ListMetaCollectionEntitiesResult.cc
|
||||
src/model/ListMetaCollectionsRequest.cc
|
||||
src/model/ListMetaCollectionsResult.cc
|
||||
src/model/ListMetaDBRequest.cc
|
||||
src/model/ListMetaDBResult.cc
|
||||
src/model/ListMigrationsRequest.cc
|
||||
@@ -956,6 +990,8 @@ set(dataworks-public_src
|
||||
src/model/UpdateIDEEventResultResult.cc
|
||||
src/model/UpdateMetaCategoryRequest.cc
|
||||
src/model/UpdateMetaCategoryResult.cc
|
||||
src/model/UpdateMetaCollectionRequest.cc
|
||||
src/model/UpdateMetaCollectionResult.cc
|
||||
src/model/UpdateMetaTableRequest.cc
|
||||
src/model/UpdateMetaTableResult.cc
|
||||
src/model/UpdateMetaTableIntroWikiRequest.cc
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "Dataworks_publicExport.h"
|
||||
#include "model/AbolishDataServiceApiRequest.h"
|
||||
#include "model/AbolishDataServiceApiResult.h"
|
||||
#include "model/AddMetaCollectionEntityRequest.h"
|
||||
#include "model/AddMetaCollectionEntityResult.h"
|
||||
#include "model/AddProjectMemberToRoleRequest.h"
|
||||
#include "model/AddProjectMemberToRoleResult.h"
|
||||
#include "model/AddToMetaCategoryRequest.h"
|
||||
@@ -72,6 +74,8 @@
|
||||
#include "model/CreateManualDagResult.h"
|
||||
#include "model/CreateMetaCategoryRequest.h"
|
||||
#include "model/CreateMetaCategoryResult.h"
|
||||
#include "model/CreateMetaCollectionRequest.h"
|
||||
#include "model/CreateMetaCollectionResult.h"
|
||||
#include "model/CreatePermissionApplyOrderRequest.h"
|
||||
#include "model/CreatePermissionApplyOrderResult.h"
|
||||
#include "model/CreateProjectMemberRequest.h"
|
||||
@@ -116,6 +120,10 @@
|
||||
#include "model/DeleteFromMetaCategoryResult.h"
|
||||
#include "model/DeleteMetaCategoryRequest.h"
|
||||
#include "model/DeleteMetaCategoryResult.h"
|
||||
#include "model/DeleteMetaCollectionRequest.h"
|
||||
#include "model/DeleteMetaCollectionResult.h"
|
||||
#include "model/DeleteMetaCollectionEntityRequest.h"
|
||||
#include "model/DeleteMetaCollectionEntityResult.h"
|
||||
#include "model/DeleteProjectMemberRequest.h"
|
||||
#include "model/DeleteProjectMemberResult.h"
|
||||
#include "model/DeleteQualityEntityRequest.h"
|
||||
@@ -212,6 +220,8 @@
|
||||
#include "model/GetManualDagInstancesResult.h"
|
||||
#include "model/GetMetaCategoryRequest.h"
|
||||
#include "model/GetMetaCategoryResult.h"
|
||||
#include "model/GetMetaCollectionDetailRequest.h"
|
||||
#include "model/GetMetaCollectionDetailResult.h"
|
||||
#include "model/GetMetaColumnLineageRequest.h"
|
||||
#include "model/GetMetaColumnLineageResult.h"
|
||||
#include "model/GetMetaDBInfoRequest.h"
|
||||
@@ -236,6 +246,8 @@
|
||||
#include "model/GetMetaTableOutputResult.h"
|
||||
#include "model/GetMetaTablePartitionRequest.h"
|
||||
#include "model/GetMetaTablePartitionResult.h"
|
||||
#include "model/GetMetaTableProducingTasksRequest.h"
|
||||
#include "model/GetMetaTableProducingTasksResult.h"
|
||||
#include "model/GetMetaTableThemeLevelRequest.h"
|
||||
#include "model/GetMetaTableThemeLevelResult.h"
|
||||
#include "model/GetMigrationProcessRequest.h"
|
||||
@@ -344,6 +356,10 @@
|
||||
#include "model/ListInstancesResult.h"
|
||||
#include "model/ListManualDagInstancesRequest.h"
|
||||
#include "model/ListManualDagInstancesResult.h"
|
||||
#include "model/ListMetaCollectionEntitiesRequest.h"
|
||||
#include "model/ListMetaCollectionEntitiesResult.h"
|
||||
#include "model/ListMetaCollectionsRequest.h"
|
||||
#include "model/ListMetaCollectionsResult.h"
|
||||
#include "model/ListMetaDBRequest.h"
|
||||
#include "model/ListMetaDBResult.h"
|
||||
#include "model/ListMigrationsRequest.h"
|
||||
@@ -474,6 +490,8 @@
|
||||
#include "model/UpdateIDEEventResultResult.h"
|
||||
#include "model/UpdateMetaCategoryRequest.h"
|
||||
#include "model/UpdateMetaCategoryResult.h"
|
||||
#include "model/UpdateMetaCollectionRequest.h"
|
||||
#include "model/UpdateMetaCollectionResult.h"
|
||||
#include "model/UpdateMetaTableRequest.h"
|
||||
#include "model/UpdateMetaTableResult.h"
|
||||
#include "model/UpdateMetaTableIntroWikiRequest.h"
|
||||
@@ -514,6 +532,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AbolishDataServiceApiResult> AbolishDataServiceApiOutcome;
|
||||
typedef std::future<AbolishDataServiceApiOutcome> AbolishDataServiceApiOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::AbolishDataServiceApiRequest&, const AbolishDataServiceApiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AbolishDataServiceApiAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddMetaCollectionEntityResult> AddMetaCollectionEntityOutcome;
|
||||
typedef std::future<AddMetaCollectionEntityOutcome> AddMetaCollectionEntityOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::AddMetaCollectionEntityRequest&, const AddMetaCollectionEntityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddMetaCollectionEntityAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddProjectMemberToRoleResult> AddProjectMemberToRoleOutcome;
|
||||
typedef std::future<AddProjectMemberToRoleOutcome> AddProjectMemberToRoleOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::AddProjectMemberToRoleRequest&, const AddProjectMemberToRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddProjectMemberToRoleAsyncHandler;
|
||||
@@ -586,6 +607,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateMetaCategoryResult> CreateMetaCategoryOutcome;
|
||||
typedef std::future<CreateMetaCategoryOutcome> CreateMetaCategoryOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateMetaCategoryRequest&, const CreateMetaCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMetaCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMetaCollectionResult> CreateMetaCollectionOutcome;
|
||||
typedef std::future<CreateMetaCollectionOutcome> CreateMetaCollectionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateMetaCollectionRequest&, const CreateMetaCollectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMetaCollectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePermissionApplyOrderResult> CreatePermissionApplyOrderOutcome;
|
||||
typedef std::future<CreatePermissionApplyOrderOutcome> CreatePermissionApplyOrderOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreatePermissionApplyOrderRequest&, const CreatePermissionApplyOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePermissionApplyOrderAsyncHandler;
|
||||
@@ -652,6 +676,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteMetaCategoryResult> DeleteMetaCategoryOutcome;
|
||||
typedef std::future<DeleteMetaCategoryOutcome> DeleteMetaCategoryOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteMetaCategoryRequest&, const DeleteMetaCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMetaCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMetaCollectionResult> DeleteMetaCollectionOutcome;
|
||||
typedef std::future<DeleteMetaCollectionOutcome> DeleteMetaCollectionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteMetaCollectionRequest&, const DeleteMetaCollectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMetaCollectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMetaCollectionEntityResult> DeleteMetaCollectionEntityOutcome;
|
||||
typedef std::future<DeleteMetaCollectionEntityOutcome> DeleteMetaCollectionEntityOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteMetaCollectionEntityRequest&, const DeleteMetaCollectionEntityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMetaCollectionEntityAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProjectMemberResult> DeleteProjectMemberOutcome;
|
||||
typedef std::future<DeleteProjectMemberOutcome> DeleteProjectMemberOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteProjectMemberRequest&, const DeleteProjectMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectMemberAsyncHandler;
|
||||
@@ -796,6 +826,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetMetaCategoryResult> GetMetaCategoryOutcome;
|
||||
typedef std::future<GetMetaCategoryOutcome> GetMetaCategoryOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetMetaCategoryRequest&, const GetMetaCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMetaCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMetaCollectionDetailResult> GetMetaCollectionDetailOutcome;
|
||||
typedef std::future<GetMetaCollectionDetailOutcome> GetMetaCollectionDetailOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetMetaCollectionDetailRequest&, const GetMetaCollectionDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMetaCollectionDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMetaColumnLineageResult> GetMetaColumnLineageOutcome;
|
||||
typedef std::future<GetMetaColumnLineageOutcome> GetMetaColumnLineageOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetMetaColumnLineageRequest&, const GetMetaColumnLineageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMetaColumnLineageAsyncHandler;
|
||||
@@ -832,6 +865,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetMetaTablePartitionResult> GetMetaTablePartitionOutcome;
|
||||
typedef std::future<GetMetaTablePartitionOutcome> GetMetaTablePartitionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetMetaTablePartitionRequest&, const GetMetaTablePartitionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMetaTablePartitionAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMetaTableProducingTasksResult> GetMetaTableProducingTasksOutcome;
|
||||
typedef std::future<GetMetaTableProducingTasksOutcome> GetMetaTableProducingTasksOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetMetaTableProducingTasksRequest&, const GetMetaTableProducingTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMetaTableProducingTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMetaTableThemeLevelResult> GetMetaTableThemeLevelOutcome;
|
||||
typedef std::future<GetMetaTableThemeLevelOutcome> GetMetaTableThemeLevelOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetMetaTableThemeLevelRequest&, const GetMetaTableThemeLevelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMetaTableThemeLevelAsyncHandler;
|
||||
@@ -994,6 +1030,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListManualDagInstancesResult> ListManualDagInstancesOutcome;
|
||||
typedef std::future<ListManualDagInstancesOutcome> ListManualDagInstancesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListManualDagInstancesRequest&, const ListManualDagInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListManualDagInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMetaCollectionEntitiesResult> ListMetaCollectionEntitiesOutcome;
|
||||
typedef std::future<ListMetaCollectionEntitiesOutcome> ListMetaCollectionEntitiesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListMetaCollectionEntitiesRequest&, const ListMetaCollectionEntitiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMetaCollectionEntitiesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMetaCollectionsResult> ListMetaCollectionsOutcome;
|
||||
typedef std::future<ListMetaCollectionsOutcome> ListMetaCollectionsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListMetaCollectionsRequest&, const ListMetaCollectionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMetaCollectionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMetaDBResult> ListMetaDBOutcome;
|
||||
typedef std::future<ListMetaDBOutcome> ListMetaDBOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListMetaDBRequest&, const ListMetaDBOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMetaDBAsyncHandler;
|
||||
@@ -1189,6 +1231,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateMetaCategoryResult> UpdateMetaCategoryOutcome;
|
||||
typedef std::future<UpdateMetaCategoryOutcome> UpdateMetaCategoryOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateMetaCategoryRequest&, const UpdateMetaCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMetaCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateMetaCollectionResult> UpdateMetaCollectionOutcome;
|
||||
typedef std::future<UpdateMetaCollectionOutcome> UpdateMetaCollectionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateMetaCollectionRequest&, const UpdateMetaCollectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMetaCollectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateMetaTableResult> UpdateMetaTableOutcome;
|
||||
typedef std::future<UpdateMetaTableOutcome> UpdateMetaTableOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateMetaTableRequest&, const UpdateMetaTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMetaTableAsyncHandler;
|
||||
@@ -1239,6 +1284,9 @@ namespace AlibabaCloud
|
||||
AbolishDataServiceApiOutcome abolishDataServiceApi(const Model::AbolishDataServiceApiRequest &request)const;
|
||||
void abolishDataServiceApiAsync(const Model::AbolishDataServiceApiRequest& request, const AbolishDataServiceApiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AbolishDataServiceApiOutcomeCallable abolishDataServiceApiCallable(const Model::AbolishDataServiceApiRequest& request) const;
|
||||
AddMetaCollectionEntityOutcome addMetaCollectionEntity(const Model::AddMetaCollectionEntityRequest &request)const;
|
||||
void addMetaCollectionEntityAsync(const Model::AddMetaCollectionEntityRequest& request, const AddMetaCollectionEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddMetaCollectionEntityOutcomeCallable addMetaCollectionEntityCallable(const Model::AddMetaCollectionEntityRequest& request) const;
|
||||
AddProjectMemberToRoleOutcome addProjectMemberToRole(const Model::AddProjectMemberToRoleRequest &request)const;
|
||||
void addProjectMemberToRoleAsync(const Model::AddProjectMemberToRoleRequest& request, const AddProjectMemberToRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddProjectMemberToRoleOutcomeCallable addProjectMemberToRoleCallable(const Model::AddProjectMemberToRoleRequest& request) const;
|
||||
@@ -1311,6 +1359,9 @@ namespace AlibabaCloud
|
||||
CreateMetaCategoryOutcome createMetaCategory(const Model::CreateMetaCategoryRequest &request)const;
|
||||
void createMetaCategoryAsync(const Model::CreateMetaCategoryRequest& request, const CreateMetaCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMetaCategoryOutcomeCallable createMetaCategoryCallable(const Model::CreateMetaCategoryRequest& request) const;
|
||||
CreateMetaCollectionOutcome createMetaCollection(const Model::CreateMetaCollectionRequest &request)const;
|
||||
void createMetaCollectionAsync(const Model::CreateMetaCollectionRequest& request, const CreateMetaCollectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMetaCollectionOutcomeCallable createMetaCollectionCallable(const Model::CreateMetaCollectionRequest& request) const;
|
||||
CreatePermissionApplyOrderOutcome createPermissionApplyOrder(const Model::CreatePermissionApplyOrderRequest &request)const;
|
||||
void createPermissionApplyOrderAsync(const Model::CreatePermissionApplyOrderRequest& request, const CreatePermissionApplyOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePermissionApplyOrderOutcomeCallable createPermissionApplyOrderCallable(const Model::CreatePermissionApplyOrderRequest& request) const;
|
||||
@@ -1377,6 +1428,12 @@ namespace AlibabaCloud
|
||||
DeleteMetaCategoryOutcome deleteMetaCategory(const Model::DeleteMetaCategoryRequest &request)const;
|
||||
void deleteMetaCategoryAsync(const Model::DeleteMetaCategoryRequest& request, const DeleteMetaCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMetaCategoryOutcomeCallable deleteMetaCategoryCallable(const Model::DeleteMetaCategoryRequest& request) const;
|
||||
DeleteMetaCollectionOutcome deleteMetaCollection(const Model::DeleteMetaCollectionRequest &request)const;
|
||||
void deleteMetaCollectionAsync(const Model::DeleteMetaCollectionRequest& request, const DeleteMetaCollectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMetaCollectionOutcomeCallable deleteMetaCollectionCallable(const Model::DeleteMetaCollectionRequest& request) const;
|
||||
DeleteMetaCollectionEntityOutcome deleteMetaCollectionEntity(const Model::DeleteMetaCollectionEntityRequest &request)const;
|
||||
void deleteMetaCollectionEntityAsync(const Model::DeleteMetaCollectionEntityRequest& request, const DeleteMetaCollectionEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMetaCollectionEntityOutcomeCallable deleteMetaCollectionEntityCallable(const Model::DeleteMetaCollectionEntityRequest& request) const;
|
||||
DeleteProjectMemberOutcome deleteProjectMember(const Model::DeleteProjectMemberRequest &request)const;
|
||||
void deleteProjectMemberAsync(const Model::DeleteProjectMemberRequest& request, const DeleteProjectMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteProjectMemberOutcomeCallable deleteProjectMemberCallable(const Model::DeleteProjectMemberRequest& request) const;
|
||||
@@ -1521,6 +1578,9 @@ namespace AlibabaCloud
|
||||
GetMetaCategoryOutcome getMetaCategory(const Model::GetMetaCategoryRequest &request)const;
|
||||
void getMetaCategoryAsync(const Model::GetMetaCategoryRequest& request, const GetMetaCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMetaCategoryOutcomeCallable getMetaCategoryCallable(const Model::GetMetaCategoryRequest& request) const;
|
||||
GetMetaCollectionDetailOutcome getMetaCollectionDetail(const Model::GetMetaCollectionDetailRequest &request)const;
|
||||
void getMetaCollectionDetailAsync(const Model::GetMetaCollectionDetailRequest& request, const GetMetaCollectionDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMetaCollectionDetailOutcomeCallable getMetaCollectionDetailCallable(const Model::GetMetaCollectionDetailRequest& request) const;
|
||||
GetMetaColumnLineageOutcome getMetaColumnLineage(const Model::GetMetaColumnLineageRequest &request)const;
|
||||
void getMetaColumnLineageAsync(const Model::GetMetaColumnLineageRequest& request, const GetMetaColumnLineageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMetaColumnLineageOutcomeCallable getMetaColumnLineageCallable(const Model::GetMetaColumnLineageRequest& request) const;
|
||||
@@ -1557,6 +1617,9 @@ namespace AlibabaCloud
|
||||
GetMetaTablePartitionOutcome getMetaTablePartition(const Model::GetMetaTablePartitionRequest &request)const;
|
||||
void getMetaTablePartitionAsync(const Model::GetMetaTablePartitionRequest& request, const GetMetaTablePartitionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMetaTablePartitionOutcomeCallable getMetaTablePartitionCallable(const Model::GetMetaTablePartitionRequest& request) const;
|
||||
GetMetaTableProducingTasksOutcome getMetaTableProducingTasks(const Model::GetMetaTableProducingTasksRequest &request)const;
|
||||
void getMetaTableProducingTasksAsync(const Model::GetMetaTableProducingTasksRequest& request, const GetMetaTableProducingTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMetaTableProducingTasksOutcomeCallable getMetaTableProducingTasksCallable(const Model::GetMetaTableProducingTasksRequest& request) const;
|
||||
GetMetaTableThemeLevelOutcome getMetaTableThemeLevel(const Model::GetMetaTableThemeLevelRequest &request)const;
|
||||
void getMetaTableThemeLevelAsync(const Model::GetMetaTableThemeLevelRequest& request, const GetMetaTableThemeLevelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMetaTableThemeLevelOutcomeCallable getMetaTableThemeLevelCallable(const Model::GetMetaTableThemeLevelRequest& request) const;
|
||||
@@ -1719,6 +1782,12 @@ namespace AlibabaCloud
|
||||
ListManualDagInstancesOutcome listManualDagInstances(const Model::ListManualDagInstancesRequest &request)const;
|
||||
void listManualDagInstancesAsync(const Model::ListManualDagInstancesRequest& request, const ListManualDagInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListManualDagInstancesOutcomeCallable listManualDagInstancesCallable(const Model::ListManualDagInstancesRequest& request) const;
|
||||
ListMetaCollectionEntitiesOutcome listMetaCollectionEntities(const Model::ListMetaCollectionEntitiesRequest &request)const;
|
||||
void listMetaCollectionEntitiesAsync(const Model::ListMetaCollectionEntitiesRequest& request, const ListMetaCollectionEntitiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMetaCollectionEntitiesOutcomeCallable listMetaCollectionEntitiesCallable(const Model::ListMetaCollectionEntitiesRequest& request) const;
|
||||
ListMetaCollectionsOutcome listMetaCollections(const Model::ListMetaCollectionsRequest &request)const;
|
||||
void listMetaCollectionsAsync(const Model::ListMetaCollectionsRequest& request, const ListMetaCollectionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMetaCollectionsOutcomeCallable listMetaCollectionsCallable(const Model::ListMetaCollectionsRequest& request) const;
|
||||
ListMetaDBOutcome listMetaDB(const Model::ListMetaDBRequest &request)const;
|
||||
void listMetaDBAsync(const Model::ListMetaDBRequest& request, const ListMetaDBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMetaDBOutcomeCallable listMetaDBCallable(const Model::ListMetaDBRequest& request) const;
|
||||
@@ -1914,6 +1983,9 @@ namespace AlibabaCloud
|
||||
UpdateMetaCategoryOutcome updateMetaCategory(const Model::UpdateMetaCategoryRequest &request)const;
|
||||
void updateMetaCategoryAsync(const Model::UpdateMetaCategoryRequest& request, const UpdateMetaCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMetaCategoryOutcomeCallable updateMetaCategoryCallable(const Model::UpdateMetaCategoryRequest& request) const;
|
||||
UpdateMetaCollectionOutcome updateMetaCollection(const Model::UpdateMetaCollectionRequest &request)const;
|
||||
void updateMetaCollectionAsync(const Model::UpdateMetaCollectionRequest& request, const UpdateMetaCollectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMetaCollectionOutcomeCallable updateMetaCollectionCallable(const Model::UpdateMetaCollectionRequest& request) const;
|
||||
UpdateMetaTableOutcome updateMetaTable(const Model::UpdateMetaTableRequest &request)const;
|
||||
void updateMetaTableAsync(const Model::UpdateMetaTableRequest& request, const UpdateMetaTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMetaTableOutcomeCallable updateMetaTableCallable(const Model::UpdateMetaTableRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDMETACOLLECTIONENTITYREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDMETACOLLECTIONENTITYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddMetaCollectionEntityRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AddMetaCollectionEntityRequest();
|
||||
~AddMetaCollectionEntityRequest();
|
||||
std::string getEntityQualifiedName() const;
|
||||
void setEntityQualifiedName(const std::string &entityQualifiedName);
|
||||
std::string getCollectionQualifiedName() const;
|
||||
void setCollectionQualifiedName(const std::string &collectionQualifiedName);
|
||||
|
||||
private:
|
||||
std::string entityQualifiedName_;
|
||||
std::string collectionQualifiedName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDMETACOLLECTIONENTITYREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDMETACOLLECTIONENTITYRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDMETACOLLECTIONENTITYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddMetaCollectionEntityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddMetaCollectionEntityResult();
|
||||
explicit AddMetaCollectionEntityResult(const std::string &payload);
|
||||
~AddMetaCollectionEntityResult();
|
||||
bool getStatus()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool status_;
|
||||
int httpStatusCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDMETACOLLECTIONENTITYRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACOLLECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACOLLECTIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateMetaCollectionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateMetaCollectionRequest();
|
||||
~CreateMetaCollectionRequest();
|
||||
std::string getParentQualifiedName() const;
|
||||
void setParentQualifiedName(const std::string &parentQualifiedName);
|
||||
std::string getCollectionType() const;
|
||||
void setCollectionType(const std::string &collectionType);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getComment() const;
|
||||
void setComment(const std::string &comment);
|
||||
|
||||
private:
|
||||
std::string parentQualifiedName_;
|
||||
std::string collectionType_;
|
||||
std::string name_;
|
||||
std::string comment_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACOLLECTIONREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACOLLECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACOLLECTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateMetaCollectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateMetaCollectionResult();
|
||||
explicit CreateMetaCollectionResult(const std::string &payload);
|
||||
~CreateMetaCollectionResult();
|
||||
std::string getQualifiedName()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string qualifiedName_;
|
||||
std::string httpStatusCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
std::string success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACOLLECTIONRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONENTITYREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONENTITYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteMetaCollectionEntityRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteMetaCollectionEntityRequest();
|
||||
~DeleteMetaCollectionEntityRequest();
|
||||
std::string getEntityQualifiedName() const;
|
||||
void setEntityQualifiedName(const std::string &entityQualifiedName);
|
||||
std::string getCollectionQualifiedName() const;
|
||||
void setCollectionQualifiedName(const std::string &collectionQualifiedName);
|
||||
|
||||
private:
|
||||
std::string entityQualifiedName_;
|
||||
std::string collectionQualifiedName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONENTITYREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONENTITYRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONENTITYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteMetaCollectionEntityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteMetaCollectionEntityResult();
|
||||
explicit DeleteMetaCollectionEntityResult(const std::string &payload);
|
||||
~DeleteMetaCollectionEntityResult();
|
||||
bool getStatus()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool status_;
|
||||
int httpStatusCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONENTITYRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteMetaCollectionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteMetaCollectionRequest();
|
||||
~DeleteMetaCollectionRequest();
|
||||
std::string getQualifiedName() const;
|
||||
void setQualifiedName(const std::string &qualifiedName);
|
||||
|
||||
private:
|
||||
std::string qualifiedName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteMetaCollectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteMetaCollectionResult();
|
||||
explicit DeleteMetaCollectionResult(const std::string &payload);
|
||||
~DeleteMetaCollectionResult();
|
||||
bool getStatus()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool status_;
|
||||
int httpStatusCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACOLLECTIONRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLLECTIONDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLLECTIONDETAILREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaCollectionDetailRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetMetaCollectionDetailRequest();
|
||||
~GetMetaCollectionDetailRequest();
|
||||
std::string getQualifiedName() const;
|
||||
void setQualifiedName(const std::string &qualifiedName);
|
||||
|
||||
private:
|
||||
std::string qualifiedName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLLECTIONDETAILREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLLECTIONDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLLECTIONDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaCollectionDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Collection
|
||||
{
|
||||
std::string comment;
|
||||
std::string ownerName;
|
||||
std::string ownerId;
|
||||
std::string qualifiedName;
|
||||
std::string collectionType;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
int level;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetMetaCollectionDetailResult();
|
||||
explicit GetMetaCollectionDetailResult(const std::string &payload);
|
||||
~GetMetaCollectionDetailResult();
|
||||
int getHttpStatusCode()const;
|
||||
Collection getCollection()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
Collection collection_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLLECTIONDETAILRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPRODUCINGTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPRODUCINGTASKSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableProducingTasksRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetMetaTableProducingTasksRequest();
|
||||
~GetMetaTableProducingTasksRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::string getSchemaName() const;
|
||||
void setSchemaName(const std::string &schemaName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getDbName() const;
|
||||
void setDbName(const std::string &dbName);
|
||||
std::string getTableGuid() const;
|
||||
void setTableGuid(const std::string &tableGuid);
|
||||
std::string getTableName() const;
|
||||
void setTableName(const std::string &tableName);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::string schemaName_;
|
||||
std::string clusterId_;
|
||||
std::string dbName_;
|
||||
std::string tableGuid_;
|
||||
std::string tableName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPRODUCINGTASKSREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPRODUCINGTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPRODUCINGTASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableProducingTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
std::string taskId;
|
||||
std::string taskName;
|
||||
};
|
||||
|
||||
|
||||
GetMetaTableProducingTasksResult();
|
||||
explicit GetMetaTableProducingTasksResult(const std::string &payload);
|
||||
~GetMetaTableProducingTasksResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::vector<DataItem> data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPRODUCINGTASKSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONENTITIESREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONENTITIESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListMetaCollectionEntitiesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListMetaCollectionEntitiesRequest();
|
||||
~ListMetaCollectionEntitiesRequest();
|
||||
std::string getCollectionQualifiedName() const;
|
||||
void setCollectionQualifiedName(const std::string &collectionQualifiedName);
|
||||
std::string getEntityType() const;
|
||||
void setEntityType(const std::string &entityType);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getKeyword() const;
|
||||
void setKeyword(const std::string &keyword);
|
||||
|
||||
private:
|
||||
std::string collectionQualifiedName_;
|
||||
std::string entityType_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
std::string keyword_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONENTITIESREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONENTITIESRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONENTITIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListMetaCollectionEntitiesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct EntityListItem
|
||||
{
|
||||
std::string entityContent;
|
||||
long tenantId;
|
||||
std::string qualifiedName;
|
||||
};
|
||||
std::string nextToken;
|
||||
std::vector<EntityListItem> entityList;
|
||||
};
|
||||
|
||||
|
||||
ListMetaCollectionEntitiesResult();
|
||||
explicit ListMetaCollectionEntitiesResult(const std::string &payload);
|
||||
~ListMetaCollectionEntitiesResult();
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONENTITIESRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListMetaCollectionsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListMetaCollectionsRequest();
|
||||
~ListMetaCollectionsRequest();
|
||||
std::string getCreator() const;
|
||||
void setCreator(const std::string &creator);
|
||||
std::string getFollower() const;
|
||||
void setFollower(const std::string &follower);
|
||||
std::string getParentQualifiedName() const;
|
||||
void setParentQualifiedName(const std::string &parentQualifiedName);
|
||||
std::string getOrderBy() const;
|
||||
void setOrderBy(const std::string &orderBy);
|
||||
std::string getCollectionType() const;
|
||||
void setCollectionType(const std::string &collectionType);
|
||||
std::string getAdministrator() const;
|
||||
void setAdministrator(const std::string &administrator);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getKeyword() const;
|
||||
void setKeyword(const std::string &keyword);
|
||||
|
||||
private:
|
||||
std::string creator_;
|
||||
std::string follower_;
|
||||
std::string parentQualifiedName_;
|
||||
std::string orderBy_;
|
||||
std::string collectionType_;
|
||||
std::string administrator_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
std::string keyword_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONSREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListMetaCollectionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CollectionListItem
|
||||
{
|
||||
std::string comment;
|
||||
std::string ownerName;
|
||||
std::string ownerId;
|
||||
std::string qualifiedName;
|
||||
std::string collectionType;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
int level;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<CollectionListItem> collectionList;
|
||||
std::string nextToken;
|
||||
};
|
||||
|
||||
|
||||
ListMetaCollectionsResult();
|
||||
explicit ListMetaCollectionsResult(const std::string &payload);
|
||||
~ListMetaCollectionsResult();
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETACOLLECTIONSRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACOLLECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACOLLECTIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaCollectionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateMetaCollectionRequest();
|
||||
~UpdateMetaCollectionRequest();
|
||||
std::string getQualifiedName() const;
|
||||
void setQualifiedName(const std::string &qualifiedName);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getComment() const;
|
||||
void setComment(const std::string &comment);
|
||||
|
||||
private:
|
||||
std::string qualifiedName_;
|
||||
std::string name_;
|
||||
std::string comment_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACOLLECTIONREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACOLLECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACOLLECTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaCollectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateMetaCollectionResult();
|
||||
explicit UpdateMetaCollectionResult(const std::string &payload);
|
||||
~UpdateMetaCollectionResult();
|
||||
bool getStatus()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool status_;
|
||||
int httpStatusCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACOLLECTIONRESULT_H_
|
||||
@@ -87,6 +87,42 @@ Dataworks_publicClient::AbolishDataServiceApiOutcomeCallable Dataworks_publicCli
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::AddMetaCollectionEntityOutcome Dataworks_publicClient::addMetaCollectionEntity(const AddMetaCollectionEntityRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddMetaCollectionEntityOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddMetaCollectionEntityOutcome(AddMetaCollectionEntityResult(outcome.result()));
|
||||
else
|
||||
return AddMetaCollectionEntityOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::addMetaCollectionEntityAsync(const AddMetaCollectionEntityRequest& request, const AddMetaCollectionEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addMetaCollectionEntity(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::AddMetaCollectionEntityOutcomeCallable Dataworks_publicClient::addMetaCollectionEntityCallable(const AddMetaCollectionEntityRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddMetaCollectionEntityOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addMetaCollectionEntity(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::AddProjectMemberToRoleOutcome Dataworks_publicClient::addProjectMemberToRole(const AddProjectMemberToRoleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -951,6 +987,42 @@ Dataworks_publicClient::CreateMetaCategoryOutcomeCallable Dataworks_publicClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateMetaCollectionOutcome Dataworks_publicClient::createMetaCollection(const CreateMetaCollectionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateMetaCollectionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateMetaCollectionOutcome(CreateMetaCollectionResult(outcome.result()));
|
||||
else
|
||||
return CreateMetaCollectionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::createMetaCollectionAsync(const CreateMetaCollectionRequest& request, const CreateMetaCollectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createMetaCollection(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateMetaCollectionOutcomeCallable Dataworks_publicClient::createMetaCollectionCallable(const CreateMetaCollectionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateMetaCollectionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createMetaCollection(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreatePermissionApplyOrderOutcome Dataworks_publicClient::createPermissionApplyOrder(const CreatePermissionApplyOrderRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1743,6 +1815,78 @@ Dataworks_publicClient::DeleteMetaCategoryOutcomeCallable Dataworks_publicClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteMetaCollectionOutcome Dataworks_publicClient::deleteMetaCollection(const DeleteMetaCollectionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteMetaCollectionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteMetaCollectionOutcome(DeleteMetaCollectionResult(outcome.result()));
|
||||
else
|
||||
return DeleteMetaCollectionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::deleteMetaCollectionAsync(const DeleteMetaCollectionRequest& request, const DeleteMetaCollectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteMetaCollection(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteMetaCollectionOutcomeCallable Dataworks_publicClient::deleteMetaCollectionCallable(const DeleteMetaCollectionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteMetaCollectionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteMetaCollection(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteMetaCollectionEntityOutcome Dataworks_publicClient::deleteMetaCollectionEntity(const DeleteMetaCollectionEntityRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteMetaCollectionEntityOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteMetaCollectionEntityOutcome(DeleteMetaCollectionEntityResult(outcome.result()));
|
||||
else
|
||||
return DeleteMetaCollectionEntityOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::deleteMetaCollectionEntityAsync(const DeleteMetaCollectionEntityRequest& request, const DeleteMetaCollectionEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteMetaCollectionEntity(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteMetaCollectionEntityOutcomeCallable Dataworks_publicClient::deleteMetaCollectionEntityCallable(const DeleteMetaCollectionEntityRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteMetaCollectionEntityOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteMetaCollectionEntity(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteProjectMemberOutcome Dataworks_publicClient::deleteProjectMember(const DeleteProjectMemberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3471,6 +3615,42 @@ Dataworks_publicClient::GetMetaCategoryOutcomeCallable Dataworks_publicClient::g
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetMetaCollectionDetailOutcome Dataworks_publicClient::getMetaCollectionDetail(const GetMetaCollectionDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMetaCollectionDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMetaCollectionDetailOutcome(GetMetaCollectionDetailResult(outcome.result()));
|
||||
else
|
||||
return GetMetaCollectionDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::getMetaCollectionDetailAsync(const GetMetaCollectionDetailRequest& request, const GetMetaCollectionDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMetaCollectionDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetMetaCollectionDetailOutcomeCallable Dataworks_publicClient::getMetaCollectionDetailCallable(const GetMetaCollectionDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMetaCollectionDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMetaCollectionDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetMetaColumnLineageOutcome Dataworks_publicClient::getMetaColumnLineage(const GetMetaColumnLineageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3903,6 +4083,42 @@ Dataworks_publicClient::GetMetaTablePartitionOutcomeCallable Dataworks_publicCli
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetMetaTableProducingTasksOutcome Dataworks_publicClient::getMetaTableProducingTasks(const GetMetaTableProducingTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMetaTableProducingTasksOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMetaTableProducingTasksOutcome(GetMetaTableProducingTasksResult(outcome.result()));
|
||||
else
|
||||
return GetMetaTableProducingTasksOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::getMetaTableProducingTasksAsync(const GetMetaTableProducingTasksRequest& request, const GetMetaTableProducingTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMetaTableProducingTasks(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetMetaTableProducingTasksOutcomeCallable Dataworks_publicClient::getMetaTableProducingTasksCallable(const GetMetaTableProducingTasksRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMetaTableProducingTasksOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMetaTableProducingTasks(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetMetaTableThemeLevelOutcome Dataworks_publicClient::getMetaTableThemeLevel(const GetMetaTableThemeLevelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5847,6 +6063,78 @@ Dataworks_publicClient::ListManualDagInstancesOutcomeCallable Dataworks_publicCl
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListMetaCollectionEntitiesOutcome Dataworks_publicClient::listMetaCollectionEntities(const ListMetaCollectionEntitiesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListMetaCollectionEntitiesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListMetaCollectionEntitiesOutcome(ListMetaCollectionEntitiesResult(outcome.result()));
|
||||
else
|
||||
return ListMetaCollectionEntitiesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listMetaCollectionEntitiesAsync(const ListMetaCollectionEntitiesRequest& request, const ListMetaCollectionEntitiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listMetaCollectionEntities(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListMetaCollectionEntitiesOutcomeCallable Dataworks_publicClient::listMetaCollectionEntitiesCallable(const ListMetaCollectionEntitiesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListMetaCollectionEntitiesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listMetaCollectionEntities(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListMetaCollectionsOutcome Dataworks_publicClient::listMetaCollections(const ListMetaCollectionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListMetaCollectionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListMetaCollectionsOutcome(ListMetaCollectionsResult(outcome.result()));
|
||||
else
|
||||
return ListMetaCollectionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listMetaCollectionsAsync(const ListMetaCollectionsRequest& request, const ListMetaCollectionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listMetaCollections(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListMetaCollectionsOutcomeCallable Dataworks_publicClient::listMetaCollectionsCallable(const ListMetaCollectionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListMetaCollectionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listMetaCollections(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListMetaDBOutcome Dataworks_publicClient::listMetaDB(const ListMetaDBRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -8187,6 +8475,42 @@ Dataworks_publicClient::UpdateMetaCategoryOutcomeCallable Dataworks_publicClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateMetaCollectionOutcome Dataworks_publicClient::updateMetaCollection(const UpdateMetaCollectionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateMetaCollectionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateMetaCollectionOutcome(UpdateMetaCollectionResult(outcome.result()));
|
||||
else
|
||||
return UpdateMetaCollectionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::updateMetaCollectionAsync(const UpdateMetaCollectionRequest& request, const UpdateMetaCollectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateMetaCollection(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateMetaCollectionOutcomeCallable Dataworks_publicClient::updateMetaCollectionCallable(const UpdateMetaCollectionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateMetaCollectionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateMetaCollection(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateMetaTableOutcome Dataworks_publicClient::updateMetaTable(const UpdateMetaTableRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
45
dataworks-public/src/model/AddMetaCollectionEntityRequest.cc
Normal file
45
dataworks-public/src/model/AddMetaCollectionEntityRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/AddMetaCollectionEntityRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::AddMetaCollectionEntityRequest;
|
||||
|
||||
AddMetaCollectionEntityRequest::AddMetaCollectionEntityRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "AddMetaCollectionEntity") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddMetaCollectionEntityRequest::~AddMetaCollectionEntityRequest() {}
|
||||
|
||||
std::string AddMetaCollectionEntityRequest::getEntityQualifiedName() const {
|
||||
return entityQualifiedName_;
|
||||
}
|
||||
|
||||
void AddMetaCollectionEntityRequest::setEntityQualifiedName(const std::string &entityQualifiedName) {
|
||||
entityQualifiedName_ = entityQualifiedName;
|
||||
setParameter(std::string("EntityQualifiedName"), entityQualifiedName);
|
||||
}
|
||||
|
||||
std::string AddMetaCollectionEntityRequest::getCollectionQualifiedName() const {
|
||||
return collectionQualifiedName_;
|
||||
}
|
||||
|
||||
void AddMetaCollectionEntityRequest::setCollectionQualifiedName(const std::string &collectionQualifiedName) {
|
||||
collectionQualifiedName_ = collectionQualifiedName;
|
||||
setParameter(std::string("CollectionQualifiedName"), collectionQualifiedName);
|
||||
}
|
||||
|
||||
79
dataworks-public/src/model/AddMetaCollectionEntityResult.cc
Normal file
79
dataworks-public/src/model/AddMetaCollectionEntityResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/AddMetaCollectionEntityResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
AddMetaCollectionEntityResult::AddMetaCollectionEntityResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddMetaCollectionEntityResult::AddMetaCollectionEntityResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddMetaCollectionEntityResult::~AddMetaCollectionEntityResult()
|
||||
{}
|
||||
|
||||
void AddMetaCollectionEntityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString() == "true";
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool AddMetaCollectionEntityResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
int AddMetaCollectionEntityResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string AddMetaCollectionEntityResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string AddMetaCollectionEntityResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool AddMetaCollectionEntityResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
63
dataworks-public/src/model/CreateMetaCollectionRequest.cc
Normal file
63
dataworks-public/src/model/CreateMetaCollectionRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateMetaCollectionRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::CreateMetaCollectionRequest;
|
||||
|
||||
CreateMetaCollectionRequest::CreateMetaCollectionRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateMetaCollection") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateMetaCollectionRequest::~CreateMetaCollectionRequest() {}
|
||||
|
||||
std::string CreateMetaCollectionRequest::getParentQualifiedName() const {
|
||||
return parentQualifiedName_;
|
||||
}
|
||||
|
||||
void CreateMetaCollectionRequest::setParentQualifiedName(const std::string &parentQualifiedName) {
|
||||
parentQualifiedName_ = parentQualifiedName;
|
||||
setParameter(std::string("ParentQualifiedName"), parentQualifiedName);
|
||||
}
|
||||
|
||||
std::string CreateMetaCollectionRequest::getCollectionType() const {
|
||||
return collectionType_;
|
||||
}
|
||||
|
||||
void CreateMetaCollectionRequest::setCollectionType(const std::string &collectionType) {
|
||||
collectionType_ = collectionType;
|
||||
setParameter(std::string("CollectionType"), collectionType);
|
||||
}
|
||||
|
||||
std::string CreateMetaCollectionRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateMetaCollectionRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
std::string CreateMetaCollectionRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateMetaCollectionRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
79
dataworks-public/src/model/CreateMetaCollectionResult.cc
Normal file
79
dataworks-public/src/model/CreateMetaCollectionResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateMetaCollectionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateMetaCollectionResult::CreateMetaCollectionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateMetaCollectionResult::CreateMetaCollectionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateMetaCollectionResult::~CreateMetaCollectionResult()
|
||||
{}
|
||||
|
||||
void CreateMetaCollectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["QualifiedName"].isNull())
|
||||
qualifiedName_ = value["QualifiedName"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateMetaCollectionResult::getQualifiedName()const
|
||||
{
|
||||
return qualifiedName_;
|
||||
}
|
||||
|
||||
std::string CreateMetaCollectionResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateMetaCollectionResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateMetaCollectionResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string CreateMetaCollectionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteMetaCollectionEntityRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::DeleteMetaCollectionEntityRequest;
|
||||
|
||||
DeleteMetaCollectionEntityRequest::DeleteMetaCollectionEntityRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteMetaCollectionEntity") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMetaCollectionEntityRequest::~DeleteMetaCollectionEntityRequest() {}
|
||||
|
||||
std::string DeleteMetaCollectionEntityRequest::getEntityQualifiedName() const {
|
||||
return entityQualifiedName_;
|
||||
}
|
||||
|
||||
void DeleteMetaCollectionEntityRequest::setEntityQualifiedName(const std::string &entityQualifiedName) {
|
||||
entityQualifiedName_ = entityQualifiedName;
|
||||
setParameter(std::string("EntityQualifiedName"), entityQualifiedName);
|
||||
}
|
||||
|
||||
std::string DeleteMetaCollectionEntityRequest::getCollectionQualifiedName() const {
|
||||
return collectionQualifiedName_;
|
||||
}
|
||||
|
||||
void DeleteMetaCollectionEntityRequest::setCollectionQualifiedName(const std::string &collectionQualifiedName) {
|
||||
collectionQualifiedName_ = collectionQualifiedName;
|
||||
setParameter(std::string("CollectionQualifiedName"), collectionQualifiedName);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteMetaCollectionEntityResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteMetaCollectionEntityResult::DeleteMetaCollectionEntityResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMetaCollectionEntityResult::DeleteMetaCollectionEntityResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMetaCollectionEntityResult::~DeleteMetaCollectionEntityResult()
|
||||
{}
|
||||
|
||||
void DeleteMetaCollectionEntityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString() == "true";
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool DeleteMetaCollectionEntityResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
int DeleteMetaCollectionEntityResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DeleteMetaCollectionEntityResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteMetaCollectionEntityResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteMetaCollectionEntityResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
36
dataworks-public/src/model/DeleteMetaCollectionRequest.cc
Normal file
36
dataworks-public/src/model/DeleteMetaCollectionRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteMetaCollectionRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::DeleteMetaCollectionRequest;
|
||||
|
||||
DeleteMetaCollectionRequest::DeleteMetaCollectionRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteMetaCollection") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMetaCollectionRequest::~DeleteMetaCollectionRequest() {}
|
||||
|
||||
std::string DeleteMetaCollectionRequest::getQualifiedName() const {
|
||||
return qualifiedName_;
|
||||
}
|
||||
|
||||
void DeleteMetaCollectionRequest::setQualifiedName(const std::string &qualifiedName) {
|
||||
qualifiedName_ = qualifiedName;
|
||||
setParameter(std::string("QualifiedName"), qualifiedName);
|
||||
}
|
||||
|
||||
79
dataworks-public/src/model/DeleteMetaCollectionResult.cc
Normal file
79
dataworks-public/src/model/DeleteMetaCollectionResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteMetaCollectionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteMetaCollectionResult::DeleteMetaCollectionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMetaCollectionResult::DeleteMetaCollectionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMetaCollectionResult::~DeleteMetaCollectionResult()
|
||||
{}
|
||||
|
||||
void DeleteMetaCollectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString() == "true";
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool DeleteMetaCollectionResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
int DeleteMetaCollectionResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DeleteMetaCollectionResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteMetaCollectionResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteMetaCollectionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
36
dataworks-public/src/model/GetMetaCollectionDetailRequest.cc
Normal file
36
dataworks-public/src/model/GetMetaCollectionDetailRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetMetaCollectionDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::GetMetaCollectionDetailRequest;
|
||||
|
||||
GetMetaCollectionDetailRequest::GetMetaCollectionDetailRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaCollectionDetail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetMetaCollectionDetailRequest::~GetMetaCollectionDetailRequest() {}
|
||||
|
||||
std::string GetMetaCollectionDetailRequest::getQualifiedName() const {
|
||||
return qualifiedName_;
|
||||
}
|
||||
|
||||
void GetMetaCollectionDetailRequest::setQualifiedName(const std::string &qualifiedName) {
|
||||
qualifiedName_ = qualifiedName;
|
||||
setParameter(std::string("QualifiedName"), qualifiedName);
|
||||
}
|
||||
|
||||
96
dataworks-public/src/model/GetMetaCollectionDetailResult.cc
Normal file
96
dataworks-public/src/model/GetMetaCollectionDetailResult.cc
Normal file
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetMetaCollectionDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
GetMetaCollectionDetailResult::GetMetaCollectionDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetMetaCollectionDetailResult::GetMetaCollectionDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetMetaCollectionDetailResult::~GetMetaCollectionDetailResult()
|
||||
{}
|
||||
|
||||
void GetMetaCollectionDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto collectionNode = value["Collection"];
|
||||
if(!collectionNode["QualifiedName"].isNull())
|
||||
collection_.qualifiedName = collectionNode["QualifiedName"].asString();
|
||||
if(!collectionNode["CollectionType"].isNull())
|
||||
collection_.collectionType = collectionNode["CollectionType"].asString();
|
||||
if(!collectionNode["Name"].isNull())
|
||||
collection_.name = collectionNode["Name"].asString();
|
||||
if(!collectionNode["Comment"].isNull())
|
||||
collection_.comment = collectionNode["Comment"].asString();
|
||||
if(!collectionNode["OwnerId"].isNull())
|
||||
collection_.ownerId = collectionNode["OwnerId"].asString();
|
||||
if(!collectionNode["OwnerName"].isNull())
|
||||
collection_.ownerName = collectionNode["OwnerName"].asString();
|
||||
if(!collectionNode["CreateTime"].isNull())
|
||||
collection_.createTime = std::stol(collectionNode["CreateTime"].asString());
|
||||
if(!collectionNode["UpdateTime"].isNull())
|
||||
collection_.updateTime = std::stol(collectionNode["UpdateTime"].asString());
|
||||
if(!collectionNode["Level"].isNull())
|
||||
collection_.level = std::stoi(collectionNode["Level"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int GetMetaCollectionDetailResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
GetMetaCollectionDetailResult::Collection GetMetaCollectionDetailResult::getCollection()const
|
||||
{
|
||||
return collection_;
|
||||
}
|
||||
|
||||
std::string GetMetaCollectionDetailResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetMetaCollectionDetailResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetMetaCollectionDetailResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetMetaTableProducingTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::GetMetaTableProducingTasksRequest;
|
||||
|
||||
GetMetaTableProducingTasksRequest::GetMetaTableProducingTasksRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableProducingTasks") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetMetaTableProducingTasksRequest::~GetMetaTableProducingTasksRequest() {}
|
||||
|
||||
std::string GetMetaTableProducingTasksRequest::getDataSourceType() const {
|
||||
return dataSourceType_;
|
||||
}
|
||||
|
||||
void GetMetaTableProducingTasksRequest::setDataSourceType(const std::string &dataSourceType) {
|
||||
dataSourceType_ = dataSourceType;
|
||||
setParameter(std::string("DataSourceType"), dataSourceType);
|
||||
}
|
||||
|
||||
std::string GetMetaTableProducingTasksRequest::getSchemaName() const {
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void GetMetaTableProducingTasksRequest::setSchemaName(const std::string &schemaName) {
|
||||
schemaName_ = schemaName;
|
||||
setParameter(std::string("SchemaName"), schemaName);
|
||||
}
|
||||
|
||||
std::string GetMetaTableProducingTasksRequest::getClusterId() const {
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetMetaTableProducingTasksRequest::setClusterId(const std::string &clusterId) {
|
||||
clusterId_ = clusterId;
|
||||
setParameter(std::string("ClusterId"), clusterId);
|
||||
}
|
||||
|
||||
std::string GetMetaTableProducingTasksRequest::getDbName() const {
|
||||
return dbName_;
|
||||
}
|
||||
|
||||
void GetMetaTableProducingTasksRequest::setDbName(const std::string &dbName) {
|
||||
dbName_ = dbName;
|
||||
setParameter(std::string("DbName"), dbName);
|
||||
}
|
||||
|
||||
std::string GetMetaTableProducingTasksRequest::getTableGuid() const {
|
||||
return tableGuid_;
|
||||
}
|
||||
|
||||
void GetMetaTableProducingTasksRequest::setTableGuid(const std::string &tableGuid) {
|
||||
tableGuid_ = tableGuid;
|
||||
setParameter(std::string("TableGuid"), tableGuid);
|
||||
}
|
||||
|
||||
std::string GetMetaTableProducingTasksRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void GetMetaTableProducingTasksRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetMetaTableProducingTasksResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
GetMetaTableProducingTasksResult::GetMetaTableProducingTasksResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetMetaTableProducingTasksResult::GetMetaTableProducingTasksResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetMetaTableProducingTasksResult::~GetMetaTableProducingTasksResult()
|
||||
{}
|
||||
|
||||
void GetMetaTableProducingTasksResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["DataItem"];
|
||||
for (auto valueDataDataItem : allDataNode)
|
||||
{
|
||||
DataItem dataObject;
|
||||
if(!valueDataDataItem["TaskId"].isNull())
|
||||
dataObject.taskId = valueDataDataItem["TaskId"].asString();
|
||||
if(!valueDataDataItem["TaskName"].isNull())
|
||||
dataObject.taskName = valueDataDataItem["TaskName"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
int GetMetaTableProducingTasksResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<GetMetaTableProducingTasksResult::DataItem> GetMetaTableProducingTasksResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetMetaTableProducingTasksResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetMetaTableProducingTasksResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetMetaTableProducingTasksResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListMetaCollectionEntitiesRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListMetaCollectionEntitiesRequest;
|
||||
|
||||
ListMetaCollectionEntitiesRequest::ListMetaCollectionEntitiesRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListMetaCollectionEntities") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListMetaCollectionEntitiesRequest::~ListMetaCollectionEntitiesRequest() {}
|
||||
|
||||
std::string ListMetaCollectionEntitiesRequest::getCollectionQualifiedName() const {
|
||||
return collectionQualifiedName_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionEntitiesRequest::setCollectionQualifiedName(const std::string &collectionQualifiedName) {
|
||||
collectionQualifiedName_ = collectionQualifiedName;
|
||||
setParameter(std::string("CollectionQualifiedName"), collectionQualifiedName);
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionEntitiesRequest::getEntityType() const {
|
||||
return entityType_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionEntitiesRequest::setEntityType(const std::string &entityType) {
|
||||
entityType_ = entityType;
|
||||
setParameter(std::string("EntityType"), entityType);
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionEntitiesRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionEntitiesRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
int ListMetaCollectionEntitiesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionEntitiesRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionEntitiesRequest::getKeyword() const {
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionEntitiesRequest::setKeyword(const std::string &keyword) {
|
||||
keyword_ = keyword;
|
||||
setParameter(std::string("Keyword"), keyword);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListMetaCollectionEntitiesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListMetaCollectionEntitiesResult::ListMetaCollectionEntitiesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListMetaCollectionEntitiesResult::ListMetaCollectionEntitiesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListMetaCollectionEntitiesResult::~ListMetaCollectionEntitiesResult()
|
||||
{}
|
||||
|
||||
void ListMetaCollectionEntitiesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["NextToken"].isNull())
|
||||
data_.nextToken = dataNode["NextToken"].asString();
|
||||
auto allEntityListNode = dataNode["EntityList"]["EntityListItem"];
|
||||
for (auto dataNodeEntityListEntityListItem : allEntityListNode)
|
||||
{
|
||||
Data::EntityListItem entityListItemObject;
|
||||
if(!dataNodeEntityListEntityListItem["QualifiedName"].isNull())
|
||||
entityListItemObject.qualifiedName = dataNodeEntityListEntityListItem["QualifiedName"].asString();
|
||||
if(!dataNodeEntityListEntityListItem["TenantId"].isNull())
|
||||
entityListItemObject.tenantId = std::stol(dataNodeEntityListEntityListItem["TenantId"].asString());
|
||||
if(!dataNodeEntityListEntityListItem["EntityContent"].isNull())
|
||||
entityListItemObject.entityContent = dataNodeEntityListEntityListItem["EntityContent"].asString();
|
||||
data_.entityList.push_back(entityListItemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int ListMetaCollectionEntitiesResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListMetaCollectionEntitiesResult::Data ListMetaCollectionEntitiesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionEntitiesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionEntitiesResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListMetaCollectionEntitiesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
108
dataworks-public/src/model/ListMetaCollectionsRequest.cc
Normal file
108
dataworks-public/src/model/ListMetaCollectionsRequest.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListMetaCollectionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListMetaCollectionsRequest;
|
||||
|
||||
ListMetaCollectionsRequest::ListMetaCollectionsRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListMetaCollections") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListMetaCollectionsRequest::~ListMetaCollectionsRequest() {}
|
||||
|
||||
std::string ListMetaCollectionsRequest::getCreator() const {
|
||||
return creator_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionsRequest::setCreator(const std::string &creator) {
|
||||
creator_ = creator;
|
||||
setParameter(std::string("Creator"), creator);
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionsRequest::getFollower() const {
|
||||
return follower_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionsRequest::setFollower(const std::string &follower) {
|
||||
follower_ = follower;
|
||||
setParameter(std::string("Follower"), follower);
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionsRequest::getParentQualifiedName() const {
|
||||
return parentQualifiedName_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionsRequest::setParentQualifiedName(const std::string &parentQualifiedName) {
|
||||
parentQualifiedName_ = parentQualifiedName;
|
||||
setParameter(std::string("ParentQualifiedName"), parentQualifiedName);
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionsRequest::getOrderBy() const {
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionsRequest::setOrderBy(const std::string &orderBy) {
|
||||
orderBy_ = orderBy;
|
||||
setParameter(std::string("OrderBy"), orderBy);
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionsRequest::getCollectionType() const {
|
||||
return collectionType_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionsRequest::setCollectionType(const std::string &collectionType) {
|
||||
collectionType_ = collectionType;
|
||||
setParameter(std::string("CollectionType"), collectionType);
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionsRequest::getAdministrator() const {
|
||||
return administrator_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionsRequest::setAdministrator(const std::string &administrator) {
|
||||
administrator_ = administrator;
|
||||
setParameter(std::string("Administrator"), administrator);
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
int ListMetaCollectionsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionsRequest::getKeyword() const {
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void ListMetaCollectionsRequest::setKeyword(const std::string &keyword) {
|
||||
keyword_ = keyword;
|
||||
setParameter(std::string("Keyword"), keyword);
|
||||
}
|
||||
|
||||
104
dataworks-public/src/model/ListMetaCollectionsResult.cc
Normal file
104
dataworks-public/src/model/ListMetaCollectionsResult.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListMetaCollectionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListMetaCollectionsResult::ListMetaCollectionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListMetaCollectionsResult::ListMetaCollectionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListMetaCollectionsResult::~ListMetaCollectionsResult()
|
||||
{}
|
||||
|
||||
void ListMetaCollectionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["NextToken"].isNull())
|
||||
data_.nextToken = dataNode["NextToken"].asString();
|
||||
auto allCollectionListNode = dataNode["CollectionList"]["CollectionListItem"];
|
||||
for (auto dataNodeCollectionListCollectionListItem : allCollectionListNode)
|
||||
{
|
||||
Data::CollectionListItem collectionListItemObject;
|
||||
if(!dataNodeCollectionListCollectionListItem["QualifiedName"].isNull())
|
||||
collectionListItemObject.qualifiedName = dataNodeCollectionListCollectionListItem["QualifiedName"].asString();
|
||||
if(!dataNodeCollectionListCollectionListItem["CollectionType"].isNull())
|
||||
collectionListItemObject.collectionType = dataNodeCollectionListCollectionListItem["CollectionType"].asString();
|
||||
if(!dataNodeCollectionListCollectionListItem["Name"].isNull())
|
||||
collectionListItemObject.name = dataNodeCollectionListCollectionListItem["Name"].asString();
|
||||
if(!dataNodeCollectionListCollectionListItem["Comment"].isNull())
|
||||
collectionListItemObject.comment = dataNodeCollectionListCollectionListItem["Comment"].asString();
|
||||
if(!dataNodeCollectionListCollectionListItem["OwnerId"].isNull())
|
||||
collectionListItemObject.ownerId = dataNodeCollectionListCollectionListItem["OwnerId"].asString();
|
||||
if(!dataNodeCollectionListCollectionListItem["OwnerName"].isNull())
|
||||
collectionListItemObject.ownerName = dataNodeCollectionListCollectionListItem["OwnerName"].asString();
|
||||
if(!dataNodeCollectionListCollectionListItem["CreateTime"].isNull())
|
||||
collectionListItemObject.createTime = std::stol(dataNodeCollectionListCollectionListItem["CreateTime"].asString());
|
||||
if(!dataNodeCollectionListCollectionListItem["UpdateTime"].isNull())
|
||||
collectionListItemObject.updateTime = std::stol(dataNodeCollectionListCollectionListItem["UpdateTime"].asString());
|
||||
if(!dataNodeCollectionListCollectionListItem["Level"].isNull())
|
||||
collectionListItemObject.level = std::stoi(dataNodeCollectionListCollectionListItem["Level"].asString());
|
||||
data_.collectionList.push_back(collectionListItemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int ListMetaCollectionsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListMetaCollectionsResult::Data ListMetaCollectionsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListMetaCollectionsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListMetaCollectionsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
54
dataworks-public/src/model/UpdateMetaCollectionRequest.cc
Normal file
54
dataworks-public/src/model/UpdateMetaCollectionRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/UpdateMetaCollectionRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::UpdateMetaCollectionRequest;
|
||||
|
||||
UpdateMetaCollectionRequest::UpdateMetaCollectionRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateMetaCollection") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateMetaCollectionRequest::~UpdateMetaCollectionRequest() {}
|
||||
|
||||
std::string UpdateMetaCollectionRequest::getQualifiedName() const {
|
||||
return qualifiedName_;
|
||||
}
|
||||
|
||||
void UpdateMetaCollectionRequest::setQualifiedName(const std::string &qualifiedName) {
|
||||
qualifiedName_ = qualifiedName;
|
||||
setParameter(std::string("QualifiedName"), qualifiedName);
|
||||
}
|
||||
|
||||
std::string UpdateMetaCollectionRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void UpdateMetaCollectionRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
std::string UpdateMetaCollectionRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void UpdateMetaCollectionRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
79
dataworks-public/src/model/UpdateMetaCollectionResult.cc
Normal file
79
dataworks-public/src/model/UpdateMetaCollectionResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/UpdateMetaCollectionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
UpdateMetaCollectionResult::UpdateMetaCollectionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateMetaCollectionResult::UpdateMetaCollectionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateMetaCollectionResult::~UpdateMetaCollectionResult()
|
||||
{}
|
||||
|
||||
void UpdateMetaCollectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString() == "true";
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool UpdateMetaCollectionResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
int UpdateMetaCollectionResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string UpdateMetaCollectionResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string UpdateMetaCollectionResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool UpdateMetaCollectionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user