From 28a3fe7592fa24385aa99a84712dae01cf7abe83 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Sat, 8 May 2021 07:12:15 +0000 Subject: [PATCH] Generated 2020-05-18 for dataworks-public. --- CHANGELOG | 3 + VERSION | 2 +- dataworks-public/CMakeLists.txt | 128 ++ .../dataworks-public/Dataworks_publicClient.h | 256 ++++ .../ApprovePermissionApplyOrderRequest.h | 54 + .../model/ApprovePermissionApplyOrderResult.h | 51 + .../model/CheckFileDeploymentRequest.h | 54 + .../model/CheckFileDeploymentResult.h | 49 + .../model/CreateDataSourceRequest.h | 66 + .../model/CreateDataSourceResult.h | 55 + .../model/CreatePermissionApplyOrderRequest.h | 80 ++ .../model/CreatePermissionApplyOrderResult.h | 51 + .../model/CreateViewRequest.h | 78 ++ .../dataworks-public/model/CreateViewResult.h | 58 + .../model/DeleteDataSourceRequest.h | 48 + .../model/DeleteDataSourceResult.h | 55 + .../model/DeleteViewRequest.h | 51 + .../dataworks-public/model/DeleteViewResult.h | 58 + .../model/ExportDISyncTasksRequest.h | 54 + .../model/ExportDISyncTasksResult.h | 57 + .../dataworks-public/model/GetFileResult.h | 2 + .../model/GetFileTypeStatisticRequest.h | 51 + .../model/GetFileTypeStatisticResult.h | 56 + .../model/GetInstanceStatusStatisticRequest.h | 54 + .../model/GetInstanceStatusStatisticResult.h | 61 + .../model/GetMetaTableThemeLevelRequest.h | 51 + .../model/GetMetaTableThemeLevelResult.h | 78 ++ .../GetPermissionApplyOrderDetailRequest.h | 48 + .../GetPermissionApplyOrderDetailResult.h | 95 ++ .../model/GetProjectRequest.h | 48 + .../dataworks-public/model/GetProjectResult.h | 86 ++ .../model/ImportDISyncTasksRequest.h | 57 + .../model/ImportDISyncTasksResult.h | 57 + .../model/ListDISyncTasksRequest.h | 57 + .../model/ListDISyncTasksResult.h | 68 + .../model/ListDataSourcesRequest.h | 69 + .../model/ListDataSourcesResult.h | 82 ++ .../model/ListFileTypeRequest.h | 63 + .../model/ListFileTypeResult.h | 63 + .../dataworks-public/model/ListFilesResult.h | 1 + .../model/ListInstanceAmountRequest.h | 54 + .../model/ListInstanceAmountResult.h | 56 + .../model/ListManualDagInstancesRequest.h | 54 + .../model/ListManualDagInstancesResult.h | 70 + .../model/ListNodeInputOrOutputRequest.h | 54 + .../model/ListNodeInputOrOutputResult.h | 65 + .../model/ListNodesByBaselineRequest.h | 48 + .../model/ListNodesByBaselineResult.h | 66 + .../model/ListNodesByOutputRequest.h | 54 + .../model/ListNodesByOutputResult.h | 86 ++ .../model/ListPermissionApplyOrdersRequest.h | 78 ++ .../model/ListPermissionApplyOrdersResult.h | 82 ++ .../model/ListResourceGroupsRequest.h | 3 + .../model/ListSuccessInstanceAmountRequest.h | 48 + .../model/ListSuccessInstanceAmountResult.h | 72 ++ .../model/RevokeColumnPermissionRequest.h | 63 + .../model/RevokeColumnPermissionResult.h | 51 + .../model/RevokeTablePermissionRequest.h | 63 + .../model/RevokeTablePermissionResult.h | 51 + .../model/RunCycleDagNodesRequest.h | 78 ++ .../model/RunCycleDagNodesResult.h | 59 + .../model/RunManualDagNodesRequest.h | 63 + .../model/RunManualDagNodesResult.h | 51 + .../model/RunSmokeTestRequest.h | 60 + .../model/RunSmokeTestResult.h | 59 + .../model/TopTenElapsedTimeInstanceRequest.h | 51 + .../model/TopTenElapsedTimeInstanceResult.h | 66 + .../model/TopTenErrorTimesInstanceRequest.h | 48 + .../model/TopTenErrorTimesInstanceResult.h | 65 + .../model/UpdateDataSourceRequest.h | 60 + .../model/UpdateDataSourceResult.h | 55 + .../src/Dataworks-publicClient.cc | 1152 +++++++++++++++++ .../ApprovePermissionApplyOrderRequest.cc | 62 + .../ApprovePermissionApplyOrderResult.cc | 51 + .../src/model/CheckFileDeploymentRequest.cc | 62 + .../src/model/CheckFileDeploymentResult.cc | 44 + .../src/model/CreateDataSourceRequest.cc | 106 ++ .../src/model/CreateDataSourceResult.cc | 65 + .../CreatePermissionApplyOrderRequest.cc | 127 ++ .../model/CreatePermissionApplyOrderResult.cc | 52 + .../src/model/CreateViewRequest.cc | 133 ++ .../src/model/CreateViewResult.cc | 58 + .../src/model/DeleteDataSourceRequest.cc | 40 + .../src/model/DeleteDataSourceResult.cc | 65 + .../src/model/DeleteViewRequest.cc | 51 + .../src/model/DeleteViewResult.cc | 58 + .../src/model/ExportDISyncTasksRequest.cc | 62 + .../src/model/ExportDISyncTasksResult.cc | 59 + dataworks-public/src/model/GetFileResult.cc | 4 + .../src/model/GetFileTypeStatisticRequest.cc | 51 + .../src/model/GetFileTypeStatisticResult.cc | 59 + .../GetInstanceStatusStatisticRequest.cc | 62 + .../model/GetInstanceStatusStatisticResult.cc | 64 + .../model/GetMetaTableThemeLevelRequest.cc | 51 + .../src/model/GetMetaTableThemeLevelResult.cc | 106 ++ .../GetPermissionApplyOrderDetailRequest.cc | 40 + .../GetPermissionApplyOrderDetailResult.cc | 110 ++ .../src/model/GetProjectRequest.cc | 40 + .../src/model/GetProjectResult.cc | 121 ++ .../src/model/ImportDISyncTasksRequest.cc | 73 ++ .../src/model/ImportDISyncTasksResult.cc | 59 + .../src/model/ListDISyncTasksRequest.cc | 73 ++ .../src/model/ListDISyncTasksResult.cc | 79 ++ .../src/model/ListDataSourcesRequest.cc | 117 ++ .../src/model/ListDataSourcesResult.cc | 110 ++ .../src/model/ListFileTypeRequest.cc | 95 ++ .../src/model/ListFileTypeResult.cc | 66 + dataworks-public/src/model/ListFilesResult.cc | 2 + .../src/model/ListInstanceAmountRequest.cc | 62 + .../src/model/ListInstanceAmountResult.cc | 59 + .../model/ListManualDagInstancesRequest.cc | 62 + .../src/model/ListManualDagInstancesResult.cc | 87 ++ .../src/model/ListNodeInputOrOutputRequest.cc | 62 + .../src/model/ListNodeInputOrOutputResult.cc | 89 ++ .../src/model/ListNodesByBaselineRequest.cc | 40 + .../src/model/ListNodesByBaselineResult.cc | 91 ++ .../src/model/ListNodesByOutputRequest.cc | 62 + .../src/model/ListNodesByOutputResult.cc | 129 ++ .../model/ListPermissionApplyOrdersRequest.cc | 150 +++ .../model/ListPermissionApplyOrdersResult.cc | 89 ++ .../src/model/ListResourceGroupsRequest.cc | 11 + .../model/ListSuccessInstanceAmountRequest.cc | 40 + .../model/ListSuccessInstanceAmountResult.cc | 80 ++ .../model/RevokeColumnPermissionRequest.cc | 95 ++ .../src/model/RevokeColumnPermissionResult.cc | 51 + .../src/model/RevokeTablePermissionRequest.cc | 95 ++ .../src/model/RevokeTablePermissionResult.cc | 51 + .../src/model/RunCycleDagNodesRequest.cc | 150 +++ .../src/model/RunCycleDagNodesResult.cc | 80 ++ .../src/model/RunManualDagNodesRequest.cc | 95 ++ .../src/model/RunManualDagNodesResult.cc | 51 + .../src/model/RunSmokeTestRequest.cc | 84 ++ .../src/model/RunSmokeTestResult.cc | 79 ++ .../model/TopTenElapsedTimeInstanceRequest.cc | 51 + .../model/TopTenElapsedTimeInstanceResult.cc | 72 ++ .../model/TopTenErrorTimesInstanceRequest.cc | 40 + .../model/TopTenErrorTimesInstanceResult.cc | 70 + .../src/model/UpdateDataSourceRequest.cc | 84 ++ .../src/model/UpdateDataSourceResult.cc | 65 + 139 files changed, 10242 insertions(+), 1 deletion(-) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateViewRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateViewResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteViewRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteViewResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ExportDISyncTasksRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ExportDISyncTasksResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ImportDISyncTasksRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ImportDISyncTasksResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDISyncTasksRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDISyncTasksResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceResult.h create mode 100644 dataworks-public/src/model/ApprovePermissionApplyOrderRequest.cc create mode 100644 dataworks-public/src/model/ApprovePermissionApplyOrderResult.cc create mode 100644 dataworks-public/src/model/CheckFileDeploymentRequest.cc create mode 100644 dataworks-public/src/model/CheckFileDeploymentResult.cc create mode 100644 dataworks-public/src/model/CreateDataSourceRequest.cc create mode 100644 dataworks-public/src/model/CreateDataSourceResult.cc create mode 100644 dataworks-public/src/model/CreatePermissionApplyOrderRequest.cc create mode 100644 dataworks-public/src/model/CreatePermissionApplyOrderResult.cc create mode 100644 dataworks-public/src/model/CreateViewRequest.cc create mode 100644 dataworks-public/src/model/CreateViewResult.cc create mode 100644 dataworks-public/src/model/DeleteDataSourceRequest.cc create mode 100644 dataworks-public/src/model/DeleteDataSourceResult.cc create mode 100644 dataworks-public/src/model/DeleteViewRequest.cc create mode 100644 dataworks-public/src/model/DeleteViewResult.cc create mode 100644 dataworks-public/src/model/ExportDISyncTasksRequest.cc create mode 100644 dataworks-public/src/model/ExportDISyncTasksResult.cc create mode 100644 dataworks-public/src/model/GetFileTypeStatisticRequest.cc create mode 100644 dataworks-public/src/model/GetFileTypeStatisticResult.cc create mode 100644 dataworks-public/src/model/GetInstanceStatusStatisticRequest.cc create mode 100644 dataworks-public/src/model/GetInstanceStatusStatisticResult.cc create mode 100644 dataworks-public/src/model/GetMetaTableThemeLevelRequest.cc create mode 100644 dataworks-public/src/model/GetMetaTableThemeLevelResult.cc create mode 100644 dataworks-public/src/model/GetPermissionApplyOrderDetailRequest.cc create mode 100644 dataworks-public/src/model/GetPermissionApplyOrderDetailResult.cc create mode 100644 dataworks-public/src/model/GetProjectRequest.cc create mode 100644 dataworks-public/src/model/GetProjectResult.cc create mode 100644 dataworks-public/src/model/ImportDISyncTasksRequest.cc create mode 100644 dataworks-public/src/model/ImportDISyncTasksResult.cc create mode 100644 dataworks-public/src/model/ListDISyncTasksRequest.cc create mode 100644 dataworks-public/src/model/ListDISyncTasksResult.cc create mode 100644 dataworks-public/src/model/ListDataSourcesRequest.cc create mode 100644 dataworks-public/src/model/ListDataSourcesResult.cc create mode 100644 dataworks-public/src/model/ListFileTypeRequest.cc create mode 100644 dataworks-public/src/model/ListFileTypeResult.cc create mode 100644 dataworks-public/src/model/ListInstanceAmountRequest.cc create mode 100644 dataworks-public/src/model/ListInstanceAmountResult.cc create mode 100644 dataworks-public/src/model/ListManualDagInstancesRequest.cc create mode 100644 dataworks-public/src/model/ListManualDagInstancesResult.cc create mode 100644 dataworks-public/src/model/ListNodeInputOrOutputRequest.cc create mode 100644 dataworks-public/src/model/ListNodeInputOrOutputResult.cc create mode 100644 dataworks-public/src/model/ListNodesByBaselineRequest.cc create mode 100644 dataworks-public/src/model/ListNodesByBaselineResult.cc create mode 100644 dataworks-public/src/model/ListNodesByOutputRequest.cc create mode 100644 dataworks-public/src/model/ListNodesByOutputResult.cc create mode 100644 dataworks-public/src/model/ListPermissionApplyOrdersRequest.cc create mode 100644 dataworks-public/src/model/ListPermissionApplyOrdersResult.cc create mode 100644 dataworks-public/src/model/ListSuccessInstanceAmountRequest.cc create mode 100644 dataworks-public/src/model/ListSuccessInstanceAmountResult.cc create mode 100644 dataworks-public/src/model/RevokeColumnPermissionRequest.cc create mode 100644 dataworks-public/src/model/RevokeColumnPermissionResult.cc create mode 100644 dataworks-public/src/model/RevokeTablePermissionRequest.cc create mode 100644 dataworks-public/src/model/RevokeTablePermissionResult.cc create mode 100644 dataworks-public/src/model/RunCycleDagNodesRequest.cc create mode 100644 dataworks-public/src/model/RunCycleDagNodesResult.cc create mode 100644 dataworks-public/src/model/RunManualDagNodesRequest.cc create mode 100644 dataworks-public/src/model/RunManualDagNodesResult.cc create mode 100644 dataworks-public/src/model/RunSmokeTestRequest.cc create mode 100644 dataworks-public/src/model/RunSmokeTestResult.cc create mode 100644 dataworks-public/src/model/TopTenElapsedTimeInstanceRequest.cc create mode 100644 dataworks-public/src/model/TopTenElapsedTimeInstanceResult.cc create mode 100644 dataworks-public/src/model/TopTenErrorTimesInstanceRequest.cc create mode 100644 dataworks-public/src/model/TopTenErrorTimesInstanceResult.cc create mode 100644 dataworks-public/src/model/UpdateDataSourceRequest.cc create mode 100644 dataworks-public/src/model/UpdateDataSourceResult.cc diff --git a/CHANGELOG b/CHANGELOG index e0ecc1ff2..75f9817e4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-05-08 Version: 1.36.716 +- Generated 2020-05-18 for `dataworks-public`. + 2021-05-08 Version: 1.36.715 - Generated 2018-01-20 for `Iot`. diff --git a/VERSION b/VERSION index eac1ad291..f115e6074 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.715 \ No newline at end of file +1.36.716 \ No newline at end of file diff --git a/dataworks-public/CMakeLists.txt b/dataworks-public/CMakeLists.txt index 9fc91603d..6d15c64e1 100644 --- a/dataworks-public/CMakeLists.txt +++ b/dataworks-public/CMakeLists.txt @@ -27,6 +27,10 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h + include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h + include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderResult.h + include/alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h + include/alibabacloud/dataworks-public/model/CheckFileDeploymentResult.h include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h @@ -47,6 +51,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/CreateDataServiceFolderResult.h include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h include/alibabacloud/dataworks-public/model/CreateDataServiceGroupResult.h + include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.h + include/alibabacloud/dataworks-public/model/CreateDataSourceResult.h include/alibabacloud/dataworks-public/model/CreateFileRequest.h include/alibabacloud/dataworks-public/model/CreateFileResult.h include/alibabacloud/dataworks-public/model/CreateFolderRequest.h @@ -57,6 +63,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/CreatePermissionApplyOrderRequest.h + include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderResult.h include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h @@ -77,6 +85,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/CreateTableThemeResult.h include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h + include/alibabacloud/dataworks-public/model/CreateViewRequest.h + include/alibabacloud/dataworks-public/model/CreateViewResult.h include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h @@ -85,6 +95,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityResult.h + include/alibabacloud/dataworks-public/model/DeleteDataSourceRequest.h + include/alibabacloud/dataworks-public/model/DeleteDataSourceResult.h include/alibabacloud/dataworks-public/model/DeleteFileRequest.h include/alibabacloud/dataworks-public/model/DeleteFileResult.h include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h @@ -111,12 +123,16 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/DeleteTableLevelResult.h include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h include/alibabacloud/dataworks-public/model/DeleteTableThemeResult.h + include/alibabacloud/dataworks-public/model/DeleteViewRequest.h + include/alibabacloud/dataworks-public/model/DeleteViewResult.h include/alibabacloud/dataworks-public/model/DeployFileRequest.h include/alibabacloud/dataworks-public/model/DeployFileResult.h include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h include/alibabacloud/dataworks-public/model/DesensitizeDataResult.h include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h + include/alibabacloud/dataworks-public/model/ExportDISyncTasksRequest.h + include/alibabacloud/dataworks-public/model/ExportDISyncTasksResult.h include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h @@ -143,6 +159,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/GetDeploymentResult.h include/alibabacloud/dataworks-public/model/GetFileRequest.h include/alibabacloud/dataworks-public/model/GetFileResult.h + include/alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h + include/alibabacloud/dataworks-public/model/GetFileTypeStatisticResult.h include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h include/alibabacloud/dataworks-public/model/GetFileVersionResult.h include/alibabacloud/dataworks-public/model/GetFolderRequest.h @@ -159,6 +177,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h include/alibabacloud/dataworks-public/model/GetInstanceStatusCountResult.h + include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticRequest.h + include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticResult.h include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h include/alibabacloud/dataworks-public/model/GetManualDagInstancesResult.h include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h @@ -187,6 +207,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/GetMetaTableThemeLevelRequest.h + include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelResult.h include/alibabacloud/dataworks-public/model/GetMigrationProcessRequest.h include/alibabacloud/dataworks-public/model/GetMigrationProcessResult.h include/alibabacloud/dataworks-public/model/GetNodeRequest.h @@ -205,6 +227,10 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/GetOpRiskDataResult.h include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h include/alibabacloud/dataworks-public/model/GetOpSensitiveDataResult.h + include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailRequest.h + include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailResult.h + include/alibabacloud/dataworks-public/model/GetProjectRequest.h + include/alibabacloud/dataworks-public/model/GetProjectResult.h include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h @@ -223,6 +249,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/GetTopicResult.h include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h + include/alibabacloud/dataworks-public/model/ImportDISyncTasksRequest.h + include/alibabacloud/dataworks-public/model/ImportDISyncTasksResult.h include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h @@ -235,6 +263,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h include/alibabacloud/dataworks-public/model/ListConnectionsResult.h + include/alibabacloud/dataworks-public/model/ListDISyncTasksRequest.h + include/alibabacloud/dataworks-public/model/ListDISyncTasksResult.h include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h @@ -249,20 +279,36 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h + include/alibabacloud/dataworks-public/model/ListDataSourcesRequest.h + include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h + include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h + include/alibabacloud/dataworks-public/model/ListFileTypeResult.h include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h include/alibabacloud/dataworks-public/model/ListFilesRequest.h include/alibabacloud/dataworks-public/model/ListFilesResult.h include/alibabacloud/dataworks-public/model/ListFoldersRequest.h include/alibabacloud/dataworks-public/model/ListFoldersResult.h + include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.h + include/alibabacloud/dataworks-public/model/ListInstanceAmountResult.h include/alibabacloud/dataworks-public/model/ListInstancesRequest.h 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/ListMetaDBRequest.h include/alibabacloud/dataworks-public/model/ListMetaDBResult.h include/alibabacloud/dataworks-public/model/ListNodeIORequest.h include/alibabacloud/dataworks-public/model/ListNodeIOResult.h + include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputRequest.h + include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputResult.h include/alibabacloud/dataworks-public/model/ListNodesRequest.h include/alibabacloud/dataworks-public/model/ListNodesResult.h + include/alibabacloud/dataworks-public/model/ListNodesByBaselineRequest.h + include/alibabacloud/dataworks-public/model/ListNodesByBaselineResult.h + include/alibabacloud/dataworks-public/model/ListNodesByOutputRequest.h + include/alibabacloud/dataworks-public/model/ListNodesByOutputResult.h + include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersRequest.h + include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersResult.h include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h include/alibabacloud/dataworks-public/model/ListProgramTypeCountResult.h include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h @@ -281,6 +327,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/ListRemindsResult.h include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h + include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.h + include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountResult.h include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h include/alibabacloud/dataworks-public/model/ListTableLevelResult.h include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h @@ -295,6 +343,16 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/RestartInstanceResult.h include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h + include/alibabacloud/dataworks-public/model/RevokeColumnPermissionRequest.h + include/alibabacloud/dataworks-public/model/RevokeColumnPermissionResult.h + include/alibabacloud/dataworks-public/model/RevokeTablePermissionRequest.h + include/alibabacloud/dataworks-public/model/RevokeTablePermissionResult.h + include/alibabacloud/dataworks-public/model/RunCycleDagNodesRequest.h + include/alibabacloud/dataworks-public/model/RunCycleDagNodesResult.h + include/alibabacloud/dataworks-public/model/RunManualDagNodesRequest.h + include/alibabacloud/dataworks-public/model/RunManualDagNodesResult.h + include/alibabacloud/dataworks-public/model/RunSmokeTestRequest.h + include/alibabacloud/dataworks-public/model/RunSmokeTestResult.h include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h include/alibabacloud/dataworks-public/model/RunTriggerNodeResult.h include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h @@ -313,12 +371,18 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/SubmitFileResult.h include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h + include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceRequest.h + include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceResult.h + include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceRequest.h + include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceResult.h include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h + include/alibabacloud/dataworks-public/model/UpdateDataSourceRequest.h + include/alibabacloud/dataworks-public/model/UpdateDataSourceResult.h include/alibabacloud/dataworks-public/model/UpdateFileRequest.h include/alibabacloud/dataworks-public/model/UpdateFileResult.h include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h @@ -356,6 +420,10 @@ set(dataworks-public_src src/model/AddProjectMemberToRoleResult.cc src/model/AddToMetaCategoryRequest.cc src/model/AddToMetaCategoryResult.cc + src/model/ApprovePermissionApplyOrderRequest.cc + src/model/ApprovePermissionApplyOrderResult.cc + src/model/CheckFileDeploymentRequest.cc + src/model/CheckFileDeploymentResult.cc src/model/CheckMetaPartitionRequest.cc src/model/CheckMetaPartitionResult.cc src/model/CheckMetaTableRequest.cc @@ -376,6 +444,8 @@ set(dataworks-public_src src/model/CreateDataServiceFolderResult.cc src/model/CreateDataServiceGroupRequest.cc src/model/CreateDataServiceGroupResult.cc + src/model/CreateDataSourceRequest.cc + src/model/CreateDataSourceResult.cc src/model/CreateFileRequest.cc src/model/CreateFileResult.cc src/model/CreateFolderRequest.cc @@ -386,6 +456,8 @@ set(dataworks-public_src src/model/CreateManualDagResult.cc src/model/CreateMetaCategoryRequest.cc src/model/CreateMetaCategoryResult.cc + src/model/CreatePermissionApplyOrderRequest.cc + src/model/CreatePermissionApplyOrderResult.cc src/model/CreateProjectMemberRequest.cc src/model/CreateProjectMemberResult.cc src/model/CreateQualityEntityRequest.cc @@ -406,6 +478,8 @@ set(dataworks-public_src src/model/CreateTableThemeResult.cc src/model/CreateUdfFileRequest.cc src/model/CreateUdfFileResult.cc + src/model/CreateViewRequest.cc + src/model/CreateViewResult.cc src/model/DeleteBusinessRequest.cc src/model/DeleteBusinessResult.cc src/model/DeleteConnectionRequest.cc @@ -414,6 +488,8 @@ set(dataworks-public_src src/model/DeleteDataServiceApiResult.cc src/model/DeleteDataServiceApiAuthorityRequest.cc src/model/DeleteDataServiceApiAuthorityResult.cc + src/model/DeleteDataSourceRequest.cc + src/model/DeleteDataSourceResult.cc src/model/DeleteFileRequest.cc src/model/DeleteFileResult.cc src/model/DeleteFolderRequest.cc @@ -440,12 +516,16 @@ set(dataworks-public_src src/model/DeleteTableLevelResult.cc src/model/DeleteTableThemeRequest.cc src/model/DeleteTableThemeResult.cc + src/model/DeleteViewRequest.cc + src/model/DeleteViewResult.cc src/model/DeployFileRequest.cc src/model/DeployFileResult.cc src/model/DesensitizeDataRequest.cc src/model/DesensitizeDataResult.cc src/model/EstablishRelationTableToBusinessRequest.cc src/model/EstablishRelationTableToBusinessResult.cc + src/model/ExportDISyncTasksRequest.cc + src/model/ExportDISyncTasksResult.cc src/model/GetBaselineConfigRequest.cc src/model/GetBaselineConfigResult.cc src/model/GetBaselineKeyPathRequest.cc @@ -472,6 +552,8 @@ set(dataworks-public_src src/model/GetDeploymentResult.cc src/model/GetFileRequest.cc src/model/GetFileResult.cc + src/model/GetFileTypeStatisticRequest.cc + src/model/GetFileTypeStatisticResult.cc src/model/GetFileVersionRequest.cc src/model/GetFileVersionResult.cc src/model/GetFolderRequest.cc @@ -488,6 +570,8 @@ set(dataworks-public_src src/model/GetInstanceLogResult.cc src/model/GetInstanceStatusCountRequest.cc src/model/GetInstanceStatusCountResult.cc + src/model/GetInstanceStatusStatisticRequest.cc + src/model/GetInstanceStatusStatisticResult.cc src/model/GetManualDagInstancesRequest.cc src/model/GetManualDagInstancesResult.cc src/model/GetMetaCategoryRequest.cc @@ -516,6 +600,8 @@ set(dataworks-public_src src/model/GetMetaTableOutputResult.cc src/model/GetMetaTablePartitionRequest.cc src/model/GetMetaTablePartitionResult.cc + src/model/GetMetaTableThemeLevelRequest.cc + src/model/GetMetaTableThemeLevelResult.cc src/model/GetMigrationProcessRequest.cc src/model/GetMigrationProcessResult.cc src/model/GetNodeRequest.cc @@ -534,6 +620,10 @@ set(dataworks-public_src src/model/GetOpRiskDataResult.cc src/model/GetOpSensitiveDataRequest.cc src/model/GetOpSensitiveDataResult.cc + src/model/GetPermissionApplyOrderDetailRequest.cc + src/model/GetPermissionApplyOrderDetailResult.cc + src/model/GetProjectRequest.cc + src/model/GetProjectResult.cc src/model/GetProjectDetailRequest.cc src/model/GetProjectDetailResult.cc src/model/GetQualityEntityRequest.cc @@ -552,6 +642,8 @@ set(dataworks-public_src src/model/GetTopicResult.cc src/model/GetTopicInfluenceRequest.cc src/model/GetTopicInfluenceResult.cc + src/model/ImportDISyncTasksRequest.cc + src/model/ImportDISyncTasksResult.cc src/model/ListAlertMessagesRequest.cc src/model/ListAlertMessagesResult.cc src/model/ListBaselineConfigsRequest.cc @@ -564,6 +656,8 @@ set(dataworks-public_src src/model/ListCalcEnginesResult.cc src/model/ListConnectionsRequest.cc src/model/ListConnectionsResult.cc + src/model/ListDISyncTasksRequest.cc + src/model/ListDISyncTasksResult.cc src/model/ListDataServiceApiAuthoritiesRequest.cc src/model/ListDataServiceApiAuthoritiesResult.cc src/model/ListDataServiceApisRequest.cc @@ -578,20 +672,36 @@ set(dataworks-public_src src/model/ListDataServiceGroupsResult.cc src/model/ListDataServicePublishedApisRequest.cc src/model/ListDataServicePublishedApisResult.cc + src/model/ListDataSourcesRequest.cc + src/model/ListDataSourcesResult.cc + src/model/ListFileTypeRequest.cc + src/model/ListFileTypeResult.cc src/model/ListFileVersionsRequest.cc src/model/ListFileVersionsResult.cc src/model/ListFilesRequest.cc src/model/ListFilesResult.cc src/model/ListFoldersRequest.cc src/model/ListFoldersResult.cc + src/model/ListInstanceAmountRequest.cc + src/model/ListInstanceAmountResult.cc src/model/ListInstancesRequest.cc src/model/ListInstancesResult.cc + src/model/ListManualDagInstancesRequest.cc + src/model/ListManualDagInstancesResult.cc src/model/ListMetaDBRequest.cc src/model/ListMetaDBResult.cc src/model/ListNodeIORequest.cc src/model/ListNodeIOResult.cc + src/model/ListNodeInputOrOutputRequest.cc + src/model/ListNodeInputOrOutputResult.cc src/model/ListNodesRequest.cc src/model/ListNodesResult.cc + src/model/ListNodesByBaselineRequest.cc + src/model/ListNodesByBaselineResult.cc + src/model/ListNodesByOutputRequest.cc + src/model/ListNodesByOutputResult.cc + src/model/ListPermissionApplyOrdersRequest.cc + src/model/ListPermissionApplyOrdersResult.cc src/model/ListProgramTypeCountRequest.cc src/model/ListProgramTypeCountResult.cc src/model/ListProjectMembersRequest.cc @@ -610,6 +720,8 @@ set(dataworks-public_src src/model/ListRemindsResult.cc src/model/ListResourceGroupsRequest.cc src/model/ListResourceGroupsResult.cc + src/model/ListSuccessInstanceAmountRequest.cc + src/model/ListSuccessInstanceAmountResult.cc src/model/ListTableLevelRequest.cc src/model/ListTableLevelResult.cc src/model/ListTableThemeRequest.cc @@ -624,6 +736,16 @@ set(dataworks-public_src src/model/RestartInstanceResult.cc src/model/ResumeInstanceRequest.cc src/model/ResumeInstanceResult.cc + src/model/RevokeColumnPermissionRequest.cc + src/model/RevokeColumnPermissionResult.cc + src/model/RevokeTablePermissionRequest.cc + src/model/RevokeTablePermissionResult.cc + src/model/RunCycleDagNodesRequest.cc + src/model/RunCycleDagNodesResult.cc + src/model/RunManualDagNodesRequest.cc + src/model/RunManualDagNodesResult.cc + src/model/RunSmokeTestRequest.cc + src/model/RunSmokeTestResult.cc src/model/RunTriggerNodeRequest.cc src/model/RunTriggerNodeResult.cc src/model/ScanSensitiveDataRequest.cc @@ -642,12 +764,18 @@ set(dataworks-public_src src/model/SubmitFileResult.cc src/model/SuspendInstanceRequest.cc src/model/SuspendInstanceResult.cc + src/model/TopTenElapsedTimeInstanceRequest.cc + src/model/TopTenElapsedTimeInstanceResult.cc + src/model/TopTenErrorTimesInstanceRequest.cc + src/model/TopTenErrorTimesInstanceResult.cc src/model/UpdateBusinessRequest.cc src/model/UpdateBusinessResult.cc src/model/UpdateConnectionRequest.cc src/model/UpdateConnectionResult.cc src/model/UpdateDataServiceApiRequest.cc src/model/UpdateDataServiceApiResult.cc + src/model/UpdateDataSourceRequest.cc + src/model/UpdateDataSourceResult.cc src/model/UpdateFileRequest.cc src/model/UpdateFileResult.cc src/model/UpdateFolderRequest.cc diff --git a/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h b/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h index 121ad6a92..d3c5ba342 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h @@ -28,6 +28,10 @@ #include "model/AddProjectMemberToRoleResult.h" #include "model/AddToMetaCategoryRequest.h" #include "model/AddToMetaCategoryResult.h" +#include "model/ApprovePermissionApplyOrderRequest.h" +#include "model/ApprovePermissionApplyOrderResult.h" +#include "model/CheckFileDeploymentRequest.h" +#include "model/CheckFileDeploymentResult.h" #include "model/CheckMetaPartitionRequest.h" #include "model/CheckMetaPartitionResult.h" #include "model/CheckMetaTableRequest.h" @@ -48,6 +52,8 @@ #include "model/CreateDataServiceFolderResult.h" #include "model/CreateDataServiceGroupRequest.h" #include "model/CreateDataServiceGroupResult.h" +#include "model/CreateDataSourceRequest.h" +#include "model/CreateDataSourceResult.h" #include "model/CreateFileRequest.h" #include "model/CreateFileResult.h" #include "model/CreateFolderRequest.h" @@ -58,6 +64,8 @@ #include "model/CreateManualDagResult.h" #include "model/CreateMetaCategoryRequest.h" #include "model/CreateMetaCategoryResult.h" +#include "model/CreatePermissionApplyOrderRequest.h" +#include "model/CreatePermissionApplyOrderResult.h" #include "model/CreateProjectMemberRequest.h" #include "model/CreateProjectMemberResult.h" #include "model/CreateQualityEntityRequest.h" @@ -78,6 +86,8 @@ #include "model/CreateTableThemeResult.h" #include "model/CreateUdfFileRequest.h" #include "model/CreateUdfFileResult.h" +#include "model/CreateViewRequest.h" +#include "model/CreateViewResult.h" #include "model/DeleteBusinessRequest.h" #include "model/DeleteBusinessResult.h" #include "model/DeleteConnectionRequest.h" @@ -86,6 +96,8 @@ #include "model/DeleteDataServiceApiResult.h" #include "model/DeleteDataServiceApiAuthorityRequest.h" #include "model/DeleteDataServiceApiAuthorityResult.h" +#include "model/DeleteDataSourceRequest.h" +#include "model/DeleteDataSourceResult.h" #include "model/DeleteFileRequest.h" #include "model/DeleteFileResult.h" #include "model/DeleteFolderRequest.h" @@ -112,12 +124,16 @@ #include "model/DeleteTableLevelResult.h" #include "model/DeleteTableThemeRequest.h" #include "model/DeleteTableThemeResult.h" +#include "model/DeleteViewRequest.h" +#include "model/DeleteViewResult.h" #include "model/DeployFileRequest.h" #include "model/DeployFileResult.h" #include "model/DesensitizeDataRequest.h" #include "model/DesensitizeDataResult.h" #include "model/EstablishRelationTableToBusinessRequest.h" #include "model/EstablishRelationTableToBusinessResult.h" +#include "model/ExportDISyncTasksRequest.h" +#include "model/ExportDISyncTasksResult.h" #include "model/GetBaselineConfigRequest.h" #include "model/GetBaselineConfigResult.h" #include "model/GetBaselineKeyPathRequest.h" @@ -144,6 +160,8 @@ #include "model/GetDeploymentResult.h" #include "model/GetFileRequest.h" #include "model/GetFileResult.h" +#include "model/GetFileTypeStatisticRequest.h" +#include "model/GetFileTypeStatisticResult.h" #include "model/GetFileVersionRequest.h" #include "model/GetFileVersionResult.h" #include "model/GetFolderRequest.h" @@ -160,6 +178,8 @@ #include "model/GetInstanceLogResult.h" #include "model/GetInstanceStatusCountRequest.h" #include "model/GetInstanceStatusCountResult.h" +#include "model/GetInstanceStatusStatisticRequest.h" +#include "model/GetInstanceStatusStatisticResult.h" #include "model/GetManualDagInstancesRequest.h" #include "model/GetManualDagInstancesResult.h" #include "model/GetMetaCategoryRequest.h" @@ -188,6 +208,8 @@ #include "model/GetMetaTableOutputResult.h" #include "model/GetMetaTablePartitionRequest.h" #include "model/GetMetaTablePartitionResult.h" +#include "model/GetMetaTableThemeLevelRequest.h" +#include "model/GetMetaTableThemeLevelResult.h" #include "model/GetMigrationProcessRequest.h" #include "model/GetMigrationProcessResult.h" #include "model/GetNodeRequest.h" @@ -206,6 +228,10 @@ #include "model/GetOpRiskDataResult.h" #include "model/GetOpSensitiveDataRequest.h" #include "model/GetOpSensitiveDataResult.h" +#include "model/GetPermissionApplyOrderDetailRequest.h" +#include "model/GetPermissionApplyOrderDetailResult.h" +#include "model/GetProjectRequest.h" +#include "model/GetProjectResult.h" #include "model/GetProjectDetailRequest.h" #include "model/GetProjectDetailResult.h" #include "model/GetQualityEntityRequest.h" @@ -224,6 +250,8 @@ #include "model/GetTopicResult.h" #include "model/GetTopicInfluenceRequest.h" #include "model/GetTopicInfluenceResult.h" +#include "model/ImportDISyncTasksRequest.h" +#include "model/ImportDISyncTasksResult.h" #include "model/ListAlertMessagesRequest.h" #include "model/ListAlertMessagesResult.h" #include "model/ListBaselineConfigsRequest.h" @@ -236,6 +264,8 @@ #include "model/ListCalcEnginesResult.h" #include "model/ListConnectionsRequest.h" #include "model/ListConnectionsResult.h" +#include "model/ListDISyncTasksRequest.h" +#include "model/ListDISyncTasksResult.h" #include "model/ListDataServiceApiAuthoritiesRequest.h" #include "model/ListDataServiceApiAuthoritiesResult.h" #include "model/ListDataServiceApisRequest.h" @@ -250,20 +280,36 @@ #include "model/ListDataServiceGroupsResult.h" #include "model/ListDataServicePublishedApisRequest.h" #include "model/ListDataServicePublishedApisResult.h" +#include "model/ListDataSourcesRequest.h" +#include "model/ListDataSourcesResult.h" +#include "model/ListFileTypeRequest.h" +#include "model/ListFileTypeResult.h" #include "model/ListFileVersionsRequest.h" #include "model/ListFileVersionsResult.h" #include "model/ListFilesRequest.h" #include "model/ListFilesResult.h" #include "model/ListFoldersRequest.h" #include "model/ListFoldersResult.h" +#include "model/ListInstanceAmountRequest.h" +#include "model/ListInstanceAmountResult.h" #include "model/ListInstancesRequest.h" #include "model/ListInstancesResult.h" +#include "model/ListManualDagInstancesRequest.h" +#include "model/ListManualDagInstancesResult.h" #include "model/ListMetaDBRequest.h" #include "model/ListMetaDBResult.h" #include "model/ListNodeIORequest.h" #include "model/ListNodeIOResult.h" +#include "model/ListNodeInputOrOutputRequest.h" +#include "model/ListNodeInputOrOutputResult.h" #include "model/ListNodesRequest.h" #include "model/ListNodesResult.h" +#include "model/ListNodesByBaselineRequest.h" +#include "model/ListNodesByBaselineResult.h" +#include "model/ListNodesByOutputRequest.h" +#include "model/ListNodesByOutputResult.h" +#include "model/ListPermissionApplyOrdersRequest.h" +#include "model/ListPermissionApplyOrdersResult.h" #include "model/ListProgramTypeCountRequest.h" #include "model/ListProgramTypeCountResult.h" #include "model/ListProjectMembersRequest.h" @@ -282,6 +328,8 @@ #include "model/ListRemindsResult.h" #include "model/ListResourceGroupsRequest.h" #include "model/ListResourceGroupsResult.h" +#include "model/ListSuccessInstanceAmountRequest.h" +#include "model/ListSuccessInstanceAmountResult.h" #include "model/ListTableLevelRequest.h" #include "model/ListTableLevelResult.h" #include "model/ListTableThemeRequest.h" @@ -296,6 +344,16 @@ #include "model/RestartInstanceResult.h" #include "model/ResumeInstanceRequest.h" #include "model/ResumeInstanceResult.h" +#include "model/RevokeColumnPermissionRequest.h" +#include "model/RevokeColumnPermissionResult.h" +#include "model/RevokeTablePermissionRequest.h" +#include "model/RevokeTablePermissionResult.h" +#include "model/RunCycleDagNodesRequest.h" +#include "model/RunCycleDagNodesResult.h" +#include "model/RunManualDagNodesRequest.h" +#include "model/RunManualDagNodesResult.h" +#include "model/RunSmokeTestRequest.h" +#include "model/RunSmokeTestResult.h" #include "model/RunTriggerNodeRequest.h" #include "model/RunTriggerNodeResult.h" #include "model/ScanSensitiveDataRequest.h" @@ -314,12 +372,18 @@ #include "model/SubmitFileResult.h" #include "model/SuspendInstanceRequest.h" #include "model/SuspendInstanceResult.h" +#include "model/TopTenElapsedTimeInstanceRequest.h" +#include "model/TopTenElapsedTimeInstanceResult.h" +#include "model/TopTenErrorTimesInstanceRequest.h" +#include "model/TopTenErrorTimesInstanceResult.h" #include "model/UpdateBusinessRequest.h" #include "model/UpdateBusinessResult.h" #include "model/UpdateConnectionRequest.h" #include "model/UpdateConnectionResult.h" #include "model/UpdateDataServiceApiRequest.h" #include "model/UpdateDataServiceApiResult.h" +#include "model/UpdateDataSourceRequest.h" +#include "model/UpdateDataSourceResult.h" #include "model/UpdateFileRequest.h" #include "model/UpdateFileResult.h" #include "model/UpdateFolderRequest.h" @@ -366,6 +430,12 @@ namespace AlibabaCloud typedef Outcome AddToMetaCategoryOutcome; typedef std::future AddToMetaCategoryOutcomeCallable; typedef std::function&)> AddToMetaCategoryAsyncHandler; + typedef Outcome ApprovePermissionApplyOrderOutcome; + typedef std::future ApprovePermissionApplyOrderOutcomeCallable; + typedef std::function&)> ApprovePermissionApplyOrderAsyncHandler; + typedef Outcome CheckFileDeploymentOutcome; + typedef std::future CheckFileDeploymentOutcomeCallable; + typedef std::function&)> CheckFileDeploymentAsyncHandler; typedef Outcome CheckMetaPartitionOutcome; typedef std::future CheckMetaPartitionOutcomeCallable; typedef std::function&)> CheckMetaPartitionAsyncHandler; @@ -396,6 +466,9 @@ namespace AlibabaCloud typedef Outcome CreateDataServiceGroupOutcome; typedef std::future CreateDataServiceGroupOutcomeCallable; typedef std::function&)> CreateDataServiceGroupAsyncHandler; + typedef Outcome CreateDataSourceOutcome; + typedef std::future CreateDataSourceOutcomeCallable; + typedef std::function&)> CreateDataSourceAsyncHandler; typedef Outcome CreateFileOutcome; typedef std::future CreateFileOutcomeCallable; typedef std::function&)> CreateFileAsyncHandler; @@ -411,6 +484,9 @@ namespace AlibabaCloud typedef Outcome CreateMetaCategoryOutcome; typedef std::future CreateMetaCategoryOutcomeCallable; typedef std::function&)> CreateMetaCategoryAsyncHandler; + typedef Outcome CreatePermissionApplyOrderOutcome; + typedef std::future CreatePermissionApplyOrderOutcomeCallable; + typedef std::function&)> CreatePermissionApplyOrderAsyncHandler; typedef Outcome CreateProjectMemberOutcome; typedef std::future CreateProjectMemberOutcomeCallable; typedef std::function&)> CreateProjectMemberAsyncHandler; @@ -441,6 +517,9 @@ namespace AlibabaCloud typedef Outcome CreateUdfFileOutcome; typedef std::future CreateUdfFileOutcomeCallable; typedef std::function&)> CreateUdfFileAsyncHandler; + typedef Outcome CreateViewOutcome; + typedef std::future CreateViewOutcomeCallable; + typedef std::function&)> CreateViewAsyncHandler; typedef Outcome DeleteBusinessOutcome; typedef std::future DeleteBusinessOutcomeCallable; typedef std::function&)> DeleteBusinessAsyncHandler; @@ -453,6 +532,9 @@ namespace AlibabaCloud typedef Outcome DeleteDataServiceApiAuthorityOutcome; typedef std::future DeleteDataServiceApiAuthorityOutcomeCallable; typedef std::function&)> DeleteDataServiceApiAuthorityAsyncHandler; + typedef Outcome DeleteDataSourceOutcome; + typedef std::future DeleteDataSourceOutcomeCallable; + typedef std::function&)> DeleteDataSourceAsyncHandler; typedef Outcome DeleteFileOutcome; typedef std::future DeleteFileOutcomeCallable; typedef std::function&)> DeleteFileAsyncHandler; @@ -492,6 +574,9 @@ namespace AlibabaCloud typedef Outcome DeleteTableThemeOutcome; typedef std::future DeleteTableThemeOutcomeCallable; typedef std::function&)> DeleteTableThemeAsyncHandler; + typedef Outcome DeleteViewOutcome; + typedef std::future DeleteViewOutcomeCallable; + typedef std::function&)> DeleteViewAsyncHandler; typedef Outcome DeployFileOutcome; typedef std::future DeployFileOutcomeCallable; typedef std::function&)> DeployFileAsyncHandler; @@ -501,6 +586,9 @@ namespace AlibabaCloud typedef Outcome EstablishRelationTableToBusinessOutcome; typedef std::future EstablishRelationTableToBusinessOutcomeCallable; typedef std::function&)> EstablishRelationTableToBusinessAsyncHandler; + typedef Outcome ExportDISyncTasksOutcome; + typedef std::future ExportDISyncTasksOutcomeCallable; + typedef std::function&)> ExportDISyncTasksAsyncHandler; typedef Outcome GetBaselineConfigOutcome; typedef std::future GetBaselineConfigOutcomeCallable; typedef std::function&)> GetBaselineConfigAsyncHandler; @@ -540,6 +628,9 @@ namespace AlibabaCloud typedef Outcome GetFileOutcome; typedef std::future GetFileOutcomeCallable; typedef std::function&)> GetFileAsyncHandler; + typedef Outcome GetFileTypeStatisticOutcome; + typedef std::future GetFileTypeStatisticOutcomeCallable; + typedef std::function&)> GetFileTypeStatisticAsyncHandler; typedef Outcome GetFileVersionOutcome; typedef std::future GetFileVersionOutcomeCallable; typedef std::function&)> GetFileVersionAsyncHandler; @@ -564,6 +655,9 @@ namespace AlibabaCloud typedef Outcome GetInstanceStatusCountOutcome; typedef std::future GetInstanceStatusCountOutcomeCallable; typedef std::function&)> GetInstanceStatusCountAsyncHandler; + typedef Outcome GetInstanceStatusStatisticOutcome; + typedef std::future GetInstanceStatusStatisticOutcomeCallable; + typedef std::function&)> GetInstanceStatusStatisticAsyncHandler; typedef Outcome GetManualDagInstancesOutcome; typedef std::future GetManualDagInstancesOutcomeCallable; typedef std::function&)> GetManualDagInstancesAsyncHandler; @@ -606,6 +700,9 @@ namespace AlibabaCloud typedef Outcome GetMetaTablePartitionOutcome; typedef std::future GetMetaTablePartitionOutcomeCallable; typedef std::function&)> GetMetaTablePartitionAsyncHandler; + typedef Outcome GetMetaTableThemeLevelOutcome; + typedef std::future GetMetaTableThemeLevelOutcomeCallable; + typedef std::function&)> GetMetaTableThemeLevelAsyncHandler; typedef Outcome GetMigrationProcessOutcome; typedef std::future GetMigrationProcessOutcomeCallable; typedef std::function&)> GetMigrationProcessAsyncHandler; @@ -633,6 +730,12 @@ namespace AlibabaCloud typedef Outcome GetOpSensitiveDataOutcome; typedef std::future GetOpSensitiveDataOutcomeCallable; typedef std::function&)> GetOpSensitiveDataAsyncHandler; + typedef Outcome GetPermissionApplyOrderDetailOutcome; + typedef std::future GetPermissionApplyOrderDetailOutcomeCallable; + typedef std::function&)> GetPermissionApplyOrderDetailAsyncHandler; + typedef Outcome GetProjectOutcome; + typedef std::future GetProjectOutcomeCallable; + typedef std::function&)> GetProjectAsyncHandler; typedef Outcome GetProjectDetailOutcome; typedef std::future GetProjectDetailOutcomeCallable; typedef std::function&)> GetProjectDetailAsyncHandler; @@ -660,6 +763,9 @@ namespace AlibabaCloud typedef Outcome GetTopicInfluenceOutcome; typedef std::future GetTopicInfluenceOutcomeCallable; typedef std::function&)> GetTopicInfluenceAsyncHandler; + typedef Outcome ImportDISyncTasksOutcome; + typedef std::future ImportDISyncTasksOutcomeCallable; + typedef std::function&)> ImportDISyncTasksAsyncHandler; typedef Outcome ListAlertMessagesOutcome; typedef std::future ListAlertMessagesOutcomeCallable; typedef std::function&)> ListAlertMessagesAsyncHandler; @@ -678,6 +784,9 @@ namespace AlibabaCloud typedef Outcome ListConnectionsOutcome; typedef std::future ListConnectionsOutcomeCallable; typedef std::function&)> ListConnectionsAsyncHandler; + typedef Outcome ListDISyncTasksOutcome; + typedef std::future ListDISyncTasksOutcomeCallable; + typedef std::function&)> ListDISyncTasksAsyncHandler; typedef Outcome ListDataServiceApiAuthoritiesOutcome; typedef std::future ListDataServiceApiAuthoritiesOutcomeCallable; typedef std::function&)> ListDataServiceApiAuthoritiesAsyncHandler; @@ -699,6 +808,12 @@ namespace AlibabaCloud typedef Outcome ListDataServicePublishedApisOutcome; typedef std::future ListDataServicePublishedApisOutcomeCallable; typedef std::function&)> ListDataServicePublishedApisAsyncHandler; + typedef Outcome ListDataSourcesOutcome; + typedef std::future ListDataSourcesOutcomeCallable; + typedef std::function&)> ListDataSourcesAsyncHandler; + typedef Outcome ListFileTypeOutcome; + typedef std::future ListFileTypeOutcomeCallable; + typedef std::function&)> ListFileTypeAsyncHandler; typedef Outcome ListFileVersionsOutcome; typedef std::future ListFileVersionsOutcomeCallable; typedef std::function&)> ListFileVersionsAsyncHandler; @@ -708,18 +823,36 @@ namespace AlibabaCloud typedef Outcome ListFoldersOutcome; typedef std::future ListFoldersOutcomeCallable; typedef std::function&)> ListFoldersAsyncHandler; + typedef Outcome ListInstanceAmountOutcome; + typedef std::future ListInstanceAmountOutcomeCallable; + typedef std::function&)> ListInstanceAmountAsyncHandler; typedef Outcome ListInstancesOutcome; typedef std::future ListInstancesOutcomeCallable; typedef std::function&)> ListInstancesAsyncHandler; + typedef Outcome ListManualDagInstancesOutcome; + typedef std::future ListManualDagInstancesOutcomeCallable; + typedef std::function&)> ListManualDagInstancesAsyncHandler; typedef Outcome ListMetaDBOutcome; typedef std::future ListMetaDBOutcomeCallable; typedef std::function&)> ListMetaDBAsyncHandler; typedef Outcome ListNodeIOOutcome; typedef std::future ListNodeIOOutcomeCallable; typedef std::function&)> ListNodeIOAsyncHandler; + typedef Outcome ListNodeInputOrOutputOutcome; + typedef std::future ListNodeInputOrOutputOutcomeCallable; + typedef std::function&)> ListNodeInputOrOutputAsyncHandler; typedef Outcome ListNodesOutcome; typedef std::future ListNodesOutcomeCallable; typedef std::function&)> ListNodesAsyncHandler; + typedef Outcome ListNodesByBaselineOutcome; + typedef std::future ListNodesByBaselineOutcomeCallable; + typedef std::function&)> ListNodesByBaselineAsyncHandler; + typedef Outcome ListNodesByOutputOutcome; + typedef std::future ListNodesByOutputOutcomeCallable; + typedef std::function&)> ListNodesByOutputAsyncHandler; + typedef Outcome ListPermissionApplyOrdersOutcome; + typedef std::future ListPermissionApplyOrdersOutcomeCallable; + typedef std::function&)> ListPermissionApplyOrdersAsyncHandler; typedef Outcome ListProgramTypeCountOutcome; typedef std::future ListProgramTypeCountOutcomeCallable; typedef std::function&)> ListProgramTypeCountAsyncHandler; @@ -747,6 +880,9 @@ namespace AlibabaCloud typedef Outcome ListResourceGroupsOutcome; typedef std::future ListResourceGroupsOutcomeCallable; typedef std::function&)> ListResourceGroupsAsyncHandler; + typedef Outcome ListSuccessInstanceAmountOutcome; + typedef std::future ListSuccessInstanceAmountOutcomeCallable; + typedef std::function&)> ListSuccessInstanceAmountAsyncHandler; typedef Outcome ListTableLevelOutcome; typedef std::future ListTableLevelOutcomeCallable; typedef std::function&)> ListTableLevelAsyncHandler; @@ -768,6 +904,21 @@ namespace AlibabaCloud typedef Outcome ResumeInstanceOutcome; typedef std::future ResumeInstanceOutcomeCallable; typedef std::function&)> ResumeInstanceAsyncHandler; + typedef Outcome RevokeColumnPermissionOutcome; + typedef std::future RevokeColumnPermissionOutcomeCallable; + typedef std::function&)> RevokeColumnPermissionAsyncHandler; + typedef Outcome RevokeTablePermissionOutcome; + typedef std::future RevokeTablePermissionOutcomeCallable; + typedef std::function&)> RevokeTablePermissionAsyncHandler; + typedef Outcome RunCycleDagNodesOutcome; + typedef std::future RunCycleDagNodesOutcomeCallable; + typedef std::function&)> RunCycleDagNodesAsyncHandler; + typedef Outcome RunManualDagNodesOutcome; + typedef std::future RunManualDagNodesOutcomeCallable; + typedef std::function&)> RunManualDagNodesAsyncHandler; + typedef Outcome RunSmokeTestOutcome; + typedef std::future RunSmokeTestOutcomeCallable; + typedef std::function&)> RunSmokeTestAsyncHandler; typedef Outcome RunTriggerNodeOutcome; typedef std::future RunTriggerNodeOutcomeCallable; typedef std::function&)> RunTriggerNodeAsyncHandler; @@ -795,6 +946,12 @@ namespace AlibabaCloud typedef Outcome SuspendInstanceOutcome; typedef std::future SuspendInstanceOutcomeCallable; typedef std::function&)> SuspendInstanceAsyncHandler; + typedef Outcome TopTenElapsedTimeInstanceOutcome; + typedef std::future TopTenElapsedTimeInstanceOutcomeCallable; + typedef std::function&)> TopTenElapsedTimeInstanceAsyncHandler; + typedef Outcome TopTenErrorTimesInstanceOutcome; + typedef std::future TopTenErrorTimesInstanceOutcomeCallable; + typedef std::function&)> TopTenErrorTimesInstanceAsyncHandler; typedef Outcome UpdateBusinessOutcome; typedef std::future UpdateBusinessOutcomeCallable; typedef std::function&)> UpdateBusinessAsyncHandler; @@ -804,6 +961,9 @@ namespace AlibabaCloud typedef Outcome UpdateDataServiceApiOutcome; typedef std::future UpdateDataServiceApiOutcomeCallable; typedef std::function&)> UpdateDataServiceApiAsyncHandler; + typedef Outcome UpdateDataSourceOutcome; + typedef std::future UpdateDataSourceOutcomeCallable; + typedef std::function&)> UpdateDataSourceAsyncHandler; typedef Outcome UpdateFileOutcome; typedef std::future UpdateFileOutcomeCallable; typedef std::function&)> UpdateFileAsyncHandler; @@ -860,6 +1020,12 @@ namespace AlibabaCloud AddToMetaCategoryOutcome addToMetaCategory(const Model::AddToMetaCategoryRequest &request)const; void addToMetaCategoryAsync(const Model::AddToMetaCategoryRequest& request, const AddToMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddToMetaCategoryOutcomeCallable addToMetaCategoryCallable(const Model::AddToMetaCategoryRequest& request) const; + ApprovePermissionApplyOrderOutcome approvePermissionApplyOrder(const Model::ApprovePermissionApplyOrderRequest &request)const; + void approvePermissionApplyOrderAsync(const Model::ApprovePermissionApplyOrderRequest& request, const ApprovePermissionApplyOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ApprovePermissionApplyOrderOutcomeCallable approvePermissionApplyOrderCallable(const Model::ApprovePermissionApplyOrderRequest& request) const; + CheckFileDeploymentOutcome checkFileDeployment(const Model::CheckFileDeploymentRequest &request)const; + void checkFileDeploymentAsync(const Model::CheckFileDeploymentRequest& request, const CheckFileDeploymentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckFileDeploymentOutcomeCallable checkFileDeploymentCallable(const Model::CheckFileDeploymentRequest& request) const; CheckMetaPartitionOutcome checkMetaPartition(const Model::CheckMetaPartitionRequest &request)const; void checkMetaPartitionAsync(const Model::CheckMetaPartitionRequest& request, const CheckMetaPartitionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CheckMetaPartitionOutcomeCallable checkMetaPartitionCallable(const Model::CheckMetaPartitionRequest& request) const; @@ -890,6 +1056,9 @@ namespace AlibabaCloud CreateDataServiceGroupOutcome createDataServiceGroup(const Model::CreateDataServiceGroupRequest &request)const; void createDataServiceGroupAsync(const Model::CreateDataServiceGroupRequest& request, const CreateDataServiceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDataServiceGroupOutcomeCallable createDataServiceGroupCallable(const Model::CreateDataServiceGroupRequest& request) const; + CreateDataSourceOutcome createDataSource(const Model::CreateDataSourceRequest &request)const; + void createDataSourceAsync(const Model::CreateDataSourceRequest& request, const CreateDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDataSourceOutcomeCallable createDataSourceCallable(const Model::CreateDataSourceRequest& request) const; CreateFileOutcome createFile(const Model::CreateFileRequest &request)const; void createFileAsync(const Model::CreateFileRequest& request, const CreateFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateFileOutcomeCallable createFileCallable(const Model::CreateFileRequest& request) const; @@ -905,6 +1074,9 @@ namespace AlibabaCloud CreateMetaCategoryOutcome createMetaCategory(const Model::CreateMetaCategoryRequest &request)const; void createMetaCategoryAsync(const Model::CreateMetaCategoryRequest& request, const CreateMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateMetaCategoryOutcomeCallable createMetaCategoryCallable(const Model::CreateMetaCategoryRequest& request) const; + CreatePermissionApplyOrderOutcome createPermissionApplyOrder(const Model::CreatePermissionApplyOrderRequest &request)const; + void createPermissionApplyOrderAsync(const Model::CreatePermissionApplyOrderRequest& request, const CreatePermissionApplyOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreatePermissionApplyOrderOutcomeCallable createPermissionApplyOrderCallable(const Model::CreatePermissionApplyOrderRequest& request) const; CreateProjectMemberOutcome createProjectMember(const Model::CreateProjectMemberRequest &request)const; void createProjectMemberAsync(const Model::CreateProjectMemberRequest& request, const CreateProjectMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateProjectMemberOutcomeCallable createProjectMemberCallable(const Model::CreateProjectMemberRequest& request) const; @@ -935,6 +1107,9 @@ namespace AlibabaCloud CreateUdfFileOutcome createUdfFile(const Model::CreateUdfFileRequest &request)const; void createUdfFileAsync(const Model::CreateUdfFileRequest& request, const CreateUdfFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateUdfFileOutcomeCallable createUdfFileCallable(const Model::CreateUdfFileRequest& request) const; + CreateViewOutcome createView(const Model::CreateViewRequest &request)const; + void createViewAsync(const Model::CreateViewRequest& request, const CreateViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateViewOutcomeCallable createViewCallable(const Model::CreateViewRequest& request) const; DeleteBusinessOutcome deleteBusiness(const Model::DeleteBusinessRequest &request)const; void deleteBusinessAsync(const Model::DeleteBusinessRequest& request, const DeleteBusinessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteBusinessOutcomeCallable deleteBusinessCallable(const Model::DeleteBusinessRequest& request) const; @@ -947,6 +1122,9 @@ namespace AlibabaCloud DeleteDataServiceApiAuthorityOutcome deleteDataServiceApiAuthority(const Model::DeleteDataServiceApiAuthorityRequest &request)const; void deleteDataServiceApiAuthorityAsync(const Model::DeleteDataServiceApiAuthorityRequest& request, const DeleteDataServiceApiAuthorityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDataServiceApiAuthorityOutcomeCallable deleteDataServiceApiAuthorityCallable(const Model::DeleteDataServiceApiAuthorityRequest& request) const; + DeleteDataSourceOutcome deleteDataSource(const Model::DeleteDataSourceRequest &request)const; + void deleteDataSourceAsync(const Model::DeleteDataSourceRequest& request, const DeleteDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDataSourceOutcomeCallable deleteDataSourceCallable(const Model::DeleteDataSourceRequest& request) const; DeleteFileOutcome deleteFile(const Model::DeleteFileRequest &request)const; void deleteFileAsync(const Model::DeleteFileRequest& request, const DeleteFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFileOutcomeCallable deleteFileCallable(const Model::DeleteFileRequest& request) const; @@ -986,6 +1164,9 @@ namespace AlibabaCloud DeleteTableThemeOutcome deleteTableTheme(const Model::DeleteTableThemeRequest &request)const; void deleteTableThemeAsync(const Model::DeleteTableThemeRequest& request, const DeleteTableThemeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteTableThemeOutcomeCallable deleteTableThemeCallable(const Model::DeleteTableThemeRequest& request) const; + DeleteViewOutcome deleteView(const Model::DeleteViewRequest &request)const; + void deleteViewAsync(const Model::DeleteViewRequest& request, const DeleteViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteViewOutcomeCallable deleteViewCallable(const Model::DeleteViewRequest& request) const; DeployFileOutcome deployFile(const Model::DeployFileRequest &request)const; void deployFileAsync(const Model::DeployFileRequest& request, const DeployFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeployFileOutcomeCallable deployFileCallable(const Model::DeployFileRequest& request) const; @@ -995,6 +1176,9 @@ namespace AlibabaCloud EstablishRelationTableToBusinessOutcome establishRelationTableToBusiness(const Model::EstablishRelationTableToBusinessRequest &request)const; void establishRelationTableToBusinessAsync(const Model::EstablishRelationTableToBusinessRequest& request, const EstablishRelationTableToBusinessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EstablishRelationTableToBusinessOutcomeCallable establishRelationTableToBusinessCallable(const Model::EstablishRelationTableToBusinessRequest& request) const; + ExportDISyncTasksOutcome exportDISyncTasks(const Model::ExportDISyncTasksRequest &request)const; + void exportDISyncTasksAsync(const Model::ExportDISyncTasksRequest& request, const ExportDISyncTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExportDISyncTasksOutcomeCallable exportDISyncTasksCallable(const Model::ExportDISyncTasksRequest& request) const; GetBaselineConfigOutcome getBaselineConfig(const Model::GetBaselineConfigRequest &request)const; void getBaselineConfigAsync(const Model::GetBaselineConfigRequest& request, const GetBaselineConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetBaselineConfigOutcomeCallable getBaselineConfigCallable(const Model::GetBaselineConfigRequest& request) const; @@ -1034,6 +1218,9 @@ namespace AlibabaCloud GetFileOutcome getFile(const Model::GetFileRequest &request)const; void getFileAsync(const Model::GetFileRequest& request, const GetFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetFileOutcomeCallable getFileCallable(const Model::GetFileRequest& request) const; + GetFileTypeStatisticOutcome getFileTypeStatistic(const Model::GetFileTypeStatisticRequest &request)const; + void getFileTypeStatisticAsync(const Model::GetFileTypeStatisticRequest& request, const GetFileTypeStatisticAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetFileTypeStatisticOutcomeCallable getFileTypeStatisticCallable(const Model::GetFileTypeStatisticRequest& request) const; GetFileVersionOutcome getFileVersion(const Model::GetFileVersionRequest &request)const; void getFileVersionAsync(const Model::GetFileVersionRequest& request, const GetFileVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetFileVersionOutcomeCallable getFileVersionCallable(const Model::GetFileVersionRequest& request) const; @@ -1058,6 +1245,9 @@ namespace AlibabaCloud GetInstanceStatusCountOutcome getInstanceStatusCount(const Model::GetInstanceStatusCountRequest &request)const; void getInstanceStatusCountAsync(const Model::GetInstanceStatusCountRequest& request, const GetInstanceStatusCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetInstanceStatusCountOutcomeCallable getInstanceStatusCountCallable(const Model::GetInstanceStatusCountRequest& request) const; + GetInstanceStatusStatisticOutcome getInstanceStatusStatistic(const Model::GetInstanceStatusStatisticRequest &request)const; + void getInstanceStatusStatisticAsync(const Model::GetInstanceStatusStatisticRequest& request, const GetInstanceStatusStatisticAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetInstanceStatusStatisticOutcomeCallable getInstanceStatusStatisticCallable(const Model::GetInstanceStatusStatisticRequest& request) const; GetManualDagInstancesOutcome getManualDagInstances(const Model::GetManualDagInstancesRequest &request)const; void getManualDagInstancesAsync(const Model::GetManualDagInstancesRequest& request, const GetManualDagInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetManualDagInstancesOutcomeCallable getManualDagInstancesCallable(const Model::GetManualDagInstancesRequest& request) const; @@ -1100,6 +1290,9 @@ namespace AlibabaCloud GetMetaTablePartitionOutcome getMetaTablePartition(const Model::GetMetaTablePartitionRequest &request)const; void getMetaTablePartitionAsync(const Model::GetMetaTablePartitionRequest& request, const GetMetaTablePartitionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetMetaTablePartitionOutcomeCallable getMetaTablePartitionCallable(const Model::GetMetaTablePartitionRequest& request) const; + GetMetaTableThemeLevelOutcome getMetaTableThemeLevel(const Model::GetMetaTableThemeLevelRequest &request)const; + void getMetaTableThemeLevelAsync(const Model::GetMetaTableThemeLevelRequest& request, const GetMetaTableThemeLevelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetMetaTableThemeLevelOutcomeCallable getMetaTableThemeLevelCallable(const Model::GetMetaTableThemeLevelRequest& request) const; GetMigrationProcessOutcome getMigrationProcess(const Model::GetMigrationProcessRequest &request)const; void getMigrationProcessAsync(const Model::GetMigrationProcessRequest& request, const GetMigrationProcessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetMigrationProcessOutcomeCallable getMigrationProcessCallable(const Model::GetMigrationProcessRequest& request) const; @@ -1127,6 +1320,12 @@ namespace AlibabaCloud GetOpSensitiveDataOutcome getOpSensitiveData(const Model::GetOpSensitiveDataRequest &request)const; void getOpSensitiveDataAsync(const Model::GetOpSensitiveDataRequest& request, const GetOpSensitiveDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetOpSensitiveDataOutcomeCallable getOpSensitiveDataCallable(const Model::GetOpSensitiveDataRequest& request) const; + GetPermissionApplyOrderDetailOutcome getPermissionApplyOrderDetail(const Model::GetPermissionApplyOrderDetailRequest &request)const; + void getPermissionApplyOrderDetailAsync(const Model::GetPermissionApplyOrderDetailRequest& request, const GetPermissionApplyOrderDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetPermissionApplyOrderDetailOutcomeCallable getPermissionApplyOrderDetailCallable(const Model::GetPermissionApplyOrderDetailRequest& request) const; + GetProjectOutcome getProject(const Model::GetProjectRequest &request)const; + void getProjectAsync(const Model::GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetProjectOutcomeCallable getProjectCallable(const Model::GetProjectRequest& request) const; GetProjectDetailOutcome getProjectDetail(const Model::GetProjectDetailRequest &request)const; void getProjectDetailAsync(const Model::GetProjectDetailRequest& request, const GetProjectDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetProjectDetailOutcomeCallable getProjectDetailCallable(const Model::GetProjectDetailRequest& request) const; @@ -1154,6 +1353,9 @@ namespace AlibabaCloud GetTopicInfluenceOutcome getTopicInfluence(const Model::GetTopicInfluenceRequest &request)const; void getTopicInfluenceAsync(const Model::GetTopicInfluenceRequest& request, const GetTopicInfluenceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetTopicInfluenceOutcomeCallable getTopicInfluenceCallable(const Model::GetTopicInfluenceRequest& request) const; + ImportDISyncTasksOutcome importDISyncTasks(const Model::ImportDISyncTasksRequest &request)const; + void importDISyncTasksAsync(const Model::ImportDISyncTasksRequest& request, const ImportDISyncTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImportDISyncTasksOutcomeCallable importDISyncTasksCallable(const Model::ImportDISyncTasksRequest& request) const; ListAlertMessagesOutcome listAlertMessages(const Model::ListAlertMessagesRequest &request)const; void listAlertMessagesAsync(const Model::ListAlertMessagesRequest& request, const ListAlertMessagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListAlertMessagesOutcomeCallable listAlertMessagesCallable(const Model::ListAlertMessagesRequest& request) const; @@ -1172,6 +1374,9 @@ namespace AlibabaCloud ListConnectionsOutcome listConnections(const Model::ListConnectionsRequest &request)const; void listConnectionsAsync(const Model::ListConnectionsRequest& request, const ListConnectionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListConnectionsOutcomeCallable listConnectionsCallable(const Model::ListConnectionsRequest& request) const; + ListDISyncTasksOutcome listDISyncTasks(const Model::ListDISyncTasksRequest &request)const; + void listDISyncTasksAsync(const Model::ListDISyncTasksRequest& request, const ListDISyncTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDISyncTasksOutcomeCallable listDISyncTasksCallable(const Model::ListDISyncTasksRequest& request) const; ListDataServiceApiAuthoritiesOutcome listDataServiceApiAuthorities(const Model::ListDataServiceApiAuthoritiesRequest &request)const; void listDataServiceApiAuthoritiesAsync(const Model::ListDataServiceApiAuthoritiesRequest& request, const ListDataServiceApiAuthoritiesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDataServiceApiAuthoritiesOutcomeCallable listDataServiceApiAuthoritiesCallable(const Model::ListDataServiceApiAuthoritiesRequest& request) const; @@ -1193,6 +1398,12 @@ namespace AlibabaCloud ListDataServicePublishedApisOutcome listDataServicePublishedApis(const Model::ListDataServicePublishedApisRequest &request)const; void listDataServicePublishedApisAsync(const Model::ListDataServicePublishedApisRequest& request, const ListDataServicePublishedApisAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDataServicePublishedApisOutcomeCallable listDataServicePublishedApisCallable(const Model::ListDataServicePublishedApisRequest& request) const; + ListDataSourcesOutcome listDataSources(const Model::ListDataSourcesRequest &request)const; + void listDataSourcesAsync(const Model::ListDataSourcesRequest& request, const ListDataSourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDataSourcesOutcomeCallable listDataSourcesCallable(const Model::ListDataSourcesRequest& request) const; + ListFileTypeOutcome listFileType(const Model::ListFileTypeRequest &request)const; + void listFileTypeAsync(const Model::ListFileTypeRequest& request, const ListFileTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFileTypeOutcomeCallable listFileTypeCallable(const Model::ListFileTypeRequest& request) const; ListFileVersionsOutcome listFileVersions(const Model::ListFileVersionsRequest &request)const; void listFileVersionsAsync(const Model::ListFileVersionsRequest& request, const ListFileVersionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFileVersionsOutcomeCallable listFileVersionsCallable(const Model::ListFileVersionsRequest& request) const; @@ -1202,18 +1413,36 @@ namespace AlibabaCloud ListFoldersOutcome listFolders(const Model::ListFoldersRequest &request)const; void listFoldersAsync(const Model::ListFoldersRequest& request, const ListFoldersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFoldersOutcomeCallable listFoldersCallable(const Model::ListFoldersRequest& request) const; + ListInstanceAmountOutcome listInstanceAmount(const Model::ListInstanceAmountRequest &request)const; + void listInstanceAmountAsync(const Model::ListInstanceAmountRequest& request, const ListInstanceAmountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListInstanceAmountOutcomeCallable listInstanceAmountCallable(const Model::ListInstanceAmountRequest& request) const; ListInstancesOutcome listInstances(const Model::ListInstancesRequest &request)const; void listInstancesAsync(const Model::ListInstancesRequest& request, const ListInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListInstancesOutcomeCallable listInstancesCallable(const Model::ListInstancesRequest& request) const; + ListManualDagInstancesOutcome listManualDagInstances(const Model::ListManualDagInstancesRequest &request)const; + void listManualDagInstancesAsync(const Model::ListManualDagInstancesRequest& request, const ListManualDagInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListManualDagInstancesOutcomeCallable listManualDagInstancesCallable(const Model::ListManualDagInstancesRequest& request) const; ListMetaDBOutcome listMetaDB(const Model::ListMetaDBRequest &request)const; void listMetaDBAsync(const Model::ListMetaDBRequest& request, const ListMetaDBAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListMetaDBOutcomeCallable listMetaDBCallable(const Model::ListMetaDBRequest& request) const; ListNodeIOOutcome listNodeIO(const Model::ListNodeIORequest &request)const; void listNodeIOAsync(const Model::ListNodeIORequest& request, const ListNodeIOAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListNodeIOOutcomeCallable listNodeIOCallable(const Model::ListNodeIORequest& request) const; + ListNodeInputOrOutputOutcome listNodeInputOrOutput(const Model::ListNodeInputOrOutputRequest &request)const; + void listNodeInputOrOutputAsync(const Model::ListNodeInputOrOutputRequest& request, const ListNodeInputOrOutputAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodeInputOrOutputOutcomeCallable listNodeInputOrOutputCallable(const Model::ListNodeInputOrOutputRequest& request) const; ListNodesOutcome listNodes(const Model::ListNodesRequest &request)const; void listNodesAsync(const Model::ListNodesRequest& request, const ListNodesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListNodesOutcomeCallable listNodesCallable(const Model::ListNodesRequest& request) const; + ListNodesByBaselineOutcome listNodesByBaseline(const Model::ListNodesByBaselineRequest &request)const; + void listNodesByBaselineAsync(const Model::ListNodesByBaselineRequest& request, const ListNodesByBaselineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodesByBaselineOutcomeCallable listNodesByBaselineCallable(const Model::ListNodesByBaselineRequest& request) const; + ListNodesByOutputOutcome listNodesByOutput(const Model::ListNodesByOutputRequest &request)const; + void listNodesByOutputAsync(const Model::ListNodesByOutputRequest& request, const ListNodesByOutputAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodesByOutputOutcomeCallable listNodesByOutputCallable(const Model::ListNodesByOutputRequest& request) const; + ListPermissionApplyOrdersOutcome listPermissionApplyOrders(const Model::ListPermissionApplyOrdersRequest &request)const; + void listPermissionApplyOrdersAsync(const Model::ListPermissionApplyOrdersRequest& request, const ListPermissionApplyOrdersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListPermissionApplyOrdersOutcomeCallable listPermissionApplyOrdersCallable(const Model::ListPermissionApplyOrdersRequest& request) const; ListProgramTypeCountOutcome listProgramTypeCount(const Model::ListProgramTypeCountRequest &request)const; void listProgramTypeCountAsync(const Model::ListProgramTypeCountRequest& request, const ListProgramTypeCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListProgramTypeCountOutcomeCallable listProgramTypeCountCallable(const Model::ListProgramTypeCountRequest& request) const; @@ -1241,6 +1470,9 @@ namespace AlibabaCloud ListResourceGroupsOutcome listResourceGroups(const Model::ListResourceGroupsRequest &request)const; void listResourceGroupsAsync(const Model::ListResourceGroupsRequest& request, const ListResourceGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListResourceGroupsOutcomeCallable listResourceGroupsCallable(const Model::ListResourceGroupsRequest& request) const; + ListSuccessInstanceAmountOutcome listSuccessInstanceAmount(const Model::ListSuccessInstanceAmountRequest &request)const; + void listSuccessInstanceAmountAsync(const Model::ListSuccessInstanceAmountRequest& request, const ListSuccessInstanceAmountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSuccessInstanceAmountOutcomeCallable listSuccessInstanceAmountCallable(const Model::ListSuccessInstanceAmountRequest& request) const; ListTableLevelOutcome listTableLevel(const Model::ListTableLevelRequest &request)const; void listTableLevelAsync(const Model::ListTableLevelRequest& request, const ListTableLevelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTableLevelOutcomeCallable listTableLevelCallable(const Model::ListTableLevelRequest& request) const; @@ -1262,6 +1494,21 @@ namespace AlibabaCloud ResumeInstanceOutcome resumeInstance(const Model::ResumeInstanceRequest &request)const; void resumeInstanceAsync(const Model::ResumeInstanceRequest& request, const ResumeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResumeInstanceOutcomeCallable resumeInstanceCallable(const Model::ResumeInstanceRequest& request) const; + RevokeColumnPermissionOutcome revokeColumnPermission(const Model::RevokeColumnPermissionRequest &request)const; + void revokeColumnPermissionAsync(const Model::RevokeColumnPermissionRequest& request, const RevokeColumnPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RevokeColumnPermissionOutcomeCallable revokeColumnPermissionCallable(const Model::RevokeColumnPermissionRequest& request) const; + RevokeTablePermissionOutcome revokeTablePermission(const Model::RevokeTablePermissionRequest &request)const; + void revokeTablePermissionAsync(const Model::RevokeTablePermissionRequest& request, const RevokeTablePermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RevokeTablePermissionOutcomeCallable revokeTablePermissionCallable(const Model::RevokeTablePermissionRequest& request) const; + RunCycleDagNodesOutcome runCycleDagNodes(const Model::RunCycleDagNodesRequest &request)const; + void runCycleDagNodesAsync(const Model::RunCycleDagNodesRequest& request, const RunCycleDagNodesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RunCycleDagNodesOutcomeCallable runCycleDagNodesCallable(const Model::RunCycleDagNodesRequest& request) const; + RunManualDagNodesOutcome runManualDagNodes(const Model::RunManualDagNodesRequest &request)const; + void runManualDagNodesAsync(const Model::RunManualDagNodesRequest& request, const RunManualDagNodesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RunManualDagNodesOutcomeCallable runManualDagNodesCallable(const Model::RunManualDagNodesRequest& request) const; + RunSmokeTestOutcome runSmokeTest(const Model::RunSmokeTestRequest &request)const; + void runSmokeTestAsync(const Model::RunSmokeTestRequest& request, const RunSmokeTestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RunSmokeTestOutcomeCallable runSmokeTestCallable(const Model::RunSmokeTestRequest& request) const; RunTriggerNodeOutcome runTriggerNode(const Model::RunTriggerNodeRequest &request)const; void runTriggerNodeAsync(const Model::RunTriggerNodeRequest& request, const RunTriggerNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RunTriggerNodeOutcomeCallable runTriggerNodeCallable(const Model::RunTriggerNodeRequest& request) const; @@ -1289,6 +1536,12 @@ namespace AlibabaCloud SuspendInstanceOutcome suspendInstance(const Model::SuspendInstanceRequest &request)const; void suspendInstanceAsync(const Model::SuspendInstanceRequest& request, const SuspendInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SuspendInstanceOutcomeCallable suspendInstanceCallable(const Model::SuspendInstanceRequest& request) const; + TopTenElapsedTimeInstanceOutcome topTenElapsedTimeInstance(const Model::TopTenElapsedTimeInstanceRequest &request)const; + void topTenElapsedTimeInstanceAsync(const Model::TopTenElapsedTimeInstanceRequest& request, const TopTenElapsedTimeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + TopTenElapsedTimeInstanceOutcomeCallable topTenElapsedTimeInstanceCallable(const Model::TopTenElapsedTimeInstanceRequest& request) const; + TopTenErrorTimesInstanceOutcome topTenErrorTimesInstance(const Model::TopTenErrorTimesInstanceRequest &request)const; + void topTenErrorTimesInstanceAsync(const Model::TopTenErrorTimesInstanceRequest& request, const TopTenErrorTimesInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + TopTenErrorTimesInstanceOutcomeCallable topTenErrorTimesInstanceCallable(const Model::TopTenErrorTimesInstanceRequest& request) const; UpdateBusinessOutcome updateBusiness(const Model::UpdateBusinessRequest &request)const; void updateBusinessAsync(const Model::UpdateBusinessRequest& request, const UpdateBusinessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateBusinessOutcomeCallable updateBusinessCallable(const Model::UpdateBusinessRequest& request) const; @@ -1298,6 +1551,9 @@ namespace AlibabaCloud UpdateDataServiceApiOutcome updateDataServiceApi(const Model::UpdateDataServiceApiRequest &request)const; void updateDataServiceApiAsync(const Model::UpdateDataServiceApiRequest& request, const UpdateDataServiceApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateDataServiceApiOutcomeCallable updateDataServiceApiCallable(const Model::UpdateDataServiceApiRequest& request) const; + UpdateDataSourceOutcome updateDataSource(const Model::UpdateDataSourceRequest &request)const; + void updateDataSourceAsync(const Model::UpdateDataSourceRequest& request, const UpdateDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDataSourceOutcomeCallable updateDataSourceCallable(const Model::UpdateDataSourceRequest& request) const; UpdateFileOutcome updateFile(const Model::UpdateFileRequest &request)const; void updateFileAsync(const Model::UpdateFileRequest& request, const UpdateFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateFileOutcomeCallable updateFileCallable(const Model::UpdateFileRequest& request) const; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h new file mode 100644 index 000000000..a66120aa9 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.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_APPROVEPERMISSIONAPPLYORDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_APPROVEPERMISSIONAPPLYORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ApprovePermissionApplyOrderRequest : public RpcServiceRequest + { + + public: + ApprovePermissionApplyOrderRequest(); + ~ApprovePermissionApplyOrderRequest(); + + std::string getFlowId()const; + void setFlowId(const std::string& flowId); + std::string getApproveComment()const; + void setApproveComment(const std::string& approveComment); + int getApproveAction()const; + void setApproveAction(int approveAction); + + private: + std::string flowId_; + std::string approveComment_; + int approveAction_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_APPROVEPERMISSIONAPPLYORDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderResult.h new file mode 100644 index 000000000..c67836c45 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderResult.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_APPROVEPERMISSIONAPPLYORDERRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_APPROVEPERMISSIONAPPLYORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ApprovePermissionApplyOrderResult : public ServiceResult + { + public: + + + ApprovePermissionApplyOrderResult(); + explicit ApprovePermissionApplyOrderResult(const std::string &payload); + ~ApprovePermissionApplyOrderResult(); + bool getApproveSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool approveSuccess_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_APPROVEPERMISSIONAPPLYORDERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h new file mode 100644 index 000000000..549555ced --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.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_CHECKFILEDEPLOYMENTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKFILEDEPLOYMENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckFileDeploymentRequest : public RpcServiceRequest + { + + public: + CheckFileDeploymentRequest(); + ~CheckFileDeploymentRequest(); + + std::string getCheckDetailUrl()const; + void setCheckDetailUrl(const std::string& checkDetailUrl); + std::string getCheckerInstanceId()const; + void setCheckerInstanceId(const std::string& checkerInstanceId); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string checkDetailUrl_; + std::string checkerInstanceId_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKFILEDEPLOYMENTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentResult.h new file mode 100644 index 000000000..3be29e9d5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentResult.h @@ -0,0 +1,49 @@ +/* + * 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_CHECKFILEDEPLOYMENTRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKFILEDEPLOYMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckFileDeploymentResult : public ServiceResult + { + public: + + + CheckFileDeploymentResult(); + explicit CheckFileDeploymentResult(const std::string &payload); + ~CheckFileDeploymentResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKFILEDEPLOYMENTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.h new file mode 100644 index 000000000..c4fa3ce71 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.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_CREATEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataSourceRequest : public RpcServiceRequest + { + + public: + CreateDataSourceRequest(); + ~CreateDataSourceRequest(); + + std::string getDataSourceType()const; + void setDataSourceType(const std::string& dataSourceType); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getContent()const; + void setContent(const std::string& content); + std::string getSubType()const; + void setSubType(const std::string& subType); + std::string getName()const; + void setName(const std::string& name); + int getEnvType()const; + void setEnvType(int envType); + long getProjectId()const; + void setProjectId(long projectId); + + private: + std::string dataSourceType_; + std::string description_; + std::string content_; + std::string subType_; + std::string name_; + int envType_; + long projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceResult.h new file mode 100644 index 000000000..14678ddf7 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceResult.h @@ -0,0 +1,55 @@ +/* + * 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_CREATEDATASOURCERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataSourceResult : public ServiceResult + { + public: + + + CreateDataSourceResult(); + explicit CreateDataSourceResult(const std::string &payload); + ~CreateDataSourceResult(); + std::string getHttpStatusCode()const; + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string httpStatusCode_; + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderRequest.h new file mode 100644 index 000000000..15fdfba03 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderRequest.h @@ -0,0 +1,80 @@ +/* + * 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_CREATEPERMISSIONAPPLYORDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPERMISSIONAPPLYORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreatePermissionApplyOrderRequest : public RpcServiceRequest + { + public: + struct ApplyObject + { + struct ColumnMetaList + { + std::string name; + }; + std::vector columnMetaList; + std::string name; + std::string actions; + }; + + public: + CreatePermissionApplyOrderRequest(); + ~CreatePermissionApplyOrderRequest(); + + std::string getApplyReason()const; + void setApplyReason(const std::string& applyReason); + std::string getMaxComputeProjectName()const; + void setMaxComputeProjectName(const std::string& maxComputeProjectName); + std::vector getApplyObject()const; + void setApplyObject(const std::vector& applyObject); + std::string getApplyUserIds()const; + void setApplyUserIds(const std::string& applyUserIds); + long getDeadline()const; + void setDeadline(long deadline); + int getWorkspaceId()const; + void setWorkspaceId(int workspaceId); + int getOrderType()const; + void setOrderType(int orderType); + std::string getEngineType()const; + void setEngineType(const std::string& engineType); + + private: + std::string applyReason_; + std::string maxComputeProjectName_; + std::vector applyObject_; + std::string applyUserIds_; + long deadline_; + int workspaceId_; + int orderType_; + std::string engineType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPERMISSIONAPPLYORDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderResult.h new file mode 100644 index 000000000..e385968cc --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderResult.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_CREATEPERMISSIONAPPLYORDERRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPERMISSIONAPPLYORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreatePermissionApplyOrderResult : public ServiceResult + { + public: + + + CreatePermissionApplyOrderResult(); + explicit CreatePermissionApplyOrderResult(const std::string &payload); + ~CreatePermissionApplyOrderResult(); + std::vector getFlowId()const; + + protected: + void parse(const std::string &payload); + private: + std::vector flowId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPERMISSIONAPPLYORDERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateViewRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateViewRequest.h new file mode 100644 index 000000000..cd849cd92 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateViewRequest.h @@ -0,0 +1,78 @@ +/* + * 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_CREATEVIEWREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEVIEWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateViewRequest : public RpcServiceRequest + { + public: + struct ViewColumn + { + std::string comment; + std::string columnName; + }; + + public: + CreateViewRequest(); + ~CreateViewRequest(); + + std::string getViewName()const; + void setViewName(const std::string& viewName); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getSelectSQL()const; + void setSelectSQL(const std::string& selectSQL); + std::string getSelectWhere()const; + void setSelectWhere(const std::string& selectWhere); + std::string getSelectTableName()const; + void setSelectTableName(const std::string& selectTableName); + std::string getComment()const; + void setComment(const std::string& comment); + std::string getSelectColumn()const; + void setSelectColumn(const std::string& selectColumn); + std::string getAppGuid()const; + void setAppGuid(const std::string& appGuid); + std::vector getViewColumn()const; + void setViewColumn(const std::vector& viewColumn); + + private: + std::string viewName_; + std::string clientToken_; + std::string selectSQL_; + std::string selectWhere_; + std::string selectTableName_; + std::string comment_; + std::string selectColumn_; + std::string appGuid_; + std::vector viewColumn_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEVIEWREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateViewResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateViewResult.h new file mode 100644 index 000000000..30301e010 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateViewResult.h @@ -0,0 +1,58 @@ +/* + * 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_CREATEVIEWRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateViewResult : public ServiceResult + { + public: + struct TaskInfo + { + std::string status; + std::string taskId; + std::string content; + std::string nextTaskId; + }; + + + CreateViewResult(); + explicit CreateViewResult(const std::string &payload); + ~CreateViewResult(); + TaskInfo getTaskInfo()const; + + protected: + void parse(const std::string &payload); + private: + TaskInfo taskInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEVIEWRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceRequest.h new file mode 100644 index 000000000..e077b29e6 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceRequest.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_DELETEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataSourceRequest : public RpcServiceRequest + { + + public: + DeleteDataSourceRequest(); + ~DeleteDataSourceRequest(); + + long getDataSourceId()const; + void setDataSourceId(long dataSourceId); + + private: + long dataSourceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceResult.h new file mode 100644 index 000000000..e685c01b0 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceResult.h @@ -0,0 +1,55 @@ +/* + * 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_DELETEDATASOURCERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataSourceResult : public ServiceResult + { + public: + + + DeleteDataSourceResult(); + explicit DeleteDataSourceResult(const std::string &payload); + ~DeleteDataSourceResult(); + std::string getHttpStatusCode()const; + bool getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string httpStatusCode_; + bool data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteViewRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteViewRequest.h new file mode 100644 index 000000000..0b71752bb --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteViewRequest.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_DELETEVIEWREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEVIEWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteViewRequest : public RpcServiceRequest + { + + public: + DeleteViewRequest(); + ~DeleteViewRequest(); + + std::string getViewName()const; + void setViewName(const std::string& viewName); + std::string getAppGuid()const; + void setAppGuid(const std::string& appGuid); + + private: + std::string viewName_; + std::string appGuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEVIEWREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteViewResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteViewResult.h new file mode 100644 index 000000000..111ead585 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteViewResult.h @@ -0,0 +1,58 @@ +/* + * 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_DELETEVIEWRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteViewResult : public ServiceResult + { + public: + struct TaskInfo + { + std::string status; + std::string taskId; + std::string content; + std::string nextTaskId; + }; + + + DeleteViewResult(); + explicit DeleteViewResult(const std::string &payload); + ~DeleteViewResult(); + TaskInfo getTaskInfo()const; + + protected: + void parse(const std::string &payload); + private: + TaskInfo taskInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEVIEWRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ExportDISyncTasksRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ExportDISyncTasksRequest.h new file mode 100644 index 000000000..635bef7e5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ExportDISyncTasksRequest.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_EXPORTDISYNCTASKSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_EXPORTDISYNCTASKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ExportDISyncTasksRequest : public RpcServiceRequest + { + + public: + ExportDISyncTasksRequest(); + ~ExportDISyncTasksRequest(); + + std::string getTaskType()const; + void setTaskType(const std::string& taskType); + std::string getTaskParam()const; + void setTaskParam(const std::string& taskParam); + long getProjectId()const; + void setProjectId(long projectId); + + private: + std::string taskType_; + std::string taskParam_; + long projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_EXPORTDISYNCTASKSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ExportDISyncTasksResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ExportDISyncTasksResult.h new file mode 100644 index 000000000..c88446fa1 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ExportDISyncTasksResult.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_EXPORTDISYNCTASKSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_EXPORTDISYNCTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ExportDISyncTasksResult : public ServiceResult + { + public: + struct TaskDetail + { + std::string realTimeSolution; + }; + + + ExportDISyncTasksResult(); + explicit ExportDISyncTasksResult(const std::string &payload); + ~ExportDISyncTasksResult(); + TaskDetail getTaskDetail()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + TaskDetail taskDetail_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_EXPORTDISYNCTASKSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h index 8a664e2d9..dea34e81e 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h @@ -52,8 +52,10 @@ namespace AlibabaCloud std::string lastEditUser; long nodeId; int commitStatus; + std::string deletedStatus; std::string fileFolderId; long bizId; + long businessId; }; struct NodeConfiguration { diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h new file mode 100644 index 000000000..bcec31503 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.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_GETFILETYPESTATISTICREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILETYPESTATISTICREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileTypeStatisticRequest : public RpcServiceRequest + { + + public: + GetFileTypeStatisticRequest(); + ~GetFileTypeStatisticRequest(); + + std::string getProjectEnv()const; + void setProjectEnv(const std::string& projectEnv); + long getProjectId()const; + void setProjectId(long projectId); + + private: + std::string projectEnv_; + long projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILETYPESTATISTICREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticResult.h new file mode 100644 index 000000000..ececb154a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticResult.h @@ -0,0 +1,56 @@ +/* + * 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_GETFILETYPESTATISTICRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILETYPESTATISTICRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileTypeStatisticResult : public ServiceResult + { + public: + struct ProgramTypeAndCount + { + std::string programType; + int count; + }; + + + GetFileTypeStatisticResult(); + explicit GetFileTypeStatisticResult(const std::string &payload); + ~GetFileTypeStatisticResult(); + std::vector getProgramTypeAndCounts()const; + + protected: + void parse(const std::string &payload); + private: + std::vector programTypeAndCounts_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILETYPESTATISTICRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticRequest.h new file mode 100644 index 000000000..869012fce --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticRequest.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_GETINSTANCESTATUSSTATISTICREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSSTATISTICREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceStatusStatisticRequest : public RpcServiceRequest + { + + public: + GetInstanceStatusStatisticRequest(); + ~GetInstanceStatusStatisticRequest(); + + std::string getProjectEnv()const; + void setProjectEnv(const std::string& projectEnv); + std::string getBizDate()const; + void setBizDate(const std::string& bizDate); + long getProjectId()const; + void setProjectId(long projectId); + + private: + std::string projectEnv_; + std::string bizDate_; + long projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSSTATISTICREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticResult.h new file mode 100644 index 000000000..a39c23aa2 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticResult.h @@ -0,0 +1,61 @@ +/* + * 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_GETINSTANCESTATUSSTATISTICRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSSTATISTICRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceStatusStatisticResult : public ServiceResult + { + public: + struct StatusCount + { + int totalCount; + int runningCount; + int failureCount; + int waitResCount; + int notRunCount; + int successCount; + int waitTimeCount; + }; + + + GetInstanceStatusStatisticResult(); + explicit GetInstanceStatusStatisticResult(const std::string &payload); + ~GetInstanceStatusStatisticResult(); + StatusCount getStatusCount()const; + + protected: + void parse(const std::string &payload); + private: + StatusCount statusCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSSTATISTICRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelRequest.h new file mode 100644 index 000000000..2db11c645 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelRequest.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_GETMETATABLETHEMELEVELREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLETHEMELEVELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableThemeLevelRequest : public RpcServiceRequest + { + + public: + GetMetaTableThemeLevelRequest(); + ~GetMetaTableThemeLevelRequest(); + + std::string getDataSourceType()const; + void setDataSourceType(const std::string& dataSourceType); + std::string getTableGuid()const; + void setTableGuid(const std::string& tableGuid); + + private: + std::string dataSourceType_; + std::string tableGuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLETHEMELEVELREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelResult.h new file mode 100644 index 000000000..d19a72f63 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelResult.h @@ -0,0 +1,78 @@ +/* + * 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_GETMETATABLETHEMELEVELRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLETHEMELEVELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableThemeLevelResult : public ServiceResult + { + public: + struct Entity + { + struct ThemeItem + { + long parentId; + long themeId; + int level; + std::string name; + }; + struct LevelItem + { + int type; + std::string description; + long levelId; + std::string name; + }; + std::vector theme; + std::vector level; + }; + + + GetMetaTableThemeLevelResult(); + explicit GetMetaTableThemeLevelResult(const std::string &payload); + ~GetMetaTableThemeLevelResult(); + Entity getEntity()const; + int getHttpStatusCode()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Entity entity_; + int httpStatusCode_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLETHEMELEVELRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailRequest.h new file mode 100644 index 000000000..408f6a3dd --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailRequest.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_GETPERMISSIONAPPLYORDERDETAILREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPERMISSIONAPPLYORDERDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetPermissionApplyOrderDetailRequest : public RpcServiceRequest + { + + public: + GetPermissionApplyOrderDetailRequest(); + ~GetPermissionApplyOrderDetailRequest(); + + std::string getFlowId()const; + void setFlowId(const std::string& flowId); + + private: + std::string flowId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPERMISSIONAPPLYORDERDETAILREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailResult.h new file mode 100644 index 000000000..f52713f8d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailResult.h @@ -0,0 +1,95 @@ +/* + * 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_GETPERMISSIONAPPLYORDERDETAILRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPERMISSIONAPPLYORDERDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetPermissionApplyOrderDetailResult : public ServiceResult + { + public: + struct ApplyOrderDetail + { + struct ApproveContent + { + struct ProjectMeta + { + struct ObjectMetaListItem + { + struct ColumnMetaListItem + { + std::string columnName; + std::string columnComment; + }; + std::vector columnMetaList; + std::string objectName; + }; + std::string maxComputeProjectName; + int workspaceId; + std::vector objectMetaList; + }; + int orderType; + long deadline; + std::string applyReason; + ProjectMeta projectMeta; + }; + struct ApproveAccountListItem + { + std::string baseId; + }; + struct GranteeObjectListItem + { + int granteeType; + std::string granteeId; + std::string granteeName; + int granteeTypeSub; + }; + ApproveContent approveContent; + std::vector approveAccountList; + long applyTimestamp; + std::string flowId; + std::string applyBaseId; + std::vector granteeObjectList; + int flowStatus; + }; + + + GetPermissionApplyOrderDetailResult(); + explicit GetPermissionApplyOrderDetailResult(const std::string &payload); + ~GetPermissionApplyOrderDetailResult(); + ApplyOrderDetail getApplyOrderDetail()const; + + protected: + void parse(const std::string &payload); + private: + ApplyOrderDetail applyOrderDetail_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPERMISSIONAPPLYORDERDETAILRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectRequest.h new file mode 100644 index 000000000..7c4153bf4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectRequest.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_GETPROJECTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetProjectRequest : public RpcServiceRequest + { + + public: + GetProjectRequest(); + ~GetProjectRequest(); + + long getProjectId()const; + void setProjectId(long projectId); + + private: + long projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectResult.h new file mode 100644 index 000000000..3066f7d5f --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectResult.h @@ -0,0 +1,86 @@ +/* + * 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_GETPROJECTRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetProjectResult : public ServiceResult + { + public: + struct Data + { + int destination; + std::string projectOwnerBaseId; + std::string projectName; + int isAllowDownload; + std::string gmtModified; + int developmentType; + bool disableDevelopment; + bool baseProject; + int projectMode; + std::string projectDescription; + std::string devStorageQuota; + int isDefault; + std::string projectIdentifier; + int status; + int schedulerMaxRetryTimes; + int projectId; + std::string residentArea; + bool useProxyOdpsAccount; + std::string gmtCreate; + long tenantId; + int maxFlowNode; + int protectedMode; + std::string appkey; + int tablePrivacyMode; + std::string prodStorageQuota; + std::string defaultDiResourceGroupIdentifier; + std::vector envTypes; + int schedulerRetryInterval; + }; + + + GetProjectResult(); + explicit GetProjectResult(const std::string &payload); + ~GetProjectResult(); + int getHttpStatusCode()const; + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int httpStatusCode_; + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ImportDISyncTasksRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ImportDISyncTasksRequest.h new file mode 100644 index 000000000..75152e59a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ImportDISyncTasksRequest.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_IMPORTDISYNCTASKSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_IMPORTDISYNCTASKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ImportDISyncTasksRequest : public RpcServiceRequest + { + + public: + ImportDISyncTasksRequest(); + ~ImportDISyncTasksRequest(); + + std::string getTaskType()const; + void setTaskType(const std::string& taskType); + std::string getTaskContent()const; + void setTaskContent(const std::string& taskContent); + std::string getTaskParam()const; + void setTaskParam(const std::string& taskParam); + long getProjectId()const; + void setProjectId(long projectId); + + private: + std::string taskType_; + std::string taskContent_; + std::string taskParam_; + long projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_IMPORTDISYNCTASKSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ImportDISyncTasksResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ImportDISyncTasksResult.h new file mode 100644 index 000000000..5c924ee05 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ImportDISyncTasksResult.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_IMPORTDISYNCTASKSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_IMPORTDISYNCTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ImportDISyncTasksResult : public ServiceResult + { + public: + struct TaskInfo + { + long taskId; + }; + + + ImportDISyncTasksResult(); + explicit ImportDISyncTasksResult(const std::string &payload); + ~ImportDISyncTasksResult(); + TaskInfo getTaskInfo()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + TaskInfo taskInfo_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_IMPORTDISYNCTASKSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDISyncTasksRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDISyncTasksRequest.h new file mode 100644 index 000000000..4991f2a4c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDISyncTasksRequest.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_LISTDISYNCTASKSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDISYNCTASKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDISyncTasksRequest : public RpcServiceRequest + { + + public: + ListDISyncTasksRequest(); + ~ListDISyncTasksRequest(); + + std::string getTaskType()const; + void setTaskType(const std::string& taskType); + long getPageSize()const; + void setPageSize(long pageSize); + long getProjectId()const; + void setProjectId(long projectId); + long getPageNumber()const; + void setPageNumber(long pageNumber); + + private: + std::string taskType_; + long pageSize_; + long projectId_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDISYNCTASKSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDISyncTasksResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDISyncTasksResult.h new file mode 100644 index 000000000..c9b33fa92 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDISyncTasksResult.h @@ -0,0 +1,68 @@ +/* + * 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_LISTDISYNCTASKSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDISYNCTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDISyncTasksResult : public ServiceResult + { + public: + struct TaskList + { + struct RealTimeSolutionListItem + { + std::string processName; + std::string taskType; + long createTime; + long processId; + std::string taskStatus; + }; + std::vector realTimeSolutionList; + int totalCount; + int pageSize; + int pageNumber; + }; + + + ListDISyncTasksResult(); + explicit ListDISyncTasksResult(const std::string &payload); + ~ListDISyncTasksResult(); + TaskList getTaskList()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + TaskList taskList_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDISYNCTASKSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesRequest.h new file mode 100644 index 000000000..07b1229ad --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesRequest.h @@ -0,0 +1,69 @@ +/* + * 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_LISTDATASOURCESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASOURCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataSourcesRequest : public RpcServiceRequest + { + + public: + ListDataSourcesRequest(); + ~ListDataSourcesRequest(); + + std::string getDataSourceType()const; + void setDataSourceType(const std::string& dataSourceType); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getSubType()const; + void setSubType(const std::string& subType); + std::string getName()const; + void setName(const std::string& name); + int getEnvType()const; + void setEnvType(int envType); + int getPageSize()const; + void setPageSize(int pageSize); + long getProjectId()const; + void setProjectId(long projectId); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string dataSourceType_; + int pageNumber_; + std::string subType_; + std::string name_; + int envType_; + int pageSize_; + long projectId_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASOURCESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h new file mode 100644 index 000000000..bccb160ac --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h @@ -0,0 +1,82 @@ +/* + * 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_LISTDATASOURCESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataSourcesResult : public ServiceResult + { + public: + struct Data + { + struct DataSourcesItem + { + int status; + int connectStatus; + std::string description; + std::string subType; + int bindingCalcEngineId; + std::string gmtModified; + int projectId; + std::string _operator; + int sequence; + bool shared; + int envType; + bool defaultEngine; + std::string name; + std::string gmtCreate; + long tenantId; + std::string dataSourceType; + int id; + }; + std::vector dataSources; + int totalCount; + int pageSize; + int pageNumber; + }; + + + ListDataSourcesResult(); + explicit ListDataSourcesResult(const std::string &payload); + ~ListDataSourcesResult(); + int getHttpStatusCode()const; + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int httpStatusCode_; + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASOURCESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h new file mode 100644 index 000000000..4dbcb0db3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFileTypeRequest : public RpcServiceRequest + { + + public: + ListFileTypeRequest(); + ~ListFileTypeRequest(); + + int getPageSize()const; + void setPageSize(int pageSize); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + std::string getLocale()const; + void setLocale(const std::string& locale); + long getProjectId()const; + void setProjectId(long projectId); + std::string getProjectIdentifier()const; + void setProjectIdentifier(const std::string& projectIdentifier); + int getPageNumber()const; + void setPageNumber(int pageNumber); + + private: + int pageSize_; + std::string keyword_; + std::string locale_; + long projectId_; + std::string projectIdentifier_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeResult.h new file mode 100644 index 000000000..a465275e4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFileTypeResult : public ServiceResult + { + public: + struct NodeTypeInfoList + { + struct NodeTypeInfoItem + { + std::string nodeTypeName; + int nodeType; + }; + int totalCount; + int pageSize; + std::vector nodeTypeInfo; + int pageNumber; + }; + + + ListFileTypeResult(); + explicit ListFileTypeResult(const std::string &payload); + ~ListFileTypeResult(); + NodeTypeInfoList getNodeTypeInfoList()const; + + protected: + void parse(const std::string &payload); + private: + NodeTypeInfoList nodeTypeInfoList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h index 3945d2b8d..687adea78 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h @@ -55,6 +55,7 @@ namespace AlibabaCloud long fileId; std::string fileFolderId; long bizId; + long businessId; }; int totalCount; int pageSize; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.h new file mode 100644 index 000000000..21620607a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.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_LISTINSTANCEAMOUNTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCEAMOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListInstanceAmountRequest : public RpcServiceRequest + { + + public: + ListInstanceAmountRequest(); + ~ListInstanceAmountRequest(); + + std::string getBeginDate()const; + void setBeginDate(const std::string& beginDate); + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + long getProjectId()const; + void setProjectId(long projectId); + + private: + std::string beginDate_; + std::string endDate_; + long projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCEAMOUNTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountResult.h new file mode 100644 index 000000000..6f4665ba7 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountResult.h @@ -0,0 +1,56 @@ +/* + * 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_LISTINSTANCEAMOUNTRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCEAMOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListInstanceAmountResult : public ServiceResult + { + public: + struct IntanceCounts + { + int count; + long date; + }; + + + ListInstanceAmountResult(); + explicit ListInstanceAmountResult(const std::string &payload); + ~ListInstanceAmountResult(); + std::vector getInstanceCounts()const; + + protected: + void parse(const std::string &payload); + private: + std::vector instanceCounts_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCEAMOUNTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesRequest.h new file mode 100644 index 000000000..813f17203 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesRequest.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_LISTMANUALDAGINSTANCESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMANUALDAGINSTANCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListManualDagInstancesRequest : public RpcServiceRequest + { + + public: + ListManualDagInstancesRequest(); + ~ListManualDagInstancesRequest(); + + std::string getProjectEnv()const; + void setProjectEnv(const std::string& projectEnv); + std::string getProjectName()const; + void setProjectName(const std::string& projectName); + std::string getDagId()const; + void setDagId(const std::string& dagId); + + private: + std::string projectEnv_; + std::string projectName_; + std::string dagId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMANUALDAGINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesResult.h new file mode 100644 index 000000000..65fc4564b --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesResult.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_LISTMANUALDAGINSTANCESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMANUALDAGINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListManualDagInstancesResult : public ServiceResult + { + public: + struct InstancesItem + { + std::string status; + long modifyTime; + long instanceId; + std::string dagType; + std::string nodeName; + long createTime; + std::string paramValues; + long cycTime; + long beginWaitTimeTime; + long dagId; + long beginRunningTime; + long finishTime; + std::string taskType; + long nodeId; + long beginWaitResTime; + long bizDate; + }; + + + ListManualDagInstancesResult(); + explicit ListManualDagInstancesResult(const std::string &payload); + ~ListManualDagInstancesResult(); + std::vector getInstances()const; + + protected: + void parse(const std::string &payload); + private: + std::vector instances_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMANUALDAGINSTANCESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputRequest.h new file mode 100644 index 000000000..5566e2bf5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputRequest.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_LISTNODEINPUTOROUTPUTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEINPUTOROUTPUTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodeInputOrOutputRequest : public RpcServiceRequest + { + + public: + ListNodeInputOrOutputRequest(); + ~ListNodeInputOrOutputRequest(); + + std::string getProjectEnv()const; + void setProjectEnv(const std::string& projectEnv); + long getNodeId()const; + void setNodeId(long nodeId); + std::string getIoType()const; + void setIoType(const std::string& ioType); + + private: + std::string projectEnv_; + long nodeId_; + std::string ioType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEINPUTOROUTPUTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputResult.h new file mode 100644 index 000000000..bfdbdac61 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputResult.h @@ -0,0 +1,65 @@ +/* + * 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_LISTNODEINPUTOROUTPUTRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEINPUTOROUTPUTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodeInputOrOutputResult : public ServiceResult + { + public: + struct DataItem + { + std::string tableName; + long nodeId; + std::string data; + }; + + + ListNodeInputOrOutputResult(); + explicit ListNodeInputOrOutputResult(const std::string &payload); + ~ListNodeInputOrOutputResult(); + int getHttpStatusCode()const; + std::vector 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 data_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEINPUTOROUTPUTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineRequest.h new file mode 100644 index 000000000..7f43cc409 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineRequest.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_LISTNODESBYBASELINEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYBASELINEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesByBaselineRequest : public RpcServiceRequest + { + + public: + ListNodesByBaselineRequest(); + ~ListNodesByBaselineRequest(); + + long getBaselineId()const; + void setBaselineId(long baselineId); + + private: + long baselineId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYBASELINEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineResult.h new file mode 100644 index 000000000..a693fd659 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineResult.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_LISTNODESBYBASELINERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYBASELINERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesByBaselineResult : public ServiceResult + { + public: + struct DataItem + { + std::string owner; + std::string nodeName; + long nodeId; + long projectId; + }; + + + ListNodesByBaselineResult(); + explicit ListNodesByBaselineResult(const std::string &payload); + ~ListNodesByBaselineResult(); + int getHttpStatusCode()const; + std::vector getData()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + std::string getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int httpStatusCode_; + std::vector data_; + std::string errorCode_; + std::string errorMessage_; + std::string success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYBASELINERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputRequest.h new file mode 100644 index 000000000..57076561b --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputRequest.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_LISTNODESBYOUTPUTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYOUTPUTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesByOutputRequest : public RpcServiceRequest + { + + public: + ListNodesByOutputRequest(); + ~ListNodesByOutputRequest(); + + std::string getProjectEnv()const; + void setProjectEnv(const std::string& projectEnv); + std::string getOutputs()const; + void setOutputs(const std::string& outputs); + bool getOutputNodeListAsMap()const; + void setOutputNodeListAsMap(bool outputNodeListAsMap); + + private: + std::string projectEnv_; + std::string outputs_; + bool outputNodeListAsMap_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYOUTPUTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputResult.h new file mode 100644 index 000000000..4f1356e04 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputResult.h @@ -0,0 +1,86 @@ +/* + * 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_LISTNODESBYOUTPUTRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYOUTPUTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesByOutputResult : public ServiceResult + { + public: + struct OutputNodePair + { + struct Node + { + long baselineId; + std::string description; + std::string resGroupName; + std::string nodeName; + int priority; + int dqcType; + std::string paramValues; + long projectId; + std::string connection; + std::string schedulerType; + long relatedFlowId; + std::string cronExpress; + bool repeatability; + std::string ownerId; + std::string fileType; + std::string dqcDescription; + long nodeId; + std::string programType; + int repeatInterval; + }; + std::vector nodeList; + std::string output; + }; + + + ListNodesByOutputResult(); + explicit ListNodesByOutputResult(const std::string &payload); + ~ListNodesByOutputResult(); + int getHttpStatusCode()const; + std::vector 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 data_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYOUTPUTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersRequest.h new file mode 100644 index 000000000..39720b3f4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersRequest.h @@ -0,0 +1,78 @@ +/* + * 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_LISTPERMISSIONAPPLYORDERSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPERMISSIONAPPLYORDERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListPermissionApplyOrdersRequest : public RpcServiceRequest + { + + public: + ListPermissionApplyOrdersRequest(); + ~ListPermissionApplyOrdersRequest(); + + std::string getMaxComputeProjectName()const; + void setMaxComputeProjectName(const std::string& maxComputeProjectName); + long getEndTime()const; + void setEndTime(long endTime); + long getStartTime()const; + void setStartTime(long startTime); + int getPageNum()const; + void setPageNum(int pageNum); + int getFlowStatus()const; + void setFlowStatus(int flowStatus); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getTableName()const; + void setTableName(const std::string& tableName); + int getQueryType()const; + void setQueryType(int queryType); + int getWorkspaceId()const; + void setWorkspaceId(int workspaceId); + int getOrderType()const; + void setOrderType(int orderType); + std::string getEngineType()const; + void setEngineType(const std::string& engineType); + + private: + std::string maxComputeProjectName_; + long endTime_; + long startTime_; + int pageNum_; + int flowStatus_; + int pageSize_; + std::string tableName_; + int queryType_; + int workspaceId_; + int orderType_; + std::string engineType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPERMISSIONAPPLYORDERSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersResult.h new file mode 100644 index 000000000..849363461 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersResult.h @@ -0,0 +1,82 @@ +/* + * 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_LISTPERMISSIONAPPLYORDERSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPERMISSIONAPPLYORDERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListPermissionApplyOrdersResult : public ServiceResult + { + public: + struct ApplyOrders + { + struct Orders + { + struct ApproveContent + { + struct ProjectMeta + { + struct ObjectMetaListItem + { + std::vector actions; + std::string objectName; + }; + std::string workspaceName; + std::vector objectMetaList; + }; + int orderType; + std::string applyReason; + ProjectMeta projectMeta; + }; + ApproveContent approveContent; + std::string flowId; + long applyTimestamp; + std::string applyBaseId; + int flowStatus; + }; + int totalCount; + std::vector applyOrder; + int pageSize; + int pageNumber; + }; + + + ListPermissionApplyOrdersResult(); + explicit ListPermissionApplyOrdersResult(const std::string &payload); + ~ListPermissionApplyOrdersResult(); + ApplyOrders getApplyOrders()const; + + protected: + void parse(const std::string &payload); + private: + ApplyOrders applyOrders_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPERMISSIONAPPLYORDERSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h index c5c02e789..ef8f8168a 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h @@ -35,12 +35,15 @@ namespace AlibabaCloud ListResourceGroupsRequest(); ~ListResourceGroupsRequest(); + std::string getBizExtKey()const; + void setBizExtKey(const std::string& bizExtKey); int getResourceGroupType()const; void setResourceGroupType(int resourceGroupType); std::string getKeyword()const; void setKeyword(const std::string& keyword); private: + std::string bizExtKey_; int resourceGroupType_; std::string keyword_; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.h new file mode 100644 index 000000000..29de17097 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.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_LISTSUCCESSINSTANCEAMOUNTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListSuccessInstanceAmountRequest : public RpcServiceRequest + { + + public: + ListSuccessInstanceAmountRequest(); + ~ListSuccessInstanceAmountRequest(); + + long getProjectId()const; + void setProjectId(long projectId); + + private: + long projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountResult.h new file mode 100644 index 000000000..033d8b3f7 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListSuccessInstanceAmountResult : public ServiceResult + { + public: + struct InstanceStatusTrend + { + struct TodayTrendItem + { + std::string timePoint; + int count; + }; + struct YesterdayTrendItem + { + std::string timePoint; + int count; + }; + struct AvgTrendItem + { + std::string timePoint; + int count; + }; + std::vector yesterdayTrend; + std::vector avgTrend; + std::vector todayTrend; + }; + + + ListSuccessInstanceAmountResult(); + explicit ListSuccessInstanceAmountResult(const std::string &payload); + ~ListSuccessInstanceAmountResult(); + InstanceStatusTrend getInstanceStatusTrend()const; + + protected: + void parse(const std::string &payload); + private: + InstanceStatusTrend instanceStatusTrend_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionRequest.h new file mode 100644 index 000000000..0963ccb6d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RevokeColumnPermissionRequest : public RpcServiceRequest + { + + public: + RevokeColumnPermissionRequest(); + ~RevokeColumnPermissionRequest(); + + std::string getRevokeUserName()const; + void setRevokeUserName(const std::string& revokeUserName); + std::string getMaxComputeProjectName()const; + void setMaxComputeProjectName(const std::string& maxComputeProjectName); + std::string getColumns()const; + void setColumns(const std::string& columns); + std::string getRevokeUserId()const; + void setRevokeUserId(const std::string& revokeUserId); + std::string getTableName()const; + void setTableName(const std::string& tableName); + long getWorkspaceId()const; + void setWorkspaceId(long workspaceId); + + private: + std::string revokeUserName_; + std::string maxComputeProjectName_; + std::string columns_; + std::string revokeUserId_; + std::string tableName_; + long workspaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionResult.h new file mode 100644 index 000000000..31542e69c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionResult.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_REVOKECOLUMNPERMISSIONRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RevokeColumnPermissionResult : public ServiceResult + { + public: + + + RevokeColumnPermissionResult(); + explicit RevokeColumnPermissionResult(const std::string &payload); + ~RevokeColumnPermissionResult(); + bool getRevokeSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool revokeSuccess_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionRequest.h new file mode 100644 index 000000000..293a665f5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RevokeTablePermissionRequest : public RpcServiceRequest + { + + public: + RevokeTablePermissionRequest(); + ~RevokeTablePermissionRequest(); + + std::string getRevokeUserName()const; + void setRevokeUserName(const std::string& revokeUserName); + std::string getMaxComputeProjectName()const; + void setMaxComputeProjectName(const std::string& maxComputeProjectName); + std::string getRevokeUserId()const; + void setRevokeUserId(const std::string& revokeUserId); + std::string getTableName()const; + void setTableName(const std::string& tableName); + std::string getActions()const; + void setActions(const std::string& actions); + long getWorkspaceId()const; + void setWorkspaceId(long workspaceId); + + private: + std::string revokeUserName_; + std::string maxComputeProjectName_; + std::string revokeUserId_; + std::string tableName_; + std::string actions_; + long workspaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionResult.h new file mode 100644 index 000000000..194979cd1 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionResult.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_REVOKETABLEPERMISSIONRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RevokeTablePermissionResult : public ServiceResult + { + public: + + + RevokeTablePermissionResult(); + explicit RevokeTablePermissionResult(const std::string &payload); + ~RevokeTablePermissionResult(); + bool getRevokeSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool revokeSuccess_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesRequest.h new file mode 100644 index 000000000..23faab5e2 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesRequest.h @@ -0,0 +1,78 @@ +/* + * 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_RUNCYCLEDAGNODESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNCYCLEDAGNODESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunCycleDagNodesRequest : public RpcServiceRequest + { + + public: + RunCycleDagNodesRequest(); + ~RunCycleDagNodesRequest(); + + std::string getProjectEnv()const; + void setProjectEnv(const std::string& projectEnv); + std::string getStartBizDate()const; + void setStartBizDate(const std::string& startBizDate); + bool getParallelism()const; + void setParallelism(bool parallelism); + long getRootNodeId()const; + void setRootNodeId(long rootNodeId); + std::string getBizBeginTime()const; + void setBizBeginTime(const std::string& bizBeginTime); + std::string getEndBizDate()const; + void setEndBizDate(const std::string& endBizDate); + std::string getIncludeNodeIds()const; + void setIncludeNodeIds(const std::string& includeNodeIds); + std::string getBizEndTime()const; + void setBizEndTime(const std::string& bizEndTime); + std::string getName()const; + void setName(const std::string& name); + std::string getExcludeNodeIds()const; + void setExcludeNodeIds(const std::string& excludeNodeIds); + std::string getNodeParams()const; + void setNodeParams(const std::string& nodeParams); + + private: + std::string projectEnv_; + std::string startBizDate_; + bool parallelism_; + long rootNodeId_; + std::string bizBeginTime_; + std::string endBizDate_; + std::string includeNodeIds_; + std::string bizEndTime_; + std::string name_; + std::string excludeNodeIds_; + std::string nodeParams_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNCYCLEDAGNODESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesResult.h new file mode 100644 index 000000000..856f9bdbd --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesResult.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_RUNCYCLEDAGNODESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNCYCLEDAGNODESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunCycleDagNodesResult : public ServiceResult + { + public: + + + RunCycleDagNodesResult(); + explicit RunCycleDagNodesResult(const std::string &payload); + ~RunCycleDagNodesResult(); + int getHttpStatusCode()const; + std::vector 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 data_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNCYCLEDAGNODESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesRequest.h new file mode 100644 index 000000000..69c5e0fb5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunManualDagNodesRequest : public RpcServiceRequest + { + + public: + RunManualDagNodesRequest(); + ~RunManualDagNodesRequest(); + + std::string getProjectEnv()const; + void setProjectEnv(const std::string& projectEnv); + std::string getProjectName()const; + void setProjectName(const std::string& projectName); + std::string getBizDate()const; + void setBizDate(const std::string& bizDate); + std::string getFlowName()const; + void setFlowName(const std::string& flowName); + std::string getDagParameters()const; + void setDagParameters(const std::string& dagParameters); + std::string getNodeParameters()const; + void setNodeParameters(const std::string& nodeParameters); + + private: + std::string projectEnv_; + std::string projectName_; + std::string bizDate_; + std::string flowName_; + std::string dagParameters_; + std::string nodeParameters_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesResult.h new file mode 100644 index 000000000..f274ba397 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesResult.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_RUNMANUALDAGNODESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunManualDagNodesResult : public ServiceResult + { + public: + + + RunManualDagNodesResult(); + explicit RunManualDagNodesResult(const std::string &payload); + ~RunManualDagNodesResult(); + long getDagId()const; + + protected: + void parse(const std::string &payload); + private: + long dagId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestRequest.h new file mode 100644 index 000000000..11fabf1f6 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestRequest.h @@ -0,0 +1,60 @@ +/* + * 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_RUNSMOKETESTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNSMOKETESTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunSmokeTestRequest : public RpcServiceRequest + { + + public: + RunSmokeTestRequest(); + ~RunSmokeTestRequest(); + + std::string getProjectEnv()const; + void setProjectEnv(const std::string& projectEnv); + std::string getBizdate()const; + void setBizdate(const std::string& bizdate); + std::string getName()const; + void setName(const std::string& name); + std::string getNodeParams()const; + void setNodeParams(const std::string& nodeParams); + long getNodeId()const; + void setNodeId(long nodeId); + + private: + std::string projectEnv_; + std::string bizdate_; + std::string name_; + std::string nodeParams_; + long nodeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNSMOKETESTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestResult.h new file mode 100644 index 000000000..241a31325 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestResult.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_RUNSMOKETESTRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNSMOKETESTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunSmokeTestResult : public ServiceResult + { + public: + + + RunSmokeTestResult(); + explicit RunSmokeTestResult(const std::string &payload); + ~RunSmokeTestResult(); + int getHttpStatusCode()const; + long getData()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int httpStatusCode_; + long data_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNSMOKETESTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceRequest.h new file mode 100644 index 000000000..94371bcbf --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceRequest.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_TOPTENELAPSEDTIMEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENELAPSEDTIMEINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TopTenElapsedTimeInstanceRequest : public RpcServiceRequest + { + + public: + TopTenElapsedTimeInstanceRequest(); + ~TopTenElapsedTimeInstanceRequest(); + + std::string getBusinessDate()const; + void setBusinessDate(const std::string& businessDate); + long getProjectId()const; + void setProjectId(long projectId); + + private: + std::string businessDate_; + long projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENELAPSEDTIMEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceResult.h new file mode 100644 index 000000000..5ae1533be --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceResult.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_TOPTENELAPSEDTIMEINSTANCERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENELAPSEDTIMEINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TopTenElapsedTimeInstanceResult : public ServiceResult + { + public: + struct InstanceConsumeTimeRank + { + struct ConsumeTimeRankItem + { + std::string owner; + long businessDate; + std::string nodeName; + long instanceId; + long nodeId; + long consumed; + int programType; + }; + std::vector consumeTimeRank; + long updateTime; + }; + + + TopTenElapsedTimeInstanceResult(); + explicit TopTenElapsedTimeInstanceResult(const std::string &payload); + ~TopTenElapsedTimeInstanceResult(); + InstanceConsumeTimeRank getInstanceConsumeTimeRank()const; + + protected: + void parse(const std::string &payload); + private: + InstanceConsumeTimeRank instanceConsumeTimeRank_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENELAPSEDTIMEINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceRequest.h new file mode 100644 index 000000000..974fc3ace --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceRequest.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_TOPTENERRORTIMESINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENERRORTIMESINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TopTenErrorTimesInstanceRequest : public RpcServiceRequest + { + + public: + TopTenErrorTimesInstanceRequest(); + ~TopTenErrorTimesInstanceRequest(); + + long getProjectId()const; + void setProjectId(long projectId); + + private: + long projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENERRORTIMESINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceResult.h new file mode 100644 index 000000000..8e4e79311 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceResult.h @@ -0,0 +1,65 @@ +/* + * 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_TOPTENERRORTIMESINSTANCERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENERRORTIMESINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TopTenErrorTimesInstanceResult : public ServiceResult + { + public: + struct InstanceErrorRank + { + struct ErrorRankItem + { + std::string owner; + std::string nodeName; + long nodeId; + long projectId; + int count; + int programType; + }; + std::vector errorRank; + long updateTime; + }; + + + TopTenErrorTimesInstanceResult(); + explicit TopTenErrorTimesInstanceResult(const std::string &payload); + ~TopTenErrorTimesInstanceResult(); + InstanceErrorRank getInstanceErrorRank()const; + + protected: + void parse(const std::string &payload); + private: + InstanceErrorRank instanceErrorRank_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENERRORTIMESINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceRequest.h new file mode 100644 index 000000000..45fb4bd52 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceRequest.h @@ -0,0 +1,60 @@ +/* + * 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_UPDATEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDataSourceRequest : public RpcServiceRequest + { + + public: + UpdateDataSourceRequest(); + ~UpdateDataSourceRequest(); + + int getEnvType()const; + void setEnvType(int envType); + long getDataSourceId()const; + void setDataSourceId(long dataSourceId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getContent()const; + void setContent(const std::string& content); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + int envType_; + long dataSourceId_; + std::string description_; + std::string content_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceResult.h new file mode 100644 index 000000000..4ba85f2f9 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceResult.h @@ -0,0 +1,55 @@ +/* + * 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_UPDATEDATASOURCERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDataSourceResult : public ServiceResult + { + public: + + + UpdateDataSourceResult(); + explicit UpdateDataSourceResult(const std::string &payload); + ~UpdateDataSourceResult(); + std::string getHttpStatusCode()const; + bool getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string httpStatusCode_; + bool data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/src/Dataworks-publicClient.cc b/dataworks-public/src/Dataworks-publicClient.cc index 431642a67..3e7df8856 100644 --- a/dataworks-public/src/Dataworks-publicClient.cc +++ b/dataworks-public/src/Dataworks-publicClient.cc @@ -159,6 +159,78 @@ Dataworks_publicClient::AddToMetaCategoryOutcomeCallable Dataworks_publicClient: return task->get_future(); } +Dataworks_publicClient::ApprovePermissionApplyOrderOutcome Dataworks_publicClient::approvePermissionApplyOrder(const ApprovePermissionApplyOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ApprovePermissionApplyOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ApprovePermissionApplyOrderOutcome(ApprovePermissionApplyOrderResult(outcome.result())); + else + return ApprovePermissionApplyOrderOutcome(outcome.error()); +} + +void Dataworks_publicClient::approvePermissionApplyOrderAsync(const ApprovePermissionApplyOrderRequest& request, const ApprovePermissionApplyOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, approvePermissionApplyOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ApprovePermissionApplyOrderOutcomeCallable Dataworks_publicClient::approvePermissionApplyOrderCallable(const ApprovePermissionApplyOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->approvePermissionApplyOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::CheckFileDeploymentOutcome Dataworks_publicClient::checkFileDeployment(const CheckFileDeploymentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckFileDeploymentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckFileDeploymentOutcome(CheckFileDeploymentResult(outcome.result())); + else + return CheckFileDeploymentOutcome(outcome.error()); +} + +void Dataworks_publicClient::checkFileDeploymentAsync(const CheckFileDeploymentRequest& request, const CheckFileDeploymentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkFileDeployment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::CheckFileDeploymentOutcomeCallable Dataworks_publicClient::checkFileDeploymentCallable(const CheckFileDeploymentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkFileDeployment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::CheckMetaPartitionOutcome Dataworks_publicClient::checkMetaPartition(const CheckMetaPartitionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -519,6 +591,42 @@ Dataworks_publicClient::CreateDataServiceGroupOutcomeCallable Dataworks_publicCl return task->get_future(); } +Dataworks_publicClient::CreateDataSourceOutcome Dataworks_publicClient::createDataSource(const CreateDataSourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDataSourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDataSourceOutcome(CreateDataSourceResult(outcome.result())); + else + return CreateDataSourceOutcome(outcome.error()); +} + +void Dataworks_publicClient::createDataSourceAsync(const CreateDataSourceRequest& request, const CreateDataSourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDataSource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::CreateDataSourceOutcomeCallable Dataworks_publicClient::createDataSourceCallable(const CreateDataSourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDataSource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::CreateFileOutcome Dataworks_publicClient::createFile(const CreateFileRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -699,6 +807,42 @@ Dataworks_publicClient::CreateMetaCategoryOutcomeCallable Dataworks_publicClient return task->get_future(); } +Dataworks_publicClient::CreatePermissionApplyOrderOutcome Dataworks_publicClient::createPermissionApplyOrder(const CreatePermissionApplyOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreatePermissionApplyOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreatePermissionApplyOrderOutcome(CreatePermissionApplyOrderResult(outcome.result())); + else + return CreatePermissionApplyOrderOutcome(outcome.error()); +} + +void Dataworks_publicClient::createPermissionApplyOrderAsync(const CreatePermissionApplyOrderRequest& request, const CreatePermissionApplyOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createPermissionApplyOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::CreatePermissionApplyOrderOutcomeCallable Dataworks_publicClient::createPermissionApplyOrderCallable(const CreatePermissionApplyOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createPermissionApplyOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::CreateProjectMemberOutcome Dataworks_publicClient::createProjectMember(const CreateProjectMemberRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1059,6 +1203,42 @@ Dataworks_publicClient::CreateUdfFileOutcomeCallable Dataworks_publicClient::cre return task->get_future(); } +Dataworks_publicClient::CreateViewOutcome Dataworks_publicClient::createView(const CreateViewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateViewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateViewOutcome(CreateViewResult(outcome.result())); + else + return CreateViewOutcome(outcome.error()); +} + +void Dataworks_publicClient::createViewAsync(const CreateViewRequest& request, const CreateViewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createView(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::CreateViewOutcomeCallable Dataworks_publicClient::createViewCallable(const CreateViewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createView(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::DeleteBusinessOutcome Dataworks_publicClient::deleteBusiness(const DeleteBusinessRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1203,6 +1383,42 @@ Dataworks_publicClient::DeleteDataServiceApiAuthorityOutcomeCallable Dataworks_p return task->get_future(); } +Dataworks_publicClient::DeleteDataSourceOutcome Dataworks_publicClient::deleteDataSource(const DeleteDataSourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDataSourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDataSourceOutcome(DeleteDataSourceResult(outcome.result())); + else + return DeleteDataSourceOutcome(outcome.error()); +} + +void Dataworks_publicClient::deleteDataSourceAsync(const DeleteDataSourceRequest& request, const DeleteDataSourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDataSource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::DeleteDataSourceOutcomeCallable Dataworks_publicClient::deleteDataSourceCallable(const DeleteDataSourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDataSource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::DeleteFileOutcome Dataworks_publicClient::deleteFile(const DeleteFileRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1671,6 +1887,42 @@ Dataworks_publicClient::DeleteTableThemeOutcomeCallable Dataworks_publicClient:: return task->get_future(); } +Dataworks_publicClient::DeleteViewOutcome Dataworks_publicClient::deleteView(const DeleteViewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteViewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteViewOutcome(DeleteViewResult(outcome.result())); + else + return DeleteViewOutcome(outcome.error()); +} + +void Dataworks_publicClient::deleteViewAsync(const DeleteViewRequest& request, const DeleteViewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteView(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::DeleteViewOutcomeCallable Dataworks_publicClient::deleteViewCallable(const DeleteViewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteView(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::DeployFileOutcome Dataworks_publicClient::deployFile(const DeployFileRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1779,6 +2031,42 @@ Dataworks_publicClient::EstablishRelationTableToBusinessOutcomeCallable Datawork return task->get_future(); } +Dataworks_publicClient::ExportDISyncTasksOutcome Dataworks_publicClient::exportDISyncTasks(const ExportDISyncTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExportDISyncTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExportDISyncTasksOutcome(ExportDISyncTasksResult(outcome.result())); + else + return ExportDISyncTasksOutcome(outcome.error()); +} + +void Dataworks_publicClient::exportDISyncTasksAsync(const ExportDISyncTasksRequest& request, const ExportDISyncTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, exportDISyncTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ExportDISyncTasksOutcomeCallable Dataworks_publicClient::exportDISyncTasksCallable(const ExportDISyncTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->exportDISyncTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::GetBaselineConfigOutcome Dataworks_publicClient::getBaselineConfig(const GetBaselineConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2247,6 +2535,42 @@ Dataworks_publicClient::GetFileOutcomeCallable Dataworks_publicClient::getFileCa return task->get_future(); } +Dataworks_publicClient::GetFileTypeStatisticOutcome Dataworks_publicClient::getFileTypeStatistic(const GetFileTypeStatisticRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetFileTypeStatisticOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetFileTypeStatisticOutcome(GetFileTypeStatisticResult(outcome.result())); + else + return GetFileTypeStatisticOutcome(outcome.error()); +} + +void Dataworks_publicClient::getFileTypeStatisticAsync(const GetFileTypeStatisticRequest& request, const GetFileTypeStatisticAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getFileTypeStatistic(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::GetFileTypeStatisticOutcomeCallable Dataworks_publicClient::getFileTypeStatisticCallable(const GetFileTypeStatisticRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getFileTypeStatistic(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::GetFileVersionOutcome Dataworks_publicClient::getFileVersion(const GetFileVersionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2535,6 +2859,42 @@ Dataworks_publicClient::GetInstanceStatusCountOutcomeCallable Dataworks_publicCl return task->get_future(); } +Dataworks_publicClient::GetInstanceStatusStatisticOutcome Dataworks_publicClient::getInstanceStatusStatistic(const GetInstanceStatusStatisticRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetInstanceStatusStatisticOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetInstanceStatusStatisticOutcome(GetInstanceStatusStatisticResult(outcome.result())); + else + return GetInstanceStatusStatisticOutcome(outcome.error()); +} + +void Dataworks_publicClient::getInstanceStatusStatisticAsync(const GetInstanceStatusStatisticRequest& request, const GetInstanceStatusStatisticAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getInstanceStatusStatistic(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::GetInstanceStatusStatisticOutcomeCallable Dataworks_publicClient::getInstanceStatusStatisticCallable(const GetInstanceStatusStatisticRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getInstanceStatusStatistic(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::GetManualDagInstancesOutcome Dataworks_publicClient::getManualDagInstances(const GetManualDagInstancesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3039,6 +3399,42 @@ Dataworks_publicClient::GetMetaTablePartitionOutcomeCallable Dataworks_publicCli return task->get_future(); } +Dataworks_publicClient::GetMetaTableThemeLevelOutcome Dataworks_publicClient::getMetaTableThemeLevel(const GetMetaTableThemeLevelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetMetaTableThemeLevelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetMetaTableThemeLevelOutcome(GetMetaTableThemeLevelResult(outcome.result())); + else + return GetMetaTableThemeLevelOutcome(outcome.error()); +} + +void Dataworks_publicClient::getMetaTableThemeLevelAsync(const GetMetaTableThemeLevelRequest& request, const GetMetaTableThemeLevelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getMetaTableThemeLevel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::GetMetaTableThemeLevelOutcomeCallable Dataworks_publicClient::getMetaTableThemeLevelCallable(const GetMetaTableThemeLevelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getMetaTableThemeLevel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::GetMigrationProcessOutcome Dataworks_publicClient::getMigrationProcess(const GetMigrationProcessRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3363,6 +3759,78 @@ Dataworks_publicClient::GetOpSensitiveDataOutcomeCallable Dataworks_publicClient return task->get_future(); } +Dataworks_publicClient::GetPermissionApplyOrderDetailOutcome Dataworks_publicClient::getPermissionApplyOrderDetail(const GetPermissionApplyOrderDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetPermissionApplyOrderDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetPermissionApplyOrderDetailOutcome(GetPermissionApplyOrderDetailResult(outcome.result())); + else + return GetPermissionApplyOrderDetailOutcome(outcome.error()); +} + +void Dataworks_publicClient::getPermissionApplyOrderDetailAsync(const GetPermissionApplyOrderDetailRequest& request, const GetPermissionApplyOrderDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getPermissionApplyOrderDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::GetPermissionApplyOrderDetailOutcomeCallable Dataworks_publicClient::getPermissionApplyOrderDetailCallable(const GetPermissionApplyOrderDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getPermissionApplyOrderDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::GetProjectOutcome Dataworks_publicClient::getProject(const GetProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetProjectOutcome(GetProjectResult(outcome.result())); + else + return GetProjectOutcome(outcome.error()); +} + +void Dataworks_publicClient::getProjectAsync(const GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::GetProjectOutcomeCallable Dataworks_publicClient::getProjectCallable(const GetProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::GetProjectDetailOutcome Dataworks_publicClient::getProjectDetail(const GetProjectDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3687,6 +4155,42 @@ Dataworks_publicClient::GetTopicInfluenceOutcomeCallable Dataworks_publicClient: return task->get_future(); } +Dataworks_publicClient::ImportDISyncTasksOutcome Dataworks_publicClient::importDISyncTasks(const ImportDISyncTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImportDISyncTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImportDISyncTasksOutcome(ImportDISyncTasksResult(outcome.result())); + else + return ImportDISyncTasksOutcome(outcome.error()); +} + +void Dataworks_publicClient::importDISyncTasksAsync(const ImportDISyncTasksRequest& request, const ImportDISyncTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, importDISyncTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ImportDISyncTasksOutcomeCallable Dataworks_publicClient::importDISyncTasksCallable(const ImportDISyncTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->importDISyncTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListAlertMessagesOutcome Dataworks_publicClient::listAlertMessages(const ListAlertMessagesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3903,6 +4407,42 @@ Dataworks_publicClient::ListConnectionsOutcomeCallable Dataworks_publicClient::l return task->get_future(); } +Dataworks_publicClient::ListDISyncTasksOutcome Dataworks_publicClient::listDISyncTasks(const ListDISyncTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDISyncTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDISyncTasksOutcome(ListDISyncTasksResult(outcome.result())); + else + return ListDISyncTasksOutcome(outcome.error()); +} + +void Dataworks_publicClient::listDISyncTasksAsync(const ListDISyncTasksRequest& request, const ListDISyncTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDISyncTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListDISyncTasksOutcomeCallable Dataworks_publicClient::listDISyncTasksCallable(const ListDISyncTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDISyncTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListDataServiceApiAuthoritiesOutcome Dataworks_publicClient::listDataServiceApiAuthorities(const ListDataServiceApiAuthoritiesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4155,6 +4695,78 @@ Dataworks_publicClient::ListDataServicePublishedApisOutcomeCallable Dataworks_pu return task->get_future(); } +Dataworks_publicClient::ListDataSourcesOutcome Dataworks_publicClient::listDataSources(const ListDataSourcesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDataSourcesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDataSourcesOutcome(ListDataSourcesResult(outcome.result())); + else + return ListDataSourcesOutcome(outcome.error()); +} + +void Dataworks_publicClient::listDataSourcesAsync(const ListDataSourcesRequest& request, const ListDataSourcesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDataSources(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListDataSourcesOutcomeCallable Dataworks_publicClient::listDataSourcesCallable(const ListDataSourcesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDataSources(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::ListFileTypeOutcome Dataworks_publicClient::listFileType(const ListFileTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFileTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFileTypeOutcome(ListFileTypeResult(outcome.result())); + else + return ListFileTypeOutcome(outcome.error()); +} + +void Dataworks_publicClient::listFileTypeAsync(const ListFileTypeRequest& request, const ListFileTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFileType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListFileTypeOutcomeCallable Dataworks_publicClient::listFileTypeCallable(const ListFileTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFileType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListFileVersionsOutcome Dataworks_publicClient::listFileVersions(const ListFileVersionsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4263,6 +4875,42 @@ Dataworks_publicClient::ListFoldersOutcomeCallable Dataworks_publicClient::listF return task->get_future(); } +Dataworks_publicClient::ListInstanceAmountOutcome Dataworks_publicClient::listInstanceAmount(const ListInstanceAmountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListInstanceAmountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListInstanceAmountOutcome(ListInstanceAmountResult(outcome.result())); + else + return ListInstanceAmountOutcome(outcome.error()); +} + +void Dataworks_publicClient::listInstanceAmountAsync(const ListInstanceAmountRequest& request, const ListInstanceAmountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listInstanceAmount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListInstanceAmountOutcomeCallable Dataworks_publicClient::listInstanceAmountCallable(const ListInstanceAmountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listInstanceAmount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListInstancesOutcome Dataworks_publicClient::listInstances(const ListInstancesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4299,6 +4947,42 @@ Dataworks_publicClient::ListInstancesOutcomeCallable Dataworks_publicClient::lis return task->get_future(); } +Dataworks_publicClient::ListManualDagInstancesOutcome Dataworks_publicClient::listManualDagInstances(const ListManualDagInstancesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListManualDagInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListManualDagInstancesOutcome(ListManualDagInstancesResult(outcome.result())); + else + return ListManualDagInstancesOutcome(outcome.error()); +} + +void Dataworks_publicClient::listManualDagInstancesAsync(const ListManualDagInstancesRequest& request, const ListManualDagInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listManualDagInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListManualDagInstancesOutcomeCallable Dataworks_publicClient::listManualDagInstancesCallable(const ListManualDagInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listManualDagInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListMetaDBOutcome Dataworks_publicClient::listMetaDB(const ListMetaDBRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4371,6 +5055,42 @@ Dataworks_publicClient::ListNodeIOOutcomeCallable Dataworks_publicClient::listNo return task->get_future(); } +Dataworks_publicClient::ListNodeInputOrOutputOutcome Dataworks_publicClient::listNodeInputOrOutput(const ListNodeInputOrOutputRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodeInputOrOutputOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodeInputOrOutputOutcome(ListNodeInputOrOutputResult(outcome.result())); + else + return ListNodeInputOrOutputOutcome(outcome.error()); +} + +void Dataworks_publicClient::listNodeInputOrOutputAsync(const ListNodeInputOrOutputRequest& request, const ListNodeInputOrOutputAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodeInputOrOutput(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListNodeInputOrOutputOutcomeCallable Dataworks_publicClient::listNodeInputOrOutputCallable(const ListNodeInputOrOutputRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodeInputOrOutput(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListNodesOutcome Dataworks_publicClient::listNodes(const ListNodesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4407,6 +5127,114 @@ Dataworks_publicClient::ListNodesOutcomeCallable Dataworks_publicClient::listNod return task->get_future(); } +Dataworks_publicClient::ListNodesByBaselineOutcome Dataworks_publicClient::listNodesByBaseline(const ListNodesByBaselineRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodesByBaselineOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodesByBaselineOutcome(ListNodesByBaselineResult(outcome.result())); + else + return ListNodesByBaselineOutcome(outcome.error()); +} + +void Dataworks_publicClient::listNodesByBaselineAsync(const ListNodesByBaselineRequest& request, const ListNodesByBaselineAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodesByBaseline(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListNodesByBaselineOutcomeCallable Dataworks_publicClient::listNodesByBaselineCallable(const ListNodesByBaselineRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodesByBaseline(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::ListNodesByOutputOutcome Dataworks_publicClient::listNodesByOutput(const ListNodesByOutputRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodesByOutputOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodesByOutputOutcome(ListNodesByOutputResult(outcome.result())); + else + return ListNodesByOutputOutcome(outcome.error()); +} + +void Dataworks_publicClient::listNodesByOutputAsync(const ListNodesByOutputRequest& request, const ListNodesByOutputAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodesByOutput(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListNodesByOutputOutcomeCallable Dataworks_publicClient::listNodesByOutputCallable(const ListNodesByOutputRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodesByOutput(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::ListPermissionApplyOrdersOutcome Dataworks_publicClient::listPermissionApplyOrders(const ListPermissionApplyOrdersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListPermissionApplyOrdersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListPermissionApplyOrdersOutcome(ListPermissionApplyOrdersResult(outcome.result())); + else + return ListPermissionApplyOrdersOutcome(outcome.error()); +} + +void Dataworks_publicClient::listPermissionApplyOrdersAsync(const ListPermissionApplyOrdersRequest& request, const ListPermissionApplyOrdersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listPermissionApplyOrders(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListPermissionApplyOrdersOutcomeCallable Dataworks_publicClient::listPermissionApplyOrdersCallable(const ListPermissionApplyOrdersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listPermissionApplyOrders(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListProgramTypeCountOutcome Dataworks_publicClient::listProgramTypeCount(const ListProgramTypeCountRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4731,6 +5559,42 @@ Dataworks_publicClient::ListResourceGroupsOutcomeCallable Dataworks_publicClient return task->get_future(); } +Dataworks_publicClient::ListSuccessInstanceAmountOutcome Dataworks_publicClient::listSuccessInstanceAmount(const ListSuccessInstanceAmountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSuccessInstanceAmountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSuccessInstanceAmountOutcome(ListSuccessInstanceAmountResult(outcome.result())); + else + return ListSuccessInstanceAmountOutcome(outcome.error()); +} + +void Dataworks_publicClient::listSuccessInstanceAmountAsync(const ListSuccessInstanceAmountRequest& request, const ListSuccessInstanceAmountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSuccessInstanceAmount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListSuccessInstanceAmountOutcomeCallable Dataworks_publicClient::listSuccessInstanceAmountCallable(const ListSuccessInstanceAmountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSuccessInstanceAmount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListTableLevelOutcome Dataworks_publicClient::listTableLevel(const ListTableLevelRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4983,6 +5847,186 @@ Dataworks_publicClient::ResumeInstanceOutcomeCallable Dataworks_publicClient::re return task->get_future(); } +Dataworks_publicClient::RevokeColumnPermissionOutcome Dataworks_publicClient::revokeColumnPermission(const RevokeColumnPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RevokeColumnPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RevokeColumnPermissionOutcome(RevokeColumnPermissionResult(outcome.result())); + else + return RevokeColumnPermissionOutcome(outcome.error()); +} + +void Dataworks_publicClient::revokeColumnPermissionAsync(const RevokeColumnPermissionRequest& request, const RevokeColumnPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, revokeColumnPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::RevokeColumnPermissionOutcomeCallable Dataworks_publicClient::revokeColumnPermissionCallable(const RevokeColumnPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->revokeColumnPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::RevokeTablePermissionOutcome Dataworks_publicClient::revokeTablePermission(const RevokeTablePermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RevokeTablePermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RevokeTablePermissionOutcome(RevokeTablePermissionResult(outcome.result())); + else + return RevokeTablePermissionOutcome(outcome.error()); +} + +void Dataworks_publicClient::revokeTablePermissionAsync(const RevokeTablePermissionRequest& request, const RevokeTablePermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, revokeTablePermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::RevokeTablePermissionOutcomeCallable Dataworks_publicClient::revokeTablePermissionCallable(const RevokeTablePermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->revokeTablePermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::RunCycleDagNodesOutcome Dataworks_publicClient::runCycleDagNodes(const RunCycleDagNodesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RunCycleDagNodesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RunCycleDagNodesOutcome(RunCycleDagNodesResult(outcome.result())); + else + return RunCycleDagNodesOutcome(outcome.error()); +} + +void Dataworks_publicClient::runCycleDagNodesAsync(const RunCycleDagNodesRequest& request, const RunCycleDagNodesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, runCycleDagNodes(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::RunCycleDagNodesOutcomeCallable Dataworks_publicClient::runCycleDagNodesCallable(const RunCycleDagNodesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->runCycleDagNodes(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::RunManualDagNodesOutcome Dataworks_publicClient::runManualDagNodes(const RunManualDagNodesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RunManualDagNodesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RunManualDagNodesOutcome(RunManualDagNodesResult(outcome.result())); + else + return RunManualDagNodesOutcome(outcome.error()); +} + +void Dataworks_publicClient::runManualDagNodesAsync(const RunManualDagNodesRequest& request, const RunManualDagNodesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, runManualDagNodes(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::RunManualDagNodesOutcomeCallable Dataworks_publicClient::runManualDagNodesCallable(const RunManualDagNodesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->runManualDagNodes(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::RunSmokeTestOutcome Dataworks_publicClient::runSmokeTest(const RunSmokeTestRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RunSmokeTestOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RunSmokeTestOutcome(RunSmokeTestResult(outcome.result())); + else + return RunSmokeTestOutcome(outcome.error()); +} + +void Dataworks_publicClient::runSmokeTestAsync(const RunSmokeTestRequest& request, const RunSmokeTestAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, runSmokeTest(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::RunSmokeTestOutcomeCallable Dataworks_publicClient::runSmokeTestCallable(const RunSmokeTestRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->runSmokeTest(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::RunTriggerNodeOutcome Dataworks_publicClient::runTriggerNode(const RunTriggerNodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5307,6 +6351,78 @@ Dataworks_publicClient::SuspendInstanceOutcomeCallable Dataworks_publicClient::s return task->get_future(); } +Dataworks_publicClient::TopTenElapsedTimeInstanceOutcome Dataworks_publicClient::topTenElapsedTimeInstance(const TopTenElapsedTimeInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return TopTenElapsedTimeInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return TopTenElapsedTimeInstanceOutcome(TopTenElapsedTimeInstanceResult(outcome.result())); + else + return TopTenElapsedTimeInstanceOutcome(outcome.error()); +} + +void Dataworks_publicClient::topTenElapsedTimeInstanceAsync(const TopTenElapsedTimeInstanceRequest& request, const TopTenElapsedTimeInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, topTenElapsedTimeInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::TopTenElapsedTimeInstanceOutcomeCallable Dataworks_publicClient::topTenElapsedTimeInstanceCallable(const TopTenElapsedTimeInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->topTenElapsedTimeInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::TopTenErrorTimesInstanceOutcome Dataworks_publicClient::topTenErrorTimesInstance(const TopTenErrorTimesInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return TopTenErrorTimesInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return TopTenErrorTimesInstanceOutcome(TopTenErrorTimesInstanceResult(outcome.result())); + else + return TopTenErrorTimesInstanceOutcome(outcome.error()); +} + +void Dataworks_publicClient::topTenErrorTimesInstanceAsync(const TopTenErrorTimesInstanceRequest& request, const TopTenErrorTimesInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, topTenErrorTimesInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::TopTenErrorTimesInstanceOutcomeCallable Dataworks_publicClient::topTenErrorTimesInstanceCallable(const TopTenErrorTimesInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->topTenErrorTimesInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::UpdateBusinessOutcome Dataworks_publicClient::updateBusiness(const UpdateBusinessRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5415,6 +6531,42 @@ Dataworks_publicClient::UpdateDataServiceApiOutcomeCallable Dataworks_publicClie return task->get_future(); } +Dataworks_publicClient::UpdateDataSourceOutcome Dataworks_publicClient::updateDataSource(const UpdateDataSourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDataSourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDataSourceOutcome(UpdateDataSourceResult(outcome.result())); + else + return UpdateDataSourceOutcome(outcome.error()); +} + +void Dataworks_publicClient::updateDataSourceAsync(const UpdateDataSourceRequest& request, const UpdateDataSourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDataSource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::UpdateDataSourceOutcomeCallable Dataworks_publicClient::updateDataSourceCallable(const UpdateDataSourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDataSource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::UpdateFileOutcome Dataworks_publicClient::updateFile(const UpdateFileRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dataworks-public/src/model/ApprovePermissionApplyOrderRequest.cc b/dataworks-public/src/model/ApprovePermissionApplyOrderRequest.cc new file mode 100644 index 000000000..75dd3237b --- /dev/null +++ b/dataworks-public/src/model/ApprovePermissionApplyOrderRequest.cc @@ -0,0 +1,62 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ApprovePermissionApplyOrderRequest; + +ApprovePermissionApplyOrderRequest::ApprovePermissionApplyOrderRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ApprovePermissionApplyOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +ApprovePermissionApplyOrderRequest::~ApprovePermissionApplyOrderRequest() +{} + +std::string ApprovePermissionApplyOrderRequest::getFlowId()const +{ + return flowId_; +} + +void ApprovePermissionApplyOrderRequest::setFlowId(const std::string& flowId) +{ + flowId_ = flowId; + setParameter("FlowId", flowId); +} + +std::string ApprovePermissionApplyOrderRequest::getApproveComment()const +{ + return approveComment_; +} + +void ApprovePermissionApplyOrderRequest::setApproveComment(const std::string& approveComment) +{ + approveComment_ = approveComment; + setParameter("ApproveComment", approveComment); +} + +int ApprovePermissionApplyOrderRequest::getApproveAction()const +{ + return approveAction_; +} + +void ApprovePermissionApplyOrderRequest::setApproveAction(int approveAction) +{ + approveAction_ = approveAction; + setParameter("ApproveAction", std::to_string(approveAction)); +} + diff --git a/dataworks-public/src/model/ApprovePermissionApplyOrderResult.cc b/dataworks-public/src/model/ApprovePermissionApplyOrderResult.cc new file mode 100644 index 000000000..efe1bf481 --- /dev/null +++ b/dataworks-public/src/model/ApprovePermissionApplyOrderResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ApprovePermissionApplyOrderResult::ApprovePermissionApplyOrderResult() : + ServiceResult() +{} + +ApprovePermissionApplyOrderResult::ApprovePermissionApplyOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ApprovePermissionApplyOrderResult::~ApprovePermissionApplyOrderResult() +{} + +void ApprovePermissionApplyOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ApproveSuccess"].isNull()) + approveSuccess_ = value["ApproveSuccess"].asString() == "true"; + +} + +bool ApprovePermissionApplyOrderResult::getApproveSuccess()const +{ + return approveSuccess_; +} + diff --git a/dataworks-public/src/model/CheckFileDeploymentRequest.cc b/dataworks-public/src/model/CheckFileDeploymentRequest.cc new file mode 100644 index 000000000..f851d832c --- /dev/null +++ b/dataworks-public/src/model/CheckFileDeploymentRequest.cc @@ -0,0 +1,62 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::CheckFileDeploymentRequest; + +CheckFileDeploymentRequest::CheckFileDeploymentRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "CheckFileDeployment") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckFileDeploymentRequest::~CheckFileDeploymentRequest() +{} + +std::string CheckFileDeploymentRequest::getCheckDetailUrl()const +{ + return checkDetailUrl_; +} + +void CheckFileDeploymentRequest::setCheckDetailUrl(const std::string& checkDetailUrl) +{ + checkDetailUrl_ = checkDetailUrl; + setBodyParameter("CheckDetailUrl", checkDetailUrl); +} + +std::string CheckFileDeploymentRequest::getCheckerInstanceId()const +{ + return checkerInstanceId_; +} + +void CheckFileDeploymentRequest::setCheckerInstanceId(const std::string& checkerInstanceId) +{ + checkerInstanceId_ = checkerInstanceId; + setBodyParameter("CheckerInstanceId", checkerInstanceId); +} + +std::string CheckFileDeploymentRequest::getStatus()const +{ + return status_; +} + +void CheckFileDeploymentRequest::setStatus(const std::string& status) +{ + status_ = status; + setBodyParameter("Status", status); +} + diff --git a/dataworks-public/src/model/CheckFileDeploymentResult.cc b/dataworks-public/src/model/CheckFileDeploymentResult.cc new file mode 100644 index 000000000..5f2e74047 --- /dev/null +++ b/dataworks-public/src/model/CheckFileDeploymentResult.cc @@ -0,0 +1,44 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +CheckFileDeploymentResult::CheckFileDeploymentResult() : + ServiceResult() +{} + +CheckFileDeploymentResult::CheckFileDeploymentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckFileDeploymentResult::~CheckFileDeploymentResult() +{} + +void CheckFileDeploymentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dataworks-public/src/model/CreateDataSourceRequest.cc b/dataworks-public/src/model/CreateDataSourceRequest.cc new file mode 100644 index 000000000..94824cdf0 --- /dev/null +++ b/dataworks-public/src/model/CreateDataSourceRequest.cc @@ -0,0 +1,106 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::CreateDataSourceRequest; + +CreateDataSourceRequest::CreateDataSourceRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataSource") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDataSourceRequest::~CreateDataSourceRequest() +{} + +std::string CreateDataSourceRequest::getDataSourceType()const +{ + return dataSourceType_; +} + +void CreateDataSourceRequest::setDataSourceType(const std::string& dataSourceType) +{ + dataSourceType_ = dataSourceType; + setParameter("DataSourceType", dataSourceType); +} + +std::string CreateDataSourceRequest::getDescription()const +{ + return description_; +} + +void CreateDataSourceRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string CreateDataSourceRequest::getContent()const +{ + return content_; +} + +void CreateDataSourceRequest::setContent(const std::string& content) +{ + content_ = content; + setParameter("Content", content); +} + +std::string CreateDataSourceRequest::getSubType()const +{ + return subType_; +} + +void CreateDataSourceRequest::setSubType(const std::string& subType) +{ + subType_ = subType; + setParameter("SubType", subType); +} + +std::string CreateDataSourceRequest::getName()const +{ + return name_; +} + +void CreateDataSourceRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +int CreateDataSourceRequest::getEnvType()const +{ + return envType_; +} + +void CreateDataSourceRequest::setEnvType(int envType) +{ + envType_ = envType; + setParameter("EnvType", std::to_string(envType)); +} + +long CreateDataSourceRequest::getProjectId()const +{ + return projectId_; +} + +void CreateDataSourceRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/CreateDataSourceResult.cc b/dataworks-public/src/model/CreateDataSourceResult.cc new file mode 100644 index 000000000..6ed161b11 --- /dev/null +++ b/dataworks-public/src/model/CreateDataSourceResult.cc @@ -0,0 +1,65 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +CreateDataSourceResult::CreateDataSourceResult() : + ServiceResult() +{} + +CreateDataSourceResult::CreateDataSourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDataSourceResult::~CreateDataSourceResult() +{} + +void CreateDataSourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = value["HttpStatusCode"].asString(); + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +std::string CreateDataSourceResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +long CreateDataSourceResult::getData()const +{ + return data_; +} + +bool CreateDataSourceResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/CreatePermissionApplyOrderRequest.cc b/dataworks-public/src/model/CreatePermissionApplyOrderRequest.cc new file mode 100644 index 000000000..f4ec69f6a --- /dev/null +++ b/dataworks-public/src/model/CreatePermissionApplyOrderRequest.cc @@ -0,0 +1,127 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::CreatePermissionApplyOrderRequest; + +CreatePermissionApplyOrderRequest::CreatePermissionApplyOrderRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "CreatePermissionApplyOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +CreatePermissionApplyOrderRequest::~CreatePermissionApplyOrderRequest() +{} + +std::string CreatePermissionApplyOrderRequest::getApplyReason()const +{ + return applyReason_; +} + +void CreatePermissionApplyOrderRequest::setApplyReason(const std::string& applyReason) +{ + applyReason_ = applyReason; + setParameter("ApplyReason", applyReason); +} + +std::string CreatePermissionApplyOrderRequest::getMaxComputeProjectName()const +{ + return maxComputeProjectName_; +} + +void CreatePermissionApplyOrderRequest::setMaxComputeProjectName(const std::string& maxComputeProjectName) +{ + maxComputeProjectName_ = maxComputeProjectName; + setParameter("MaxComputeProjectName", maxComputeProjectName); +} + +std::vector CreatePermissionApplyOrderRequest::getApplyObject()const +{ + return applyObject_; +} + +void CreatePermissionApplyOrderRequest::setApplyObject(const std::vector& applyObject) +{ + applyObject_ = applyObject; + for(int dep1 = 0; dep1!= applyObject.size(); dep1++) { + auto applyObjectObj = applyObject.at(dep1); + std::string applyObjectObjStr = "ApplyObject." + std::to_string(dep1 + 1); + for(int dep2 = 0; dep2!= applyObjectObj.columnMetaList.size(); dep2++) { + auto columnMetaListObj = applyObjectObj.columnMetaList.at(dep2); + std::string columnMetaListObjStr = applyObjectObjStr + "ColumnMetaList." + std::to_string(dep2 + 1); + setParameter(columnMetaListObjStr + ".Name", columnMetaListObj.name); + } + setParameter(applyObjectObjStr + ".Name", applyObjectObj.name); + setParameter(applyObjectObjStr + ".Actions", applyObjectObj.actions); + } +} + +std::string CreatePermissionApplyOrderRequest::getApplyUserIds()const +{ + return applyUserIds_; +} + +void CreatePermissionApplyOrderRequest::setApplyUserIds(const std::string& applyUserIds) +{ + applyUserIds_ = applyUserIds; + setParameter("ApplyUserIds", applyUserIds); +} + +long CreatePermissionApplyOrderRequest::getDeadline()const +{ + return deadline_; +} + +void CreatePermissionApplyOrderRequest::setDeadline(long deadline) +{ + deadline_ = deadline; + setParameter("Deadline", std::to_string(deadline)); +} + +int CreatePermissionApplyOrderRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void CreatePermissionApplyOrderRequest::setWorkspaceId(int workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", std::to_string(workspaceId)); +} + +int CreatePermissionApplyOrderRequest::getOrderType()const +{ + return orderType_; +} + +void CreatePermissionApplyOrderRequest::setOrderType(int orderType) +{ + orderType_ = orderType; + setParameter("OrderType", std::to_string(orderType)); +} + +std::string CreatePermissionApplyOrderRequest::getEngineType()const +{ + return engineType_; +} + +void CreatePermissionApplyOrderRequest::setEngineType(const std::string& engineType) +{ + engineType_ = engineType; + setParameter("EngineType", engineType); +} + diff --git a/dataworks-public/src/model/CreatePermissionApplyOrderResult.cc b/dataworks-public/src/model/CreatePermissionApplyOrderResult.cc new file mode 100644 index 000000000..48032ea10 --- /dev/null +++ b/dataworks-public/src/model/CreatePermissionApplyOrderResult.cc @@ -0,0 +1,52 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +CreatePermissionApplyOrderResult::CreatePermissionApplyOrderResult() : + ServiceResult() +{} + +CreatePermissionApplyOrderResult::CreatePermissionApplyOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreatePermissionApplyOrderResult::~CreatePermissionApplyOrderResult() +{} + +void CreatePermissionApplyOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFlowId = value["FlowId"]["FlowId"]; + for (const auto &item : allFlowId) + flowId_.push_back(item.asString()); + +} + +std::vector CreatePermissionApplyOrderResult::getFlowId()const +{ + return flowId_; +} + diff --git a/dataworks-public/src/model/CreateViewRequest.cc b/dataworks-public/src/model/CreateViewRequest.cc new file mode 100644 index 000000000..c65a16e3b --- /dev/null +++ b/dataworks-public/src/model/CreateViewRequest.cc @@ -0,0 +1,133 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::CreateViewRequest; + +CreateViewRequest::CreateViewRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "CreateView") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateViewRequest::~CreateViewRequest() +{} + +std::string CreateViewRequest::getViewName()const +{ + return viewName_; +} + +void CreateViewRequest::setViewName(const std::string& viewName) +{ + viewName_ = viewName; + setBodyParameter("ViewName", viewName); +} + +std::string CreateViewRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateViewRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setBodyParameter("ClientToken", clientToken); +} + +std::string CreateViewRequest::getSelectSQL()const +{ + return selectSQL_; +} + +void CreateViewRequest::setSelectSQL(const std::string& selectSQL) +{ + selectSQL_ = selectSQL; + setBodyParameter("SelectSQL", selectSQL); +} + +std::string CreateViewRequest::getSelectWhere()const +{ + return selectWhere_; +} + +void CreateViewRequest::setSelectWhere(const std::string& selectWhere) +{ + selectWhere_ = selectWhere; + setBodyParameter("SelectWhere", selectWhere); +} + +std::string CreateViewRequest::getSelectTableName()const +{ + return selectTableName_; +} + +void CreateViewRequest::setSelectTableName(const std::string& selectTableName) +{ + selectTableName_ = selectTableName; + setBodyParameter("SelectTableName", selectTableName); +} + +std::string CreateViewRequest::getComment()const +{ + return comment_; +} + +void CreateViewRequest::setComment(const std::string& comment) +{ + comment_ = comment; + setBodyParameter("Comment", comment); +} + +std::string CreateViewRequest::getSelectColumn()const +{ + return selectColumn_; +} + +void CreateViewRequest::setSelectColumn(const std::string& selectColumn) +{ + selectColumn_ = selectColumn; + setBodyParameter("SelectColumn", selectColumn); +} + +std::string CreateViewRequest::getAppGuid()const +{ + return appGuid_; +} + +void CreateViewRequest::setAppGuid(const std::string& appGuid) +{ + appGuid_ = appGuid; + setBodyParameter("AppGuid", appGuid); +} + +std::vector CreateViewRequest::getViewColumn()const +{ + return viewColumn_; +} + +void CreateViewRequest::setViewColumn(const std::vector& viewColumn) +{ + viewColumn_ = viewColumn; + for(int dep1 = 0; dep1!= viewColumn.size(); dep1++) { + auto viewColumnObj = viewColumn.at(dep1); + std::string viewColumnObjStr = "ViewColumn." + std::to_string(dep1 + 1); + setParameter(viewColumnObjStr + ".Comment", viewColumnObj.comment); + setParameter(viewColumnObjStr + ".ColumnName", viewColumnObj.columnName); + } +} + diff --git a/dataworks-public/src/model/CreateViewResult.cc b/dataworks-public/src/model/CreateViewResult.cc new file mode 100644 index 000000000..6041e7362 --- /dev/null +++ b/dataworks-public/src/model/CreateViewResult.cc @@ -0,0 +1,58 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +CreateViewResult::CreateViewResult() : + ServiceResult() +{} + +CreateViewResult::CreateViewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateViewResult::~CreateViewResult() +{} + +void CreateViewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto taskInfoNode = value["TaskInfo"]; + if(!taskInfoNode["TaskId"].isNull()) + taskInfo_.taskId = taskInfoNode["TaskId"].asString(); + if(!taskInfoNode["Content"].isNull()) + taskInfo_.content = taskInfoNode["Content"].asString(); + if(!taskInfoNode["Status"].isNull()) + taskInfo_.status = taskInfoNode["Status"].asString(); + if(!taskInfoNode["NextTaskId"].isNull()) + taskInfo_.nextTaskId = taskInfoNode["NextTaskId"].asString(); + +} + +CreateViewResult::TaskInfo CreateViewResult::getTaskInfo()const +{ + return taskInfo_; +} + diff --git a/dataworks-public/src/model/DeleteDataSourceRequest.cc b/dataworks-public/src/model/DeleteDataSourceRequest.cc new file mode 100644 index 000000000..a615c99cf --- /dev/null +++ b/dataworks-public/src/model/DeleteDataSourceRequest.cc @@ -0,0 +1,40 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::DeleteDataSourceRequest; + +DeleteDataSourceRequest::DeleteDataSourceRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataSource") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDataSourceRequest::~DeleteDataSourceRequest() +{} + +long DeleteDataSourceRequest::getDataSourceId()const +{ + return dataSourceId_; +} + +void DeleteDataSourceRequest::setDataSourceId(long dataSourceId) +{ + dataSourceId_ = dataSourceId; + setParameter("DataSourceId", std::to_string(dataSourceId)); +} + diff --git a/dataworks-public/src/model/DeleteDataSourceResult.cc b/dataworks-public/src/model/DeleteDataSourceResult.cc new file mode 100644 index 000000000..8ed440af8 --- /dev/null +++ b/dataworks-public/src/model/DeleteDataSourceResult.cc @@ -0,0 +1,65 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +DeleteDataSourceResult::DeleteDataSourceResult() : + ServiceResult() +{} + +DeleteDataSourceResult::DeleteDataSourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDataSourceResult::~DeleteDataSourceResult() +{} + +void DeleteDataSourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = value["HttpStatusCode"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + +} + +std::string DeleteDataSourceResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +bool DeleteDataSourceResult::getData()const +{ + return data_; +} + +bool DeleteDataSourceResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/DeleteViewRequest.cc b/dataworks-public/src/model/DeleteViewRequest.cc new file mode 100644 index 000000000..1667a0aaa --- /dev/null +++ b/dataworks-public/src/model/DeleteViewRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteViewRequest; + +DeleteViewRequest::DeleteViewRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteView") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteViewRequest::~DeleteViewRequest() +{} + +std::string DeleteViewRequest::getViewName()const +{ + return viewName_; +} + +void DeleteViewRequest::setViewName(const std::string& viewName) +{ + viewName_ = viewName; + setParameter("ViewName", viewName); +} + +std::string DeleteViewRequest::getAppGuid()const +{ + return appGuid_; +} + +void DeleteViewRequest::setAppGuid(const std::string& appGuid) +{ + appGuid_ = appGuid; + setParameter("AppGuid", appGuid); +} + diff --git a/dataworks-public/src/model/DeleteViewResult.cc b/dataworks-public/src/model/DeleteViewResult.cc new file mode 100644 index 000000000..8010b293c --- /dev/null +++ b/dataworks-public/src/model/DeleteViewResult.cc @@ -0,0 +1,58 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +DeleteViewResult::DeleteViewResult() : + ServiceResult() +{} + +DeleteViewResult::DeleteViewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteViewResult::~DeleteViewResult() +{} + +void DeleteViewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto taskInfoNode = value["TaskInfo"]; + if(!taskInfoNode["TaskId"].isNull()) + taskInfo_.taskId = taskInfoNode["TaskId"].asString(); + if(!taskInfoNode["Content"].isNull()) + taskInfo_.content = taskInfoNode["Content"].asString(); + if(!taskInfoNode["Status"].isNull()) + taskInfo_.status = taskInfoNode["Status"].asString(); + if(!taskInfoNode["NextTaskId"].isNull()) + taskInfo_.nextTaskId = taskInfoNode["NextTaskId"].asString(); + +} + +DeleteViewResult::TaskInfo DeleteViewResult::getTaskInfo()const +{ + return taskInfo_; +} + diff --git a/dataworks-public/src/model/ExportDISyncTasksRequest.cc b/dataworks-public/src/model/ExportDISyncTasksRequest.cc new file mode 100644 index 000000000..bd329c4e5 --- /dev/null +++ b/dataworks-public/src/model/ExportDISyncTasksRequest.cc @@ -0,0 +1,62 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ExportDISyncTasksRequest; + +ExportDISyncTasksRequest::ExportDISyncTasksRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ExportDISyncTasks") +{ + setMethod(HttpRequest::Method::Post); +} + +ExportDISyncTasksRequest::~ExportDISyncTasksRequest() +{} + +std::string ExportDISyncTasksRequest::getTaskType()const +{ + return taskType_; +} + +void ExportDISyncTasksRequest::setTaskType(const std::string& taskType) +{ + taskType_ = taskType; + setParameter("TaskType", taskType); +} + +std::string ExportDISyncTasksRequest::getTaskParam()const +{ + return taskParam_; +} + +void ExportDISyncTasksRequest::setTaskParam(const std::string& taskParam) +{ + taskParam_ = taskParam; + setParameter("TaskParam", taskParam); +} + +long ExportDISyncTasksRequest::getProjectId()const +{ + return projectId_; +} + +void ExportDISyncTasksRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/ExportDISyncTasksResult.cc b/dataworks-public/src/model/ExportDISyncTasksResult.cc new file mode 100644 index 000000000..478c944e9 --- /dev/null +++ b/dataworks-public/src/model/ExportDISyncTasksResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ExportDISyncTasksResult::ExportDISyncTasksResult() : + ServiceResult() +{} + +ExportDISyncTasksResult::ExportDISyncTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExportDISyncTasksResult::~ExportDISyncTasksResult() +{} + +void ExportDISyncTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto taskDetailNode = value["TaskDetail"]; + if(!taskDetailNode["RealTimeSolution"].isNull()) + taskDetail_.realTimeSolution = taskDetailNode["RealTimeSolution"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ExportDISyncTasksResult::TaskDetail ExportDISyncTasksResult::getTaskDetail()const +{ + return taskDetail_; +} + +bool ExportDISyncTasksResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/GetFileResult.cc b/dataworks-public/src/model/GetFileResult.cc index 9b5b76fb5..932384fc8 100644 --- a/dataworks-public/src/model/GetFileResult.cc +++ b/dataworks-public/src/model/GetFileResult.cc @@ -77,6 +77,10 @@ void GetFileResult::parse(const std::string &payload) data_.file.lastEditTime = std::stol(fileNode["LastEditTime"].asString()); if(!fileNode["CommitStatus"].isNull()) data_.file.commitStatus = std::stoi(fileNode["CommitStatus"].asString()); + if(!fileNode["DeletedStatus"].isNull()) + data_.file.deletedStatus = fileNode["DeletedStatus"].asString(); + if(!fileNode["BusinessId"].isNull()) + data_.file.businessId = std::stol(fileNode["BusinessId"].asString()); auto nodeConfigurationNode = dataNode["NodeConfiguration"]; if(!nodeConfigurationNode["AutoRerunTimes"].isNull()) data_.nodeConfiguration.autoRerunTimes = std::stoi(nodeConfigurationNode["AutoRerunTimes"].asString()); diff --git a/dataworks-public/src/model/GetFileTypeStatisticRequest.cc b/dataworks-public/src/model/GetFileTypeStatisticRequest.cc new file mode 100644 index 000000000..0bda70132 --- /dev/null +++ b/dataworks-public/src/model/GetFileTypeStatisticRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetFileTypeStatisticRequest; + +GetFileTypeStatisticRequest::GetFileTypeStatisticRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "GetFileTypeStatistic") +{ + setMethod(HttpRequest::Method::Post); +} + +GetFileTypeStatisticRequest::~GetFileTypeStatisticRequest() +{} + +std::string GetFileTypeStatisticRequest::getProjectEnv()const +{ + return projectEnv_; +} + +void GetFileTypeStatisticRequest::setProjectEnv(const std::string& projectEnv) +{ + projectEnv_ = projectEnv; + setBodyParameter("ProjectEnv", projectEnv); +} + +long GetFileTypeStatisticRequest::getProjectId()const +{ + return projectId_; +} + +void GetFileTypeStatisticRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/GetFileTypeStatisticResult.cc b/dataworks-public/src/model/GetFileTypeStatisticResult.cc new file mode 100644 index 000000000..75d5222d4 --- /dev/null +++ b/dataworks-public/src/model/GetFileTypeStatisticResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +GetFileTypeStatisticResult::GetFileTypeStatisticResult() : + ServiceResult() +{} + +GetFileTypeStatisticResult::GetFileTypeStatisticResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetFileTypeStatisticResult::~GetFileTypeStatisticResult() +{} + +void GetFileTypeStatisticResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allProgramTypeAndCountsNode = value["ProgramTypeAndCounts"]["ProgramTypeAndCount"]; + for (auto valueProgramTypeAndCountsProgramTypeAndCount : allProgramTypeAndCountsNode) + { + ProgramTypeAndCount programTypeAndCountsObject; + if(!valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].isNull()) + programTypeAndCountsObject.programType = valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].asString(); + if(!valueProgramTypeAndCountsProgramTypeAndCount["Count"].isNull()) + programTypeAndCountsObject.count = std::stoi(valueProgramTypeAndCountsProgramTypeAndCount["Count"].asString()); + programTypeAndCounts_.push_back(programTypeAndCountsObject); + } + +} + +std::vector GetFileTypeStatisticResult::getProgramTypeAndCounts()const +{ + return programTypeAndCounts_; +} + diff --git a/dataworks-public/src/model/GetInstanceStatusStatisticRequest.cc b/dataworks-public/src/model/GetInstanceStatusStatisticRequest.cc new file mode 100644 index 000000000..548de8f9d --- /dev/null +++ b/dataworks-public/src/model/GetInstanceStatusStatisticRequest.cc @@ -0,0 +1,62 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::GetInstanceStatusStatisticRequest; + +GetInstanceStatusStatisticRequest::GetInstanceStatusStatisticRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceStatusStatistic") +{ + setMethod(HttpRequest::Method::Post); +} + +GetInstanceStatusStatisticRequest::~GetInstanceStatusStatisticRequest() +{} + +std::string GetInstanceStatusStatisticRequest::getProjectEnv()const +{ + return projectEnv_; +} + +void GetInstanceStatusStatisticRequest::setProjectEnv(const std::string& projectEnv) +{ + projectEnv_ = projectEnv; + setBodyParameter("ProjectEnv", projectEnv); +} + +std::string GetInstanceStatusStatisticRequest::getBizDate()const +{ + return bizDate_; +} + +void GetInstanceStatusStatisticRequest::setBizDate(const std::string& bizDate) +{ + bizDate_ = bizDate; + setBodyParameter("BizDate", bizDate); +} + +long GetInstanceStatusStatisticRequest::getProjectId()const +{ + return projectId_; +} + +void GetInstanceStatusStatisticRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/GetInstanceStatusStatisticResult.cc b/dataworks-public/src/model/GetInstanceStatusStatisticResult.cc new file mode 100644 index 000000000..488f570f9 --- /dev/null +++ b/dataworks-public/src/model/GetInstanceStatusStatisticResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +GetInstanceStatusStatisticResult::GetInstanceStatusStatisticResult() : + ServiceResult() +{} + +GetInstanceStatusStatisticResult::GetInstanceStatusStatisticResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetInstanceStatusStatisticResult::~GetInstanceStatusStatisticResult() +{} + +void GetInstanceStatusStatisticResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto statusCountNode = value["StatusCount"]; + if(!statusCountNode["TotalCount"].isNull()) + statusCount_.totalCount = std::stoi(statusCountNode["TotalCount"].asString()); + if(!statusCountNode["NotRunCount"].isNull()) + statusCount_.notRunCount = std::stoi(statusCountNode["NotRunCount"].asString()); + if(!statusCountNode["WaitTimeCount"].isNull()) + statusCount_.waitTimeCount = std::stoi(statusCountNode["WaitTimeCount"].asString()); + if(!statusCountNode["WaitResCount"].isNull()) + statusCount_.waitResCount = std::stoi(statusCountNode["WaitResCount"].asString()); + if(!statusCountNode["RunningCount"].isNull()) + statusCount_.runningCount = std::stoi(statusCountNode["RunningCount"].asString()); + if(!statusCountNode["FailureCount"].isNull()) + statusCount_.failureCount = std::stoi(statusCountNode["FailureCount"].asString()); + if(!statusCountNode["SuccessCount"].isNull()) + statusCount_.successCount = std::stoi(statusCountNode["SuccessCount"].asString()); + +} + +GetInstanceStatusStatisticResult::StatusCount GetInstanceStatusStatisticResult::getStatusCount()const +{ + return statusCount_; +} + diff --git a/dataworks-public/src/model/GetMetaTableThemeLevelRequest.cc b/dataworks-public/src/model/GetMetaTableThemeLevelRequest.cc new file mode 100644 index 000000000..92d80cfcb --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableThemeLevelRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTableThemeLevelRequest; + +GetMetaTableThemeLevelRequest::GetMetaTableThemeLevelRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableThemeLevel") +{ + setMethod(HttpRequest::Method::Get); +} + +GetMetaTableThemeLevelRequest::~GetMetaTableThemeLevelRequest() +{} + +std::string GetMetaTableThemeLevelRequest::getDataSourceType()const +{ + return dataSourceType_; +} + +void GetMetaTableThemeLevelRequest::setDataSourceType(const std::string& dataSourceType) +{ + dataSourceType_ = dataSourceType; + setParameter("DataSourceType", dataSourceType); +} + +std::string GetMetaTableThemeLevelRequest::getTableGuid()const +{ + return tableGuid_; +} + +void GetMetaTableThemeLevelRequest::setTableGuid(const std::string& tableGuid) +{ + tableGuid_ = tableGuid; + setParameter("TableGuid", tableGuid); +} + diff --git a/dataworks-public/src/model/GetMetaTableThemeLevelResult.cc b/dataworks-public/src/model/GetMetaTableThemeLevelResult.cc new file mode 100644 index 000000000..33296481a --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableThemeLevelResult.cc @@ -0,0 +1,106 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +GetMetaTableThemeLevelResult::GetMetaTableThemeLevelResult() : + ServiceResult() +{} + +GetMetaTableThemeLevelResult::GetMetaTableThemeLevelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetMetaTableThemeLevelResult::~GetMetaTableThemeLevelResult() +{} + +void GetMetaTableThemeLevelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto entityNode = value["Entity"]; + auto allThemeNode = entityNode["Theme"]["ThemeItem"]; + for (auto entityNodeThemeThemeItem : allThemeNode) + { + Entity::ThemeItem themeItemObject; + if(!entityNodeThemeThemeItem["ThemeId"].isNull()) + themeItemObject.themeId = std::stol(entityNodeThemeThemeItem["ThemeId"].asString()); + if(!entityNodeThemeThemeItem["Name"].isNull()) + themeItemObject.name = entityNodeThemeThemeItem["Name"].asString(); + if(!entityNodeThemeThemeItem["Level"].isNull()) + themeItemObject.level = std::stoi(entityNodeThemeThemeItem["Level"].asString()); + if(!entityNodeThemeThemeItem["ParentId"].isNull()) + themeItemObject.parentId = std::stol(entityNodeThemeThemeItem["ParentId"].asString()); + entity_.theme.push_back(themeItemObject); + } + auto allLevelNode = entityNode["Level"]["LevelItem"]; + for (auto entityNodeLevelLevelItem : allLevelNode) + { + Entity::LevelItem levelItemObject; + if(!entityNodeLevelLevelItem["LevelId"].isNull()) + levelItemObject.levelId = std::stol(entityNodeLevelLevelItem["LevelId"].asString()); + if(!entityNodeLevelLevelItem["Name"].isNull()) + levelItemObject.name = entityNodeLevelLevelItem["Name"].asString(); + if(!entityNodeLevelLevelItem["Type"].isNull()) + levelItemObject.type = std::stoi(entityNodeLevelLevelItem["Type"].asString()); + if(!entityNodeLevelLevelItem["Description"].isNull()) + levelItemObject.description = entityNodeLevelLevelItem["Description"].asString(); + entity_.level.push_back(levelItemObject); + } + 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()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetMetaTableThemeLevelResult::Entity GetMetaTableThemeLevelResult::getEntity()const +{ + return entity_; +} + +int GetMetaTableThemeLevelResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string GetMetaTableThemeLevelResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetMetaTableThemeLevelResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool GetMetaTableThemeLevelResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/GetPermissionApplyOrderDetailRequest.cc b/dataworks-public/src/model/GetPermissionApplyOrderDetailRequest.cc new file mode 100644 index 000000000..f37c727ef --- /dev/null +++ b/dataworks-public/src/model/GetPermissionApplyOrderDetailRequest.cc @@ -0,0 +1,40 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::GetPermissionApplyOrderDetailRequest; + +GetPermissionApplyOrderDetailRequest::GetPermissionApplyOrderDetailRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "GetPermissionApplyOrderDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +GetPermissionApplyOrderDetailRequest::~GetPermissionApplyOrderDetailRequest() +{} + +std::string GetPermissionApplyOrderDetailRequest::getFlowId()const +{ + return flowId_; +} + +void GetPermissionApplyOrderDetailRequest::setFlowId(const std::string& flowId) +{ + flowId_ = flowId; + setParameter("FlowId", flowId); +} + diff --git a/dataworks-public/src/model/GetPermissionApplyOrderDetailResult.cc b/dataworks-public/src/model/GetPermissionApplyOrderDetailResult.cc new file mode 100644 index 000000000..d7e08dcde --- /dev/null +++ b/dataworks-public/src/model/GetPermissionApplyOrderDetailResult.cc @@ -0,0 +1,110 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +GetPermissionApplyOrderDetailResult::GetPermissionApplyOrderDetailResult() : + ServiceResult() +{} + +GetPermissionApplyOrderDetailResult::GetPermissionApplyOrderDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetPermissionApplyOrderDetailResult::~GetPermissionApplyOrderDetailResult() +{} + +void GetPermissionApplyOrderDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto applyOrderDetailNode = value["ApplyOrderDetail"]; + if(!applyOrderDetailNode["ApplyBaseId"].isNull()) + applyOrderDetail_.applyBaseId = applyOrderDetailNode["ApplyBaseId"].asString(); + if(!applyOrderDetailNode["ApplyTimestamp"].isNull()) + applyOrderDetail_.applyTimestamp = std::stol(applyOrderDetailNode["ApplyTimestamp"].asString()); + if(!applyOrderDetailNode["FlowId"].isNull()) + applyOrderDetail_.flowId = applyOrderDetailNode["FlowId"].asString(); + if(!applyOrderDetailNode["FlowStatus"].isNull()) + applyOrderDetail_.flowStatus = std::stoi(applyOrderDetailNode["FlowStatus"].asString()); + auto allApproveAccountListNode = applyOrderDetailNode["ApproveAccountList"]["ApproveAccountListItem"]; + for (auto applyOrderDetailNodeApproveAccountListApproveAccountListItem : allApproveAccountListNode) + { + ApplyOrderDetail::ApproveAccountListItem approveAccountListItemObject; + if(!applyOrderDetailNodeApproveAccountListApproveAccountListItem["BaseId"].isNull()) + approveAccountListItemObject.baseId = applyOrderDetailNodeApproveAccountListApproveAccountListItem["BaseId"].asString(); + applyOrderDetail_.approveAccountList.push_back(approveAccountListItemObject); + } + auto allGranteeObjectListNode = applyOrderDetailNode["GranteeObjectList"]["GranteeObjectListItem"]; + for (auto applyOrderDetailNodeGranteeObjectListGranteeObjectListItem : allGranteeObjectListNode) + { + ApplyOrderDetail::GranteeObjectListItem granteeObjectListItemObject; + if(!applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeId"].isNull()) + granteeObjectListItemObject.granteeId = applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeId"].asString(); + if(!applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeName"].isNull()) + granteeObjectListItemObject.granteeName = applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeName"].asString(); + if(!applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeType"].isNull()) + granteeObjectListItemObject.granteeType = std::stoi(applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeType"].asString()); + if(!applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeTypeSub"].isNull()) + granteeObjectListItemObject.granteeTypeSub = std::stoi(applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeTypeSub"].asString()); + applyOrderDetail_.granteeObjectList.push_back(granteeObjectListItemObject); + } + auto approveContentNode = applyOrderDetailNode["ApproveContent"]; + if(!approveContentNode["ApplyReason"].isNull()) + applyOrderDetail_.approveContent.applyReason = approveContentNode["ApplyReason"].asString(); + if(!approveContentNode["Deadline"].isNull()) + applyOrderDetail_.approveContent.deadline = std::stol(approveContentNode["Deadline"].asString()); + if(!approveContentNode["OrderType"].isNull()) + applyOrderDetail_.approveContent.orderType = std::stoi(approveContentNode["OrderType"].asString()); + auto projectMetaNode = approveContentNode["ProjectMeta"]; + if(!projectMetaNode["WorkspaceId"].isNull()) + applyOrderDetail_.approveContent.projectMeta.workspaceId = std::stoi(projectMetaNode["WorkspaceId"].asString()); + if(!projectMetaNode["MaxComputeProjectName"].isNull()) + applyOrderDetail_.approveContent.projectMeta.maxComputeProjectName = projectMetaNode["MaxComputeProjectName"].asString(); + auto allObjectMetaListNode = projectMetaNode["ObjectMetaList"]["ObjectMetaListItem"]; + for (auto projectMetaNodeObjectMetaListObjectMetaListItem : allObjectMetaListNode) + { + ApplyOrderDetail::ApproveContent::ProjectMeta::ObjectMetaListItem objectMetaListItemObject; + if(!projectMetaNodeObjectMetaListObjectMetaListItem["ObjectName"].isNull()) + objectMetaListItemObject.objectName = projectMetaNodeObjectMetaListObjectMetaListItem["ObjectName"].asString(); + auto allColumnMetaListNode = projectMetaNodeObjectMetaListObjectMetaListItem["ColumnMetaList"]["ColumnMetaListItem"]; + for (auto projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem : allColumnMetaListNode) + { + ApplyOrderDetail::ApproveContent::ProjectMeta::ObjectMetaListItem::ColumnMetaListItem columnMetaListObject; + if(!projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnComment"].isNull()) + columnMetaListObject.columnComment = projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnComment"].asString(); + if(!projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnName"].isNull()) + columnMetaListObject.columnName = projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnName"].asString(); + objectMetaListItemObject.columnMetaList.push_back(columnMetaListObject); + } + applyOrderDetail_.approveContent.projectMeta.objectMetaList.push_back(objectMetaListItemObject); + } + +} + +GetPermissionApplyOrderDetailResult::ApplyOrderDetail GetPermissionApplyOrderDetailResult::getApplyOrderDetail()const +{ + return applyOrderDetail_; +} + diff --git a/dataworks-public/src/model/GetProjectRequest.cc b/dataworks-public/src/model/GetProjectRequest.cc new file mode 100644 index 000000000..b5e575e59 --- /dev/null +++ b/dataworks-public/src/model/GetProjectRequest.cc @@ -0,0 +1,40 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::GetProjectRequest; + +GetProjectRequest::GetProjectRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "GetProject") +{ + setMethod(HttpRequest::Method::Post); +} + +GetProjectRequest::~GetProjectRequest() +{} + +long GetProjectRequest::getProjectId()const +{ + return projectId_; +} + +void GetProjectRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/GetProjectResult.cc b/dataworks-public/src/model/GetProjectResult.cc new file mode 100644 index 000000000..8e647524f --- /dev/null +++ b/dataworks-public/src/model/GetProjectResult.cc @@ -0,0 +1,121 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +GetProjectResult::GetProjectResult() : + ServiceResult() +{} + +GetProjectResult::GetProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetProjectResult::~GetProjectResult() +{} + +void GetProjectResult::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["GmtModified"].isNull()) + data_.gmtModified = dataNode["GmtModified"].asString(); + if(!dataNode["MaxFlowNode"].isNull()) + data_.maxFlowNode = std::stoi(dataNode["MaxFlowNode"].asString()); + if(!dataNode["DefaultDiResourceGroupIdentifier"].isNull()) + data_.defaultDiResourceGroupIdentifier = dataNode["DefaultDiResourceGroupIdentifier"].asString(); + if(!dataNode["Destination"].isNull()) + data_.destination = std::stoi(dataNode["Destination"].asString()); + if(!dataNode["IsAllowDownload"].isNull()) + data_.isAllowDownload = std::stoi(dataNode["IsAllowDownload"].asString()); + if(!dataNode["ProdStorageQuota"].isNull()) + data_.prodStorageQuota = dataNode["ProdStorageQuota"].asString(); + if(!dataNode["SchedulerRetryInterval"].isNull()) + data_.schedulerRetryInterval = std::stoi(dataNode["SchedulerRetryInterval"].asString()); + if(!dataNode["ResidentArea"].isNull()) + data_.residentArea = dataNode["ResidentArea"].asString(); + if(!dataNode["TablePrivacyMode"].isNull()) + data_.tablePrivacyMode = std::stoi(dataNode["TablePrivacyMode"].asString()); + if(!dataNode["ProjectOwnerBaseId"].isNull()) + data_.projectOwnerBaseId = dataNode["ProjectOwnerBaseId"].asString(); + if(!dataNode["UseProxyOdpsAccount"].isNull()) + data_.useProxyOdpsAccount = dataNode["UseProxyOdpsAccount"].asString() == "true"; + if(!dataNode["DisableDevelopment"].isNull()) + data_.disableDevelopment = dataNode["DisableDevelopment"].asString() == "true"; + if(!dataNode["ProjectMode"].isNull()) + data_.projectMode = std::stoi(dataNode["ProjectMode"].asString()); + if(!dataNode["GmtCreate"].isNull()) + data_.gmtCreate = dataNode["GmtCreate"].asString(); + if(!dataNode["DevStorageQuota"].isNull()) + data_.devStorageQuota = dataNode["DevStorageQuota"].asString(); + if(!dataNode["IsDefault"].isNull()) + data_.isDefault = std::stoi(dataNode["IsDefault"].asString()); + if(!dataNode["ProtectedMode"].isNull()) + data_.protectedMode = std::stoi(dataNode["ProtectedMode"].asString()); + if(!dataNode["BaseProject"].isNull()) + data_.baseProject = dataNode["BaseProject"].asString() == "true"; + if(!dataNode["TenantId"].isNull()) + data_.tenantId = std::stol(dataNode["TenantId"].asString()); + if(!dataNode["ProjectDescription"].isNull()) + data_.projectDescription = dataNode["ProjectDescription"].asString(); + if(!dataNode["Appkey"].isNull()) + data_.appkey = dataNode["Appkey"].asString(); + if(!dataNode["SchedulerMaxRetryTimes"].isNull()) + data_.schedulerMaxRetryTimes = std::stoi(dataNode["SchedulerMaxRetryTimes"].asString()); + if(!dataNode["ProjectName"].isNull()) + data_.projectName = dataNode["ProjectName"].asString(); + if(!dataNode["ProjectIdentifier"].isNull()) + data_.projectIdentifier = dataNode["ProjectIdentifier"].asString(); + if(!dataNode["ProjectId"].isNull()) + data_.projectId = std::stoi(dataNode["ProjectId"].asString()); + if(!dataNode["Status"].isNull()) + data_.status = std::stoi(dataNode["Status"].asString()); + if(!dataNode["DevelopmentType"].isNull()) + data_.developmentType = std::stoi(dataNode["DevelopmentType"].asString()); + auto allEnvTypes = dataNode["EnvTypes"]["EnvTypes"]; + for (auto value : allEnvTypes) + data_.envTypes.push_back(value.asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +int GetProjectResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +GetProjectResult::Data GetProjectResult::getData()const +{ + return data_; +} + +bool GetProjectResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ImportDISyncTasksRequest.cc b/dataworks-public/src/model/ImportDISyncTasksRequest.cc new file mode 100644 index 000000000..f490acb55 --- /dev/null +++ b/dataworks-public/src/model/ImportDISyncTasksRequest.cc @@ -0,0 +1,73 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ImportDISyncTasksRequest; + +ImportDISyncTasksRequest::ImportDISyncTasksRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ImportDISyncTasks") +{ + setMethod(HttpRequest::Method::Post); +} + +ImportDISyncTasksRequest::~ImportDISyncTasksRequest() +{} + +std::string ImportDISyncTasksRequest::getTaskType()const +{ + return taskType_; +} + +void ImportDISyncTasksRequest::setTaskType(const std::string& taskType) +{ + taskType_ = taskType; + setParameter("TaskType", taskType); +} + +std::string ImportDISyncTasksRequest::getTaskContent()const +{ + return taskContent_; +} + +void ImportDISyncTasksRequest::setTaskContent(const std::string& taskContent) +{ + taskContent_ = taskContent; + setParameter("TaskContent", taskContent); +} + +std::string ImportDISyncTasksRequest::getTaskParam()const +{ + return taskParam_; +} + +void ImportDISyncTasksRequest::setTaskParam(const std::string& taskParam) +{ + taskParam_ = taskParam; + setParameter("TaskParam", taskParam); +} + +long ImportDISyncTasksRequest::getProjectId()const +{ + return projectId_; +} + +void ImportDISyncTasksRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/ImportDISyncTasksResult.cc b/dataworks-public/src/model/ImportDISyncTasksResult.cc new file mode 100644 index 000000000..1eb2d3b77 --- /dev/null +++ b/dataworks-public/src/model/ImportDISyncTasksResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ImportDISyncTasksResult::ImportDISyncTasksResult() : + ServiceResult() +{} + +ImportDISyncTasksResult::ImportDISyncTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImportDISyncTasksResult::~ImportDISyncTasksResult() +{} + +void ImportDISyncTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto taskInfoNode = value["TaskInfo"]; + if(!taskInfoNode["TaskId"].isNull()) + taskInfo_.taskId = std::stol(taskInfoNode["TaskId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ImportDISyncTasksResult::TaskInfo ImportDISyncTasksResult::getTaskInfo()const +{ + return taskInfo_; +} + +bool ImportDISyncTasksResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListDISyncTasksRequest.cc b/dataworks-public/src/model/ListDISyncTasksRequest.cc new file mode 100644 index 000000000..892521149 --- /dev/null +++ b/dataworks-public/src/model/ListDISyncTasksRequest.cc @@ -0,0 +1,73 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ListDISyncTasksRequest; + +ListDISyncTasksRequest::ListDISyncTasksRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ListDISyncTasks") +{ + setMethod(HttpRequest::Method::Post); +} + +ListDISyncTasksRequest::~ListDISyncTasksRequest() +{} + +std::string ListDISyncTasksRequest::getTaskType()const +{ + return taskType_; +} + +void ListDISyncTasksRequest::setTaskType(const std::string& taskType) +{ + taskType_ = taskType; + setParameter("TaskType", taskType); +} + +long ListDISyncTasksRequest::getPageSize()const +{ + return pageSize_; +} + +void ListDISyncTasksRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +long ListDISyncTasksRequest::getProjectId()const +{ + return projectId_; +} + +void ListDISyncTasksRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setParameter("ProjectId", std::to_string(projectId)); +} + +long ListDISyncTasksRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListDISyncTasksRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/dataworks-public/src/model/ListDISyncTasksResult.cc b/dataworks-public/src/model/ListDISyncTasksResult.cc new file mode 100644 index 000000000..0ae8e0374 --- /dev/null +++ b/dataworks-public/src/model/ListDISyncTasksResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListDISyncTasksResult::ListDISyncTasksResult() : + ServiceResult() +{} + +ListDISyncTasksResult::ListDISyncTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDISyncTasksResult::~ListDISyncTasksResult() +{} + +void ListDISyncTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto taskListNode = value["TaskList"]; + if(!taskListNode["PageNumber"].isNull()) + taskList_.pageNumber = std::stoi(taskListNode["PageNumber"].asString()); + if(!taskListNode["PageSize"].isNull()) + taskList_.pageSize = std::stoi(taskListNode["PageSize"].asString()); + if(!taskListNode["TotalCount"].isNull()) + taskList_.totalCount = std::stoi(taskListNode["TotalCount"].asString()); + auto allRealTimeSolutionListNode = taskListNode["RealTimeSolutionList"]["RealTimeSolutionListItem"]; + for (auto taskListNodeRealTimeSolutionListRealTimeSolutionListItem : allRealTimeSolutionListNode) + { + TaskList::RealTimeSolutionListItem realTimeSolutionListItemObject; + if(!taskListNodeRealTimeSolutionListRealTimeSolutionListItem["ProcessId"].isNull()) + realTimeSolutionListItemObject.processId = std::stol(taskListNodeRealTimeSolutionListRealTimeSolutionListItem["ProcessId"].asString()); + if(!taskListNodeRealTimeSolutionListRealTimeSolutionListItem["ProcessName"].isNull()) + realTimeSolutionListItemObject.processName = taskListNodeRealTimeSolutionListRealTimeSolutionListItem["ProcessName"].asString(); + if(!taskListNodeRealTimeSolutionListRealTimeSolutionListItem["TaskStatus"].isNull()) + realTimeSolutionListItemObject.taskStatus = taskListNodeRealTimeSolutionListRealTimeSolutionListItem["TaskStatus"].asString(); + if(!taskListNodeRealTimeSolutionListRealTimeSolutionListItem["TaskType"].isNull()) + realTimeSolutionListItemObject.taskType = taskListNodeRealTimeSolutionListRealTimeSolutionListItem["TaskType"].asString(); + if(!taskListNodeRealTimeSolutionListRealTimeSolutionListItem["CreateTime"].isNull()) + realTimeSolutionListItemObject.createTime = std::stol(taskListNodeRealTimeSolutionListRealTimeSolutionListItem["CreateTime"].asString()); + taskList_.realTimeSolutionList.push_back(realTimeSolutionListItemObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListDISyncTasksResult::TaskList ListDISyncTasksResult::getTaskList()const +{ + return taskList_; +} + +bool ListDISyncTasksResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListDataSourcesRequest.cc b/dataworks-public/src/model/ListDataSourcesRequest.cc new file mode 100644 index 000000000..ec7bea024 --- /dev/null +++ b/dataworks-public/src/model/ListDataSourcesRequest.cc @@ -0,0 +1,117 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ListDataSourcesRequest; + +ListDataSourcesRequest::ListDataSourcesRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataSources") +{ + setMethod(HttpRequest::Method::Get); +} + +ListDataSourcesRequest::~ListDataSourcesRequest() +{} + +std::string ListDataSourcesRequest::getDataSourceType()const +{ + return dataSourceType_; +} + +void ListDataSourcesRequest::setDataSourceType(const std::string& dataSourceType) +{ + dataSourceType_ = dataSourceType; + setParameter("DataSourceType", dataSourceType); +} + +int ListDataSourcesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListDataSourcesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListDataSourcesRequest::getSubType()const +{ + return subType_; +} + +void ListDataSourcesRequest::setSubType(const std::string& subType) +{ + subType_ = subType; + setParameter("SubType", subType); +} + +std::string ListDataSourcesRequest::getName()const +{ + return name_; +} + +void ListDataSourcesRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +int ListDataSourcesRequest::getEnvType()const +{ + return envType_; +} + +void ListDataSourcesRequest::setEnvType(int envType) +{ + envType_ = envType; + setParameter("EnvType", std::to_string(envType)); +} + +int ListDataSourcesRequest::getPageSize()const +{ + return pageSize_; +} + +void ListDataSourcesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +long ListDataSourcesRequest::getProjectId()const +{ + return projectId_; +} + +void ListDataSourcesRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setParameter("ProjectId", std::to_string(projectId)); +} + +std::string ListDataSourcesRequest::getStatus()const +{ + return status_; +} + +void ListDataSourcesRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/dataworks-public/src/model/ListDataSourcesResult.cc b/dataworks-public/src/model/ListDataSourcesResult.cc new file mode 100644 index 000000000..91b3c5d5d --- /dev/null +++ b/dataworks-public/src/model/ListDataSourcesResult.cc @@ -0,0 +1,110 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListDataSourcesResult::ListDataSourcesResult() : + ServiceResult() +{} + +ListDataSourcesResult::ListDataSourcesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDataSourcesResult::~ListDataSourcesResult() +{} + +void ListDataSourcesResult::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["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + auto allDataSourcesNode = dataNode["DataSources"]["DataSourcesItem"]; + for (auto dataNodeDataSourcesDataSourcesItem : allDataSourcesNode) + { + Data::DataSourcesItem dataSourcesItemObject; + if(!dataNodeDataSourcesDataSourcesItem["Shared"].isNull()) + dataSourcesItemObject.shared = dataNodeDataSourcesDataSourcesItem["Shared"].asString() == "true"; + if(!dataNodeDataSourcesDataSourcesItem["GmtModified"].isNull()) + dataSourcesItemObject.gmtModified = dataNodeDataSourcesDataSourcesItem["GmtModified"].asString(); + if(!dataNodeDataSourcesDataSourcesItem["ConnectStatus"].isNull()) + dataSourcesItemObject.connectStatus = std::stoi(dataNodeDataSourcesDataSourcesItem["ConnectStatus"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["BindingCalcEngineId"].isNull()) + dataSourcesItemObject.bindingCalcEngineId = std::stoi(dataNodeDataSourcesDataSourcesItem["BindingCalcEngineId"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["Description"].isNull()) + dataSourcesItemObject.description = dataNodeDataSourcesDataSourcesItem["Description"].asString(); + if(!dataNodeDataSourcesDataSourcesItem["DataSourceType"].isNull()) + dataSourcesItemObject.dataSourceType = dataNodeDataSourcesDataSourcesItem["DataSourceType"].asString(); + if(!dataNodeDataSourcesDataSourcesItem["GmtCreate"].isNull()) + dataSourcesItemObject.gmtCreate = dataNodeDataSourcesDataSourcesItem["GmtCreate"].asString(); + if(!dataNodeDataSourcesDataSourcesItem["DefaultEngine"].isNull()) + dataSourcesItemObject.defaultEngine = dataNodeDataSourcesDataSourcesItem["DefaultEngine"].asString() == "true"; + if(!dataNodeDataSourcesDataSourcesItem["Operator"].isNull()) + dataSourcesItemObject._operator = dataNodeDataSourcesDataSourcesItem["Operator"].asString(); + if(!dataNodeDataSourcesDataSourcesItem["Sequence"].isNull()) + dataSourcesItemObject.sequence = std::stoi(dataNodeDataSourcesDataSourcesItem["Sequence"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["EnvType"].isNull()) + dataSourcesItemObject.envType = std::stoi(dataNodeDataSourcesDataSourcesItem["EnvType"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["TenantId"].isNull()) + dataSourcesItemObject.tenantId = std::stol(dataNodeDataSourcesDataSourcesItem["TenantId"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["Name"].isNull()) + dataSourcesItemObject.name = dataNodeDataSourcesDataSourcesItem["Name"].asString(); + if(!dataNodeDataSourcesDataSourcesItem["SubType"].isNull()) + dataSourcesItemObject.subType = dataNodeDataSourcesDataSourcesItem["SubType"].asString(); + if(!dataNodeDataSourcesDataSourcesItem["Id"].isNull()) + dataSourcesItemObject.id = std::stoi(dataNodeDataSourcesDataSourcesItem["Id"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["ProjectId"].isNull()) + dataSourcesItemObject.projectId = std::stoi(dataNodeDataSourcesDataSourcesItem["ProjectId"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["Status"].isNull()) + dataSourcesItemObject.status = std::stoi(dataNodeDataSourcesDataSourcesItem["Status"].asString()); + data_.dataSources.push_back(dataSourcesItemObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +int ListDataSourcesResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListDataSourcesResult::Data ListDataSourcesResult::getData()const +{ + return data_; +} + +bool ListDataSourcesResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListFileTypeRequest.cc b/dataworks-public/src/model/ListFileTypeRequest.cc new file mode 100644 index 000000000..c9df82c7c --- /dev/null +++ b/dataworks-public/src/model/ListFileTypeRequest.cc @@ -0,0 +1,95 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ListFileTypeRequest; + +ListFileTypeRequest::ListFileTypeRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ListFileType") +{ + setMethod(HttpRequest::Method::Post); +} + +ListFileTypeRequest::~ListFileTypeRequest() +{} + +int ListFileTypeRequest::getPageSize()const +{ + return pageSize_; +} + +void ListFileTypeRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListFileTypeRequest::getKeyword()const +{ + return keyword_; +} + +void ListFileTypeRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setBodyParameter("Keyword", keyword); +} + +std::string ListFileTypeRequest::getLocale()const +{ + return locale_; +} + +void ListFileTypeRequest::setLocale(const std::string& locale) +{ + locale_ = locale; + setBodyParameter("Locale", locale); +} + +long ListFileTypeRequest::getProjectId()const +{ + return projectId_; +} + +void ListFileTypeRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", std::to_string(projectId)); +} + +std::string ListFileTypeRequest::getProjectIdentifier()const +{ + return projectIdentifier_; +} + +void ListFileTypeRequest::setProjectIdentifier(const std::string& projectIdentifier) +{ + projectIdentifier_ = projectIdentifier; + setBodyParameter("ProjectIdentifier", projectIdentifier); +} + +int ListFileTypeRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListFileTypeRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/dataworks-public/src/model/ListFileTypeResult.cc b/dataworks-public/src/model/ListFileTypeResult.cc new file mode 100644 index 000000000..334ed39e9 --- /dev/null +++ b/dataworks-public/src/model/ListFileTypeResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListFileTypeResult::ListFileTypeResult() : + ServiceResult() +{} + +ListFileTypeResult::ListFileTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFileTypeResult::~ListFileTypeResult() +{} + +void ListFileTypeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto nodeTypeInfoListNode = value["NodeTypeInfoList"]; + if(!nodeTypeInfoListNode["PageNumber"].isNull()) + nodeTypeInfoList_.pageNumber = std::stoi(nodeTypeInfoListNode["PageNumber"].asString()); + if(!nodeTypeInfoListNode["PageSize"].isNull()) + nodeTypeInfoList_.pageSize = std::stoi(nodeTypeInfoListNode["PageSize"].asString()); + if(!nodeTypeInfoListNode["TotalCount"].isNull()) + nodeTypeInfoList_.totalCount = std::stoi(nodeTypeInfoListNode["TotalCount"].asString()); + auto allNodeTypeInfoNode = nodeTypeInfoListNode["NodeTypeInfo"]["NodeTypeInfoItem"]; + for (auto nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem : allNodeTypeInfoNode) + { + NodeTypeInfoList::NodeTypeInfoItem nodeTypeInfoItemObject; + if(!nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeType"].isNull()) + nodeTypeInfoItemObject.nodeType = std::stoi(nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeType"].asString()); + if(!nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeTypeName"].isNull()) + nodeTypeInfoItemObject.nodeTypeName = nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeTypeName"].asString(); + nodeTypeInfoList_.nodeTypeInfo.push_back(nodeTypeInfoItemObject); + } + +} + +ListFileTypeResult::NodeTypeInfoList ListFileTypeResult::getNodeTypeInfoList()const +{ + return nodeTypeInfoList_; +} + diff --git a/dataworks-public/src/model/ListFilesResult.cc b/dataworks-public/src/model/ListFilesResult.cc index f340cc3c8..f52b68d4c 100644 --- a/dataworks-public/src/model/ListFilesResult.cc +++ b/dataworks-public/src/model/ListFilesResult.cc @@ -88,6 +88,8 @@ void ListFilesResult::parse(const std::string &payload) fileObject.commitStatus = std::stoi(dataNodeFilesFile["CommitStatus"].asString()); if(!dataNodeFilesFile["FileId"].isNull()) fileObject.fileId = std::stol(dataNodeFilesFile["FileId"].asString()); + if(!dataNodeFilesFile["BusinessId"].isNull()) + fileObject.businessId = std::stol(dataNodeFilesFile["BusinessId"].asString()); data_.files.push_back(fileObject); } if(!value["Success"].isNull()) diff --git a/dataworks-public/src/model/ListInstanceAmountRequest.cc b/dataworks-public/src/model/ListInstanceAmountRequest.cc new file mode 100644 index 000000000..475a94005 --- /dev/null +++ b/dataworks-public/src/model/ListInstanceAmountRequest.cc @@ -0,0 +1,62 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ListInstanceAmountRequest; + +ListInstanceAmountRequest::ListInstanceAmountRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ListInstanceAmount") +{ + setMethod(HttpRequest::Method::Post); +} + +ListInstanceAmountRequest::~ListInstanceAmountRequest() +{} + +std::string ListInstanceAmountRequest::getBeginDate()const +{ + return beginDate_; +} + +void ListInstanceAmountRequest::setBeginDate(const std::string& beginDate) +{ + beginDate_ = beginDate; + setBodyParameter("BeginDate", beginDate); +} + +std::string ListInstanceAmountRequest::getEndDate()const +{ + return endDate_; +} + +void ListInstanceAmountRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setBodyParameter("EndDate", endDate); +} + +long ListInstanceAmountRequest::getProjectId()const +{ + return projectId_; +} + +void ListInstanceAmountRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/ListInstanceAmountResult.cc b/dataworks-public/src/model/ListInstanceAmountResult.cc new file mode 100644 index 000000000..5e78f2a64 --- /dev/null +++ b/dataworks-public/src/model/ListInstanceAmountResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListInstanceAmountResult::ListInstanceAmountResult() : + ServiceResult() +{} + +ListInstanceAmountResult::ListInstanceAmountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListInstanceAmountResult::~ListInstanceAmountResult() +{} + +void ListInstanceAmountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allInstanceCountsNode = value["InstanceCounts"]["IntanceCounts"]; + for (auto valueInstanceCountsIntanceCounts : allInstanceCountsNode) + { + IntanceCounts instanceCountsObject; + if(!valueInstanceCountsIntanceCounts["Date"].isNull()) + instanceCountsObject.date = std::stol(valueInstanceCountsIntanceCounts["Date"].asString()); + if(!valueInstanceCountsIntanceCounts["Count"].isNull()) + instanceCountsObject.count = std::stoi(valueInstanceCountsIntanceCounts["Count"].asString()); + instanceCounts_.push_back(instanceCountsObject); + } + +} + +std::vector ListInstanceAmountResult::getInstanceCounts()const +{ + return instanceCounts_; +} + diff --git a/dataworks-public/src/model/ListManualDagInstancesRequest.cc b/dataworks-public/src/model/ListManualDagInstancesRequest.cc new file mode 100644 index 000000000..fb48aad77 --- /dev/null +++ b/dataworks-public/src/model/ListManualDagInstancesRequest.cc @@ -0,0 +1,62 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ListManualDagInstancesRequest; + +ListManualDagInstancesRequest::ListManualDagInstancesRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ListManualDagInstances") +{ + setMethod(HttpRequest::Method::Post); +} + +ListManualDagInstancesRequest::~ListManualDagInstancesRequest() +{} + +std::string ListManualDagInstancesRequest::getProjectEnv()const +{ + return projectEnv_; +} + +void ListManualDagInstancesRequest::setProjectEnv(const std::string& projectEnv) +{ + projectEnv_ = projectEnv; + setBodyParameter("ProjectEnv", projectEnv); +} + +std::string ListManualDagInstancesRequest::getProjectName()const +{ + return projectName_; +} + +void ListManualDagInstancesRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setBodyParameter("ProjectName", projectName); +} + +std::string ListManualDagInstancesRequest::getDagId()const +{ + return dagId_; +} + +void ListManualDagInstancesRequest::setDagId(const std::string& dagId) +{ + dagId_ = dagId; + setBodyParameter("DagId", dagId); +} + diff --git a/dataworks-public/src/model/ListManualDagInstancesResult.cc b/dataworks-public/src/model/ListManualDagInstancesResult.cc new file mode 100644 index 000000000..5454421f0 --- /dev/null +++ b/dataworks-public/src/model/ListManualDagInstancesResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListManualDagInstancesResult::ListManualDagInstancesResult() : + ServiceResult() +{} + +ListManualDagInstancesResult::ListManualDagInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListManualDagInstancesResult::~ListManualDagInstancesResult() +{} + +void ListManualDagInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allInstancesNode = value["Instances"]["InstancesItem"]; + for (auto valueInstancesInstancesItem : allInstancesNode) + { + InstancesItem instancesObject; + if(!valueInstancesInstancesItem["NodeId"].isNull()) + instancesObject.nodeId = std::stol(valueInstancesInstancesItem["NodeId"].asString()); + if(!valueInstancesInstancesItem["InstanceId"].isNull()) + instancesObject.instanceId = std::stol(valueInstancesInstancesItem["InstanceId"].asString()); + if(!valueInstancesInstancesItem["DagId"].isNull()) + instancesObject.dagId = std::stol(valueInstancesInstancesItem["DagId"].asString()); + if(!valueInstancesInstancesItem["DagType"].isNull()) + instancesObject.dagType = valueInstancesInstancesItem["DagType"].asString(); + if(!valueInstancesInstancesItem["Status"].isNull()) + instancesObject.status = valueInstancesInstancesItem["Status"].asString(); + if(!valueInstancesInstancesItem["BizDate"].isNull()) + instancesObject.bizDate = std::stol(valueInstancesInstancesItem["BizDate"].asString()); + if(!valueInstancesInstancesItem["CycTime"].isNull()) + instancesObject.cycTime = std::stol(valueInstancesInstancesItem["CycTime"].asString()); + if(!valueInstancesInstancesItem["CreateTime"].isNull()) + instancesObject.createTime = std::stol(valueInstancesInstancesItem["CreateTime"].asString()); + if(!valueInstancesInstancesItem["ModifyTime"].isNull()) + instancesObject.modifyTime = std::stol(valueInstancesInstancesItem["ModifyTime"].asString()); + if(!valueInstancesInstancesItem["NodeName"].isNull()) + instancesObject.nodeName = valueInstancesInstancesItem["NodeName"].asString(); + if(!valueInstancesInstancesItem["BeginWaitTimeTime"].isNull()) + instancesObject.beginWaitTimeTime = std::stol(valueInstancesInstancesItem["BeginWaitTimeTime"].asString()); + if(!valueInstancesInstancesItem["BeginWaitResTime"].isNull()) + instancesObject.beginWaitResTime = std::stol(valueInstancesInstancesItem["BeginWaitResTime"].asString()); + if(!valueInstancesInstancesItem["BeginRunningTime"].isNull()) + instancesObject.beginRunningTime = std::stol(valueInstancesInstancesItem["BeginRunningTime"].asString()); + if(!valueInstancesInstancesItem["ParamValues"].isNull()) + instancesObject.paramValues = valueInstancesInstancesItem["ParamValues"].asString(); + if(!valueInstancesInstancesItem["FinishTime"].isNull()) + instancesObject.finishTime = std::stol(valueInstancesInstancesItem["FinishTime"].asString()); + if(!valueInstancesInstancesItem["TaskType"].isNull()) + instancesObject.taskType = valueInstancesInstancesItem["TaskType"].asString(); + instances_.push_back(instancesObject); + } + +} + +std::vector ListManualDagInstancesResult::getInstances()const +{ + return instances_; +} + diff --git a/dataworks-public/src/model/ListNodeInputOrOutputRequest.cc b/dataworks-public/src/model/ListNodeInputOrOutputRequest.cc new file mode 100644 index 000000000..ec1176f8d --- /dev/null +++ b/dataworks-public/src/model/ListNodeInputOrOutputRequest.cc @@ -0,0 +1,62 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ListNodeInputOrOutputRequest; + +ListNodeInputOrOutputRequest::ListNodeInputOrOutputRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodeInputOrOutput") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodeInputOrOutputRequest::~ListNodeInputOrOutputRequest() +{} + +std::string ListNodeInputOrOutputRequest::getProjectEnv()const +{ + return projectEnv_; +} + +void ListNodeInputOrOutputRequest::setProjectEnv(const std::string& projectEnv) +{ + projectEnv_ = projectEnv; + setBodyParameter("ProjectEnv", projectEnv); +} + +long ListNodeInputOrOutputRequest::getNodeId()const +{ + return nodeId_; +} + +void ListNodeInputOrOutputRequest::setNodeId(long nodeId) +{ + nodeId_ = nodeId; + setBodyParameter("NodeId", std::to_string(nodeId)); +} + +std::string ListNodeInputOrOutputRequest::getIoType()const +{ + return ioType_; +} + +void ListNodeInputOrOutputRequest::setIoType(const std::string& ioType) +{ + ioType_ = ioType; + setBodyParameter("IoType", ioType); +} + diff --git a/dataworks-public/src/model/ListNodeInputOrOutputResult.cc b/dataworks-public/src/model/ListNodeInputOrOutputResult.cc new file mode 100644 index 000000000..4ce99612d --- /dev/null +++ b/dataworks-public/src/model/ListNodeInputOrOutputResult.cc @@ -0,0 +1,89 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListNodeInputOrOutputResult::ListNodeInputOrOutputResult() : + ServiceResult() +{} + +ListNodeInputOrOutputResult::ListNodeInputOrOutputResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodeInputOrOutputResult::~ListNodeInputOrOutputResult() +{} + +void ListNodeInputOrOutputResult::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["TableName"].isNull()) + dataObject.tableName = valueDataDataItem["TableName"].asString(); + if(!valueDataDataItem["Data"].isNull()) + dataObject.data = valueDataDataItem["Data"].asString(); + if(!valueDataDataItem["NodeId"].isNull()) + dataObject.nodeId = std::stol(valueDataDataItem["NodeId"].asString()); + data_.push_back(dataObject); + } + 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 ListNodeInputOrOutputResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListNodeInputOrOutputResult::getData()const +{ + return data_; +} + +std::string ListNodeInputOrOutputResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListNodeInputOrOutputResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListNodeInputOrOutputResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListNodesByBaselineRequest.cc b/dataworks-public/src/model/ListNodesByBaselineRequest.cc new file mode 100644 index 000000000..9e3712f70 --- /dev/null +++ b/dataworks-public/src/model/ListNodesByBaselineRequest.cc @@ -0,0 +1,40 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ListNodesByBaselineRequest; + +ListNodesByBaselineRequest::ListNodesByBaselineRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodesByBaseline") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodesByBaselineRequest::~ListNodesByBaselineRequest() +{} + +long ListNodesByBaselineRequest::getBaselineId()const +{ + return baselineId_; +} + +void ListNodesByBaselineRequest::setBaselineId(long baselineId) +{ + baselineId_ = baselineId; + setBodyParameter("BaselineId", std::to_string(baselineId)); +} + diff --git a/dataworks-public/src/model/ListNodesByBaselineResult.cc b/dataworks-public/src/model/ListNodesByBaselineResult.cc new file mode 100644 index 000000000..82e40f3ab --- /dev/null +++ b/dataworks-public/src/model/ListNodesByBaselineResult.cc @@ -0,0 +1,91 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListNodesByBaselineResult::ListNodesByBaselineResult() : + ServiceResult() +{} + +ListNodesByBaselineResult::ListNodesByBaselineResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodesByBaselineResult::~ListNodesByBaselineResult() +{} + +void ListNodesByBaselineResult::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["NodeId"].isNull()) + dataObject.nodeId = std::stol(valueDataDataItem["NodeId"].asString()); + if(!valueDataDataItem["NodeName"].isNull()) + dataObject.nodeName = valueDataDataItem["NodeName"].asString(); + if(!valueDataDataItem["Owner"].isNull()) + dataObject.owner = valueDataDataItem["Owner"].asString(); + if(!valueDataDataItem["ProjectId"].isNull()) + dataObject.projectId = std::stol(valueDataDataItem["ProjectId"].asString()); + data_.push_back(dataObject); + } + 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_ = std::stoi(value["HttpStatusCode"].asString()); + +} + +int ListNodesByBaselineResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListNodesByBaselineResult::getData()const +{ + return data_; +} + +std::string ListNodesByBaselineResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListNodesByBaselineResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string ListNodesByBaselineResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListNodesByOutputRequest.cc b/dataworks-public/src/model/ListNodesByOutputRequest.cc new file mode 100644 index 000000000..7e9c6dcc2 --- /dev/null +++ b/dataworks-public/src/model/ListNodesByOutputRequest.cc @@ -0,0 +1,62 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ListNodesByOutputRequest; + +ListNodesByOutputRequest::ListNodesByOutputRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodesByOutput") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodesByOutputRequest::~ListNodesByOutputRequest() +{} + +std::string ListNodesByOutputRequest::getProjectEnv()const +{ + return projectEnv_; +} + +void ListNodesByOutputRequest::setProjectEnv(const std::string& projectEnv) +{ + projectEnv_ = projectEnv; + setBodyParameter("ProjectEnv", projectEnv); +} + +std::string ListNodesByOutputRequest::getOutputs()const +{ + return outputs_; +} + +void ListNodesByOutputRequest::setOutputs(const std::string& outputs) +{ + outputs_ = outputs; + setBodyParameter("Outputs", outputs); +} + +bool ListNodesByOutputRequest::getOutputNodeListAsMap()const +{ + return outputNodeListAsMap_; +} + +void ListNodesByOutputRequest::setOutputNodeListAsMap(bool outputNodeListAsMap) +{ + outputNodeListAsMap_ = outputNodeListAsMap; + setBodyParameter("OutputNodeListAsMap", outputNodeListAsMap ? "true" : "false"); +} + diff --git a/dataworks-public/src/model/ListNodesByOutputResult.cc b/dataworks-public/src/model/ListNodesByOutputResult.cc new file mode 100644 index 000000000..9fc56f8ba --- /dev/null +++ b/dataworks-public/src/model/ListNodesByOutputResult.cc @@ -0,0 +1,129 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListNodesByOutputResult::ListNodesByOutputResult() : + ServiceResult() +{} + +ListNodesByOutputResult::ListNodesByOutputResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodesByOutputResult::~ListNodesByOutputResult() +{} + +void ListNodesByOutputResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["OutputNodePair"]; + for (auto valueDataOutputNodePair : allDataNode) + { + OutputNodePair dataObject; + if(!valueDataOutputNodePair["Output"].isNull()) + dataObject.output = valueDataOutputNodePair["Output"].asString(); + auto allNodeListNode = valueDataOutputNodePair["NodeList"]["Node"]; + for (auto valueDataOutputNodePairNodeListNode : allNodeListNode) + { + OutputNodePair::Node nodeListObject; + if(!valueDataOutputNodePairNodeListNode["NodeId"].isNull()) + nodeListObject.nodeId = std::stol(valueDataOutputNodePairNodeListNode["NodeId"].asString()); + if(!valueDataOutputNodePairNodeListNode["NodeName"].isNull()) + nodeListObject.nodeName = valueDataOutputNodePairNodeListNode["NodeName"].asString(); + if(!valueDataOutputNodePairNodeListNode["OwnerId"].isNull()) + nodeListObject.ownerId = valueDataOutputNodePairNodeListNode["OwnerId"].asString(); + if(!valueDataOutputNodePairNodeListNode["Description"].isNull()) + nodeListObject.description = valueDataOutputNodePairNodeListNode["Description"].asString(); + if(!valueDataOutputNodePairNodeListNode["ResGroupName"].isNull()) + nodeListObject.resGroupName = valueDataOutputNodePairNodeListNode["ResGroupName"].asString(); + if(!valueDataOutputNodePairNodeListNode["CronExpress"].isNull()) + nodeListObject.cronExpress = valueDataOutputNodePairNodeListNode["CronExpress"].asString(); + if(!valueDataOutputNodePairNodeListNode["Repeatability"].isNull()) + nodeListObject.repeatability = valueDataOutputNodePairNodeListNode["Repeatability"].asString() == "true"; + if(!valueDataOutputNodePairNodeListNode["ProgramType"].isNull()) + nodeListObject.programType = valueDataOutputNodePairNodeListNode["ProgramType"].asString(); + if(!valueDataOutputNodePairNodeListNode["ProjectId"].isNull()) + nodeListObject.projectId = std::stol(valueDataOutputNodePairNodeListNode["ProjectId"].asString()); + if(!valueDataOutputNodePairNodeListNode["SchedulerType"].isNull()) + nodeListObject.schedulerType = valueDataOutputNodePairNodeListNode["SchedulerType"].asString(); + if(!valueDataOutputNodePairNodeListNode["ParamValues"].isNull()) + nodeListObject.paramValues = valueDataOutputNodePairNodeListNode["ParamValues"].asString(); + if(!valueDataOutputNodePairNodeListNode["Priority"].isNull()) + nodeListObject.priority = std::stoi(valueDataOutputNodePairNodeListNode["Priority"].asString()); + if(!valueDataOutputNodePairNodeListNode["BaselineId"].isNull()) + nodeListObject.baselineId = std::stol(valueDataOutputNodePairNodeListNode["BaselineId"].asString()); + if(!valueDataOutputNodePairNodeListNode["RepeatInterval"].isNull()) + nodeListObject.repeatInterval = std::stoi(valueDataOutputNodePairNodeListNode["RepeatInterval"].asString()); + if(!valueDataOutputNodePairNodeListNode["Connection"].isNull()) + nodeListObject.connection = valueDataOutputNodePairNodeListNode["Connection"].asString(); + if(!valueDataOutputNodePairNodeListNode["DqcType"].isNull()) + nodeListObject.dqcType = std::stoi(valueDataOutputNodePairNodeListNode["DqcType"].asString()); + if(!valueDataOutputNodePairNodeListNode["DqcDescription"].isNull()) + nodeListObject.dqcDescription = valueDataOutputNodePairNodeListNode["DqcDescription"].asString(); + if(!valueDataOutputNodePairNodeListNode["RelatedFlowId"].isNull()) + nodeListObject.relatedFlowId = std::stol(valueDataOutputNodePairNodeListNode["RelatedFlowId"].asString()); + if(!valueDataOutputNodePairNodeListNode["FileType"].isNull()) + nodeListObject.fileType = valueDataOutputNodePairNodeListNode["FileType"].asString(); + dataObject.nodeList.push_back(nodeListObject); + } + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +int ListNodesByOutputResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListNodesByOutputResult::getData()const +{ + return data_; +} + +std::string ListNodesByOutputResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListNodesByOutputResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListNodesByOutputResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListPermissionApplyOrdersRequest.cc b/dataworks-public/src/model/ListPermissionApplyOrdersRequest.cc new file mode 100644 index 000000000..b2415ee05 --- /dev/null +++ b/dataworks-public/src/model/ListPermissionApplyOrdersRequest.cc @@ -0,0 +1,150 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ListPermissionApplyOrdersRequest; + +ListPermissionApplyOrdersRequest::ListPermissionApplyOrdersRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ListPermissionApplyOrders") +{ + setMethod(HttpRequest::Method::Post); +} + +ListPermissionApplyOrdersRequest::~ListPermissionApplyOrdersRequest() +{} + +std::string ListPermissionApplyOrdersRequest::getMaxComputeProjectName()const +{ + return maxComputeProjectName_; +} + +void ListPermissionApplyOrdersRequest::setMaxComputeProjectName(const std::string& maxComputeProjectName) +{ + maxComputeProjectName_ = maxComputeProjectName; + setParameter("MaxComputeProjectName", maxComputeProjectName); +} + +long ListPermissionApplyOrdersRequest::getEndTime()const +{ + return endTime_; +} + +void ListPermissionApplyOrdersRequest::setEndTime(long endTime) +{ + endTime_ = endTime; + setParameter("EndTime", std::to_string(endTime)); +} + +long ListPermissionApplyOrdersRequest::getStartTime()const +{ + return startTime_; +} + +void ListPermissionApplyOrdersRequest::setStartTime(long startTime) +{ + startTime_ = startTime; + setParameter("StartTime", std::to_string(startTime)); +} + +int ListPermissionApplyOrdersRequest::getPageNum()const +{ + return pageNum_; +} + +void ListPermissionApplyOrdersRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +int ListPermissionApplyOrdersRequest::getFlowStatus()const +{ + return flowStatus_; +} + +void ListPermissionApplyOrdersRequest::setFlowStatus(int flowStatus) +{ + flowStatus_ = flowStatus; + setParameter("FlowStatus", std::to_string(flowStatus)); +} + +int ListPermissionApplyOrdersRequest::getPageSize()const +{ + return pageSize_; +} + +void ListPermissionApplyOrdersRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListPermissionApplyOrdersRequest::getTableName()const +{ + return tableName_; +} + +void ListPermissionApplyOrdersRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + +int ListPermissionApplyOrdersRequest::getQueryType()const +{ + return queryType_; +} + +void ListPermissionApplyOrdersRequest::setQueryType(int queryType) +{ + queryType_ = queryType; + setParameter("QueryType", std::to_string(queryType)); +} + +int ListPermissionApplyOrdersRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void ListPermissionApplyOrdersRequest::setWorkspaceId(int workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", std::to_string(workspaceId)); +} + +int ListPermissionApplyOrdersRequest::getOrderType()const +{ + return orderType_; +} + +void ListPermissionApplyOrdersRequest::setOrderType(int orderType) +{ + orderType_ = orderType; + setParameter("OrderType", std::to_string(orderType)); +} + +std::string ListPermissionApplyOrdersRequest::getEngineType()const +{ + return engineType_; +} + +void ListPermissionApplyOrdersRequest::setEngineType(const std::string& engineType) +{ + engineType_ = engineType; + setParameter("EngineType", engineType); +} + diff --git a/dataworks-public/src/model/ListPermissionApplyOrdersResult.cc b/dataworks-public/src/model/ListPermissionApplyOrdersResult.cc new file mode 100644 index 000000000..5322854f0 --- /dev/null +++ b/dataworks-public/src/model/ListPermissionApplyOrdersResult.cc @@ -0,0 +1,89 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListPermissionApplyOrdersResult::ListPermissionApplyOrdersResult() : + ServiceResult() +{} + +ListPermissionApplyOrdersResult::ListPermissionApplyOrdersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListPermissionApplyOrdersResult::~ListPermissionApplyOrdersResult() +{} + +void ListPermissionApplyOrdersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto applyOrdersNode = value["ApplyOrders"]; + if(!applyOrdersNode["PageSize"].isNull()) + applyOrders_.pageSize = std::stoi(applyOrdersNode["PageSize"].asString()); + if(!applyOrdersNode["PageNumber"].isNull()) + applyOrders_.pageNumber = std::stoi(applyOrdersNode["PageNumber"].asString()); + if(!applyOrdersNode["TotalCount"].isNull()) + applyOrders_.totalCount = std::stoi(applyOrdersNode["TotalCount"].asString()); + auto allApplyOrderNode = applyOrdersNode["ApplyOrder"]["Orders"]; + for (auto applyOrdersNodeApplyOrderOrders : allApplyOrderNode) + { + ApplyOrders::Orders ordersObject; + if(!applyOrdersNodeApplyOrderOrders["FlowId"].isNull()) + ordersObject.flowId = applyOrdersNodeApplyOrderOrders["FlowId"].asString(); + if(!applyOrdersNodeApplyOrderOrders["ApplyBaseId"].isNull()) + ordersObject.applyBaseId = applyOrdersNodeApplyOrderOrders["ApplyBaseId"].asString(); + if(!applyOrdersNodeApplyOrderOrders["ApplyTimestamp"].isNull()) + ordersObject.applyTimestamp = std::stol(applyOrdersNodeApplyOrderOrders["ApplyTimestamp"].asString()); + if(!applyOrdersNodeApplyOrderOrders["FlowStatus"].isNull()) + ordersObject.flowStatus = std::stoi(applyOrdersNodeApplyOrderOrders["FlowStatus"].asString()); + auto approveContentNode = value["ApproveContent"]; + if(!approveContentNode["ApplyReason"].isNull()) + ordersObject.approveContent.applyReason = approveContentNode["ApplyReason"].asString(); + if(!approveContentNode["OrderType"].isNull()) + ordersObject.approveContent.orderType = std::stoi(approveContentNode["OrderType"].asString()); + auto projectMetaNode = approveContentNode["ProjectMeta"]; + if(!projectMetaNode["WorkspaceName"].isNull()) + ordersObject.approveContent.projectMeta.workspaceName = projectMetaNode["WorkspaceName"].asString(); + auto allObjectMetaListNode = projectMetaNode["ObjectMetaList"]["ObjectMetaListItem"]; + for (auto projectMetaNodeObjectMetaListObjectMetaListItem : allObjectMetaListNode) + { + ApplyOrders::Orders::ApproveContent::ProjectMeta::ObjectMetaListItem objectMetaListItemObject; + if(!projectMetaNodeObjectMetaListObjectMetaListItem["ObjectName"].isNull()) + objectMetaListItemObject.objectName = projectMetaNodeObjectMetaListObjectMetaListItem["ObjectName"].asString(); + auto allActions = value["Actions"]["Actions"]; + for (auto value : allActions) + objectMetaListItemObject.actions.push_back(value.asString()); + ordersObject.approveContent.projectMeta.objectMetaList.push_back(objectMetaListItemObject); + } + applyOrders_.applyOrder.push_back(ordersObject); + } + +} + +ListPermissionApplyOrdersResult::ApplyOrders ListPermissionApplyOrdersResult::getApplyOrders()const +{ + return applyOrders_; +} + diff --git a/dataworks-public/src/model/ListResourceGroupsRequest.cc b/dataworks-public/src/model/ListResourceGroupsRequest.cc index 2702ddd35..20fcd12de 100644 --- a/dataworks-public/src/model/ListResourceGroupsRequest.cc +++ b/dataworks-public/src/model/ListResourceGroupsRequest.cc @@ -27,6 +27,17 @@ ListResourceGroupsRequest::ListResourceGroupsRequest() : ListResourceGroupsRequest::~ListResourceGroupsRequest() {} +std::string ListResourceGroupsRequest::getBizExtKey()const +{ + return bizExtKey_; +} + +void ListResourceGroupsRequest::setBizExtKey(const std::string& bizExtKey) +{ + bizExtKey_ = bizExtKey; + setParameter("BizExtKey", bizExtKey); +} + int ListResourceGroupsRequest::getResourceGroupType()const { return resourceGroupType_; diff --git a/dataworks-public/src/model/ListSuccessInstanceAmountRequest.cc b/dataworks-public/src/model/ListSuccessInstanceAmountRequest.cc new file mode 100644 index 000000000..9b6ed9eab --- /dev/null +++ b/dataworks-public/src/model/ListSuccessInstanceAmountRequest.cc @@ -0,0 +1,40 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::ListSuccessInstanceAmountRequest; + +ListSuccessInstanceAmountRequest::ListSuccessInstanceAmountRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "ListSuccessInstanceAmount") +{ + setMethod(HttpRequest::Method::Post); +} + +ListSuccessInstanceAmountRequest::~ListSuccessInstanceAmountRequest() +{} + +long ListSuccessInstanceAmountRequest::getProjectId()const +{ + return projectId_; +} + +void ListSuccessInstanceAmountRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/ListSuccessInstanceAmountResult.cc b/dataworks-public/src/model/ListSuccessInstanceAmountResult.cc new file mode 100644 index 000000000..1da0b0744 --- /dev/null +++ b/dataworks-public/src/model/ListSuccessInstanceAmountResult.cc @@ -0,0 +1,80 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListSuccessInstanceAmountResult::ListSuccessInstanceAmountResult() : + ServiceResult() +{} + +ListSuccessInstanceAmountResult::ListSuccessInstanceAmountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSuccessInstanceAmountResult::~ListSuccessInstanceAmountResult() +{} + +void ListSuccessInstanceAmountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto instanceStatusTrendNode = value["InstanceStatusTrend"]; + auto allTodayTrendNode = instanceStatusTrendNode["TodayTrend"]["TodayTrendItem"]; + for (auto instanceStatusTrendNodeTodayTrendTodayTrendItem : allTodayTrendNode) + { + InstanceStatusTrend::TodayTrendItem todayTrendItemObject; + if(!instanceStatusTrendNodeTodayTrendTodayTrendItem["Count"].isNull()) + todayTrendItemObject.count = std::stoi(instanceStatusTrendNodeTodayTrendTodayTrendItem["Count"].asString()); + if(!instanceStatusTrendNodeTodayTrendTodayTrendItem["TimePoint"].isNull()) + todayTrendItemObject.timePoint = instanceStatusTrendNodeTodayTrendTodayTrendItem["TimePoint"].asString(); + instanceStatusTrend_.todayTrend.push_back(todayTrendItemObject); + } + auto allYesterdayTrendNode = instanceStatusTrendNode["YesterdayTrend"]["YesterdayTrendItem"]; + for (auto instanceStatusTrendNodeYesterdayTrendYesterdayTrendItem : allYesterdayTrendNode) + { + InstanceStatusTrend::YesterdayTrendItem yesterdayTrendItemObject; + if(!instanceStatusTrendNodeYesterdayTrendYesterdayTrendItem["Count"].isNull()) + yesterdayTrendItemObject.count = std::stoi(instanceStatusTrendNodeYesterdayTrendYesterdayTrendItem["Count"].asString()); + if(!instanceStatusTrendNodeYesterdayTrendYesterdayTrendItem["TimePoint"].isNull()) + yesterdayTrendItemObject.timePoint = instanceStatusTrendNodeYesterdayTrendYesterdayTrendItem["TimePoint"].asString(); + instanceStatusTrend_.yesterdayTrend.push_back(yesterdayTrendItemObject); + } + auto allAvgTrendNode = instanceStatusTrendNode["AvgTrend"]["AvgTrendItem"]; + for (auto instanceStatusTrendNodeAvgTrendAvgTrendItem : allAvgTrendNode) + { + InstanceStatusTrend::AvgTrendItem avgTrendItemObject; + if(!instanceStatusTrendNodeAvgTrendAvgTrendItem["Count"].isNull()) + avgTrendItemObject.count = std::stoi(instanceStatusTrendNodeAvgTrendAvgTrendItem["Count"].asString()); + if(!instanceStatusTrendNodeAvgTrendAvgTrendItem["TimePoint"].isNull()) + avgTrendItemObject.timePoint = instanceStatusTrendNodeAvgTrendAvgTrendItem["TimePoint"].asString(); + instanceStatusTrend_.avgTrend.push_back(avgTrendItemObject); + } + +} + +ListSuccessInstanceAmountResult::InstanceStatusTrend ListSuccessInstanceAmountResult::getInstanceStatusTrend()const +{ + return instanceStatusTrend_; +} + diff --git a/dataworks-public/src/model/RevokeColumnPermissionRequest.cc b/dataworks-public/src/model/RevokeColumnPermissionRequest.cc new file mode 100644 index 000000000..3b55e99f0 --- /dev/null +++ b/dataworks-public/src/model/RevokeColumnPermissionRequest.cc @@ -0,0 +1,95 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::RevokeColumnPermissionRequest; + +RevokeColumnPermissionRequest::RevokeColumnPermissionRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "RevokeColumnPermission") +{ + setMethod(HttpRequest::Method::Post); +} + +RevokeColumnPermissionRequest::~RevokeColumnPermissionRequest() +{} + +std::string RevokeColumnPermissionRequest::getRevokeUserName()const +{ + return revokeUserName_; +} + +void RevokeColumnPermissionRequest::setRevokeUserName(const std::string& revokeUserName) +{ + revokeUserName_ = revokeUserName; + setParameter("RevokeUserName", revokeUserName); +} + +std::string RevokeColumnPermissionRequest::getMaxComputeProjectName()const +{ + return maxComputeProjectName_; +} + +void RevokeColumnPermissionRequest::setMaxComputeProjectName(const std::string& maxComputeProjectName) +{ + maxComputeProjectName_ = maxComputeProjectName; + setParameter("MaxComputeProjectName", maxComputeProjectName); +} + +std::string RevokeColumnPermissionRequest::getColumns()const +{ + return columns_; +} + +void RevokeColumnPermissionRequest::setColumns(const std::string& columns) +{ + columns_ = columns; + setParameter("Columns", columns); +} + +std::string RevokeColumnPermissionRequest::getRevokeUserId()const +{ + return revokeUserId_; +} + +void RevokeColumnPermissionRequest::setRevokeUserId(const std::string& revokeUserId) +{ + revokeUserId_ = revokeUserId; + setParameter("RevokeUserId", revokeUserId); +} + +std::string RevokeColumnPermissionRequest::getTableName()const +{ + return tableName_; +} + +void RevokeColumnPermissionRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + +long RevokeColumnPermissionRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void RevokeColumnPermissionRequest::setWorkspaceId(long workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", std::to_string(workspaceId)); +} + diff --git a/dataworks-public/src/model/RevokeColumnPermissionResult.cc b/dataworks-public/src/model/RevokeColumnPermissionResult.cc new file mode 100644 index 000000000..aa9e89f32 --- /dev/null +++ b/dataworks-public/src/model/RevokeColumnPermissionResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +RevokeColumnPermissionResult::RevokeColumnPermissionResult() : + ServiceResult() +{} + +RevokeColumnPermissionResult::RevokeColumnPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RevokeColumnPermissionResult::~RevokeColumnPermissionResult() +{} + +void RevokeColumnPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["RevokeSuccess"].isNull()) + revokeSuccess_ = value["RevokeSuccess"].asString() == "true"; + +} + +bool RevokeColumnPermissionResult::getRevokeSuccess()const +{ + return revokeSuccess_; +} + diff --git a/dataworks-public/src/model/RevokeTablePermissionRequest.cc b/dataworks-public/src/model/RevokeTablePermissionRequest.cc new file mode 100644 index 000000000..600caac32 --- /dev/null +++ b/dataworks-public/src/model/RevokeTablePermissionRequest.cc @@ -0,0 +1,95 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::RevokeTablePermissionRequest; + +RevokeTablePermissionRequest::RevokeTablePermissionRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "RevokeTablePermission") +{ + setMethod(HttpRequest::Method::Post); +} + +RevokeTablePermissionRequest::~RevokeTablePermissionRequest() +{} + +std::string RevokeTablePermissionRequest::getRevokeUserName()const +{ + return revokeUserName_; +} + +void RevokeTablePermissionRequest::setRevokeUserName(const std::string& revokeUserName) +{ + revokeUserName_ = revokeUserName; + setParameter("RevokeUserName", revokeUserName); +} + +std::string RevokeTablePermissionRequest::getMaxComputeProjectName()const +{ + return maxComputeProjectName_; +} + +void RevokeTablePermissionRequest::setMaxComputeProjectName(const std::string& maxComputeProjectName) +{ + maxComputeProjectName_ = maxComputeProjectName; + setParameter("MaxComputeProjectName", maxComputeProjectName); +} + +std::string RevokeTablePermissionRequest::getRevokeUserId()const +{ + return revokeUserId_; +} + +void RevokeTablePermissionRequest::setRevokeUserId(const std::string& revokeUserId) +{ + revokeUserId_ = revokeUserId; + setParameter("RevokeUserId", revokeUserId); +} + +std::string RevokeTablePermissionRequest::getTableName()const +{ + return tableName_; +} + +void RevokeTablePermissionRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + +std::string RevokeTablePermissionRequest::getActions()const +{ + return actions_; +} + +void RevokeTablePermissionRequest::setActions(const std::string& actions) +{ + actions_ = actions; + setParameter("Actions", actions); +} + +long RevokeTablePermissionRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void RevokeTablePermissionRequest::setWorkspaceId(long workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", std::to_string(workspaceId)); +} + diff --git a/dataworks-public/src/model/RevokeTablePermissionResult.cc b/dataworks-public/src/model/RevokeTablePermissionResult.cc new file mode 100644 index 000000000..5b61f575f --- /dev/null +++ b/dataworks-public/src/model/RevokeTablePermissionResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +RevokeTablePermissionResult::RevokeTablePermissionResult() : + ServiceResult() +{} + +RevokeTablePermissionResult::RevokeTablePermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RevokeTablePermissionResult::~RevokeTablePermissionResult() +{} + +void RevokeTablePermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["RevokeSuccess"].isNull()) + revokeSuccess_ = value["RevokeSuccess"].asString() == "true"; + +} + +bool RevokeTablePermissionResult::getRevokeSuccess()const +{ + return revokeSuccess_; +} + diff --git a/dataworks-public/src/model/RunCycleDagNodesRequest.cc b/dataworks-public/src/model/RunCycleDagNodesRequest.cc new file mode 100644 index 000000000..4148d1764 --- /dev/null +++ b/dataworks-public/src/model/RunCycleDagNodesRequest.cc @@ -0,0 +1,150 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::RunCycleDagNodesRequest; + +RunCycleDagNodesRequest::RunCycleDagNodesRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "RunCycleDagNodes") +{ + setMethod(HttpRequest::Method::Post); +} + +RunCycleDagNodesRequest::~RunCycleDagNodesRequest() +{} + +std::string RunCycleDagNodesRequest::getProjectEnv()const +{ + return projectEnv_; +} + +void RunCycleDagNodesRequest::setProjectEnv(const std::string& projectEnv) +{ + projectEnv_ = projectEnv; + setBodyParameter("ProjectEnv", projectEnv); +} + +std::string RunCycleDagNodesRequest::getStartBizDate()const +{ + return startBizDate_; +} + +void RunCycleDagNodesRequest::setStartBizDate(const std::string& startBizDate) +{ + startBizDate_ = startBizDate; + setBodyParameter("StartBizDate", startBizDate); +} + +bool RunCycleDagNodesRequest::getParallelism()const +{ + return parallelism_; +} + +void RunCycleDagNodesRequest::setParallelism(bool parallelism) +{ + parallelism_ = parallelism; + setBodyParameter("Parallelism", parallelism ? "true" : "false"); +} + +long RunCycleDagNodesRequest::getRootNodeId()const +{ + return rootNodeId_; +} + +void RunCycleDagNodesRequest::setRootNodeId(long rootNodeId) +{ + rootNodeId_ = rootNodeId; + setBodyParameter("RootNodeId", std::to_string(rootNodeId)); +} + +std::string RunCycleDagNodesRequest::getBizBeginTime()const +{ + return bizBeginTime_; +} + +void RunCycleDagNodesRequest::setBizBeginTime(const std::string& bizBeginTime) +{ + bizBeginTime_ = bizBeginTime; + setBodyParameter("BizBeginTime", bizBeginTime); +} + +std::string RunCycleDagNodesRequest::getEndBizDate()const +{ + return endBizDate_; +} + +void RunCycleDagNodesRequest::setEndBizDate(const std::string& endBizDate) +{ + endBizDate_ = endBizDate; + setBodyParameter("EndBizDate", endBizDate); +} + +std::string RunCycleDagNodesRequest::getIncludeNodeIds()const +{ + return includeNodeIds_; +} + +void RunCycleDagNodesRequest::setIncludeNodeIds(const std::string& includeNodeIds) +{ + includeNodeIds_ = includeNodeIds; + setBodyParameter("IncludeNodeIds", includeNodeIds); +} + +std::string RunCycleDagNodesRequest::getBizEndTime()const +{ + return bizEndTime_; +} + +void RunCycleDagNodesRequest::setBizEndTime(const std::string& bizEndTime) +{ + bizEndTime_ = bizEndTime; + setBodyParameter("BizEndTime", bizEndTime); +} + +std::string RunCycleDagNodesRequest::getName()const +{ + return name_; +} + +void RunCycleDagNodesRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +std::string RunCycleDagNodesRequest::getExcludeNodeIds()const +{ + return excludeNodeIds_; +} + +void RunCycleDagNodesRequest::setExcludeNodeIds(const std::string& excludeNodeIds) +{ + excludeNodeIds_ = excludeNodeIds; + setBodyParameter("ExcludeNodeIds", excludeNodeIds); +} + +std::string RunCycleDagNodesRequest::getNodeParams()const +{ + return nodeParams_; +} + +void RunCycleDagNodesRequest::setNodeParams(const std::string& nodeParams) +{ + nodeParams_ = nodeParams; + setBodyParameter("NodeParams", nodeParams); +} + diff --git a/dataworks-public/src/model/RunCycleDagNodesResult.cc b/dataworks-public/src/model/RunCycleDagNodesResult.cc new file mode 100644 index 000000000..fd5bdbe46 --- /dev/null +++ b/dataworks-public/src/model/RunCycleDagNodesResult.cc @@ -0,0 +1,80 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +RunCycleDagNodesResult::RunCycleDagNodesResult() : + ServiceResult() +{} + +RunCycleDagNodesResult::RunCycleDagNodesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RunCycleDagNodesResult::~RunCycleDagNodesResult() +{} + +void RunCycleDagNodesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["dagId"]; + for (const auto &item : allData) + data_.push_back(item.asString()); + 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()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +int RunCycleDagNodesResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector RunCycleDagNodesResult::getData()const +{ + return data_; +} + +std::string RunCycleDagNodesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string RunCycleDagNodesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool RunCycleDagNodesResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/RunManualDagNodesRequest.cc b/dataworks-public/src/model/RunManualDagNodesRequest.cc new file mode 100644 index 000000000..8519ad783 --- /dev/null +++ b/dataworks-public/src/model/RunManualDagNodesRequest.cc @@ -0,0 +1,95 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::RunManualDagNodesRequest; + +RunManualDagNodesRequest::RunManualDagNodesRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "RunManualDagNodes") +{ + setMethod(HttpRequest::Method::Post); +} + +RunManualDagNodesRequest::~RunManualDagNodesRequest() +{} + +std::string RunManualDagNodesRequest::getProjectEnv()const +{ + return projectEnv_; +} + +void RunManualDagNodesRequest::setProjectEnv(const std::string& projectEnv) +{ + projectEnv_ = projectEnv; + setBodyParameter("ProjectEnv", projectEnv); +} + +std::string RunManualDagNodesRequest::getProjectName()const +{ + return projectName_; +} + +void RunManualDagNodesRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setBodyParameter("ProjectName", projectName); +} + +std::string RunManualDagNodesRequest::getBizDate()const +{ + return bizDate_; +} + +void RunManualDagNodesRequest::setBizDate(const std::string& bizDate) +{ + bizDate_ = bizDate; + setBodyParameter("BizDate", bizDate); +} + +std::string RunManualDagNodesRequest::getFlowName()const +{ + return flowName_; +} + +void RunManualDagNodesRequest::setFlowName(const std::string& flowName) +{ + flowName_ = flowName; + setBodyParameter("FlowName", flowName); +} + +std::string RunManualDagNodesRequest::getDagParameters()const +{ + return dagParameters_; +} + +void RunManualDagNodesRequest::setDagParameters(const std::string& dagParameters) +{ + dagParameters_ = dagParameters; + setBodyParameter("DagParameters", dagParameters); +} + +std::string RunManualDagNodesRequest::getNodeParameters()const +{ + return nodeParameters_; +} + +void RunManualDagNodesRequest::setNodeParameters(const std::string& nodeParameters) +{ + nodeParameters_ = nodeParameters; + setBodyParameter("NodeParameters", nodeParameters); +} + diff --git a/dataworks-public/src/model/RunManualDagNodesResult.cc b/dataworks-public/src/model/RunManualDagNodesResult.cc new file mode 100644 index 000000000..40c785aa0 --- /dev/null +++ b/dataworks-public/src/model/RunManualDagNodesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +RunManualDagNodesResult::RunManualDagNodesResult() : + ServiceResult() +{} + +RunManualDagNodesResult::RunManualDagNodesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RunManualDagNodesResult::~RunManualDagNodesResult() +{} + +void RunManualDagNodesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["DagId"].isNull()) + dagId_ = std::stol(value["DagId"].asString()); + +} + +long RunManualDagNodesResult::getDagId()const +{ + return dagId_; +} + diff --git a/dataworks-public/src/model/RunSmokeTestRequest.cc b/dataworks-public/src/model/RunSmokeTestRequest.cc new file mode 100644 index 000000000..e0142e528 --- /dev/null +++ b/dataworks-public/src/model/RunSmokeTestRequest.cc @@ -0,0 +1,84 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::RunSmokeTestRequest; + +RunSmokeTestRequest::RunSmokeTestRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "RunSmokeTest") +{ + setMethod(HttpRequest::Method::Post); +} + +RunSmokeTestRequest::~RunSmokeTestRequest() +{} + +std::string RunSmokeTestRequest::getProjectEnv()const +{ + return projectEnv_; +} + +void RunSmokeTestRequest::setProjectEnv(const std::string& projectEnv) +{ + projectEnv_ = projectEnv; + setBodyParameter("ProjectEnv", projectEnv); +} + +std::string RunSmokeTestRequest::getBizdate()const +{ + return bizdate_; +} + +void RunSmokeTestRequest::setBizdate(const std::string& bizdate) +{ + bizdate_ = bizdate; + setBodyParameter("Bizdate", bizdate); +} + +std::string RunSmokeTestRequest::getName()const +{ + return name_; +} + +void RunSmokeTestRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +std::string RunSmokeTestRequest::getNodeParams()const +{ + return nodeParams_; +} + +void RunSmokeTestRequest::setNodeParams(const std::string& nodeParams) +{ + nodeParams_ = nodeParams; + setBodyParameter("NodeParams", nodeParams); +} + +long RunSmokeTestRequest::getNodeId()const +{ + return nodeId_; +} + +void RunSmokeTestRequest::setNodeId(long nodeId) +{ + nodeId_ = nodeId; + setBodyParameter("NodeId", std::to_string(nodeId)); +} + diff --git a/dataworks-public/src/model/RunSmokeTestResult.cc b/dataworks-public/src/model/RunSmokeTestResult.cc new file mode 100644 index 000000000..b410fcb81 --- /dev/null +++ b/dataworks-public/src/model/RunSmokeTestResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +RunSmokeTestResult::RunSmokeTestResult() : + ServiceResult() +{} + +RunSmokeTestResult::RunSmokeTestResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RunSmokeTestResult::~RunSmokeTestResult() +{} + +void RunSmokeTestResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + 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()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +int RunSmokeTestResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +long RunSmokeTestResult::getData()const +{ + return data_; +} + +std::string RunSmokeTestResult::getErrorCode()const +{ + return errorCode_; +} + +std::string RunSmokeTestResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool RunSmokeTestResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/TopTenElapsedTimeInstanceRequest.cc b/dataworks-public/src/model/TopTenElapsedTimeInstanceRequest.cc new file mode 100644 index 000000000..137501366 --- /dev/null +++ b/dataworks-public/src/model/TopTenElapsedTimeInstanceRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::TopTenElapsedTimeInstanceRequest; + +TopTenElapsedTimeInstanceRequest::TopTenElapsedTimeInstanceRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "TopTenElapsedTimeInstance") +{ + setMethod(HttpRequest::Method::Post); +} + +TopTenElapsedTimeInstanceRequest::~TopTenElapsedTimeInstanceRequest() +{} + +std::string TopTenElapsedTimeInstanceRequest::getBusinessDate()const +{ + return businessDate_; +} + +void TopTenElapsedTimeInstanceRequest::setBusinessDate(const std::string& businessDate) +{ + businessDate_ = businessDate; + setBodyParameter("BusinessDate", businessDate); +} + +long TopTenElapsedTimeInstanceRequest::getProjectId()const +{ + return projectId_; +} + +void TopTenElapsedTimeInstanceRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/TopTenElapsedTimeInstanceResult.cc b/dataworks-public/src/model/TopTenElapsedTimeInstanceResult.cc new file mode 100644 index 000000000..a33607916 --- /dev/null +++ b/dataworks-public/src/model/TopTenElapsedTimeInstanceResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +TopTenElapsedTimeInstanceResult::TopTenElapsedTimeInstanceResult() : + ServiceResult() +{} + +TopTenElapsedTimeInstanceResult::TopTenElapsedTimeInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +TopTenElapsedTimeInstanceResult::~TopTenElapsedTimeInstanceResult() +{} + +void TopTenElapsedTimeInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto instanceConsumeTimeRankNode = value["InstanceConsumeTimeRank"]; + if(!instanceConsumeTimeRankNode["UpdateTime"].isNull()) + instanceConsumeTimeRank_.updateTime = std::stol(instanceConsumeTimeRankNode["UpdateTime"].asString()); + auto allConsumeTimeRankNode = instanceConsumeTimeRankNode["ConsumeTimeRank"]["ConsumeTimeRankItem"]; + for (auto instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem : allConsumeTimeRankNode) + { + InstanceConsumeTimeRank::ConsumeTimeRankItem consumeTimeRankItemObject; + if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["NodeName"].isNull()) + consumeTimeRankItemObject.nodeName = instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["NodeName"].asString(); + if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["NodeId"].isNull()) + consumeTimeRankItemObject.nodeId = std::stol(instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["NodeId"].asString()); + if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["BusinessDate"].isNull()) + consumeTimeRankItemObject.businessDate = std::stol(instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["BusinessDate"].asString()); + if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["Owner"].isNull()) + consumeTimeRankItemObject.owner = instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["Owner"].asString(); + if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["Consumed"].isNull()) + consumeTimeRankItemObject.consumed = std::stol(instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["Consumed"].asString()); + if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["InstanceId"].isNull()) + consumeTimeRankItemObject.instanceId = std::stol(instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["InstanceId"].asString()); + if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["ProgramType"].isNull()) + consumeTimeRankItemObject.programType = std::stoi(instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["ProgramType"].asString()); + instanceConsumeTimeRank_.consumeTimeRank.push_back(consumeTimeRankItemObject); + } + +} + +TopTenElapsedTimeInstanceResult::InstanceConsumeTimeRank TopTenElapsedTimeInstanceResult::getInstanceConsumeTimeRank()const +{ + return instanceConsumeTimeRank_; +} + diff --git a/dataworks-public/src/model/TopTenErrorTimesInstanceRequest.cc b/dataworks-public/src/model/TopTenErrorTimesInstanceRequest.cc new file mode 100644 index 000000000..94f35759e --- /dev/null +++ b/dataworks-public/src/model/TopTenErrorTimesInstanceRequest.cc @@ -0,0 +1,40 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::TopTenErrorTimesInstanceRequest; + +TopTenErrorTimesInstanceRequest::TopTenErrorTimesInstanceRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "TopTenErrorTimesInstance") +{ + setMethod(HttpRequest::Method::Post); +} + +TopTenErrorTimesInstanceRequest::~TopTenErrorTimesInstanceRequest() +{} + +long TopTenErrorTimesInstanceRequest::getProjectId()const +{ + return projectId_; +} + +void TopTenErrorTimesInstanceRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/TopTenErrorTimesInstanceResult.cc b/dataworks-public/src/model/TopTenErrorTimesInstanceResult.cc new file mode 100644 index 000000000..f5a9e2b50 --- /dev/null +++ b/dataworks-public/src/model/TopTenErrorTimesInstanceResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +TopTenErrorTimesInstanceResult::TopTenErrorTimesInstanceResult() : + ServiceResult() +{} + +TopTenErrorTimesInstanceResult::TopTenErrorTimesInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +TopTenErrorTimesInstanceResult::~TopTenErrorTimesInstanceResult() +{} + +void TopTenErrorTimesInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto instanceErrorRankNode = value["InstanceErrorRank"]; + if(!instanceErrorRankNode["UpdateTime"].isNull()) + instanceErrorRank_.updateTime = std::stol(instanceErrorRankNode["UpdateTime"].asString()); + auto allErrorRankNode = instanceErrorRankNode["ErrorRank"]["ErrorRankItem"]; + for (auto instanceErrorRankNodeErrorRankErrorRankItem : allErrorRankNode) + { + InstanceErrorRank::ErrorRankItem errorRankItemObject; + if(!instanceErrorRankNodeErrorRankErrorRankItem["NodeId"].isNull()) + errorRankItemObject.nodeId = std::stol(instanceErrorRankNodeErrorRankErrorRankItem["NodeId"].asString()); + if(!instanceErrorRankNodeErrorRankErrorRankItem["NodeName"].isNull()) + errorRankItemObject.nodeName = instanceErrorRankNodeErrorRankErrorRankItem["NodeName"].asString(); + if(!instanceErrorRankNodeErrorRankErrorRankItem["Owner"].isNull()) + errorRankItemObject.owner = instanceErrorRankNodeErrorRankErrorRankItem["Owner"].asString(); + if(!instanceErrorRankNodeErrorRankErrorRankItem["Count"].isNull()) + errorRankItemObject.count = std::stoi(instanceErrorRankNodeErrorRankErrorRankItem["Count"].asString()); + if(!instanceErrorRankNodeErrorRankErrorRankItem["ProjectId"].isNull()) + errorRankItemObject.projectId = std::stol(instanceErrorRankNodeErrorRankErrorRankItem["ProjectId"].asString()); + if(!instanceErrorRankNodeErrorRankErrorRankItem["ProgramType"].isNull()) + errorRankItemObject.programType = std::stoi(instanceErrorRankNodeErrorRankErrorRankItem["ProgramType"].asString()); + instanceErrorRank_.errorRank.push_back(errorRankItemObject); + } + +} + +TopTenErrorTimesInstanceResult::InstanceErrorRank TopTenErrorTimesInstanceResult::getInstanceErrorRank()const +{ + return instanceErrorRank_; +} + diff --git a/dataworks-public/src/model/UpdateDataSourceRequest.cc b/dataworks-public/src/model/UpdateDataSourceRequest.cc new file mode 100644 index 000000000..be1e69b7d --- /dev/null +++ b/dataworks-public/src/model/UpdateDataSourceRequest.cc @@ -0,0 +1,84 @@ +/* + * 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 + +using AlibabaCloud::Dataworks_public::Model::UpdateDataSourceRequest; + +UpdateDataSourceRequest::UpdateDataSourceRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDataSource") +{ + setMethod(HttpRequest::Method::Put); +} + +UpdateDataSourceRequest::~UpdateDataSourceRequest() +{} + +int UpdateDataSourceRequest::getEnvType()const +{ + return envType_; +} + +void UpdateDataSourceRequest::setEnvType(int envType) +{ + envType_ = envType; + setParameter("EnvType", std::to_string(envType)); +} + +long UpdateDataSourceRequest::getDataSourceId()const +{ + return dataSourceId_; +} + +void UpdateDataSourceRequest::setDataSourceId(long dataSourceId) +{ + dataSourceId_ = dataSourceId; + setParameter("DataSourceId", std::to_string(dataSourceId)); +} + +std::string UpdateDataSourceRequest::getDescription()const +{ + return description_; +} + +void UpdateDataSourceRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string UpdateDataSourceRequest::getContent()const +{ + return content_; +} + +void UpdateDataSourceRequest::setContent(const std::string& content) +{ + content_ = content; + setParameter("Content", content); +} + +std::string UpdateDataSourceRequest::getStatus()const +{ + return status_; +} + +void UpdateDataSourceRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/dataworks-public/src/model/UpdateDataSourceResult.cc b/dataworks-public/src/model/UpdateDataSourceResult.cc new file mode 100644 index 000000000..dc94dda2d --- /dev/null +++ b/dataworks-public/src/model/UpdateDataSourceResult.cc @@ -0,0 +1,65 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +UpdateDataSourceResult::UpdateDataSourceResult() : + ServiceResult() +{} + +UpdateDataSourceResult::UpdateDataSourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDataSourceResult::~UpdateDataSourceResult() +{} + +void UpdateDataSourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = value["HttpStatusCode"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + +} + +std::string UpdateDataSourceResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +bool UpdateDataSourceResult::getData()const +{ + return data_; +} + +bool UpdateDataSourceResult::getSuccess()const +{ + return success_; +} +