From 18687c978cb499a171293b85a482c65b0c1a3e8e Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 12 Dec 2024 03:36:09 +0000 Subject: [PATCH] Supported Pageable of ListDataLakeDatabase API. --- VERSION | 2 +- dms-enterprise/CMakeLists.txt | 128 ++ .../dms-enterprise/Dms_enterpriseClient.h | 256 ++++ .../model/AddAuthorityTemplateItemsRequest.h | 56 + .../model/AddAuthorityTemplateItemsResult.h | 57 + .../dms-enterprise/model/AddInstanceRequest.h | 126 ++ .../dms-enterprise/model/AddInstanceResult.h | 55 + .../model/ApproveOrderRequest.h | 6 + .../model/CreateAbacAuthorizationRequest.h | 54 + .../model/CreateAbacAuthorizationResult.h | 57 + .../model/CreateAbacPolicyRequest.h | 51 + .../model/CreateAbacPolicyResult.h | 57 + .../model/CreateDataArchiveOrderRequest.h | 11 +- .../model/CreateDataCorrectOrderRequest.h | 3 + .../model/CreateDataExportOrderRequest.h | 3 + .../model/CreateStandardGroupResult.h | 1 + .../model/DeleteAbacAuthorizationRequest.h | 48 + .../model/DeleteAbacAuthorizationResult.h | 57 + .../model/DeleteAbacPolicyRequest.h | 45 + .../model/DeleteAbacPolicyResult.h | 57 + .../model/DeleteStandardGroupRequest.h | 45 + .../model/DeleteStandardGroupResult.h | 55 + .../model/ExecuteDataCorrectRequest.h | 3 + .../model/ExecuteDataExportRequest.h | 3 + .../model/GetAbacPolicyRequest.h | 48 + .../model/GetAbacPolicyResult.h | 67 + .../model/GetApprovalDetailResult.h | 6 +- .../model/GetDataCorrectOrderDetailResult.h | 30 + .../model/GetDataExportDownloadURLRequest.h | 3 + .../model/GetDataExportOrderDetailResult.h | 1 + .../model/GetDataLakeCatalogRequest.h | 48 + .../model/GetDataLakeCatalogResult.h | 63 + .../model/GetDataLakeDatabaseRequest.h | 51 + .../model/GetDataLakeDatabaseResult.h | 66 + .../model/GetDataLakeTableRequest.h | 54 + .../model/GetDataLakeTableResult.h | 49 + .../model/GetStandardGroupRequest.h | 45 + .../model/GetStandardGroupResult.h | 66 + .../model/GetTableDesignProjectFlowRequest.h | 45 + .../model/GetTableDesignProjectFlowResult.h | 74 ++ .../model/GetTableDesignProjectInfoRequest.h | 45 + .../model/GetTableDesignProjectInfoResult.h | 79 ++ .../model/ListAbacAuthorizationsRequest.h | 54 + .../model/ListAbacAuthorizationsResult.h | 69 + .../model/ListAbacPoliciesRequest.h | 51 + .../model/ListAbacPoliciesResult.h | 70 + .../ListAuthorizedDatabasesForUserRequest.h | 63 + .../ListAuthorizedDatabasesForUserResult.h | 70 + .../ListAuthorizedInstancesForUserRequest.h | 60 + .../ListAuthorizedInstancesForUserResult.h | 70 + .../ListAuthorizedUsersForDatabaseRequest.h | 57 + .../ListAuthorizedUsersForDatabaseResult.h | 57 + .../ListAuthorizedUsersForInstanceRequest.h | 54 + .../ListAuthorizedUsersForInstanceResult.h | 58 + .../model/ListDataLakeCatalogRequest.h | 48 + .../model/ListDataLakeCatalogResult.h | 63 + .../model/ListDataLakeDatabaseRequest.h | 57 + .../model/ListDataLakeDatabaseResult.h | 70 + .../model/ListDataLakeTablebaseInfoRequest.h | 60 + .../model/ListDataLakeTablebaseInfoResult.h | 86 ++ .../model/ListSensitiveColumnInfoRequest.h | 60 + .../model/ListSensitiveColumnInfoResult.h | 83 ++ .../model/ModifyInstanceRequest.h | 129 ++ .../model/ModifyInstanceResult.h | 55 + .../model/PauseDataExportJobRequest.h | 48 + .../model/PauseDataExportJobResult.h | 55 + .../model/RemoveDataExportJobRequest.h | 48 + .../model/RemoveDataExportJobResult.h | 55 + .../model/RestartDataExportJobRequest.h | 48 + .../model/RestartDataExportJobResult.h | 55 + .../model/SetWorkflowExtraInfoRequest.h | 66 + .../model/SetWorkflowExtraInfoResult.h | 57 + .../model/SubmitOrderApprovalRequest.h | 3 + .../model/SuspendDataExportJobRequest.h | 48 + .../model/SuspendDataExportJobResult.h | 55 + .../model/UpdateAbacPolicyRequest.h | 54 + .../model/UpdateAbacPolicyResult.h | 57 + .../model/UpdateStandardGroupRequest.h | 51 + .../model/UpdateStandardGroupResult.h | 66 + dms-enterprise/src/Dms-enterpriseClient.cc | 1152 +++++++++++++++++ .../model/AddAuthorityTemplateItemsRequest.cc | 62 + .../model/AddAuthorityTemplateItemsResult.cc | 72 ++ .../src/model/AddInstanceRequest.cc | 288 +++++ dms-enterprise/src/model/AddInstanceResult.cc | 65 + .../src/model/ApproveOrderRequest.cc | 18 + .../model/CreateAbacAuthorizationRequest.cc | 72 ++ .../model/CreateAbacAuthorizationResult.cc | 72 ++ .../src/model/CreateAbacPolicyRequest.cc | 63 + .../src/model/CreateAbacPolicyResult.cc | 72 ++ .../model/CreateDataArchiveOrderRequest.cc | 11 +- .../model/CreateDataCorrectOrderRequest.cc | 9 + .../src/model/CreateDataExportOrderRequest.cc | 9 + .../src/model/CreateStandardGroupResult.cc | 2 + .../model/DeleteAbacAuthorizationRequest.cc | 54 + .../model/DeleteAbacAuthorizationResult.cc | 72 ++ .../src/model/DeleteAbacPolicyRequest.cc | 45 + .../src/model/DeleteAbacPolicyResult.cc | 72 ++ .../src/model/DeleteStandardGroupRequest.cc | 45 + .../src/model/DeleteStandardGroupResult.cc | 65 + .../src/model/ExecuteDataCorrectRequest.cc | 9 + .../src/model/ExecuteDataExportRequest.cc | 9 + .../src/model/GetAbacPolicyRequest.cc | 54 + .../src/model/GetAbacPolicyResult.cc | 85 ++ .../src/model/GetApprovalDetailResult.cc | 4 + .../model/GetDataCorrectOrderDetailResult.cc | 39 + .../model/GetDataExportDownloadURLRequest.cc | 9 + .../model/GetDataExportOrderDetailResult.cc | 2 + .../src/model/GetDataLakeCatalogRequest.cc | 54 + .../src/model/GetDataLakeCatalogResult.cc | 77 ++ .../src/model/GetDataLakeDatabaseRequest.cc | 63 + .../src/model/GetDataLakeDatabaseResult.cc | 83 ++ .../src/model/GetDataLakeTableRequest.cc | 72 ++ .../src/model/GetDataLakeTableResult.cc | 44 + .../src/model/GetStandardGroupRequest.cc | 45 + .../src/model/GetStandardGroupResult.cc | 83 ++ .../model/GetTableDesignProjectFlowRequest.cc | 45 + .../model/GetTableDesignProjectFlowResult.cc | 98 ++ .../model/GetTableDesignProjectInfoRequest.cc | 45 + .../model/GetTableDesignProjectInfoResult.cc | 102 ++ .../model/ListAbacAuthorizationsRequest.cc | 72 ++ .../src/model/ListAbacAuthorizationsResult.cc | 97 ++ .../src/model/ListAbacPoliciesRequest.cc | 63 + .../src/model/ListAbacPoliciesResult.cc | 102 ++ .../ListAuthorizedDatabasesForUserRequest.cc | 99 ++ .../ListAuthorizedDatabasesForUserResult.cc | 80 ++ .../ListAuthorizedInstancesForUserRequest.cc | 90 ++ .../ListAuthorizedInstancesForUserResult.cc | 80 ++ .../ListAuthorizedUsersForDatabaseRequest.cc | 81 ++ .../ListAuthorizedUsersForDatabaseResult.cc | 61 + .../ListAuthorizedUsersForInstanceRequest.cc | 72 ++ .../ListAuthorizedUsersForInstanceResult.cc | 63 + .../src/model/ListDataLakeCatalogRequest.cc | 54 + .../src/model/ListDataLakeCatalogResult.cc | 82 ++ .../src/model/ListDataLakeDatabaseRequest.cc | 81 ++ .../src/model/ListDataLakeDatabaseResult.cc | 102 ++ .../model/ListDataLakeTablebaseInfoRequest.cc | 90 ++ .../model/ListDataLakeTablebaseInfoResult.cc | 129 ++ .../model/ListSensitiveColumnInfoRequest.cc | 90 ++ .../model/ListSensitiveColumnInfoResult.cc | 116 ++ .../src/model/ModifyInstanceRequest.cc | 297 +++++ .../src/model/ModifyInstanceResult.cc | 65 + .../src/model/PauseDataExportJobRequest.cc | 54 + .../src/model/PauseDataExportJobResult.cc | 65 + .../src/model/RemoveDataExportJobRequest.cc | 54 + .../src/model/RemoveDataExportJobResult.cc | 65 + .../src/model/RestartDataExportJobRequest.cc | 54 + .../src/model/RestartDataExportJobResult.cc | 65 + .../src/model/SetWorkflowExtraInfoRequest.cc | 108 ++ .../src/model/SetWorkflowExtraInfoResult.cc | 72 ++ .../src/model/SubmitOrderApprovalRequest.cc | 9 + .../src/model/SuspendDataExportJobRequest.cc | 54 + .../src/model/SuspendDataExportJobResult.cc | 65 + .../src/model/UpdateAbacPolicyRequest.cc | 72 ++ .../src/model/UpdateAbacPolicyResult.cc | 72 ++ .../src/model/UpdateStandardGroupRequest.cc | 63 + .../src/model/UpdateStandardGroupResult.cc | 83 ++ 156 files changed, 10636 insertions(+), 13 deletions(-) create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/AddAuthorityTemplateItemsRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/AddAuthorityTemplateItemsResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/AddInstanceRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/AddInstanceResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacAuthorizationRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacAuthorizationResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacPolicyRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacPolicyResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacAuthorizationRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacAuthorizationResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacPolicyRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacPolicyResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteStandardGroupRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteStandardGroupResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetAbacPolicyRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetAbacPolicyResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeCatalogRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeCatalogResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeDatabaseRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeDatabaseResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeTableRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeTableResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetStandardGroupRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetStandardGroupResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectFlowRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectFlowResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectInfoRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectInfoResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacAuthorizationsRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacAuthorizationsResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacPoliciesRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacPoliciesResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedDatabasesForUserRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedDatabasesForUserResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedInstancesForUserRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedInstancesForUserResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForDatabaseRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForDatabaseResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForInstanceRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForInstanceResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeCatalogRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeCatalogResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeDatabaseRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeDatabaseResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeTablebaseInfoRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeTablebaseInfoResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveColumnInfoRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveColumnInfoResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ModifyInstanceRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ModifyInstanceResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/PauseDataExportJobRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/PauseDataExportJobResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/RemoveDataExportJobRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/RemoveDataExportJobResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/RestartDataExportJobRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/RestartDataExportJobResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/SetWorkflowExtraInfoRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/SetWorkflowExtraInfoResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendDataExportJobRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendDataExportJobResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateAbacPolicyRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateAbacPolicyResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateStandardGroupRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateStandardGroupResult.h create mode 100644 dms-enterprise/src/model/AddAuthorityTemplateItemsRequest.cc create mode 100644 dms-enterprise/src/model/AddAuthorityTemplateItemsResult.cc create mode 100644 dms-enterprise/src/model/AddInstanceRequest.cc create mode 100644 dms-enterprise/src/model/AddInstanceResult.cc create mode 100644 dms-enterprise/src/model/CreateAbacAuthorizationRequest.cc create mode 100644 dms-enterprise/src/model/CreateAbacAuthorizationResult.cc create mode 100644 dms-enterprise/src/model/CreateAbacPolicyRequest.cc create mode 100644 dms-enterprise/src/model/CreateAbacPolicyResult.cc create mode 100644 dms-enterprise/src/model/DeleteAbacAuthorizationRequest.cc create mode 100644 dms-enterprise/src/model/DeleteAbacAuthorizationResult.cc create mode 100644 dms-enterprise/src/model/DeleteAbacPolicyRequest.cc create mode 100644 dms-enterprise/src/model/DeleteAbacPolicyResult.cc create mode 100644 dms-enterprise/src/model/DeleteStandardGroupRequest.cc create mode 100644 dms-enterprise/src/model/DeleteStandardGroupResult.cc create mode 100644 dms-enterprise/src/model/GetAbacPolicyRequest.cc create mode 100644 dms-enterprise/src/model/GetAbacPolicyResult.cc create mode 100644 dms-enterprise/src/model/GetDataLakeCatalogRequest.cc create mode 100644 dms-enterprise/src/model/GetDataLakeCatalogResult.cc create mode 100644 dms-enterprise/src/model/GetDataLakeDatabaseRequest.cc create mode 100644 dms-enterprise/src/model/GetDataLakeDatabaseResult.cc create mode 100644 dms-enterprise/src/model/GetDataLakeTableRequest.cc create mode 100644 dms-enterprise/src/model/GetDataLakeTableResult.cc create mode 100644 dms-enterprise/src/model/GetStandardGroupRequest.cc create mode 100644 dms-enterprise/src/model/GetStandardGroupResult.cc create mode 100644 dms-enterprise/src/model/GetTableDesignProjectFlowRequest.cc create mode 100644 dms-enterprise/src/model/GetTableDesignProjectFlowResult.cc create mode 100644 dms-enterprise/src/model/GetTableDesignProjectInfoRequest.cc create mode 100644 dms-enterprise/src/model/GetTableDesignProjectInfoResult.cc create mode 100644 dms-enterprise/src/model/ListAbacAuthorizationsRequest.cc create mode 100644 dms-enterprise/src/model/ListAbacAuthorizationsResult.cc create mode 100644 dms-enterprise/src/model/ListAbacPoliciesRequest.cc create mode 100644 dms-enterprise/src/model/ListAbacPoliciesResult.cc create mode 100644 dms-enterprise/src/model/ListAuthorizedDatabasesForUserRequest.cc create mode 100644 dms-enterprise/src/model/ListAuthorizedDatabasesForUserResult.cc create mode 100644 dms-enterprise/src/model/ListAuthorizedInstancesForUserRequest.cc create mode 100644 dms-enterprise/src/model/ListAuthorizedInstancesForUserResult.cc create mode 100644 dms-enterprise/src/model/ListAuthorizedUsersForDatabaseRequest.cc create mode 100644 dms-enterprise/src/model/ListAuthorizedUsersForDatabaseResult.cc create mode 100644 dms-enterprise/src/model/ListAuthorizedUsersForInstanceRequest.cc create mode 100644 dms-enterprise/src/model/ListAuthorizedUsersForInstanceResult.cc create mode 100644 dms-enterprise/src/model/ListDataLakeCatalogRequest.cc create mode 100644 dms-enterprise/src/model/ListDataLakeCatalogResult.cc create mode 100644 dms-enterprise/src/model/ListDataLakeDatabaseRequest.cc create mode 100644 dms-enterprise/src/model/ListDataLakeDatabaseResult.cc create mode 100644 dms-enterprise/src/model/ListDataLakeTablebaseInfoRequest.cc create mode 100644 dms-enterprise/src/model/ListDataLakeTablebaseInfoResult.cc create mode 100644 dms-enterprise/src/model/ListSensitiveColumnInfoRequest.cc create mode 100644 dms-enterprise/src/model/ListSensitiveColumnInfoResult.cc create mode 100644 dms-enterprise/src/model/ModifyInstanceRequest.cc create mode 100644 dms-enterprise/src/model/ModifyInstanceResult.cc create mode 100644 dms-enterprise/src/model/PauseDataExportJobRequest.cc create mode 100644 dms-enterprise/src/model/PauseDataExportJobResult.cc create mode 100644 dms-enterprise/src/model/RemoveDataExportJobRequest.cc create mode 100644 dms-enterprise/src/model/RemoveDataExportJobResult.cc create mode 100644 dms-enterprise/src/model/RestartDataExportJobRequest.cc create mode 100644 dms-enterprise/src/model/RestartDataExportJobResult.cc create mode 100644 dms-enterprise/src/model/SetWorkflowExtraInfoRequest.cc create mode 100644 dms-enterprise/src/model/SetWorkflowExtraInfoResult.cc create mode 100644 dms-enterprise/src/model/SuspendDataExportJobRequest.cc create mode 100644 dms-enterprise/src/model/SuspendDataExportJobResult.cc create mode 100644 dms-enterprise/src/model/UpdateAbacPolicyRequest.cc create mode 100644 dms-enterprise/src/model/UpdateAbacPolicyResult.cc create mode 100644 dms-enterprise/src/model/UpdateStandardGroupRequest.cc create mode 100644 dms-enterprise/src/model/UpdateStandardGroupResult.cc diff --git a/VERSION b/VERSION index 0624529e6..0c2dc83c1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.2027 \ No newline at end of file +1.36.2028 \ No newline at end of file diff --git a/dms-enterprise/CMakeLists.txt b/dms-enterprise/CMakeLists.txt index 7a95480e6..a48a2dec4 100644 --- a/dms-enterprise/CMakeLists.txt +++ b/dms-enterprise/CMakeLists.txt @@ -21,8 +21,12 @@ set(dms-enterprise_public_header include/alibabacloud/dms-enterprise/Dms_enterpriseExport.h ) set(dms-enterprise_public_header_model + include/alibabacloud/dms-enterprise/model/AddAuthorityTemplateItemsRequest.h + include/alibabacloud/dms-enterprise/model/AddAuthorityTemplateItemsResult.h include/alibabacloud/dms-enterprise/model/AddDesensitizationRuleRequest.h include/alibabacloud/dms-enterprise/model/AddDesensitizationRuleResult.h + include/alibabacloud/dms-enterprise/model/AddInstanceRequest.h + include/alibabacloud/dms-enterprise/model/AddInstanceResult.h include/alibabacloud/dms-enterprise/model/AddLhMembersRequest.h include/alibabacloud/dms-enterprise/model/AddLhMembersResult.h include/alibabacloud/dms-enterprise/model/AddLogicTableRouteConfigRequest.h @@ -45,6 +49,10 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/ChangeLhDagOwnerResult.h include/alibabacloud/dms-enterprise/model/CloseOrderRequest.h include/alibabacloud/dms-enterprise/model/CloseOrderResult.h + include/alibabacloud/dms-enterprise/model/CreateAbacAuthorizationRequest.h + include/alibabacloud/dms-enterprise/model/CreateAbacAuthorizationResult.h + include/alibabacloud/dms-enterprise/model/CreateAbacPolicyRequest.h + include/alibabacloud/dms-enterprise/model/CreateAbacPolicyResult.h include/alibabacloud/dms-enterprise/model/CreateAuthorityTemplateRequest.h include/alibabacloud/dms-enterprise/model/CreateAuthorityTemplateResult.h include/alibabacloud/dms-enterprise/model/CreateDataArchiveOrderRequest.h @@ -93,6 +101,10 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/CreateUploadFileJobResult.h include/alibabacloud/dms-enterprise/model/CreateUploadOSSFileJobRequest.h include/alibabacloud/dms-enterprise/model/CreateUploadOSSFileJobResult.h + include/alibabacloud/dms-enterprise/model/DeleteAbacAuthorizationRequest.h + include/alibabacloud/dms-enterprise/model/DeleteAbacAuthorizationResult.h + include/alibabacloud/dms-enterprise/model/DeleteAbacPolicyRequest.h + include/alibabacloud/dms-enterprise/model/DeleteAbacPolicyResult.h include/alibabacloud/dms-enterprise/model/DeleteAuthorityTemplateRequest.h include/alibabacloud/dms-enterprise/model/DeleteAuthorityTemplateResult.h include/alibabacloud/dms-enterprise/model/DeleteInstanceRequest.h @@ -111,6 +123,8 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/DeleteProxyAccessResult.h include/alibabacloud/dms-enterprise/model/DeleteScenarioRequest.h include/alibabacloud/dms-enterprise/model/DeleteScenarioResult.h + include/alibabacloud/dms-enterprise/model/DeleteStandardGroupRequest.h + include/alibabacloud/dms-enterprise/model/DeleteStandardGroupResult.h include/alibabacloud/dms-enterprise/model/DeleteTaskRequest.h include/alibabacloud/dms-enterprise/model/DeleteTaskResult.h include/alibabacloud/dms-enterprise/model/DeleteTaskFlowRequest.h @@ -135,6 +149,8 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/ExecuteScriptResult.h include/alibabacloud/dms-enterprise/model/ExecuteStructSyncRequest.h include/alibabacloud/dms-enterprise/model/ExecuteStructSyncResult.h + include/alibabacloud/dms-enterprise/model/GetAbacPolicyRequest.h + include/alibabacloud/dms-enterprise/model/GetAbacPolicyResult.h include/alibabacloud/dms-enterprise/model/GetApprovalDetailRequest.h include/alibabacloud/dms-enterprise/model/GetApprovalDetailResult.h include/alibabacloud/dms-enterprise/model/GetAuthorityTemplateRequest.h @@ -173,6 +189,12 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/GetDataExportPreCheckDetailResult.h include/alibabacloud/dms-enterprise/model/GetDataImportSQLRequest.h include/alibabacloud/dms-enterprise/model/GetDataImportSQLResult.h + include/alibabacloud/dms-enterprise/model/GetDataLakeCatalogRequest.h + include/alibabacloud/dms-enterprise/model/GetDataLakeCatalogResult.h + include/alibabacloud/dms-enterprise/model/GetDataLakeDatabaseRequest.h + include/alibabacloud/dms-enterprise/model/GetDataLakeDatabaseResult.h + include/alibabacloud/dms-enterprise/model/GetDataLakeTableRequest.h + include/alibabacloud/dms-enterprise/model/GetDataLakeTableResult.h include/alibabacloud/dms-enterprise/model/GetDataTrackJobDegreeRequest.h include/alibabacloud/dms-enterprise/model/GetDataTrackJobDegreeResult.h include/alibabacloud/dms-enterprise/model/GetDataTrackJobTableMetaRequest.h @@ -223,6 +245,8 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/GetSQLReviewCheckResultStatusResult.h include/alibabacloud/dms-enterprise/model/GetSQLReviewOptimizeDetailRequest.h include/alibabacloud/dms-enterprise/model/GetSQLReviewOptimizeDetailResult.h + include/alibabacloud/dms-enterprise/model/GetStandardGroupRequest.h + include/alibabacloud/dms-enterprise/model/GetStandardGroupResult.h include/alibabacloud/dms-enterprise/model/GetStructSyncExecSqlDetailRequest.h include/alibabacloud/dms-enterprise/model/GetStructSyncExecSqlDetailResult.h include/alibabacloud/dms-enterprise/model/GetStructSyncJobAnalyzeResultRequest.h @@ -233,6 +257,10 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/GetStructSyncOrderDetailResult.h include/alibabacloud/dms-enterprise/model/GetTableDBTopologyRequest.h include/alibabacloud/dms-enterprise/model/GetTableDBTopologyResult.h + include/alibabacloud/dms-enterprise/model/GetTableDesignProjectFlowRequest.h + include/alibabacloud/dms-enterprise/model/GetTableDesignProjectFlowResult.h + include/alibabacloud/dms-enterprise/model/GetTableDesignProjectInfoRequest.h + include/alibabacloud/dms-enterprise/model/GetTableDesignProjectInfoResult.h include/alibabacloud/dms-enterprise/model/GetTableTopologyRequest.h include/alibabacloud/dms-enterprise/model/GetTableTopologyResult.h include/alibabacloud/dms-enterprise/model/GetTaskRequest.h @@ -255,8 +283,20 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/GrantUserPermissionResult.h include/alibabacloud/dms-enterprise/model/InspectProxyAccessSecretRequest.h include/alibabacloud/dms-enterprise/model/InspectProxyAccessSecretResult.h + include/alibabacloud/dms-enterprise/model/ListAbacAuthorizationsRequest.h + include/alibabacloud/dms-enterprise/model/ListAbacAuthorizationsResult.h + include/alibabacloud/dms-enterprise/model/ListAbacPoliciesRequest.h + include/alibabacloud/dms-enterprise/model/ListAbacPoliciesResult.h include/alibabacloud/dms-enterprise/model/ListAuthorityTemplateRequest.h include/alibabacloud/dms-enterprise/model/ListAuthorityTemplateResult.h + include/alibabacloud/dms-enterprise/model/ListAuthorizedDatabasesForUserRequest.h + include/alibabacloud/dms-enterprise/model/ListAuthorizedDatabasesForUserResult.h + include/alibabacloud/dms-enterprise/model/ListAuthorizedInstancesForUserRequest.h + include/alibabacloud/dms-enterprise/model/ListAuthorizedInstancesForUserResult.h + include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForDatabaseRequest.h + include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForDatabaseResult.h + include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForInstanceRequest.h + include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForInstanceResult.h include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesRequest.h include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesResult.h include/alibabacloud/dms-enterprise/model/ListColumnsRequest.h @@ -277,6 +317,12 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/ListDataImportSQLPreCheckDetailResult.h include/alibabacloud/dms-enterprise/model/ListDataImportSQLTypeRequest.h include/alibabacloud/dms-enterprise/model/ListDataImportSQLTypeResult.h + include/alibabacloud/dms-enterprise/model/ListDataLakeCatalogRequest.h + include/alibabacloud/dms-enterprise/model/ListDataLakeCatalogResult.h + include/alibabacloud/dms-enterprise/model/ListDataLakeDatabaseRequest.h + include/alibabacloud/dms-enterprise/model/ListDataLakeDatabaseResult.h + include/alibabacloud/dms-enterprise/model/ListDataLakeTablebaseInfoRequest.h + include/alibabacloud/dms-enterprise/model/ListDataLakeTablebaseInfoResult.h include/alibabacloud/dms-enterprise/model/ListDatabaseUserPermssionsRequest.h include/alibabacloud/dms-enterprise/model/ListDatabaseUserPermssionsResult.h include/alibabacloud/dms-enterprise/model/ListDatabasesRequest.h @@ -319,6 +365,8 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/ListSQLReviewOriginSQLResult.h include/alibabacloud/dms-enterprise/model/ListScenariosRequest.h include/alibabacloud/dms-enterprise/model/ListScenariosResult.h + include/alibabacloud/dms-enterprise/model/ListSensitiveColumnInfoRequest.h + include/alibabacloud/dms-enterprise/model/ListSensitiveColumnInfoResult.h include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsRequest.h include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsResult.h include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsDetailRequest.h @@ -363,12 +411,16 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/ModifyDataCorrectExecSQLResult.h include/alibabacloud/dms-enterprise/model/ModifyDesensitizationStrategyRequest.h include/alibabacloud/dms-enterprise/model/ModifyDesensitizationStrategyResult.h + include/alibabacloud/dms-enterprise/model/ModifyInstanceRequest.h + include/alibabacloud/dms-enterprise/model/ModifyInstanceResult.h include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioRequest.h include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioResult.h include/alibabacloud/dms-enterprise/model/OfflineTaskFlowRequest.h include/alibabacloud/dms-enterprise/model/OfflineTaskFlowResult.h include/alibabacloud/dms-enterprise/model/PauseDataCorrectSQLJobRequest.h include/alibabacloud/dms-enterprise/model/PauseDataCorrectSQLJobResult.h + include/alibabacloud/dms-enterprise/model/PauseDataExportJobRequest.h + include/alibabacloud/dms-enterprise/model/PauseDataExportJobResult.h include/alibabacloud/dms-enterprise/model/PreviewWorkflowRequest.h include/alibabacloud/dms-enterprise/model/PreviewWorkflowResult.h include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowRequest.h @@ -385,8 +437,12 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/RegisterInstanceResult.h include/alibabacloud/dms-enterprise/model/RegisterUserRequest.h include/alibabacloud/dms-enterprise/model/RegisterUserResult.h + include/alibabacloud/dms-enterprise/model/RemoveDataExportJobRequest.h + include/alibabacloud/dms-enterprise/model/RemoveDataExportJobResult.h include/alibabacloud/dms-enterprise/model/RestartDataCorrectSQLJobRequest.h include/alibabacloud/dms-enterprise/model/RestartDataCorrectSQLJobResult.h + include/alibabacloud/dms-enterprise/model/RestartDataExportJobRequest.h + include/alibabacloud/dms-enterprise/model/RestartDataExportJobResult.h include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceRequest.h include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceResult.h include/alibabacloud/dms-enterprise/model/RetryDataCorrectPreCheckRequest.h @@ -403,6 +459,8 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/SearchTableResult.h include/alibabacloud/dms-enterprise/model/SetOwnersRequest.h include/alibabacloud/dms-enterprise/model/SetOwnersResult.h + include/alibabacloud/dms-enterprise/model/SetWorkflowExtraInfoRequest.h + include/alibabacloud/dms-enterprise/model/SetWorkflowExtraInfoResult.h include/alibabacloud/dms-enterprise/model/SkipDataCorrectRowCheckRequest.h include/alibabacloud/dms-enterprise/model/SkipDataCorrectRowCheckResult.h include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceRequest.h @@ -411,12 +469,16 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/SubmitOrderApprovalResult.h include/alibabacloud/dms-enterprise/model/SubmitStructSyncOrderApprovalRequest.h include/alibabacloud/dms-enterprise/model/SubmitStructSyncOrderApprovalResult.h + include/alibabacloud/dms-enterprise/model/SuspendDataExportJobRequest.h + include/alibabacloud/dms-enterprise/model/SuspendDataExportJobResult.h include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceRequest.h include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceResult.h include/alibabacloud/dms-enterprise/model/SyncDatabaseMetaRequest.h include/alibabacloud/dms-enterprise/model/SyncDatabaseMetaResult.h include/alibabacloud/dms-enterprise/model/SyncInstanceMetaRequest.h include/alibabacloud/dms-enterprise/model/SyncInstanceMetaResult.h + include/alibabacloud/dms-enterprise/model/UpdateAbacPolicyRequest.h + include/alibabacloud/dms-enterprise/model/UpdateAbacPolicyResult.h include/alibabacloud/dms-enterprise/model/UpdateAuthorityTemplateRequest.h include/alibabacloud/dms-enterprise/model/UpdateAuthorityTemplateResult.h include/alibabacloud/dms-enterprise/model/UpdateInstanceRequest.h @@ -425,6 +487,8 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/UpdateSLARulesResult.h include/alibabacloud/dms-enterprise/model/UpdateScenarioRequest.h include/alibabacloud/dms-enterprise/model/UpdateScenarioResult.h + include/alibabacloud/dms-enterprise/model/UpdateStandardGroupRequest.h + include/alibabacloud/dms-enterprise/model/UpdateStandardGroupResult.h include/alibabacloud/dms-enterprise/model/UpdateTaskConfigRequest.h include/alibabacloud/dms-enterprise/model/UpdateTaskConfigResult.h include/alibabacloud/dms-enterprise/model/UpdateTaskContentRequest.h @@ -458,8 +522,12 @@ set(dms-enterprise_public_header_model set(dms-enterprise_src src/Dms-enterpriseClient.cc + src/model/AddAuthorityTemplateItemsRequest.cc + src/model/AddAuthorityTemplateItemsResult.cc src/model/AddDesensitizationRuleRequest.cc src/model/AddDesensitizationRuleResult.cc + src/model/AddInstanceRequest.cc + src/model/AddInstanceResult.cc src/model/AddLhMembersRequest.cc src/model/AddLhMembersResult.cc src/model/AddLogicTableRouteConfigRequest.cc @@ -482,6 +550,10 @@ set(dms-enterprise_src src/model/ChangeLhDagOwnerResult.cc src/model/CloseOrderRequest.cc src/model/CloseOrderResult.cc + src/model/CreateAbacAuthorizationRequest.cc + src/model/CreateAbacAuthorizationResult.cc + src/model/CreateAbacPolicyRequest.cc + src/model/CreateAbacPolicyResult.cc src/model/CreateAuthorityTemplateRequest.cc src/model/CreateAuthorityTemplateResult.cc src/model/CreateDataArchiveOrderRequest.cc @@ -530,6 +602,10 @@ set(dms-enterprise_src src/model/CreateUploadFileJobResult.cc src/model/CreateUploadOSSFileJobRequest.cc src/model/CreateUploadOSSFileJobResult.cc + src/model/DeleteAbacAuthorizationRequest.cc + src/model/DeleteAbacAuthorizationResult.cc + src/model/DeleteAbacPolicyRequest.cc + src/model/DeleteAbacPolicyResult.cc src/model/DeleteAuthorityTemplateRequest.cc src/model/DeleteAuthorityTemplateResult.cc src/model/DeleteInstanceRequest.cc @@ -548,6 +624,8 @@ set(dms-enterprise_src src/model/DeleteProxyAccessResult.cc src/model/DeleteScenarioRequest.cc src/model/DeleteScenarioResult.cc + src/model/DeleteStandardGroupRequest.cc + src/model/DeleteStandardGroupResult.cc src/model/DeleteTaskRequest.cc src/model/DeleteTaskResult.cc src/model/DeleteTaskFlowRequest.cc @@ -572,6 +650,8 @@ set(dms-enterprise_src src/model/ExecuteScriptResult.cc src/model/ExecuteStructSyncRequest.cc src/model/ExecuteStructSyncResult.cc + src/model/GetAbacPolicyRequest.cc + src/model/GetAbacPolicyResult.cc src/model/GetApprovalDetailRequest.cc src/model/GetApprovalDetailResult.cc src/model/GetAuthorityTemplateRequest.cc @@ -610,6 +690,12 @@ set(dms-enterprise_src src/model/GetDataExportPreCheckDetailResult.cc src/model/GetDataImportSQLRequest.cc src/model/GetDataImportSQLResult.cc + src/model/GetDataLakeCatalogRequest.cc + src/model/GetDataLakeCatalogResult.cc + src/model/GetDataLakeDatabaseRequest.cc + src/model/GetDataLakeDatabaseResult.cc + src/model/GetDataLakeTableRequest.cc + src/model/GetDataLakeTableResult.cc src/model/GetDataTrackJobDegreeRequest.cc src/model/GetDataTrackJobDegreeResult.cc src/model/GetDataTrackJobTableMetaRequest.cc @@ -660,6 +746,8 @@ set(dms-enterprise_src src/model/GetSQLReviewCheckResultStatusResult.cc src/model/GetSQLReviewOptimizeDetailRequest.cc src/model/GetSQLReviewOptimizeDetailResult.cc + src/model/GetStandardGroupRequest.cc + src/model/GetStandardGroupResult.cc src/model/GetStructSyncExecSqlDetailRequest.cc src/model/GetStructSyncExecSqlDetailResult.cc src/model/GetStructSyncJobAnalyzeResultRequest.cc @@ -670,6 +758,10 @@ set(dms-enterprise_src src/model/GetStructSyncOrderDetailResult.cc src/model/GetTableDBTopologyRequest.cc src/model/GetTableDBTopologyResult.cc + src/model/GetTableDesignProjectFlowRequest.cc + src/model/GetTableDesignProjectFlowResult.cc + src/model/GetTableDesignProjectInfoRequest.cc + src/model/GetTableDesignProjectInfoResult.cc src/model/GetTableTopologyRequest.cc src/model/GetTableTopologyResult.cc src/model/GetTaskRequest.cc @@ -692,8 +784,20 @@ set(dms-enterprise_src src/model/GrantUserPermissionResult.cc src/model/InspectProxyAccessSecretRequest.cc src/model/InspectProxyAccessSecretResult.cc + src/model/ListAbacAuthorizationsRequest.cc + src/model/ListAbacAuthorizationsResult.cc + src/model/ListAbacPoliciesRequest.cc + src/model/ListAbacPoliciesResult.cc src/model/ListAuthorityTemplateRequest.cc src/model/ListAuthorityTemplateResult.cc + src/model/ListAuthorizedDatabasesForUserRequest.cc + src/model/ListAuthorizedDatabasesForUserResult.cc + src/model/ListAuthorizedInstancesForUserRequest.cc + src/model/ListAuthorizedInstancesForUserResult.cc + src/model/ListAuthorizedUsersForDatabaseRequest.cc + src/model/ListAuthorizedUsersForDatabaseResult.cc + src/model/ListAuthorizedUsersForInstanceRequest.cc + src/model/ListAuthorizedUsersForInstanceResult.cc src/model/ListClassificationTemplatesRequest.cc src/model/ListClassificationTemplatesResult.cc src/model/ListColumnsRequest.cc @@ -714,6 +818,12 @@ set(dms-enterprise_src src/model/ListDataImportSQLPreCheckDetailResult.cc src/model/ListDataImportSQLTypeRequest.cc src/model/ListDataImportSQLTypeResult.cc + src/model/ListDataLakeCatalogRequest.cc + src/model/ListDataLakeCatalogResult.cc + src/model/ListDataLakeDatabaseRequest.cc + src/model/ListDataLakeDatabaseResult.cc + src/model/ListDataLakeTablebaseInfoRequest.cc + src/model/ListDataLakeTablebaseInfoResult.cc src/model/ListDatabaseUserPermssionsRequest.cc src/model/ListDatabaseUserPermssionsResult.cc src/model/ListDatabasesRequest.cc @@ -756,6 +866,8 @@ set(dms-enterprise_src src/model/ListSQLReviewOriginSQLResult.cc src/model/ListScenariosRequest.cc src/model/ListScenariosResult.cc + src/model/ListSensitiveColumnInfoRequest.cc + src/model/ListSensitiveColumnInfoResult.cc src/model/ListSensitiveColumnsRequest.cc src/model/ListSensitiveColumnsResult.cc src/model/ListSensitiveColumnsDetailRequest.cc @@ -800,12 +912,16 @@ set(dms-enterprise_src src/model/ModifyDataCorrectExecSQLResult.cc src/model/ModifyDesensitizationStrategyRequest.cc src/model/ModifyDesensitizationStrategyResult.cc + src/model/ModifyInstanceRequest.cc + src/model/ModifyInstanceResult.cc src/model/MoveTaskFlowToScenarioRequest.cc src/model/MoveTaskFlowToScenarioResult.cc src/model/OfflineTaskFlowRequest.cc src/model/OfflineTaskFlowResult.cc src/model/PauseDataCorrectSQLJobRequest.cc src/model/PauseDataCorrectSQLJobResult.cc + src/model/PauseDataExportJobRequest.cc + src/model/PauseDataExportJobResult.cc src/model/PreviewWorkflowRequest.cc src/model/PreviewWorkflowResult.cc src/model/PublishAndDeployTaskFlowRequest.cc @@ -822,8 +938,12 @@ set(dms-enterprise_src src/model/RegisterInstanceResult.cc src/model/RegisterUserRequest.cc src/model/RegisterUserResult.cc + src/model/RemoveDataExportJobRequest.cc + src/model/RemoveDataExportJobResult.cc src/model/RestartDataCorrectSQLJobRequest.cc src/model/RestartDataCorrectSQLJobResult.cc + src/model/RestartDataExportJobRequest.cc + src/model/RestartDataExportJobResult.cc src/model/ResumeTaskFlowInstanceRequest.cc src/model/ResumeTaskFlowInstanceResult.cc src/model/RetryDataCorrectPreCheckRequest.cc @@ -840,6 +960,8 @@ set(dms-enterprise_src src/model/SearchTableResult.cc src/model/SetOwnersRequest.cc src/model/SetOwnersResult.cc + src/model/SetWorkflowExtraInfoRequest.cc + src/model/SetWorkflowExtraInfoResult.cc src/model/SkipDataCorrectRowCheckRequest.cc src/model/SkipDataCorrectRowCheckResult.cc src/model/StopTaskFlowInstanceRequest.cc @@ -848,12 +970,16 @@ set(dms-enterprise_src src/model/SubmitOrderApprovalResult.cc src/model/SubmitStructSyncOrderApprovalRequest.cc src/model/SubmitStructSyncOrderApprovalResult.cc + src/model/SuspendDataExportJobRequest.cc + src/model/SuspendDataExportJobResult.cc src/model/SuspendTaskFlowInstanceRequest.cc src/model/SuspendTaskFlowInstanceResult.cc src/model/SyncDatabaseMetaRequest.cc src/model/SyncDatabaseMetaResult.cc src/model/SyncInstanceMetaRequest.cc src/model/SyncInstanceMetaResult.cc + src/model/UpdateAbacPolicyRequest.cc + src/model/UpdateAbacPolicyResult.cc src/model/UpdateAuthorityTemplateRequest.cc src/model/UpdateAuthorityTemplateResult.cc src/model/UpdateInstanceRequest.cc @@ -862,6 +988,8 @@ set(dms-enterprise_src src/model/UpdateSLARulesResult.cc src/model/UpdateScenarioRequest.cc src/model/UpdateScenarioResult.cc + src/model/UpdateStandardGroupRequest.cc + src/model/UpdateStandardGroupResult.cc src/model/UpdateTaskConfigRequest.cc src/model/UpdateTaskConfigResult.cc src/model/UpdateTaskContentRequest.cc diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/Dms_enterpriseClient.h b/dms-enterprise/include/alibabacloud/dms-enterprise/Dms_enterpriseClient.h index 3f813fdf8..47dca6b40 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/Dms_enterpriseClient.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/Dms_enterpriseClient.h @@ -22,8 +22,12 @@ #include #include #include "Dms_enterpriseExport.h" +#include "model/AddAuthorityTemplateItemsRequest.h" +#include "model/AddAuthorityTemplateItemsResult.h" #include "model/AddDesensitizationRuleRequest.h" #include "model/AddDesensitizationRuleResult.h" +#include "model/AddInstanceRequest.h" +#include "model/AddInstanceResult.h" #include "model/AddLhMembersRequest.h" #include "model/AddLhMembersResult.h" #include "model/AddLogicTableRouteConfigRequest.h" @@ -46,6 +50,10 @@ #include "model/ChangeLhDagOwnerResult.h" #include "model/CloseOrderRequest.h" #include "model/CloseOrderResult.h" +#include "model/CreateAbacAuthorizationRequest.h" +#include "model/CreateAbacAuthorizationResult.h" +#include "model/CreateAbacPolicyRequest.h" +#include "model/CreateAbacPolicyResult.h" #include "model/CreateAuthorityTemplateRequest.h" #include "model/CreateAuthorityTemplateResult.h" #include "model/CreateDataArchiveOrderRequest.h" @@ -94,6 +102,10 @@ #include "model/CreateUploadFileJobResult.h" #include "model/CreateUploadOSSFileJobRequest.h" #include "model/CreateUploadOSSFileJobResult.h" +#include "model/DeleteAbacAuthorizationRequest.h" +#include "model/DeleteAbacAuthorizationResult.h" +#include "model/DeleteAbacPolicyRequest.h" +#include "model/DeleteAbacPolicyResult.h" #include "model/DeleteAuthorityTemplateRequest.h" #include "model/DeleteAuthorityTemplateResult.h" #include "model/DeleteInstanceRequest.h" @@ -112,6 +124,8 @@ #include "model/DeleteProxyAccessResult.h" #include "model/DeleteScenarioRequest.h" #include "model/DeleteScenarioResult.h" +#include "model/DeleteStandardGroupRequest.h" +#include "model/DeleteStandardGroupResult.h" #include "model/DeleteTaskRequest.h" #include "model/DeleteTaskResult.h" #include "model/DeleteTaskFlowRequest.h" @@ -136,6 +150,8 @@ #include "model/ExecuteScriptResult.h" #include "model/ExecuteStructSyncRequest.h" #include "model/ExecuteStructSyncResult.h" +#include "model/GetAbacPolicyRequest.h" +#include "model/GetAbacPolicyResult.h" #include "model/GetApprovalDetailRequest.h" #include "model/GetApprovalDetailResult.h" #include "model/GetAuthorityTemplateRequest.h" @@ -174,6 +190,12 @@ #include "model/GetDataExportPreCheckDetailResult.h" #include "model/GetDataImportSQLRequest.h" #include "model/GetDataImportSQLResult.h" +#include "model/GetDataLakeCatalogRequest.h" +#include "model/GetDataLakeCatalogResult.h" +#include "model/GetDataLakeDatabaseRequest.h" +#include "model/GetDataLakeDatabaseResult.h" +#include "model/GetDataLakeTableRequest.h" +#include "model/GetDataLakeTableResult.h" #include "model/GetDataTrackJobDegreeRequest.h" #include "model/GetDataTrackJobDegreeResult.h" #include "model/GetDataTrackJobTableMetaRequest.h" @@ -224,6 +246,8 @@ #include "model/GetSQLReviewCheckResultStatusResult.h" #include "model/GetSQLReviewOptimizeDetailRequest.h" #include "model/GetSQLReviewOptimizeDetailResult.h" +#include "model/GetStandardGroupRequest.h" +#include "model/GetStandardGroupResult.h" #include "model/GetStructSyncExecSqlDetailRequest.h" #include "model/GetStructSyncExecSqlDetailResult.h" #include "model/GetStructSyncJobAnalyzeResultRequest.h" @@ -234,6 +258,10 @@ #include "model/GetStructSyncOrderDetailResult.h" #include "model/GetTableDBTopologyRequest.h" #include "model/GetTableDBTopologyResult.h" +#include "model/GetTableDesignProjectFlowRequest.h" +#include "model/GetTableDesignProjectFlowResult.h" +#include "model/GetTableDesignProjectInfoRequest.h" +#include "model/GetTableDesignProjectInfoResult.h" #include "model/GetTableTopologyRequest.h" #include "model/GetTableTopologyResult.h" #include "model/GetTaskRequest.h" @@ -256,8 +284,20 @@ #include "model/GrantUserPermissionResult.h" #include "model/InspectProxyAccessSecretRequest.h" #include "model/InspectProxyAccessSecretResult.h" +#include "model/ListAbacAuthorizationsRequest.h" +#include "model/ListAbacAuthorizationsResult.h" +#include "model/ListAbacPoliciesRequest.h" +#include "model/ListAbacPoliciesResult.h" #include "model/ListAuthorityTemplateRequest.h" #include "model/ListAuthorityTemplateResult.h" +#include "model/ListAuthorizedDatabasesForUserRequest.h" +#include "model/ListAuthorizedDatabasesForUserResult.h" +#include "model/ListAuthorizedInstancesForUserRequest.h" +#include "model/ListAuthorizedInstancesForUserResult.h" +#include "model/ListAuthorizedUsersForDatabaseRequest.h" +#include "model/ListAuthorizedUsersForDatabaseResult.h" +#include "model/ListAuthorizedUsersForInstanceRequest.h" +#include "model/ListAuthorizedUsersForInstanceResult.h" #include "model/ListClassificationTemplatesRequest.h" #include "model/ListClassificationTemplatesResult.h" #include "model/ListColumnsRequest.h" @@ -278,6 +318,12 @@ #include "model/ListDataImportSQLPreCheckDetailResult.h" #include "model/ListDataImportSQLTypeRequest.h" #include "model/ListDataImportSQLTypeResult.h" +#include "model/ListDataLakeCatalogRequest.h" +#include "model/ListDataLakeCatalogResult.h" +#include "model/ListDataLakeDatabaseRequest.h" +#include "model/ListDataLakeDatabaseResult.h" +#include "model/ListDataLakeTablebaseInfoRequest.h" +#include "model/ListDataLakeTablebaseInfoResult.h" #include "model/ListDatabaseUserPermssionsRequest.h" #include "model/ListDatabaseUserPermssionsResult.h" #include "model/ListDatabasesRequest.h" @@ -320,6 +366,8 @@ #include "model/ListSQLReviewOriginSQLResult.h" #include "model/ListScenariosRequest.h" #include "model/ListScenariosResult.h" +#include "model/ListSensitiveColumnInfoRequest.h" +#include "model/ListSensitiveColumnInfoResult.h" #include "model/ListSensitiveColumnsRequest.h" #include "model/ListSensitiveColumnsResult.h" #include "model/ListSensitiveColumnsDetailRequest.h" @@ -364,12 +412,16 @@ #include "model/ModifyDataCorrectExecSQLResult.h" #include "model/ModifyDesensitizationStrategyRequest.h" #include "model/ModifyDesensitizationStrategyResult.h" +#include "model/ModifyInstanceRequest.h" +#include "model/ModifyInstanceResult.h" #include "model/MoveTaskFlowToScenarioRequest.h" #include "model/MoveTaskFlowToScenarioResult.h" #include "model/OfflineTaskFlowRequest.h" #include "model/OfflineTaskFlowResult.h" #include "model/PauseDataCorrectSQLJobRequest.h" #include "model/PauseDataCorrectSQLJobResult.h" +#include "model/PauseDataExportJobRequest.h" +#include "model/PauseDataExportJobResult.h" #include "model/PreviewWorkflowRequest.h" #include "model/PreviewWorkflowResult.h" #include "model/PublishAndDeployTaskFlowRequest.h" @@ -386,8 +438,12 @@ #include "model/RegisterInstanceResult.h" #include "model/RegisterUserRequest.h" #include "model/RegisterUserResult.h" +#include "model/RemoveDataExportJobRequest.h" +#include "model/RemoveDataExportJobResult.h" #include "model/RestartDataCorrectSQLJobRequest.h" #include "model/RestartDataCorrectSQLJobResult.h" +#include "model/RestartDataExportJobRequest.h" +#include "model/RestartDataExportJobResult.h" #include "model/ResumeTaskFlowInstanceRequest.h" #include "model/ResumeTaskFlowInstanceResult.h" #include "model/RetryDataCorrectPreCheckRequest.h" @@ -404,6 +460,8 @@ #include "model/SearchTableResult.h" #include "model/SetOwnersRequest.h" #include "model/SetOwnersResult.h" +#include "model/SetWorkflowExtraInfoRequest.h" +#include "model/SetWorkflowExtraInfoResult.h" #include "model/SkipDataCorrectRowCheckRequest.h" #include "model/SkipDataCorrectRowCheckResult.h" #include "model/StopTaskFlowInstanceRequest.h" @@ -412,12 +470,16 @@ #include "model/SubmitOrderApprovalResult.h" #include "model/SubmitStructSyncOrderApprovalRequest.h" #include "model/SubmitStructSyncOrderApprovalResult.h" +#include "model/SuspendDataExportJobRequest.h" +#include "model/SuspendDataExportJobResult.h" #include "model/SuspendTaskFlowInstanceRequest.h" #include "model/SuspendTaskFlowInstanceResult.h" #include "model/SyncDatabaseMetaRequest.h" #include "model/SyncDatabaseMetaResult.h" #include "model/SyncInstanceMetaRequest.h" #include "model/SyncInstanceMetaResult.h" +#include "model/UpdateAbacPolicyRequest.h" +#include "model/UpdateAbacPolicyResult.h" #include "model/UpdateAuthorityTemplateRequest.h" #include "model/UpdateAuthorityTemplateResult.h" #include "model/UpdateInstanceRequest.h" @@ -426,6 +488,8 @@ #include "model/UpdateSLARulesResult.h" #include "model/UpdateScenarioRequest.h" #include "model/UpdateScenarioResult.h" +#include "model/UpdateStandardGroupRequest.h" +#include "model/UpdateStandardGroupResult.h" #include "model/UpdateTaskConfigRequest.h" #include "model/UpdateTaskConfigResult.h" #include "model/UpdateTaskContentRequest.h" @@ -465,9 +529,15 @@ namespace AlibabaCloud class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT Dms_enterpriseClient : public RpcServiceClient { public: + typedef Outcome AddAuthorityTemplateItemsOutcome; + typedef std::future AddAuthorityTemplateItemsOutcomeCallable; + typedef std::function&)> AddAuthorityTemplateItemsAsyncHandler; typedef Outcome AddDesensitizationRuleOutcome; typedef std::future AddDesensitizationRuleOutcomeCallable; typedef std::function&)> AddDesensitizationRuleAsyncHandler; + typedef Outcome AddInstanceOutcome; + typedef std::future AddInstanceOutcomeCallable; + typedef std::function&)> AddInstanceAsyncHandler; typedef Outcome AddLhMembersOutcome; typedef std::future AddLhMembersOutcomeCallable; typedef std::function&)> AddLhMembersAsyncHandler; @@ -501,6 +571,12 @@ namespace AlibabaCloud typedef Outcome CloseOrderOutcome; typedef std::future CloseOrderOutcomeCallable; typedef std::function&)> CloseOrderAsyncHandler; + typedef Outcome CreateAbacAuthorizationOutcome; + typedef std::future CreateAbacAuthorizationOutcomeCallable; + typedef std::function&)> CreateAbacAuthorizationAsyncHandler; + typedef Outcome CreateAbacPolicyOutcome; + typedef std::future CreateAbacPolicyOutcomeCallable; + typedef std::function&)> CreateAbacPolicyAsyncHandler; typedef Outcome CreateAuthorityTemplateOutcome; typedef std::future CreateAuthorityTemplateOutcomeCallable; typedef std::function&)> CreateAuthorityTemplateAsyncHandler; @@ -573,6 +649,12 @@ namespace AlibabaCloud typedef Outcome CreateUploadOSSFileJobOutcome; typedef std::future CreateUploadOSSFileJobOutcomeCallable; typedef std::function&)> CreateUploadOSSFileJobAsyncHandler; + typedef Outcome DeleteAbacAuthorizationOutcome; + typedef std::future DeleteAbacAuthorizationOutcomeCallable; + typedef std::function&)> DeleteAbacAuthorizationAsyncHandler; + typedef Outcome DeleteAbacPolicyOutcome; + typedef std::future DeleteAbacPolicyOutcomeCallable; + typedef std::function&)> DeleteAbacPolicyAsyncHandler; typedef Outcome DeleteAuthorityTemplateOutcome; typedef std::future DeleteAuthorityTemplateOutcomeCallable; typedef std::function&)> DeleteAuthorityTemplateAsyncHandler; @@ -600,6 +682,9 @@ namespace AlibabaCloud typedef Outcome DeleteScenarioOutcome; typedef std::future DeleteScenarioOutcomeCallable; typedef std::function&)> DeleteScenarioAsyncHandler; + typedef Outcome DeleteStandardGroupOutcome; + typedef std::future DeleteStandardGroupOutcomeCallable; + typedef std::function&)> DeleteStandardGroupAsyncHandler; typedef Outcome DeleteTaskOutcome; typedef std::future DeleteTaskOutcomeCallable; typedef std::function&)> DeleteTaskAsyncHandler; @@ -636,6 +721,9 @@ namespace AlibabaCloud typedef Outcome ExecuteStructSyncOutcome; typedef std::future ExecuteStructSyncOutcomeCallable; typedef std::function&)> ExecuteStructSyncAsyncHandler; + typedef Outcome GetAbacPolicyOutcome; + typedef std::future GetAbacPolicyOutcomeCallable; + typedef std::function&)> GetAbacPolicyAsyncHandler; typedef Outcome GetApprovalDetailOutcome; typedef std::future GetApprovalDetailOutcomeCallable; typedef std::function&)> GetApprovalDetailAsyncHandler; @@ -693,6 +781,15 @@ namespace AlibabaCloud typedef Outcome GetDataImportSQLOutcome; typedef std::future GetDataImportSQLOutcomeCallable; typedef std::function&)> GetDataImportSQLAsyncHandler; + typedef Outcome GetDataLakeCatalogOutcome; + typedef std::future GetDataLakeCatalogOutcomeCallable; + typedef std::function&)> GetDataLakeCatalogAsyncHandler; + typedef Outcome GetDataLakeDatabaseOutcome; + typedef std::future GetDataLakeDatabaseOutcomeCallable; + typedef std::function&)> GetDataLakeDatabaseAsyncHandler; + typedef Outcome GetDataLakeTableOutcome; + typedef std::future GetDataLakeTableOutcomeCallable; + typedef std::function&)> GetDataLakeTableAsyncHandler; typedef Outcome GetDataTrackJobDegreeOutcome; typedef std::future GetDataTrackJobDegreeOutcomeCallable; typedef std::function&)> GetDataTrackJobDegreeAsyncHandler; @@ -768,6 +865,9 @@ namespace AlibabaCloud typedef Outcome GetSQLReviewOptimizeDetailOutcome; typedef std::future GetSQLReviewOptimizeDetailOutcomeCallable; typedef std::function&)> GetSQLReviewOptimizeDetailAsyncHandler; + typedef Outcome GetStandardGroupOutcome; + typedef std::future GetStandardGroupOutcomeCallable; + typedef std::function&)> GetStandardGroupAsyncHandler; typedef Outcome GetStructSyncExecSqlDetailOutcome; typedef std::future GetStructSyncExecSqlDetailOutcomeCallable; typedef std::function&)> GetStructSyncExecSqlDetailAsyncHandler; @@ -783,6 +883,12 @@ namespace AlibabaCloud typedef Outcome GetTableDBTopologyOutcome; typedef std::future GetTableDBTopologyOutcomeCallable; typedef std::function&)> GetTableDBTopologyAsyncHandler; + typedef Outcome GetTableDesignProjectFlowOutcome; + typedef std::future GetTableDesignProjectFlowOutcomeCallable; + typedef std::function&)> GetTableDesignProjectFlowAsyncHandler; + typedef Outcome GetTableDesignProjectInfoOutcome; + typedef std::future GetTableDesignProjectInfoOutcomeCallable; + typedef std::function&)> GetTableDesignProjectInfoAsyncHandler; typedef Outcome GetTableTopologyOutcome; typedef std::future GetTableTopologyOutcomeCallable; typedef std::function&)> GetTableTopologyAsyncHandler; @@ -816,9 +922,27 @@ namespace AlibabaCloud typedef Outcome InspectProxyAccessSecretOutcome; typedef std::future InspectProxyAccessSecretOutcomeCallable; typedef std::function&)> InspectProxyAccessSecretAsyncHandler; + typedef Outcome ListAbacAuthorizationsOutcome; + typedef std::future ListAbacAuthorizationsOutcomeCallable; + typedef std::function&)> ListAbacAuthorizationsAsyncHandler; + typedef Outcome ListAbacPoliciesOutcome; + typedef std::future ListAbacPoliciesOutcomeCallable; + typedef std::function&)> ListAbacPoliciesAsyncHandler; typedef Outcome ListAuthorityTemplateOutcome; typedef std::future ListAuthorityTemplateOutcomeCallable; typedef std::function&)> ListAuthorityTemplateAsyncHandler; + typedef Outcome ListAuthorizedDatabasesForUserOutcome; + typedef std::future ListAuthorizedDatabasesForUserOutcomeCallable; + typedef std::function&)> ListAuthorizedDatabasesForUserAsyncHandler; + typedef Outcome ListAuthorizedInstancesForUserOutcome; + typedef std::future ListAuthorizedInstancesForUserOutcomeCallable; + typedef std::function&)> ListAuthorizedInstancesForUserAsyncHandler; + typedef Outcome ListAuthorizedUsersForDatabaseOutcome; + typedef std::future ListAuthorizedUsersForDatabaseOutcomeCallable; + typedef std::function&)> ListAuthorizedUsersForDatabaseAsyncHandler; + typedef Outcome ListAuthorizedUsersForInstanceOutcome; + typedef std::future ListAuthorizedUsersForInstanceOutcomeCallable; + typedef std::function&)> ListAuthorizedUsersForInstanceAsyncHandler; typedef Outcome ListClassificationTemplatesOutcome; typedef std::future ListClassificationTemplatesOutcomeCallable; typedef std::function&)> ListClassificationTemplatesAsyncHandler; @@ -849,6 +973,15 @@ namespace AlibabaCloud typedef Outcome ListDataImportSQLTypeOutcome; typedef std::future ListDataImportSQLTypeOutcomeCallable; typedef std::function&)> ListDataImportSQLTypeAsyncHandler; + typedef Outcome ListDataLakeCatalogOutcome; + typedef std::future ListDataLakeCatalogOutcomeCallable; + typedef std::function&)> ListDataLakeCatalogAsyncHandler; + typedef Outcome ListDataLakeDatabaseOutcome; + typedef std::future ListDataLakeDatabaseOutcomeCallable; + typedef std::function&)> ListDataLakeDatabaseAsyncHandler; + typedef Outcome ListDataLakeTablebaseInfoOutcome; + typedef std::future ListDataLakeTablebaseInfoOutcomeCallable; + typedef std::function&)> ListDataLakeTablebaseInfoAsyncHandler; typedef Outcome ListDatabaseUserPermssionsOutcome; typedef std::future ListDatabaseUserPermssionsOutcomeCallable; typedef std::function&)> ListDatabaseUserPermssionsAsyncHandler; @@ -912,6 +1045,9 @@ namespace AlibabaCloud typedef Outcome ListScenariosOutcome; typedef std::future ListScenariosOutcomeCallable; typedef std::function&)> ListScenariosAsyncHandler; + typedef Outcome ListSensitiveColumnInfoOutcome; + typedef std::future ListSensitiveColumnInfoOutcomeCallable; + typedef std::function&)> ListSensitiveColumnInfoAsyncHandler; typedef Outcome ListSensitiveColumnsOutcome; typedef std::future ListSensitiveColumnsOutcomeCallable; typedef std::function&)> ListSensitiveColumnsAsyncHandler; @@ -978,6 +1114,9 @@ namespace AlibabaCloud typedef Outcome ModifyDesensitizationStrategyOutcome; typedef std::future ModifyDesensitizationStrategyOutcomeCallable; typedef std::function&)> ModifyDesensitizationStrategyAsyncHandler; + typedef Outcome ModifyInstanceOutcome; + typedef std::future ModifyInstanceOutcomeCallable; + typedef std::function&)> ModifyInstanceAsyncHandler; typedef Outcome MoveTaskFlowToScenarioOutcome; typedef std::future MoveTaskFlowToScenarioOutcomeCallable; typedef std::function&)> MoveTaskFlowToScenarioAsyncHandler; @@ -987,6 +1126,9 @@ namespace AlibabaCloud typedef Outcome PauseDataCorrectSQLJobOutcome; typedef std::future PauseDataCorrectSQLJobOutcomeCallable; typedef std::function&)> PauseDataCorrectSQLJobAsyncHandler; + typedef Outcome PauseDataExportJobOutcome; + typedef std::future PauseDataExportJobOutcomeCallable; + typedef std::function&)> PauseDataExportJobAsyncHandler; typedef Outcome PreviewWorkflowOutcome; typedef std::future PreviewWorkflowOutcomeCallable; typedef std::function&)> PreviewWorkflowAsyncHandler; @@ -1011,9 +1153,15 @@ namespace AlibabaCloud typedef Outcome RegisterUserOutcome; typedef std::future RegisterUserOutcomeCallable; typedef std::function&)> RegisterUserAsyncHandler; + typedef Outcome RemoveDataExportJobOutcome; + typedef std::future RemoveDataExportJobOutcomeCallable; + typedef std::function&)> RemoveDataExportJobAsyncHandler; typedef Outcome RestartDataCorrectSQLJobOutcome; typedef std::future RestartDataCorrectSQLJobOutcomeCallable; typedef std::function&)> RestartDataCorrectSQLJobAsyncHandler; + typedef Outcome RestartDataExportJobOutcome; + typedef std::future RestartDataExportJobOutcomeCallable; + typedef std::function&)> RestartDataExportJobAsyncHandler; typedef Outcome ResumeTaskFlowInstanceOutcome; typedef std::future ResumeTaskFlowInstanceOutcomeCallable; typedef std::function&)> ResumeTaskFlowInstanceAsyncHandler; @@ -1038,6 +1186,9 @@ namespace AlibabaCloud typedef Outcome SetOwnersOutcome; typedef std::future SetOwnersOutcomeCallable; typedef std::function&)> SetOwnersAsyncHandler; + typedef Outcome SetWorkflowExtraInfoOutcome; + typedef std::future SetWorkflowExtraInfoOutcomeCallable; + typedef std::function&)> SetWorkflowExtraInfoAsyncHandler; typedef Outcome SkipDataCorrectRowCheckOutcome; typedef std::future SkipDataCorrectRowCheckOutcomeCallable; typedef std::function&)> SkipDataCorrectRowCheckAsyncHandler; @@ -1050,6 +1201,9 @@ namespace AlibabaCloud typedef Outcome SubmitStructSyncOrderApprovalOutcome; typedef std::future SubmitStructSyncOrderApprovalOutcomeCallable; typedef std::function&)> SubmitStructSyncOrderApprovalAsyncHandler; + typedef Outcome SuspendDataExportJobOutcome; + typedef std::future SuspendDataExportJobOutcomeCallable; + typedef std::function&)> SuspendDataExportJobAsyncHandler; typedef Outcome SuspendTaskFlowInstanceOutcome; typedef std::future SuspendTaskFlowInstanceOutcomeCallable; typedef std::function&)> SuspendTaskFlowInstanceAsyncHandler; @@ -1059,6 +1213,9 @@ namespace AlibabaCloud typedef Outcome SyncInstanceMetaOutcome; typedef std::future SyncInstanceMetaOutcomeCallable; typedef std::function&)> SyncInstanceMetaAsyncHandler; + typedef Outcome UpdateAbacPolicyOutcome; + typedef std::future UpdateAbacPolicyOutcomeCallable; + typedef std::function&)> UpdateAbacPolicyAsyncHandler; typedef Outcome UpdateAuthorityTemplateOutcome; typedef std::future UpdateAuthorityTemplateOutcomeCallable; typedef std::function&)> UpdateAuthorityTemplateAsyncHandler; @@ -1071,6 +1228,9 @@ namespace AlibabaCloud typedef Outcome UpdateScenarioOutcome; typedef std::future UpdateScenarioOutcomeCallable; typedef std::function&)> UpdateScenarioAsyncHandler; + typedef Outcome UpdateStandardGroupOutcome; + typedef std::future UpdateStandardGroupOutcomeCallable; + typedef std::function&)> UpdateStandardGroupAsyncHandler; typedef Outcome UpdateTaskConfigOutcome; typedef std::future UpdateTaskConfigOutcomeCallable; typedef std::function&)> UpdateTaskConfigAsyncHandler; @@ -1121,9 +1281,15 @@ namespace AlibabaCloud Dms_enterpriseClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); Dms_enterpriseClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~Dms_enterpriseClient(); + AddAuthorityTemplateItemsOutcome addAuthorityTemplateItems(const Model::AddAuthorityTemplateItemsRequest &request)const; + void addAuthorityTemplateItemsAsync(const Model::AddAuthorityTemplateItemsRequest& request, const AddAuthorityTemplateItemsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddAuthorityTemplateItemsOutcomeCallable addAuthorityTemplateItemsCallable(const Model::AddAuthorityTemplateItemsRequest& request) const; AddDesensitizationRuleOutcome addDesensitizationRule(const Model::AddDesensitizationRuleRequest &request)const; void addDesensitizationRuleAsync(const Model::AddDesensitizationRuleRequest& request, const AddDesensitizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddDesensitizationRuleOutcomeCallable addDesensitizationRuleCallable(const Model::AddDesensitizationRuleRequest& request) const; + AddInstanceOutcome addInstance(const Model::AddInstanceRequest &request)const; + void addInstanceAsync(const Model::AddInstanceRequest& request, const AddInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddInstanceOutcomeCallable addInstanceCallable(const Model::AddInstanceRequest& request) const; AddLhMembersOutcome addLhMembers(const Model::AddLhMembersRequest &request)const; void addLhMembersAsync(const Model::AddLhMembersRequest& request, const AddLhMembersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLhMembersOutcomeCallable addLhMembersCallable(const Model::AddLhMembersRequest& request) const; @@ -1157,6 +1323,12 @@ namespace AlibabaCloud CloseOrderOutcome closeOrder(const Model::CloseOrderRequest &request)const; void closeOrderAsync(const Model::CloseOrderRequest& request, const CloseOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CloseOrderOutcomeCallable closeOrderCallable(const Model::CloseOrderRequest& request) const; + CreateAbacAuthorizationOutcome createAbacAuthorization(const Model::CreateAbacAuthorizationRequest &request)const; + void createAbacAuthorizationAsync(const Model::CreateAbacAuthorizationRequest& request, const CreateAbacAuthorizationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateAbacAuthorizationOutcomeCallable createAbacAuthorizationCallable(const Model::CreateAbacAuthorizationRequest& request) const; + CreateAbacPolicyOutcome createAbacPolicy(const Model::CreateAbacPolicyRequest &request)const; + void createAbacPolicyAsync(const Model::CreateAbacPolicyRequest& request, const CreateAbacPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateAbacPolicyOutcomeCallable createAbacPolicyCallable(const Model::CreateAbacPolicyRequest& request) const; CreateAuthorityTemplateOutcome createAuthorityTemplate(const Model::CreateAuthorityTemplateRequest &request)const; void createAuthorityTemplateAsync(const Model::CreateAuthorityTemplateRequest& request, const CreateAuthorityTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateAuthorityTemplateOutcomeCallable createAuthorityTemplateCallable(const Model::CreateAuthorityTemplateRequest& request) const; @@ -1229,6 +1401,12 @@ namespace AlibabaCloud CreateUploadOSSFileJobOutcome createUploadOSSFileJob(const Model::CreateUploadOSSFileJobRequest &request)const; void createUploadOSSFileJobAsync(const Model::CreateUploadOSSFileJobRequest& request, const CreateUploadOSSFileJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateUploadOSSFileJobOutcomeCallable createUploadOSSFileJobCallable(const Model::CreateUploadOSSFileJobRequest& request) const; + DeleteAbacAuthorizationOutcome deleteAbacAuthorization(const Model::DeleteAbacAuthorizationRequest &request)const; + void deleteAbacAuthorizationAsync(const Model::DeleteAbacAuthorizationRequest& request, const DeleteAbacAuthorizationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteAbacAuthorizationOutcomeCallable deleteAbacAuthorizationCallable(const Model::DeleteAbacAuthorizationRequest& request) const; + DeleteAbacPolicyOutcome deleteAbacPolicy(const Model::DeleteAbacPolicyRequest &request)const; + void deleteAbacPolicyAsync(const Model::DeleteAbacPolicyRequest& request, const DeleteAbacPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteAbacPolicyOutcomeCallable deleteAbacPolicyCallable(const Model::DeleteAbacPolicyRequest& request) const; DeleteAuthorityTemplateOutcome deleteAuthorityTemplate(const Model::DeleteAuthorityTemplateRequest &request)const; void deleteAuthorityTemplateAsync(const Model::DeleteAuthorityTemplateRequest& request, const DeleteAuthorityTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteAuthorityTemplateOutcomeCallable deleteAuthorityTemplateCallable(const Model::DeleteAuthorityTemplateRequest& request) const; @@ -1256,6 +1434,9 @@ namespace AlibabaCloud DeleteScenarioOutcome deleteScenario(const Model::DeleteScenarioRequest &request)const; void deleteScenarioAsync(const Model::DeleteScenarioRequest& request, const DeleteScenarioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteScenarioOutcomeCallable deleteScenarioCallable(const Model::DeleteScenarioRequest& request) const; + DeleteStandardGroupOutcome deleteStandardGroup(const Model::DeleteStandardGroupRequest &request)const; + void deleteStandardGroupAsync(const Model::DeleteStandardGroupRequest& request, const DeleteStandardGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteStandardGroupOutcomeCallable deleteStandardGroupCallable(const Model::DeleteStandardGroupRequest& request) const; DeleteTaskOutcome deleteTask(const Model::DeleteTaskRequest &request)const; void deleteTaskAsync(const Model::DeleteTaskRequest& request, const DeleteTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteTaskOutcomeCallable deleteTaskCallable(const Model::DeleteTaskRequest& request) const; @@ -1292,6 +1473,9 @@ namespace AlibabaCloud ExecuteStructSyncOutcome executeStructSync(const Model::ExecuteStructSyncRequest &request)const; void executeStructSyncAsync(const Model::ExecuteStructSyncRequest& request, const ExecuteStructSyncAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ExecuteStructSyncOutcomeCallable executeStructSyncCallable(const Model::ExecuteStructSyncRequest& request) const; + GetAbacPolicyOutcome getAbacPolicy(const Model::GetAbacPolicyRequest &request)const; + void getAbacPolicyAsync(const Model::GetAbacPolicyRequest& request, const GetAbacPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetAbacPolicyOutcomeCallable getAbacPolicyCallable(const Model::GetAbacPolicyRequest& request) const; GetApprovalDetailOutcome getApprovalDetail(const Model::GetApprovalDetailRequest &request)const; void getApprovalDetailAsync(const Model::GetApprovalDetailRequest& request, const GetApprovalDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetApprovalDetailOutcomeCallable getApprovalDetailCallable(const Model::GetApprovalDetailRequest& request) const; @@ -1349,6 +1533,15 @@ namespace AlibabaCloud GetDataImportSQLOutcome getDataImportSQL(const Model::GetDataImportSQLRequest &request)const; void getDataImportSQLAsync(const Model::GetDataImportSQLRequest& request, const GetDataImportSQLAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetDataImportSQLOutcomeCallable getDataImportSQLCallable(const Model::GetDataImportSQLRequest& request) const; + GetDataLakeCatalogOutcome getDataLakeCatalog(const Model::GetDataLakeCatalogRequest &request)const; + void getDataLakeCatalogAsync(const Model::GetDataLakeCatalogRequest& request, const GetDataLakeCatalogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDataLakeCatalogOutcomeCallable getDataLakeCatalogCallable(const Model::GetDataLakeCatalogRequest& request) const; + GetDataLakeDatabaseOutcome getDataLakeDatabase(const Model::GetDataLakeDatabaseRequest &request)const; + void getDataLakeDatabaseAsync(const Model::GetDataLakeDatabaseRequest& request, const GetDataLakeDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDataLakeDatabaseOutcomeCallable getDataLakeDatabaseCallable(const Model::GetDataLakeDatabaseRequest& request) const; + GetDataLakeTableOutcome getDataLakeTable(const Model::GetDataLakeTableRequest &request)const; + void getDataLakeTableAsync(const Model::GetDataLakeTableRequest& request, const GetDataLakeTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDataLakeTableOutcomeCallable getDataLakeTableCallable(const Model::GetDataLakeTableRequest& request) const; GetDataTrackJobDegreeOutcome getDataTrackJobDegree(const Model::GetDataTrackJobDegreeRequest &request)const; void getDataTrackJobDegreeAsync(const Model::GetDataTrackJobDegreeRequest& request, const GetDataTrackJobDegreeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetDataTrackJobDegreeOutcomeCallable getDataTrackJobDegreeCallable(const Model::GetDataTrackJobDegreeRequest& request) const; @@ -1424,6 +1617,9 @@ namespace AlibabaCloud GetSQLReviewOptimizeDetailOutcome getSQLReviewOptimizeDetail(const Model::GetSQLReviewOptimizeDetailRequest &request)const; void getSQLReviewOptimizeDetailAsync(const Model::GetSQLReviewOptimizeDetailRequest& request, const GetSQLReviewOptimizeDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetSQLReviewOptimizeDetailOutcomeCallable getSQLReviewOptimizeDetailCallable(const Model::GetSQLReviewOptimizeDetailRequest& request) const; + GetStandardGroupOutcome getStandardGroup(const Model::GetStandardGroupRequest &request)const; + void getStandardGroupAsync(const Model::GetStandardGroupRequest& request, const GetStandardGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetStandardGroupOutcomeCallable getStandardGroupCallable(const Model::GetStandardGroupRequest& request) const; GetStructSyncExecSqlDetailOutcome getStructSyncExecSqlDetail(const Model::GetStructSyncExecSqlDetailRequest &request)const; void getStructSyncExecSqlDetailAsync(const Model::GetStructSyncExecSqlDetailRequest& request, const GetStructSyncExecSqlDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetStructSyncExecSqlDetailOutcomeCallable getStructSyncExecSqlDetailCallable(const Model::GetStructSyncExecSqlDetailRequest& request) const; @@ -1439,6 +1635,12 @@ namespace AlibabaCloud GetTableDBTopologyOutcome getTableDBTopology(const Model::GetTableDBTopologyRequest &request)const; void getTableDBTopologyAsync(const Model::GetTableDBTopologyRequest& request, const GetTableDBTopologyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetTableDBTopologyOutcomeCallable getTableDBTopologyCallable(const Model::GetTableDBTopologyRequest& request) const; + GetTableDesignProjectFlowOutcome getTableDesignProjectFlow(const Model::GetTableDesignProjectFlowRequest &request)const; + void getTableDesignProjectFlowAsync(const Model::GetTableDesignProjectFlowRequest& request, const GetTableDesignProjectFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTableDesignProjectFlowOutcomeCallable getTableDesignProjectFlowCallable(const Model::GetTableDesignProjectFlowRequest& request) const; + GetTableDesignProjectInfoOutcome getTableDesignProjectInfo(const Model::GetTableDesignProjectInfoRequest &request)const; + void getTableDesignProjectInfoAsync(const Model::GetTableDesignProjectInfoRequest& request, const GetTableDesignProjectInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTableDesignProjectInfoOutcomeCallable getTableDesignProjectInfoCallable(const Model::GetTableDesignProjectInfoRequest& request) const; GetTableTopologyOutcome getTableTopology(const Model::GetTableTopologyRequest &request)const; void getTableTopologyAsync(const Model::GetTableTopologyRequest& request, const GetTableTopologyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetTableTopologyOutcomeCallable getTableTopologyCallable(const Model::GetTableTopologyRequest& request) const; @@ -1472,9 +1674,27 @@ namespace AlibabaCloud InspectProxyAccessSecretOutcome inspectProxyAccessSecret(const Model::InspectProxyAccessSecretRequest &request)const; void inspectProxyAccessSecretAsync(const Model::InspectProxyAccessSecretRequest& request, const InspectProxyAccessSecretAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; InspectProxyAccessSecretOutcomeCallable inspectProxyAccessSecretCallable(const Model::InspectProxyAccessSecretRequest& request) const; + ListAbacAuthorizationsOutcome listAbacAuthorizations(const Model::ListAbacAuthorizationsRequest &request)const; + void listAbacAuthorizationsAsync(const Model::ListAbacAuthorizationsRequest& request, const ListAbacAuthorizationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAbacAuthorizationsOutcomeCallable listAbacAuthorizationsCallable(const Model::ListAbacAuthorizationsRequest& request) const; + ListAbacPoliciesOutcome listAbacPolicies(const Model::ListAbacPoliciesRequest &request)const; + void listAbacPoliciesAsync(const Model::ListAbacPoliciesRequest& request, const ListAbacPoliciesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAbacPoliciesOutcomeCallable listAbacPoliciesCallable(const Model::ListAbacPoliciesRequest& request) const; ListAuthorityTemplateOutcome listAuthorityTemplate(const Model::ListAuthorityTemplateRequest &request)const; void listAuthorityTemplateAsync(const Model::ListAuthorityTemplateRequest& request, const ListAuthorityTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListAuthorityTemplateOutcomeCallable listAuthorityTemplateCallable(const Model::ListAuthorityTemplateRequest& request) const; + ListAuthorizedDatabasesForUserOutcome listAuthorizedDatabasesForUser(const Model::ListAuthorizedDatabasesForUserRequest &request)const; + void listAuthorizedDatabasesForUserAsync(const Model::ListAuthorizedDatabasesForUserRequest& request, const ListAuthorizedDatabasesForUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAuthorizedDatabasesForUserOutcomeCallable listAuthorizedDatabasesForUserCallable(const Model::ListAuthorizedDatabasesForUserRequest& request) const; + ListAuthorizedInstancesForUserOutcome listAuthorizedInstancesForUser(const Model::ListAuthorizedInstancesForUserRequest &request)const; + void listAuthorizedInstancesForUserAsync(const Model::ListAuthorizedInstancesForUserRequest& request, const ListAuthorizedInstancesForUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAuthorizedInstancesForUserOutcomeCallable listAuthorizedInstancesForUserCallable(const Model::ListAuthorizedInstancesForUserRequest& request) const; + ListAuthorizedUsersForDatabaseOutcome listAuthorizedUsersForDatabase(const Model::ListAuthorizedUsersForDatabaseRequest &request)const; + void listAuthorizedUsersForDatabaseAsync(const Model::ListAuthorizedUsersForDatabaseRequest& request, const ListAuthorizedUsersForDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAuthorizedUsersForDatabaseOutcomeCallable listAuthorizedUsersForDatabaseCallable(const Model::ListAuthorizedUsersForDatabaseRequest& request) const; + ListAuthorizedUsersForInstanceOutcome listAuthorizedUsersForInstance(const Model::ListAuthorizedUsersForInstanceRequest &request)const; + void listAuthorizedUsersForInstanceAsync(const Model::ListAuthorizedUsersForInstanceRequest& request, const ListAuthorizedUsersForInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAuthorizedUsersForInstanceOutcomeCallable listAuthorizedUsersForInstanceCallable(const Model::ListAuthorizedUsersForInstanceRequest& request) const; ListClassificationTemplatesOutcome listClassificationTemplates(const Model::ListClassificationTemplatesRequest &request)const; void listClassificationTemplatesAsync(const Model::ListClassificationTemplatesRequest& request, const ListClassificationTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClassificationTemplatesOutcomeCallable listClassificationTemplatesCallable(const Model::ListClassificationTemplatesRequest& request) const; @@ -1505,6 +1725,15 @@ namespace AlibabaCloud ListDataImportSQLTypeOutcome listDataImportSQLType(const Model::ListDataImportSQLTypeRequest &request)const; void listDataImportSQLTypeAsync(const Model::ListDataImportSQLTypeRequest& request, const ListDataImportSQLTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDataImportSQLTypeOutcomeCallable listDataImportSQLTypeCallable(const Model::ListDataImportSQLTypeRequest& request) const; + ListDataLakeCatalogOutcome listDataLakeCatalog(const Model::ListDataLakeCatalogRequest &request)const; + void listDataLakeCatalogAsync(const Model::ListDataLakeCatalogRequest& request, const ListDataLakeCatalogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDataLakeCatalogOutcomeCallable listDataLakeCatalogCallable(const Model::ListDataLakeCatalogRequest& request) const; + ListDataLakeDatabaseOutcome listDataLakeDatabase(const Model::ListDataLakeDatabaseRequest &request)const; + void listDataLakeDatabaseAsync(const Model::ListDataLakeDatabaseRequest& request, const ListDataLakeDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDataLakeDatabaseOutcomeCallable listDataLakeDatabaseCallable(const Model::ListDataLakeDatabaseRequest& request) const; + ListDataLakeTablebaseInfoOutcome listDataLakeTablebaseInfo(const Model::ListDataLakeTablebaseInfoRequest &request)const; + void listDataLakeTablebaseInfoAsync(const Model::ListDataLakeTablebaseInfoRequest& request, const ListDataLakeTablebaseInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDataLakeTablebaseInfoOutcomeCallable listDataLakeTablebaseInfoCallable(const Model::ListDataLakeTablebaseInfoRequest& request) const; ListDatabaseUserPermssionsOutcome listDatabaseUserPermssions(const Model::ListDatabaseUserPermssionsRequest &request)const; void listDatabaseUserPermssionsAsync(const Model::ListDatabaseUserPermssionsRequest& request, const ListDatabaseUserPermssionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDatabaseUserPermssionsOutcomeCallable listDatabaseUserPermssionsCallable(const Model::ListDatabaseUserPermssionsRequest& request) const; @@ -1568,6 +1797,9 @@ namespace AlibabaCloud ListScenariosOutcome listScenarios(const Model::ListScenariosRequest &request)const; void listScenariosAsync(const Model::ListScenariosRequest& request, const ListScenariosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListScenariosOutcomeCallable listScenariosCallable(const Model::ListScenariosRequest& request) const; + ListSensitiveColumnInfoOutcome listSensitiveColumnInfo(const Model::ListSensitiveColumnInfoRequest &request)const; + void listSensitiveColumnInfoAsync(const Model::ListSensitiveColumnInfoRequest& request, const ListSensitiveColumnInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSensitiveColumnInfoOutcomeCallable listSensitiveColumnInfoCallable(const Model::ListSensitiveColumnInfoRequest& request) const; ListSensitiveColumnsOutcome listSensitiveColumns(const Model::ListSensitiveColumnsRequest &request)const; void listSensitiveColumnsAsync(const Model::ListSensitiveColumnsRequest& request, const ListSensitiveColumnsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListSensitiveColumnsOutcomeCallable listSensitiveColumnsCallable(const Model::ListSensitiveColumnsRequest& request) const; @@ -1634,6 +1866,9 @@ namespace AlibabaCloud ModifyDesensitizationStrategyOutcome modifyDesensitizationStrategy(const Model::ModifyDesensitizationStrategyRequest &request)const; void modifyDesensitizationStrategyAsync(const Model::ModifyDesensitizationStrategyRequest& request, const ModifyDesensitizationStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDesensitizationStrategyOutcomeCallable modifyDesensitizationStrategyCallable(const Model::ModifyDesensitizationStrategyRequest& request) const; + ModifyInstanceOutcome modifyInstance(const Model::ModifyInstanceRequest &request)const; + void modifyInstanceAsync(const Model::ModifyInstanceRequest& request, const ModifyInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyInstanceOutcomeCallable modifyInstanceCallable(const Model::ModifyInstanceRequest& request) const; MoveTaskFlowToScenarioOutcome moveTaskFlowToScenario(const Model::MoveTaskFlowToScenarioRequest &request)const; void moveTaskFlowToScenarioAsync(const Model::MoveTaskFlowToScenarioRequest& request, const MoveTaskFlowToScenarioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; MoveTaskFlowToScenarioOutcomeCallable moveTaskFlowToScenarioCallable(const Model::MoveTaskFlowToScenarioRequest& request) const; @@ -1643,6 +1878,9 @@ namespace AlibabaCloud PauseDataCorrectSQLJobOutcome pauseDataCorrectSQLJob(const Model::PauseDataCorrectSQLJobRequest &request)const; void pauseDataCorrectSQLJobAsync(const Model::PauseDataCorrectSQLJobRequest& request, const PauseDataCorrectSQLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PauseDataCorrectSQLJobOutcomeCallable pauseDataCorrectSQLJobCallable(const Model::PauseDataCorrectSQLJobRequest& request) const; + PauseDataExportJobOutcome pauseDataExportJob(const Model::PauseDataExportJobRequest &request)const; + void pauseDataExportJobAsync(const Model::PauseDataExportJobRequest& request, const PauseDataExportJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PauseDataExportJobOutcomeCallable pauseDataExportJobCallable(const Model::PauseDataExportJobRequest& request) const; PreviewWorkflowOutcome previewWorkflow(const Model::PreviewWorkflowRequest &request)const; void previewWorkflowAsync(const Model::PreviewWorkflowRequest& request, const PreviewWorkflowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PreviewWorkflowOutcomeCallable previewWorkflowCallable(const Model::PreviewWorkflowRequest& request) const; @@ -1667,9 +1905,15 @@ namespace AlibabaCloud RegisterUserOutcome registerUser(const Model::RegisterUserRequest &request)const; void registerUserAsync(const Model::RegisterUserRequest& request, const RegisterUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RegisterUserOutcomeCallable registerUserCallable(const Model::RegisterUserRequest& request) const; + RemoveDataExportJobOutcome removeDataExportJob(const Model::RemoveDataExportJobRequest &request)const; + void removeDataExportJobAsync(const Model::RemoveDataExportJobRequest& request, const RemoveDataExportJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveDataExportJobOutcomeCallable removeDataExportJobCallable(const Model::RemoveDataExportJobRequest& request) const; RestartDataCorrectSQLJobOutcome restartDataCorrectSQLJob(const Model::RestartDataCorrectSQLJobRequest &request)const; void restartDataCorrectSQLJobAsync(const Model::RestartDataCorrectSQLJobRequest& request, const RestartDataCorrectSQLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RestartDataCorrectSQLJobOutcomeCallable restartDataCorrectSQLJobCallable(const Model::RestartDataCorrectSQLJobRequest& request) const; + RestartDataExportJobOutcome restartDataExportJob(const Model::RestartDataExportJobRequest &request)const; + void restartDataExportJobAsync(const Model::RestartDataExportJobRequest& request, const RestartDataExportJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RestartDataExportJobOutcomeCallable restartDataExportJobCallable(const Model::RestartDataExportJobRequest& request) const; ResumeTaskFlowInstanceOutcome resumeTaskFlowInstance(const Model::ResumeTaskFlowInstanceRequest &request)const; void resumeTaskFlowInstanceAsync(const Model::ResumeTaskFlowInstanceRequest& request, const ResumeTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResumeTaskFlowInstanceOutcomeCallable resumeTaskFlowInstanceCallable(const Model::ResumeTaskFlowInstanceRequest& request) const; @@ -1694,6 +1938,9 @@ namespace AlibabaCloud SetOwnersOutcome setOwners(const Model::SetOwnersRequest &request)const; void setOwnersAsync(const Model::SetOwnersRequest& request, const SetOwnersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetOwnersOutcomeCallable setOwnersCallable(const Model::SetOwnersRequest& request) const; + SetWorkflowExtraInfoOutcome setWorkflowExtraInfo(const Model::SetWorkflowExtraInfoRequest &request)const; + void setWorkflowExtraInfoAsync(const Model::SetWorkflowExtraInfoRequest& request, const SetWorkflowExtraInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetWorkflowExtraInfoOutcomeCallable setWorkflowExtraInfoCallable(const Model::SetWorkflowExtraInfoRequest& request) const; SkipDataCorrectRowCheckOutcome skipDataCorrectRowCheck(const Model::SkipDataCorrectRowCheckRequest &request)const; void skipDataCorrectRowCheckAsync(const Model::SkipDataCorrectRowCheckRequest& request, const SkipDataCorrectRowCheckAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SkipDataCorrectRowCheckOutcomeCallable skipDataCorrectRowCheckCallable(const Model::SkipDataCorrectRowCheckRequest& request) const; @@ -1706,6 +1953,9 @@ namespace AlibabaCloud SubmitStructSyncOrderApprovalOutcome submitStructSyncOrderApproval(const Model::SubmitStructSyncOrderApprovalRequest &request)const; void submitStructSyncOrderApprovalAsync(const Model::SubmitStructSyncOrderApprovalRequest& request, const SubmitStructSyncOrderApprovalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitStructSyncOrderApprovalOutcomeCallable submitStructSyncOrderApprovalCallable(const Model::SubmitStructSyncOrderApprovalRequest& request) const; + SuspendDataExportJobOutcome suspendDataExportJob(const Model::SuspendDataExportJobRequest &request)const; + void suspendDataExportJobAsync(const Model::SuspendDataExportJobRequest& request, const SuspendDataExportJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SuspendDataExportJobOutcomeCallable suspendDataExportJobCallable(const Model::SuspendDataExportJobRequest& request) const; SuspendTaskFlowInstanceOutcome suspendTaskFlowInstance(const Model::SuspendTaskFlowInstanceRequest &request)const; void suspendTaskFlowInstanceAsync(const Model::SuspendTaskFlowInstanceRequest& request, const SuspendTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SuspendTaskFlowInstanceOutcomeCallable suspendTaskFlowInstanceCallable(const Model::SuspendTaskFlowInstanceRequest& request) const; @@ -1715,6 +1965,9 @@ namespace AlibabaCloud SyncInstanceMetaOutcome syncInstanceMeta(const Model::SyncInstanceMetaRequest &request)const; void syncInstanceMetaAsync(const Model::SyncInstanceMetaRequest& request, const SyncInstanceMetaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SyncInstanceMetaOutcomeCallable syncInstanceMetaCallable(const Model::SyncInstanceMetaRequest& request) const; + UpdateAbacPolicyOutcome updateAbacPolicy(const Model::UpdateAbacPolicyRequest &request)const; + void updateAbacPolicyAsync(const Model::UpdateAbacPolicyRequest& request, const UpdateAbacPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateAbacPolicyOutcomeCallable updateAbacPolicyCallable(const Model::UpdateAbacPolicyRequest& request) const; UpdateAuthorityTemplateOutcome updateAuthorityTemplate(const Model::UpdateAuthorityTemplateRequest &request)const; void updateAuthorityTemplateAsync(const Model::UpdateAuthorityTemplateRequest& request, const UpdateAuthorityTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateAuthorityTemplateOutcomeCallable updateAuthorityTemplateCallable(const Model::UpdateAuthorityTemplateRequest& request) const; @@ -1727,6 +1980,9 @@ namespace AlibabaCloud UpdateScenarioOutcome updateScenario(const Model::UpdateScenarioRequest &request)const; void updateScenarioAsync(const Model::UpdateScenarioRequest& request, const UpdateScenarioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateScenarioOutcomeCallable updateScenarioCallable(const Model::UpdateScenarioRequest& request) const; + UpdateStandardGroupOutcome updateStandardGroup(const Model::UpdateStandardGroupRequest &request)const; + void updateStandardGroupAsync(const Model::UpdateStandardGroupRequest& request, const UpdateStandardGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateStandardGroupOutcomeCallable updateStandardGroupCallable(const Model::UpdateStandardGroupRequest& request) const; UpdateTaskConfigOutcome updateTaskConfig(const Model::UpdateTaskConfigRequest &request)const; void updateTaskConfigAsync(const Model::UpdateTaskConfigRequest& request, const UpdateTaskConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateTaskConfigOutcomeCallable updateTaskConfigCallable(const Model::UpdateTaskConfigRequest& request) const; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddAuthorityTemplateItemsRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddAuthorityTemplateItemsRequest.h new file mode 100644 index 000000000..dec1a37c4 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddAuthorityTemplateItemsRequest.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_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddAuthorityTemplateItemsRequest : public RpcServiceRequest { +public: + struct Items { + int instanceId; + int dbId; + std::string string; + std::vector permissionTypes; + std::string tableName; + std::string resourceType; + }; + AddAuthorityTemplateItemsRequest(); + ~AddAuthorityTemplateItemsRequest(); + long getTid() const; + void setTid(long tid); + long getTemplateId() const; + void setTemplateId(long templateId); + std::vector getItems() const; + void setItems(const std::vector &items); + +private: + long tid_; + long templateId_; + std::vector items_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddAuthorityTemplateItemsResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddAuthorityTemplateItemsResult.h new file mode 100644 index 000000000..8f017a1ff --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddAuthorityTemplateItemsResult.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_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddAuthorityTemplateItemsResult : public ServiceResult + { + public: + + + AddAuthorityTemplateItemsResult(); + explicit AddAuthorityTemplateItemsResult(const std::string &payload); + ~AddAuthorityTemplateItemsResult(); + bool getData()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool data_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddInstanceRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddInstanceRequest.h new file mode 100644 index 000000000..c112b2220 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddInstanceRequest.h @@ -0,0 +1,126 @@ +/* + * 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_DMS_ENTERPRISE_MODEL_ADDINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddInstanceRequest : public RpcServiceRequest { +public: + AddInstanceRequest(); + ~AddInstanceRequest(); + std::string getEcsRegion() const; + void setEcsRegion(const std::string &ecsRegion); + std::string getNetworkType() const; + void setNetworkType(const std::string &networkType); + long getTid() const; + void setTid(long tid); + int getUseSsl() const; + void setUseSsl(int useSsl); + std::string getEnableSellCommon() const; + void setEnableSellCommon(const std::string &enableSellCommon); + std::string getEnableSellSitd() const; + void setEnableSellSitd(const std::string &enableSellSitd); + std::string getInstanceSource() const; + void setInstanceSource(const std::string &instanceSource); + std::string getEnvType() const; + void setEnvType(const std::string &envType); + std::string getHost() const; + void setHost(const std::string &host); + int getQueryTimeout() const; + void setQueryTimeout(int queryTimeout); + std::string getEcsInstanceId() const; + void setEcsInstanceId(const std::string &ecsInstanceId); + int getExportTimeout() const; + void setExportTimeout(int exportTimeout); + long getTemplateId() const; + void setTemplateId(long templateId); + std::string getEnableSellTrust() const; + void setEnableSellTrust(const std::string &enableSellTrust); + int getPort() const; + void setPort(int port); + std::string getSafeRule() const; + void setSafeRule(const std::string &safeRule); + int getDdlOnline() const; + void setDdlOnline(int ddlOnline); + int getUseDsql() const; + void setUseDsql(int useDsql); + std::string getEnableSellStable() const; + void setEnableSellStable(const std::string &enableSellStable); + std::string getSid() const; + void setSid(const std::string &sid); + long getDbaId() const; + void setDbaId(long dbaId); + std::string getDataLinkName() const; + void setDataLinkName(const std::string &dataLinkName); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); + std::string getInstanceType() const; + void setInstanceType(const std::string &instanceType); + std::string getDatabasePassword() const; + void setDatabasePassword(const std::string &databasePassword); + std::string getInstanceAlias() const; + void setInstanceAlias(const std::string &instanceAlias); + std::string getDatabaseUser() const; + void setDatabaseUser(const std::string &databaseUser); + std::string getVpcId() const; + void setVpcId(const std::string &vpcId); + bool getSkipTest() const; + void setSkipTest(bool skipTest); + +private: + std::string ecsRegion_; + std::string networkType_; + long tid_; + int useSsl_; + std::string enableSellCommon_; + std::string enableSellSitd_; + std::string instanceSource_; + std::string envType_; + std::string host_; + int queryTimeout_; + std::string ecsInstanceId_; + int exportTimeout_; + long templateId_; + std::string enableSellTrust_; + int port_; + std::string safeRule_; + int ddlOnline_; + int useDsql_; + std::string enableSellStable_; + std::string sid_; + long dbaId_; + std::string dataLinkName_; + std::string templateType_; + std::string instanceType_; + std::string databasePassword_; + std::string instanceAlias_; + std::string databaseUser_; + std::string vpcId_; + bool skipTest_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDINSTANCEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddInstanceResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddInstanceResult.h new file mode 100644 index 000000000..88f8036eb --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddInstanceResult.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_DMS_ENTERPRISE_MODEL_ADDINSTANCERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddInstanceResult : public ServiceResult + { + public: + + + AddInstanceResult(); + explicit AddInstanceResult(const std::string &payload); + ~AddInstanceResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDINSTANCERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h index 865bde044..e458f5d0d 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h @@ -42,10 +42,14 @@ public: void setApprovalNodeId(long approvalNodeId); long getOldApprover() const; void setOldApprover(long oldApprover); + std::string getRealLoginUserUid() const; + void setRealLoginUserUid(const std::string &realLoginUserUid); std::string getComment() const; void setComment(const std::string &comment); std::string getApprovalNodePos() const; void setApprovalNodePos(const std::string &approvalNodePos); + std::string getNewApproverList() const; + void setNewApproverList(const std::string &newApproverList); private: long tid_; @@ -54,8 +58,10 @@ private: long newApprover_; long approvalNodeId_; long oldApprover_; + std::string realLoginUserUid_; std::string comment_; std::string approvalNodePos_; + std::string newApproverList_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacAuthorizationRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacAuthorizationRequest.h new file mode 100644 index 000000000..9b8695486 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacAuthorizationRequest.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_DMS_ENTERPRISE_MODEL_CREATEABACAUTHORIZATIONREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACAUTHORIZATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateAbacAuthorizationRequest : public RpcServiceRequest { +public: + CreateAbacAuthorizationRequest(); + ~CreateAbacAuthorizationRequest(); + long getRoleId() const; + void setRoleId(long roleId); + long getUserId() const; + void setUserId(long userId); + long getTid() const; + void setTid(long tid); + long getPolicyId() const; + void setPolicyId(long policyId); + std::string getIdentityType() const; + void setIdentityType(const std::string &identityType); + +private: + long roleId_; + long userId_; + long tid_; + long policyId_; + std::string identityType_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACAUTHORIZATIONREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacAuthorizationResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacAuthorizationResult.h new file mode 100644 index 000000000..7720e2420 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacAuthorizationResult.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_DMS_ENTERPRISE_MODEL_CREATEABACAUTHORIZATIONRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACAUTHORIZATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateAbacAuthorizationResult : public ServiceResult + { + public: + + + CreateAbacAuthorizationResult(); + explicit CreateAbacAuthorizationResult(const std::string &payload); + ~CreateAbacAuthorizationResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + std::string getResult()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + std::string result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACAUTHORIZATIONRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacPolicyRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacPolicyRequest.h new file mode 100644 index 000000000..45b5e960b --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacPolicyRequest.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_DMS_ENTERPRISE_MODEL_CREATEABACPOLICYREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateAbacPolicyRequest : public RpcServiceRequest { +public: + CreateAbacPolicyRequest(); + ~CreateAbacPolicyRequest(); + std::string getAbacPolicyContent() const; + void setAbacPolicyContent(const std::string &abacPolicyContent); + long getTid() const; + void setTid(long tid); + std::string getAbacPolicyDesc() const; + void setAbacPolicyDesc(const std::string &abacPolicyDesc); + std::string getAbacPolicyName() const; + void setAbacPolicyName(const std::string &abacPolicyName); + +private: + std::string abacPolicyContent_; + long tid_; + std::string abacPolicyDesc_; + std::string abacPolicyName_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACPOLICYREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacPolicyResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacPolicyResult.h new file mode 100644 index 000000000..e3472d484 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateAbacPolicyResult.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_DMS_ENTERPRISE_MODEL_CREATEABACPOLICYRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateAbacPolicyResult : public ServiceResult + { + public: + + + CreateAbacPolicyResult(); + explicit CreateAbacPolicyResult(const std::string &payload); + ~CreateAbacPolicyResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + long getCreatePolicyResult()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + long createPolicyResult_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACPOLICYRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataArchiveOrderRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataArchiveOrderRequest.h index a751f473c..f0d0d34ac 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataArchiveOrderRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataArchiveOrderRequest.h @@ -41,18 +41,19 @@ public: std::vector tableMapping; std::string string; std::vector orderAfter; - std::string sourceCatalogName; - std::string runMethod; std::string targetInstanceHost; - bool logic; - std::string sourceSchemaName; - std::string archiveMethod; struct TableIncludesItem { std::string tableWhere; std::string tableName; }; TableIncludesItem tableIncludesItem; std::vector tableIncludes; + std::string sourceCatalogName; + std::string runMethod; + bool logic; + std::string sourceSchemaName; + std::string archiveMethod; + std::string databaseId; }; CreateDataArchiveOrderRequest(); ~CreateDataArchiveOrderRequest(); diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataCorrectOrderRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataCorrectOrderRequest.h index 64b34c094..9fa457881 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataCorrectOrderRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataCorrectOrderRequest.h @@ -53,6 +53,8 @@ public: void setParam(const Param ¶m); std::vector getRelatedUserList() const; void setRelatedUserList(const std::vector &relatedUserList); + std::string getRealLoginUserUid() const; + void setRealLoginUserUid(const std::string &realLoginUserUid); std::string getAttachmentKey() const; void setAttachmentKey(const std::string &attachmentKey); std::string getComment() const; @@ -62,6 +64,7 @@ private: long tid_; Param param_; std::vector relatedUserList_; + std::string realLoginUserUid_; std::string attachmentKey_; std::string comment_; }; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataExportOrderRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataExportOrderRequest.h index 404b2fb13..8ff22484e 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataExportOrderRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateDataExportOrderRequest.h @@ -58,6 +58,8 @@ public: void setRelatedUserList(const std::vector &relatedUserList); PluginParam getPluginParam() const; void setPluginParam(const PluginParam &pluginParam); + std::string getRealLoginUserUid() const; + void setRealLoginUserUid(const std::string &realLoginUserUid); std::string getAttachmentKey() const; void setAttachmentKey(const std::string &attachmentKey); std::string getComment() const; @@ -68,6 +70,7 @@ private: long tid_; std::vector relatedUserList_; PluginParam pluginParam_; + std::string realLoginUserUid_; std::string attachmentKey_; std::string comment_; }; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateStandardGroupResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateStandardGroupResult.h index 1ae5b9302..dab08042f 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateStandardGroupResult.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateStandardGroupResult.h @@ -39,6 +39,7 @@ namespace AlibabaCloud long lastMenderId; std::string groupMode; std::string dbType; + long groupId; }; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacAuthorizationRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacAuthorizationRequest.h new file mode 100644 index 000000000..27032a006 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacAuthorizationRequest.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_DMS_ENTERPRISE_MODEL_DELETEABACAUTHORIZATIONREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEABACAUTHORIZATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteAbacAuthorizationRequest : public RpcServiceRequest { +public: + DeleteAbacAuthorizationRequest(); + ~DeleteAbacAuthorizationRequest(); + long getTid() const; + void setTid(long tid); + std::string getIdentityType() const; + void setIdentityType(const std::string &identityType); + long getAuthorizationId() const; + void setAuthorizationId(long authorizationId); + +private: + long tid_; + std::string identityType_; + long authorizationId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEABACAUTHORIZATIONREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacAuthorizationResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacAuthorizationResult.h new file mode 100644 index 000000000..39acf540d --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacAuthorizationResult.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_DMS_ENTERPRISE_MODEL_DELETEABACAUTHORIZATIONRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEABACAUTHORIZATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteAbacAuthorizationResult : public ServiceResult + { + public: + + + DeleteAbacAuthorizationResult(); + explicit DeleteAbacAuthorizationResult(const std::string &payload); + ~DeleteAbacAuthorizationResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + std::string getResult()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + std::string result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEABACAUTHORIZATIONRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacPolicyRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacPolicyRequest.h new file mode 100644 index 000000000..872db0306 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacPolicyRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEABACPOLICYREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEABACPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteAbacPolicyRequest : public RpcServiceRequest { +public: + DeleteAbacPolicyRequest(); + ~DeleteAbacPolicyRequest(); + long getTid() const; + void setTid(long tid); + long getAbacPolicyId() const; + void setAbacPolicyId(long abacPolicyId); + +private: + long tid_; + long abacPolicyId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEABACPOLICYREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacPolicyResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacPolicyResult.h new file mode 100644 index 000000000..2f22668dc --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteAbacPolicyResult.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_DMS_ENTERPRISE_MODEL_DELETEABACPOLICYRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEABACPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteAbacPolicyResult : public ServiceResult + { + public: + + + DeleteAbacPolicyResult(); + explicit DeleteAbacPolicyResult(const std::string &payload); + ~DeleteAbacPolicyResult(); + bool getDeletePolicyResult()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool deletePolicyResult_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEABACPOLICYRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteStandardGroupRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteStandardGroupRequest.h new file mode 100644 index 000000000..ed38b4edb --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteStandardGroupRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETESTANDARDGROUPREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETESTANDARDGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteStandardGroupRequest : public RpcServiceRequest { +public: + DeleteStandardGroupRequest(); + ~DeleteStandardGroupRequest(); + long getTid() const; + void setTid(long tid); + long getGroupId() const; + void setGroupId(long groupId); + +private: + long tid_; + long groupId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETESTANDARDGROUPREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteStandardGroupResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteStandardGroupResult.h new file mode 100644 index 000000000..901865285 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteStandardGroupResult.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_DMS_ENTERPRISE_MODEL_DELETESTANDARDGROUPRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETESTANDARDGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteStandardGroupResult : public ServiceResult + { + public: + + + DeleteStandardGroupResult(); + explicit DeleteStandardGroupResult(const std::string &payload); + ~DeleteStandardGroupResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETESTANDARDGROUPRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ExecuteDataCorrectRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ExecuteDataCorrectRequest.h index ac8cb3d72..5077de27a 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ExecuteDataCorrectRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ExecuteDataCorrectRequest.h @@ -38,12 +38,15 @@ public: void setOrderId(long orderId); std::string getActionName() const; void setActionName(const std::string &actionName); + std::string getRealLoginUserUid() const; + void setRealLoginUserUid(const std::string &realLoginUserUid); private: std::string tid_; std::map actionDetail_; long orderId_; std::string actionName_; + std::string realLoginUserUid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ExecuteDataExportRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ExecuteDataExportRequest.h index 91b2d47dc..fe1b03502 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ExecuteDataExportRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ExecuteDataExportRequest.h @@ -38,12 +38,15 @@ public: void setOrderId(long orderId); std::string getActionName() const; void setActionName(const std::string &actionName); + std::string getRealLoginUserUid() const; + void setRealLoginUserUid(const std::string &realLoginUserUid); private: long tid_; std::map actionDetail_; long orderId_; std::string actionName_; + std::string realLoginUserUid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetAbacPolicyRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetAbacPolicyRequest.h new file mode 100644 index 000000000..967ec7153 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetAbacPolicyRequest.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_DMS_ENTERPRISE_MODEL_GETABACPOLICYREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETABACPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetAbacPolicyRequest : public RpcServiceRequest { +public: + GetAbacPolicyRequest(); + ~GetAbacPolicyRequest(); + long getTid() const; + void setTid(long tid); + long getAbacPolicyId() const; + void setAbacPolicyId(long abacPolicyId); + std::string getAbacPolicyName() const; + void setAbacPolicyName(const std::string &abacPolicyName); + +private: + long tid_; + long abacPolicyId_; + std::string abacPolicyName_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETABACPOLICYREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetAbacPolicyResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetAbacPolicyResult.h new file mode 100644 index 000000000..fb2d885b6 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetAbacPolicyResult.h @@ -0,0 +1,67 @@ +/* + * 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_DMS_ENTERPRISE_MODEL_GETABACPOLICYRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETABACPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetAbacPolicyResult : public ServiceResult + { + public: + struct Policy + { + std::string policyDesc; + long creatorId; + std::string policyName; + std::string policySource; + std::string authorizedQuantity; + long policyId; + std::string policyContent; + }; + + + GetAbacPolicyResult(); + explicit GetAbacPolicyResult(const std::string &payload); + ~GetAbacPolicyResult(); + Policy getPolicy()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Policy policy_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETABACPOLICYRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetApprovalDetailResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetApprovalDetailResult.h index 55be25154..c62d91817 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetApprovalDetailResult.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetApprovalDetailResult.h @@ -49,15 +49,17 @@ namespace AlibabaCloud std::string nickName; }; std::vector currentHandlers; + std::string thirdpartyWorkflowUrl; std::vector reasonList; std::string description; - std::string orderType; std::string workflowInsCode; + std::string thirdpartyWorkflowComment; std::string createTime; - long auditId; std::string title; std::vector workflowNodes; long orderId; + std::string orderType; + long auditId; long templateId; }; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataCorrectOrderDetailResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataCorrectOrderDetailResult.h index a5632ddb3..514eefc8a 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataCorrectOrderDetailResult.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataCorrectOrderDetailResult.h @@ -48,6 +48,35 @@ namespace AlibabaCloud std::string rbAttachmentName; std::string rbSQL; }; + struct ConfigDetail + { + struct ImportExtConfig + { + std::string importMode; + bool csvFirstRowIsColumnDef; + bool ignoreError; + std::string insertType; + }; + struct CronExtConfig + { + int currentClearTaskCount; + int optimizeTableAfterEveryClearTimes; + }; + CronExtConfig cronExtConfig; + std::string cronFormat; + std::string detailType; + long currentTaskId; + std::string cronLastCallStartTime; + int duration; + int cronCallTimes; + std::string csvTableName; + bool cron; + ImportExtConfig importExtConfig; + std::string cronStatus; + std::string fileType; + std::string cronNextCallTime; + std::string fileEncoding; + }; struct TaskCheckDO { std::string userTip; @@ -65,6 +94,7 @@ namespace AlibabaCloud OrderDetail orderDetail; std::string status; std::vector databaseList; + ConfigDetail configDetail; std::vector preCheckDetail; std::string execMode; }; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataExportDownloadURLRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataExportDownloadURLRequest.h index 4a151c457..d6d97f054 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataExportDownloadURLRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataExportDownloadURLRequest.h @@ -36,11 +36,14 @@ public: void setOrderId(long orderId); std::string getActionName() const; void setActionName(const std::string &actionName); + std::string getRealLoginUserUid() const; + void setRealLoginUserUid(const std::string &realLoginUserUid); private: long tid_; long orderId_; std::string actionName_; + std::string realLoginUserUid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataExportOrderDetailResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataExportOrderDetailResult.h index 094e74971..043dd4e0d 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataExportOrderDetailResult.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataExportOrderDetailResult.h @@ -38,6 +38,7 @@ namespace AlibabaCloud { std::string jobStatus; long preCheckId; + long jobId; }; struct OrderDetail { diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeCatalogRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeCatalogRequest.h new file mode 100644 index 000000000..f1488c363 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeCatalogRequest.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_DMS_ENTERPRISE_MODEL_GETDATALAKECATALOGREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKECATALOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataLakeCatalogRequest : public RpcServiceRequest { +public: + GetDataLakeCatalogRequest(); + ~GetDataLakeCatalogRequest(); + long getTid() const; + void setTid(long tid); + std::string getCatalogName() const; + void setCatalogName(const std::string &catalogName); + std::string getDataRegion() const; + void setDataRegion(const std::string &dataRegion); + +private: + long tid_; + std::string catalogName_; + std::string dataRegion_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKECATALOGREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeCatalogResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeCatalogResult.h new file mode 100644 index 000000000..b902086d7 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeCatalogResult.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_DMS_ENTERPRISE_MODEL_GETDATALAKECATALOGRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKECATALOGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataLakeCatalogResult : public ServiceResult + { + public: + struct Catalog + { + std::string description; + std::string name; + std::string location; + }; + + + GetDataLakeCatalogResult(); + explicit GetDataLakeCatalogResult(const std::string &payload); + ~GetDataLakeCatalogResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + Catalog getCatalog()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + Catalog catalog_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKECATALOGRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeDatabaseRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeDatabaseRequest.h new file mode 100644 index 000000000..087dc723a --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeDatabaseRequest.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_DMS_ENTERPRISE_MODEL_GETDATALAKEDATABASEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKEDATABASEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataLakeDatabaseRequest : public RpcServiceRequest { +public: + GetDataLakeDatabaseRequest(); + ~GetDataLakeDatabaseRequest(); + long getTid() const; + void setTid(long tid); + std::string getCatalogName() const; + void setCatalogName(const std::string &catalogName); + std::string getDataRegion() const; + void setDataRegion(const std::string &dataRegion); + std::string getName() const; + void setName(const std::string &name); + +private: + long tid_; + std::string catalogName_; + std::string dataRegion_; + std::string name_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKEDATABASEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeDatabaseResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeDatabaseResult.h new file mode 100644 index 000000000..7fc90e863 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeDatabaseResult.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_DMS_ENTERPRISE_MODEL_GETDATALAKEDATABASERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKEDATABASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataLakeDatabaseResult : public ServiceResult + { + public: + struct Database + { + std::string description; + std::string parameters; + long dbId; + std::string catalogName; + std::string name; + std::string location; + }; + + + GetDataLakeDatabaseResult(); + explicit GetDataLakeDatabaseResult(const std::string &payload); + ~GetDataLakeDatabaseResult(); + Database getDatabase()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Database database_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKEDATABASERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeTableRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeTableRequest.h new file mode 100644 index 000000000..a32507f31 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeTableRequest.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_DMS_ENTERPRISE_MODEL_GETDATALAKETABLEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKETABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataLakeTableRequest : public RpcServiceRequest { +public: + GetDataLakeTableRequest(); + ~GetDataLakeTableRequest(); + long getTid() const; + void setTid(long tid); + std::string getCatalogName() const; + void setCatalogName(const std::string &catalogName); + std::string getDbName() const; + void setDbName(const std::string &dbName); + std::string getDataRegion() const; + void setDataRegion(const std::string &dataRegion); + std::string getName() const; + void setName(const std::string &name); + +private: + long tid_; + std::string catalogName_; + std::string dbName_; + std::string dataRegion_; + std::string name_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKETABLEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeTableResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeTableResult.h new file mode 100644 index 000000000..718b5f7d7 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDataLakeTableResult.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_DMS_ENTERPRISE_MODEL_GETDATALAKETABLERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKETABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataLakeTableResult : public ServiceResult + { + public: + + + GetDataLakeTableResult(); + explicit GetDataLakeTableResult(const std::string &payload); + ~GetDataLakeTableResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATALAKETABLERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetStandardGroupRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetStandardGroupRequest.h new file mode 100644 index 000000000..3538d6c9f --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetStandardGroupRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSTANDARDGROUPREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSTANDARDGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetStandardGroupRequest : public RpcServiceRequest { +public: + GetStandardGroupRequest(); + ~GetStandardGroupRequest(); + long getTid() const; + void setTid(long tid); + long getGroupId() const; + void setGroupId(long groupId); + +private: + long tid_; + long groupId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSTANDARDGROUPREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetStandardGroupResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetStandardGroupResult.h new file mode 100644 index 000000000..586338e74 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetStandardGroupResult.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_DMS_ENTERPRISE_MODEL_GETSTANDARDGROUPRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSTANDARDGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetStandardGroupResult : public ServiceResult + { + public: + struct StandardGroup + { + std::string groupName; + std::string description; + long lastMenderId; + std::string groupMode; + std::string dbType; + long groupId; + }; + + + GetStandardGroupResult(); + explicit GetStandardGroupResult(const std::string &payload); + ~GetStandardGroupResult(); + StandardGroup getStandardGroup()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + StandardGroup standardGroup_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSTANDARDGROUPRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectFlowRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectFlowRequest.h new file mode 100644 index 000000000..7314fb24b --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectFlowRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTFLOWREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTFLOWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTableDesignProjectFlowRequest : public RpcServiceRequest { +public: + GetTableDesignProjectFlowRequest(); + ~GetTableDesignProjectFlowRequest(); + long getTid() const; + void setTid(long tid); + long getOrderId() const; + void setOrderId(long orderId); + +private: + long tid_; + long orderId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTFLOWREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectFlowResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectFlowResult.h new file mode 100644 index 000000000..09205712f --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectFlowResult.h @@ -0,0 +1,74 @@ +/* + * 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_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTFLOWRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTFLOWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTableDesignProjectFlowResult : public ServiceResult + { + public: + struct ProjectFlow + { + struct FlowNodeArrayItem + { + std::string nodeTitle; + std::string nodeRole; + bool canSkip; + int position; + bool publishAnchor; + std::vector publishStrategies; + bool backToDesign; + }; + int currentPosition; + std::string ruleComment; + std::vector flowNodeArray; + std::string ruleName; + }; + + + GetTableDesignProjectFlowResult(); + explicit GetTableDesignProjectFlowResult(const std::string &payload); + ~GetTableDesignProjectFlowResult(); + ProjectFlow getProjectFlow()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + ProjectFlow projectFlow_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTFLOWRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectInfoRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectInfoRequest.h new file mode 100644 index 000000000..4a3c633a8 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectInfoRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTINFOREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTableDesignProjectInfoRequest : public RpcServiceRequest { +public: + GetTableDesignProjectInfoRequest(); + ~GetTableDesignProjectInfoRequest(); + long getTid() const; + void setTid(long tid); + long getOrderId() const; + void setOrderId(long orderId); + +private: + long tid_; + long orderId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTINFOREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectInfoResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectInfoResult.h new file mode 100644 index 000000000..6b9d0e247 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDesignProjectInfoResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTINFORESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTableDesignProjectInfoResult : public ServiceResult + { + public: + struct ProjectInfo + { + struct BaseDatabase + { + std::string searchName; + std::string alias; + int dbId; + bool logic; + std::string schemaName; + std::string envType; + std::string dbType; + }; + std::string status; + std::string gmtCreate; + std::string description; + long creatorId; + long projectId; + std::string gmtModified; + BaseDatabase baseDatabase; + std::string title; + long orderId; + }; + + + GetTableDesignProjectInfoResult(); + explicit GetTableDesignProjectInfoResult(const std::string &payload); + ~GetTableDesignProjectInfoResult(); + ProjectInfo getProjectInfo()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + ProjectInfo projectInfo_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTABLEDESIGNPROJECTINFORESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacAuthorizationsRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacAuthorizationsRequest.h new file mode 100644 index 000000000..6c0ea0f10 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacAuthorizationsRequest.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_DMS_ENTERPRISE_MODEL_LISTABACAUTHORIZATIONSREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTABACAUTHORIZATIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAbacAuthorizationsRequest : public RpcServiceRequest { +public: + ListAbacAuthorizationsRequest(); + ~ListAbacAuthorizationsRequest(); + long getPageNumber() const; + void setPageNumber(long pageNumber); + long getTid() const; + void setTid(long tid); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getPolicySource() const; + void setPolicySource(const std::string &policySource); + +private: + long pageNumber_; + long tid_; + std::string policyId_; + long pageSize_; + std::string policySource_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTABACAUTHORIZATIONSREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacAuthorizationsResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacAuthorizationsResult.h new file mode 100644 index 000000000..3412f8095 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacAuthorizationsResult.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_DMS_ENTERPRISE_MODEL_LISTABACAUTHORIZATIONSRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTABACAUTHORIZATIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAbacAuthorizationsResult : public ServiceResult + { + public: + struct AuthorizationListItem + { + std::string identityType; + long authorizationId; + std::string policyName; + long identityId; + std::string policySource; + long policyId; + std::string identityName; + }; + + + ListAbacAuthorizationsResult(); + explicit ListAbacAuthorizationsResult(const std::string &payload); + ~ListAbacAuthorizationsResult(); + long getTotalCount()const; + std::string getErrorCode()const; + std::vector getAuthorizationList()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::string errorCode_; + std::vector authorizationList_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTABACAUTHORIZATIONSRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacPoliciesRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacPoliciesRequest.h new file mode 100644 index 000000000..9339f04ff --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacPoliciesRequest.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_DMS_ENTERPRISE_MODEL_LISTABACPOLICIESREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTABACPOLICIESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAbacPoliciesRequest : public RpcServiceRequest { +public: + ListAbacPoliciesRequest(); + ~ListAbacPoliciesRequest(); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + long getPageNumber() const; + void setPageNumber(long pageNumber); + long getTid() const; + void setTid(long tid); + long getPageSize() const; + void setPageSize(long pageSize); + +private: + std::string searchKey_; + long pageNumber_; + long tid_; + long pageSize_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTABACPOLICIESREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacPoliciesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacPoliciesResult.h new file mode 100644 index 000000000..a283c2a4c --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAbacPoliciesResult.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_DMS_ENTERPRISE_MODEL_LISTABACPOLICIESRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTABACPOLICIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAbacPoliciesResult : public ServiceResult + { + public: + struct PolicyListItem + { + std::string abacPolicyName; + std::string abacPolicySource; + long abacPolicyId; + long creatorId; + std::string abacPolicyDesc; + std::string abacPolicyContent; + }; + + + ListAbacPoliciesResult(); + explicit ListAbacPoliciesResult(const std::string &payload); + ~ListAbacPoliciesResult(); + long getTotalCount()const; + std::vector getPolicyList()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + long getTid()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector policyList_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + long tid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTABACPOLICIESRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedDatabasesForUserRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedDatabasesForUserRequest.h new file mode 100644 index 000000000..3fb928355 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedDatabasesForUserRequest.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_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDDATABASESFORUSERREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDDATABASESFORUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAuthorizedDatabasesForUserRequest : public RpcServiceRequest { +public: + ListAuthorizedDatabasesForUserRequest(); + ~ListAuthorizedDatabasesForUserRequest(); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getPageNumber() const; + void setPageNumber(const std::string &pageNumber); + long getTid() const; + void setTid(long tid); + std::string getEnvType() const; + void setEnvType(const std::string &envType); + std::string getPageSize() const; + void setPageSize(const std::string &pageSize); + std::string getDbType() const; + void setDbType(const std::string &dbType); + bool getLogic() const; + void setLogic(bool logic); + +private: + std::string searchKey_; + std::string userId_; + std::string pageNumber_; + long tid_; + std::string envType_; + std::string pageSize_; + std::string dbType_; + bool logic_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDDATABASESFORUSERREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedDatabasesForUserResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedDatabasesForUserResult.h new file mode 100644 index 000000000..c5a11af2d --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedDatabasesForUserResult.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_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDDATABASESFORUSERRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDDATABASESFORUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAuthorizedDatabasesForUserResult : public ServiceResult + { + public: + struct DatabasesItem + { + struct PermissionDetail + { + std::string expireDate; + std::string message; + std::string permType; + std::string dsType; + }; + std::string searchName; + std::string instanceId; + std::string userId; + std::string dbId; + PermissionDetail permissionDetail; + bool logic; + std::string schemaName; + std::string dbType; + std::string envType; + }; + + + ListAuthorizedDatabasesForUserResult(); + explicit ListAuthorizedDatabasesForUserResult(const std::string &payload); + ~ListAuthorizedDatabasesForUserResult(); + std::vector getDatabases()const; + + protected: + void parse(const std::string &payload); + private: + std::vector databases_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDDATABASESFORUSERRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedInstancesForUserRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedInstancesForUserRequest.h new file mode 100644 index 000000000..022b3c9d2 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedInstancesForUserRequest.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_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDINSTANCESFORUSERREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDINSTANCESFORUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAuthorizedInstancesForUserRequest : public RpcServiceRequest { +public: + ListAuthorizedInstancesForUserRequest(); + ~ListAuthorizedInstancesForUserRequest(); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getPageNumber() const; + void setPageNumber(const std::string &pageNumber); + long getTid() const; + void setTid(long tid); + std::string getEnvType() const; + void setEnvType(const std::string &envType); + std::string getPageSize() const; + void setPageSize(const std::string &pageSize); + std::string getDbType() const; + void setDbType(const std::string &dbType); + +private: + std::string searchKey_; + std::string userId_; + std::string pageNumber_; + long tid_; + std::string envType_; + std::string pageSize_; + std::string dbType_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDINSTANCESFORUSERREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedInstancesForUserResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedInstancesForUserResult.h new file mode 100644 index 000000000..4d8bee948 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedInstancesForUserResult.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_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDINSTANCESFORUSERRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDINSTANCESFORUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAuthorizedInstancesForUserResult : public ServiceResult + { + public: + struct InstancesItem + { + struct PermissionDetail + { + std::string expireDate; + std::string message; + std::string permType; + std::string dsType; + }; + std::string userName; + std::string instanceId; + std::string userId; + std::string instanceAlias; + std::string port; + std::string host; + PermissionDetail permissionDetail; + std::string dbType; + std::string envType; + }; + + + ListAuthorizedInstancesForUserResult(); + explicit ListAuthorizedInstancesForUserResult(const std::string &payload); + ~ListAuthorizedInstancesForUserResult(); + std::vector getInstances()const; + + protected: + void parse(const std::string &payload); + private: + std::vector instances_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDINSTANCESFORUSERRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForDatabaseRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForDatabaseRequest.h new file mode 100644 index 000000000..772e661dd --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForDatabaseRequest.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_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORDATABASEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORDATABASEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAuthorizedUsersForDatabaseRequest : public RpcServiceRequest { +public: + ListAuthorizedUsersForDatabaseRequest(); + ~ListAuthorizedUsersForDatabaseRequest(); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + std::string getPageNumber() const; + void setPageNumber(const std::string &pageNumber); + long getTid() const; + void setTid(long tid); + std::string getPageSize() const; + void setPageSize(const std::string &pageSize); + std::string getDbId() const; + void setDbId(const std::string &dbId); + bool getLogic() const; + void setLogic(bool logic); + +private: + std::string searchKey_; + std::string pageNumber_; + long tid_; + std::string pageSize_; + std::string dbId_; + bool logic_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORDATABASEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForDatabaseResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForDatabaseResult.h new file mode 100644 index 000000000..0966a5e7b --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForDatabaseResult.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_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORDATABASERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORDATABASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAuthorizedUsersForDatabaseResult : public ServiceResult + { + public: + struct UsersItem + { + std::string uid; + std::string userNickName; + std::string userId; + }; + + + ListAuthorizedUsersForDatabaseResult(); + explicit ListAuthorizedUsersForDatabaseResult(const std::string &payload); + ~ListAuthorizedUsersForDatabaseResult(); + std::vector getUsers()const; + + protected: + void parse(const std::string &payload); + private: + std::vector users_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORDATABASERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForInstanceRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForInstanceRequest.h new file mode 100644 index 000000000..1404c9526 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForInstanceRequest.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_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAuthorizedUsersForInstanceRequest : public RpcServiceRequest { +public: + ListAuthorizedUsersForInstanceRequest(); + ~ListAuthorizedUsersForInstanceRequest(); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + std::string getPageNumber() const; + void setPageNumber(const std::string &pageNumber); + long getTid() const; + void setTid(long tid); + std::string getPageSize() const; + void setPageSize(const std::string &pageSize); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string searchKey_; + std::string pageNumber_; + long tid_; + std::string pageSize_; + std::string instanceId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORINSTANCEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForInstanceResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForInstanceResult.h new file mode 100644 index 000000000..ee61c8b88 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListAuthorizedUsersForInstanceResult.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_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORINSTANCERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListAuthorizedUsersForInstanceResult : public ServiceResult + { + public: + struct UsersItem + { + std::string uid; + std::string userNickName; + std::string userId; + std::string userRealName; + }; + + + ListAuthorizedUsersForInstanceResult(); + explicit ListAuthorizedUsersForInstanceResult(const std::string &payload); + ~ListAuthorizedUsersForInstanceResult(); + std::vector getUsers()const; + + protected: + void parse(const std::string &payload); + private: + std::vector users_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTAUTHORIZEDUSERSFORINSTANCERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeCatalogRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeCatalogRequest.h new file mode 100644 index 000000000..17f04f01e --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeCatalogRequest.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_DMS_ENTERPRISE_MODEL_LISTDATALAKECATALOGREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKECATALOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDataLakeCatalogRequest : public RpcServiceRequest { +public: + ListDataLakeCatalogRequest(); + ~ListDataLakeCatalogRequest(); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + long getTid() const; + void setTid(long tid); + std::string getDataRegion() const; + void setDataRegion(const std::string &dataRegion); + +private: + std::string searchKey_; + long tid_; + std::string dataRegion_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKECATALOGREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeCatalogResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeCatalogResult.h new file mode 100644 index 000000000..b96ed3c08 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeCatalogResult.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_DMS_ENTERPRISE_MODEL_LISTDATALAKECATALOGRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKECATALOGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDataLakeCatalogResult : public ServiceResult + { + public: + struct Catalog + { + std::string description; + std::string name; + std::string location; + }; + + + ListDataLakeCatalogResult(); + explicit ListDataLakeCatalogResult(const std::string &payload); + ~ListDataLakeCatalogResult(); + std::vector getCataLogList()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector cataLogList_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKECATALOGRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeDatabaseRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeDatabaseRequest.h new file mode 100644 index 000000000..251b2ebee --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeDatabaseRequest.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_DMS_ENTERPRISE_MODEL_LISTDATALAKEDATABASEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKEDATABASEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDataLakeDatabaseRequest : public RpcServiceRequest { +public: + ListDataLakeDatabaseRequest(); + ~ListDataLakeDatabaseRequest(); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + long getTid() const; + void setTid(long tid); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::string getCatalogName() const; + void setCatalogName(const std::string &catalogName); + std::string getDataRegion() const; + void setDataRegion(const std::string &dataRegion); + int getMaxResults() const; + void setMaxResults(int maxResults); + +private: + std::string searchKey_; + long tid_; + std::string nextToken_; + std::string catalogName_; + std::string dataRegion_; + int maxResults_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKEDATABASEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeDatabaseResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeDatabaseResult.h new file mode 100644 index 000000000..8035162f6 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeDatabaseResult.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_DMS_ENTERPRISE_MODEL_LISTDATALAKEDATABASERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKEDATABASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDataLakeDatabaseResult : public ServiceResult + { + public: + struct Database + { + std::string description; + std::string parameters; + long dbId; + std::string catalogName; + std::string name; + std::string location; + }; + + + ListDataLakeDatabaseResult(); + explicit ListDataLakeDatabaseResult(const std::string &payload); + ~ListDataLakeDatabaseResult(); + std::vector getDatabaseList()const; + std::string getNextToken()const; + int getMaxResults()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector databaseList_; + std::string nextToken_; + int maxResults_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKEDATABASERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeTablebaseInfoRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeTablebaseInfoRequest.h new file mode 100644 index 000000000..d2c9ca1d1 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeTablebaseInfoRequest.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_DMS_ENTERPRISE_MODEL_LISTDATALAKETABLEBASEINFOREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKETABLEBASEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDataLakeTablebaseInfoRequest : public RpcServiceRequest { +public: + ListDataLakeTablebaseInfoRequest(); + ~ListDataLakeTablebaseInfoRequest(); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + long getTid() const; + void setTid(long tid); + std::string getCatalogName() const; + void setCatalogName(const std::string &catalogName); + int getRows() const; + void setRows(int rows); + std::string getDbName() const; + void setDbName(const std::string &dbName); + std::string getDataRegion() const; + void setDataRegion(const std::string &dataRegion); + int getPage() const; + void setPage(int page); + +private: + std::string searchKey_; + long tid_; + std::string catalogName_; + int rows_; + std::string dbName_; + std::string dataRegion_; + int page_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKETABLEBASEINFOREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeTablebaseInfoResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeTablebaseInfoResult.h new file mode 100644 index 000000000..f0ff2765d --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDataLakeTablebaseInfoResult.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_DMS_ENTERPRISE_MODEL_LISTDATALAKETABLEBASEINFORESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKETABLEBASEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDataLakeTablebaseInfoResult : public ServiceResult + { + public: + struct TablebaseInfo + { + struct Column + { + std::string comment; + std::string type; + std::string name; + }; + std::string owner; + std::string viewOriginalText; + std::string tableType; + std::string parameters; + std::string description; + long creatorId; + int createTime; + int lastAccessTime; + int retention; + std::string name; + std::string ownerType; + std::string viewExpandedText; + long dbId; + std::vector partitionKeys; + std::string dbName; + std::string catalogName; + long modifierId; + std::string location; + }; + + + ListDataLakeTablebaseInfoResult(); + explicit ListDataLakeTablebaseInfoResult(const std::string &payload); + ~ListDataLakeTablebaseInfoResult(); + std::vector getTablebaseInfoList()const; + std::string getTotalCount()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector tablebaseInfoList_; + std::string totalCount_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATALAKETABLEBASEINFORESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveColumnInfoRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveColumnInfoRequest.h new file mode 100644 index 000000000..5cca297e8 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveColumnInfoRequest.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_DMS_ENTERPRISE_MODEL_LISTSENSITIVECOLUMNINFOREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSENSITIVECOLUMNINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListSensitiveColumnInfoRequest : public RpcServiceRequest { +public: + ListSensitiveColumnInfoRequest(); + ~ListSensitiveColumnInfoRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + long getTid() const; + void setTid(long tid); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getTableName() const; + void setTableName(const std::string &tableName); + std::string getSchemaName() const; + void setSchemaName(const std::string &schemaName); + std::string getColumnName() const; + void setColumnName(const std::string &columnName); + int getInstanceId() const; + void setInstanceId(int instanceId); + +private: + int pageNumber_; + long tid_; + int pageSize_; + std::string tableName_; + std::string schemaName_; + std::string columnName_; + int instanceId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSENSITIVECOLUMNINFOREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveColumnInfoResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveColumnInfoResult.h new file mode 100644 index 000000000..36c82c49e --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveColumnInfoResult.h @@ -0,0 +1,83 @@ +/* + * 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_DMS_ENTERPRISE_MODEL_LISTSENSITIVECOLUMNINFORESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSENSITIVECOLUMNINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListSensitiveColumnInfoResult : public ServiceResult + { + public: + struct SensitiveColumn + { + struct DefaultDesensitizationRule + { + long ruleId; + std::string ruleName; + }; + struct SemiDesensitizationRule + { + long ruleId; + std::string ruleName; + }; + std::string tableName; + std::string columnName; + DefaultDesensitizationRule defaultDesensitizationRule; + int instanceId; + std::string sampleData; + std::string securityLevel; + std::string categoryName; + std::vector semiDesensitizationRuleList; + std::string userSensitivityLevel; + std::string schemaName; + bool isPlain; + }; + + + ListSensitiveColumnInfoResult(); + explicit ListSensitiveColumnInfoResult(const std::string &payload); + ~ListSensitiveColumnInfoResult(); + long getTotalCount()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + std::vector getSensitiveColumnList()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::string errorCode_; + std::string errorMessage_; + std::vector sensitiveColumnList_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSENSITIVECOLUMNINFORESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ModifyInstanceRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ModifyInstanceRequest.h new file mode 100644 index 000000000..71ca7ebb2 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ModifyInstanceRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MODIFYINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MODIFYINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ModifyInstanceRequest : public RpcServiceRequest { +public: + ModifyInstanceRequest(); + ~ModifyInstanceRequest(); + std::string getEcsRegion() const; + void setEcsRegion(const std::string &ecsRegion); + std::string getNetworkType() const; + void setNetworkType(const std::string &networkType); + long getTid() const; + void setTid(long tid); + int getUseSsl() const; + void setUseSsl(int useSsl); + std::string getEnableSellCommon() const; + void setEnableSellCommon(const std::string &enableSellCommon); + std::string getEnableSellSitd() const; + void setEnableSellSitd(const std::string &enableSellSitd); + std::string getInstanceSource() const; + void setInstanceSource(const std::string &instanceSource); + std::string getEnvType() const; + void setEnvType(const std::string &envType); + std::string getHost() const; + void setHost(const std::string &host); + int getQueryTimeout() const; + void setQueryTimeout(int queryTimeout); + std::string getEcsInstanceId() const; + void setEcsInstanceId(const std::string &ecsInstanceId); + int getExportTimeout() const; + void setExportTimeout(int exportTimeout); + long getTemplateId() const; + void setTemplateId(long templateId); + std::string getEnableSellTrust() const; + void setEnableSellTrust(const std::string &enableSellTrust); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPort() const; + void setPort(int port); + std::string getSafeRule() const; + void setSafeRule(const std::string &safeRule); + int getDdlOnline() const; + void setDdlOnline(int ddlOnline); + int getUseDsql() const; + void setUseDsql(int useDsql); + std::string getEnableSellStable() const; + void setEnableSellStable(const std::string &enableSellStable); + std::string getSid() const; + void setSid(const std::string &sid); + long getDbaId() const; + void setDbaId(long dbaId); + std::string getDataLinkName() const; + void setDataLinkName(const std::string &dataLinkName); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); + std::string getInstanceType() const; + void setInstanceType(const std::string &instanceType); + std::string getDatabasePassword() const; + void setDatabasePassword(const std::string &databasePassword); + std::string getInstanceAlias() const; + void setInstanceAlias(const std::string &instanceAlias); + std::string getDatabaseUser() const; + void setDatabaseUser(const std::string &databaseUser); + std::string getVpcId() const; + void setVpcId(const std::string &vpcId); + bool getSkipTest() const; + void setSkipTest(bool skipTest); + +private: + std::string ecsRegion_; + std::string networkType_; + long tid_; + int useSsl_; + std::string enableSellCommon_; + std::string enableSellSitd_; + std::string instanceSource_; + std::string envType_; + std::string host_; + int queryTimeout_; + std::string ecsInstanceId_; + int exportTimeout_; + long templateId_; + std::string enableSellTrust_; + std::string instanceId_; + int port_; + std::string safeRule_; + int ddlOnline_; + int useDsql_; + std::string enableSellStable_; + std::string sid_; + long dbaId_; + std::string dataLinkName_; + std::string templateType_; + std::string instanceType_; + std::string databasePassword_; + std::string instanceAlias_; + std::string databaseUser_; + std::string vpcId_; + bool skipTest_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MODIFYINSTANCEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ModifyInstanceResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ModifyInstanceResult.h new file mode 100644 index 000000000..8df47609f --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ModifyInstanceResult.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_DMS_ENTERPRISE_MODEL_MODIFYINSTANCERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MODIFYINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ModifyInstanceResult : public ServiceResult + { + public: + + + ModifyInstanceResult(); + explicit ModifyInstanceResult(const std::string &payload); + ~ModifyInstanceResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MODIFYINSTANCERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/PauseDataExportJobRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/PauseDataExportJobRequest.h new file mode 100644 index 000000000..1bbf5d242 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/PauseDataExportJobRequest.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_DMS_ENTERPRISE_MODEL_PAUSEDATAEXPORTJOBREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PAUSEDATAEXPORTJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT PauseDataExportJobRequest : public RpcServiceRequest { +public: + PauseDataExportJobRequest(); + ~PauseDataExportJobRequest(); + long getTid() const; + void setTid(long tid); + long getJobId() const; + void setJobId(long jobId); + long getOrderId() const; + void setOrderId(long orderId); + +private: + long tid_; + long jobId_; + long orderId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PAUSEDATAEXPORTJOBREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/PauseDataExportJobResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/PauseDataExportJobResult.h new file mode 100644 index 000000000..24e0f5ac4 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/PauseDataExportJobResult.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_DMS_ENTERPRISE_MODEL_PAUSEDATAEXPORTJOBRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PAUSEDATAEXPORTJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT PauseDataExportJobResult : public ServiceResult + { + public: + + + PauseDataExportJobResult(); + explicit PauseDataExportJobResult(const std::string &payload); + ~PauseDataExportJobResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PAUSEDATAEXPORTJOBRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/RemoveDataExportJobRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RemoveDataExportJobRequest.h new file mode 100644 index 000000000..33def1ee4 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RemoveDataExportJobRequest.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_DMS_ENTERPRISE_MODEL_REMOVEDATAEXPORTJOBREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_REMOVEDATAEXPORTJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT RemoveDataExportJobRequest : public RpcServiceRequest { +public: + RemoveDataExportJobRequest(); + ~RemoveDataExportJobRequest(); + long getTid() const; + void setTid(long tid); + long getJobId() const; + void setJobId(long jobId); + long getOrderId() const; + void setOrderId(long orderId); + +private: + long tid_; + long jobId_; + long orderId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_REMOVEDATAEXPORTJOBREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/RemoveDataExportJobResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RemoveDataExportJobResult.h new file mode 100644 index 000000000..b4fce10de --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RemoveDataExportJobResult.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_DMS_ENTERPRISE_MODEL_REMOVEDATAEXPORTJOBRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_REMOVEDATAEXPORTJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT RemoveDataExportJobResult : public ServiceResult + { + public: + + + RemoveDataExportJobResult(); + explicit RemoveDataExportJobResult(const std::string &payload); + ~RemoveDataExportJobResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_REMOVEDATAEXPORTJOBRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/RestartDataExportJobRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RestartDataExportJobRequest.h new file mode 100644 index 000000000..945e65a92 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RestartDataExportJobRequest.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_DMS_ENTERPRISE_MODEL_RESTARTDATAEXPORTJOBREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESTARTDATAEXPORTJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT RestartDataExportJobRequest : public RpcServiceRequest { +public: + RestartDataExportJobRequest(); + ~RestartDataExportJobRequest(); + long getTid() const; + void setTid(long tid); + long getJobId() const; + void setJobId(long jobId); + long getOrderId() const; + void setOrderId(long orderId); + +private: + long tid_; + long jobId_; + long orderId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESTARTDATAEXPORTJOBREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/RestartDataExportJobResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RestartDataExportJobResult.h new file mode 100644 index 000000000..2b929e34f --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RestartDataExportJobResult.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_DMS_ENTERPRISE_MODEL_RESTARTDATAEXPORTJOBRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESTARTDATAEXPORTJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT RestartDataExportJobResult : public ServiceResult + { + public: + + + RestartDataExportJobResult(); + explicit RestartDataExportJobResult(const std::string &payload); + ~RestartDataExportJobResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESTARTDATAEXPORTJOBRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/SetWorkflowExtraInfoRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SetWorkflowExtraInfoRequest.h new file mode 100644 index 000000000..25fa9158b --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SetWorkflowExtraInfoRequest.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_DMS_ENTERPRISE_MODEL_SETWORKFLOWEXTRAINFOREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SETWORKFLOWEXTRAINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT SetWorkflowExtraInfoRequest : public RpcServiceRequest { +public: + SetWorkflowExtraInfoRequest(); + ~SetWorkflowExtraInfoRequest(); + std::string getThirdpartyWorkflowComment() const; + void setThirdpartyWorkflowComment(const std::string &thirdpartyWorkflowComment); + bool getRenderAgree() const; + void setRenderAgree(bool renderAgree); + long getTid() const; + void setTid(long tid); + long getWorkflowInstanceId() const; + void setWorkflowInstanceId(long workflowInstanceId); + bool getRenderCancel() const; + void setRenderCancel(bool renderCancel); + bool getRenderAddApprovalNode() const; + void setRenderAddApprovalNode(bool renderAddApprovalNode); + bool getRenderTransfer() const; + void setRenderTransfer(bool renderTransfer); + bool getRenderReject() const; + void setRenderReject(bool renderReject); + std::string getThirdpartyWorkflowUrl() const; + void setThirdpartyWorkflowUrl(const std::string &thirdpartyWorkflowUrl); + +private: + std::string thirdpartyWorkflowComment_; + bool renderAgree_; + long tid_; + long workflowInstanceId_; + bool renderCancel_; + bool renderAddApprovalNode_; + bool renderTransfer_; + bool renderReject_; + std::string thirdpartyWorkflowUrl_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SETWORKFLOWEXTRAINFOREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/SetWorkflowExtraInfoResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SetWorkflowExtraInfoResult.h new file mode 100644 index 000000000..6b1dfaa72 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SetWorkflowExtraInfoResult.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_DMS_ENTERPRISE_MODEL_SETWORKFLOWEXTRAINFORESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SETWORKFLOWEXTRAINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT SetWorkflowExtraInfoResult : public ServiceResult + { + public: + + + SetWorkflowExtraInfoResult(); + explicit SetWorkflowExtraInfoResult(const std::string &payload); + ~SetWorkflowExtraInfoResult(); + bool getData()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool data_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SETWORKFLOWEXTRAINFORESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/SubmitOrderApprovalRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SubmitOrderApprovalRequest.h index 9dc07cc65..791accf41 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/SubmitOrderApprovalRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SubmitOrderApprovalRequest.h @@ -34,10 +34,13 @@ public: void setTid(long tid); long getOrderId() const; void setOrderId(long orderId); + std::string getRealLoginUserUid() const; + void setRealLoginUserUid(const std::string &realLoginUserUid); private: long tid_; long orderId_; + std::string realLoginUserUid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendDataExportJobRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendDataExportJobRequest.h new file mode 100644 index 000000000..0c942c0e5 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendDataExportJobRequest.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_DMS_ENTERPRISE_MODEL_SUSPENDDATAEXPORTJOBREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUSPENDDATAEXPORTJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT SuspendDataExportJobRequest : public RpcServiceRequest { +public: + SuspendDataExportJobRequest(); + ~SuspendDataExportJobRequest(); + long getTid() const; + void setTid(long tid); + long getJobId() const; + void setJobId(long jobId); + long getOrderId() const; + void setOrderId(long orderId); + +private: + long tid_; + long jobId_; + long orderId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUSPENDDATAEXPORTJOBREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendDataExportJobResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendDataExportJobResult.h new file mode 100644 index 000000000..c9c4d1894 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendDataExportJobResult.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_DMS_ENTERPRISE_MODEL_SUSPENDDATAEXPORTJOBRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUSPENDDATAEXPORTJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT SuspendDataExportJobResult : public ServiceResult + { + public: + + + SuspendDataExportJobResult(); + explicit SuspendDataExportJobResult(const std::string &payload); + ~SuspendDataExportJobResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUSPENDDATAEXPORTJOBRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateAbacPolicyRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateAbacPolicyRequest.h new file mode 100644 index 000000000..99dca5e9b --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateAbacPolicyRequest.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_DMS_ENTERPRISE_MODEL_UPDATEABACPOLICYREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATEABACPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateAbacPolicyRequest : public RpcServiceRequest { +public: + UpdateAbacPolicyRequest(); + ~UpdateAbacPolicyRequest(); + std::string getAbacPolicyContent() const; + void setAbacPolicyContent(const std::string &abacPolicyContent); + long getTid() const; + void setTid(long tid); + long getAbacPolicyId() const; + void setAbacPolicyId(long abacPolicyId); + std::string getAbacPolicyDesc() const; + void setAbacPolicyDesc(const std::string &abacPolicyDesc); + std::string getAbacPolicyName() const; + void setAbacPolicyName(const std::string &abacPolicyName); + +private: + std::string abacPolicyContent_; + long tid_; + long abacPolicyId_; + std::string abacPolicyDesc_; + std::string abacPolicyName_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATEABACPOLICYREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateAbacPolicyResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateAbacPolicyResult.h new file mode 100644 index 000000000..56faac536 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateAbacPolicyResult.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_DMS_ENTERPRISE_MODEL_UPDATEABACPOLICYRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATEABACPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateAbacPolicyResult : public ServiceResult + { + public: + + + UpdateAbacPolicyResult(); + explicit UpdateAbacPolicyResult(const std::string &payload); + ~UpdateAbacPolicyResult(); + std::string getErrorCode()const; + long getUpdatePolicyResult()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + long updatePolicyResult_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATEABACPOLICYRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateStandardGroupRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateStandardGroupRequest.h new file mode 100644 index 000000000..5460cc2ee --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateStandardGroupRequest.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_DMS_ENTERPRISE_MODEL_UPDATESTANDARDGROUPREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESTANDARDGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateStandardGroupRequest : public RpcServiceRequest { +public: + UpdateStandardGroupRequest(); + ~UpdateStandardGroupRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + long getTid() const; + void setTid(long tid); + long getGroupId() const; + void setGroupId(long groupId); + std::string getGroupName() const; + void setGroupName(const std::string &groupName); + +private: + std::string description_; + long tid_; + long groupId_; + std::string groupName_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESTANDARDGROUPREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateStandardGroupResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateStandardGroupResult.h new file mode 100644 index 000000000..66d1c34e6 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateStandardGroupResult.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_DMS_ENTERPRISE_MODEL_UPDATESTANDARDGROUPRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESTANDARDGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateStandardGroupResult : public ServiceResult + { + public: + struct StandardGroup + { + std::string groupName; + std::string description; + long lastMenderId; + std::string groupMode; + std::string dbType; + long groupId; + }; + + + UpdateStandardGroupResult(); + explicit UpdateStandardGroupResult(const std::string &payload); + ~UpdateStandardGroupResult(); + StandardGroup getStandardGroup()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + StandardGroup standardGroup_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESTANDARDGROUPRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/src/Dms-enterpriseClient.cc b/dms-enterprise/src/Dms-enterpriseClient.cc index 9aeb99b5c..868ace2e5 100644 --- a/dms-enterprise/src/Dms-enterpriseClient.cc +++ b/dms-enterprise/src/Dms-enterpriseClient.cc @@ -51,6 +51,42 @@ Dms_enterpriseClient::Dms_enterpriseClient(const std::string & accessKeyId, cons Dms_enterpriseClient::~Dms_enterpriseClient() {} +Dms_enterpriseClient::AddAuthorityTemplateItemsOutcome Dms_enterpriseClient::addAuthorityTemplateItems(const AddAuthorityTemplateItemsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddAuthorityTemplateItemsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddAuthorityTemplateItemsOutcome(AddAuthorityTemplateItemsResult(outcome.result())); + else + return AddAuthorityTemplateItemsOutcome(outcome.error()); +} + +void Dms_enterpriseClient::addAuthorityTemplateItemsAsync(const AddAuthorityTemplateItemsRequest& request, const AddAuthorityTemplateItemsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addAuthorityTemplateItems(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::AddAuthorityTemplateItemsOutcomeCallable Dms_enterpriseClient::addAuthorityTemplateItemsCallable(const AddAuthorityTemplateItemsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addAuthorityTemplateItems(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::AddDesensitizationRuleOutcome Dms_enterpriseClient::addDesensitizationRule(const AddDesensitizationRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -87,6 +123,42 @@ Dms_enterpriseClient::AddDesensitizationRuleOutcomeCallable Dms_enterpriseClient return task->get_future(); } +Dms_enterpriseClient::AddInstanceOutcome Dms_enterpriseClient::addInstance(const AddInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddInstanceOutcome(AddInstanceResult(outcome.result())); + else + return AddInstanceOutcome(outcome.error()); +} + +void Dms_enterpriseClient::addInstanceAsync(const AddInstanceRequest& request, const AddInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::AddInstanceOutcomeCallable Dms_enterpriseClient::addInstanceCallable(const AddInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::AddLhMembersOutcome Dms_enterpriseClient::addLhMembers(const AddLhMembersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -483,6 +555,78 @@ Dms_enterpriseClient::CloseOrderOutcomeCallable Dms_enterpriseClient::closeOrder return task->get_future(); } +Dms_enterpriseClient::CreateAbacAuthorizationOutcome Dms_enterpriseClient::createAbacAuthorization(const CreateAbacAuthorizationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateAbacAuthorizationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateAbacAuthorizationOutcome(CreateAbacAuthorizationResult(outcome.result())); + else + return CreateAbacAuthorizationOutcome(outcome.error()); +} + +void Dms_enterpriseClient::createAbacAuthorizationAsync(const CreateAbacAuthorizationRequest& request, const CreateAbacAuthorizationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createAbacAuthorization(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::CreateAbacAuthorizationOutcomeCallable Dms_enterpriseClient::createAbacAuthorizationCallable(const CreateAbacAuthorizationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createAbacAuthorization(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::CreateAbacPolicyOutcome Dms_enterpriseClient::createAbacPolicy(const CreateAbacPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateAbacPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateAbacPolicyOutcome(CreateAbacPolicyResult(outcome.result())); + else + return CreateAbacPolicyOutcome(outcome.error()); +} + +void Dms_enterpriseClient::createAbacPolicyAsync(const CreateAbacPolicyRequest& request, const CreateAbacPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createAbacPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::CreateAbacPolicyOutcomeCallable Dms_enterpriseClient::createAbacPolicyCallable(const CreateAbacPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createAbacPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::CreateAuthorityTemplateOutcome Dms_enterpriseClient::createAuthorityTemplate(const CreateAuthorityTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1347,6 +1491,78 @@ Dms_enterpriseClient::CreateUploadOSSFileJobOutcomeCallable Dms_enterpriseClient return task->get_future(); } +Dms_enterpriseClient::DeleteAbacAuthorizationOutcome Dms_enterpriseClient::deleteAbacAuthorization(const DeleteAbacAuthorizationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteAbacAuthorizationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteAbacAuthorizationOutcome(DeleteAbacAuthorizationResult(outcome.result())); + else + return DeleteAbacAuthorizationOutcome(outcome.error()); +} + +void Dms_enterpriseClient::deleteAbacAuthorizationAsync(const DeleteAbacAuthorizationRequest& request, const DeleteAbacAuthorizationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteAbacAuthorization(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::DeleteAbacAuthorizationOutcomeCallable Dms_enterpriseClient::deleteAbacAuthorizationCallable(const DeleteAbacAuthorizationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteAbacAuthorization(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::DeleteAbacPolicyOutcome Dms_enterpriseClient::deleteAbacPolicy(const DeleteAbacPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteAbacPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteAbacPolicyOutcome(DeleteAbacPolicyResult(outcome.result())); + else + return DeleteAbacPolicyOutcome(outcome.error()); +} + +void Dms_enterpriseClient::deleteAbacPolicyAsync(const DeleteAbacPolicyRequest& request, const DeleteAbacPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteAbacPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::DeleteAbacPolicyOutcomeCallable Dms_enterpriseClient::deleteAbacPolicyCallable(const DeleteAbacPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteAbacPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::DeleteAuthorityTemplateOutcome Dms_enterpriseClient::deleteAuthorityTemplate(const DeleteAuthorityTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1671,6 +1887,42 @@ Dms_enterpriseClient::DeleteScenarioOutcomeCallable Dms_enterpriseClient::delete return task->get_future(); } +Dms_enterpriseClient::DeleteStandardGroupOutcome Dms_enterpriseClient::deleteStandardGroup(const DeleteStandardGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteStandardGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteStandardGroupOutcome(DeleteStandardGroupResult(outcome.result())); + else + return DeleteStandardGroupOutcome(outcome.error()); +} + +void Dms_enterpriseClient::deleteStandardGroupAsync(const DeleteStandardGroupRequest& request, const DeleteStandardGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteStandardGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::DeleteStandardGroupOutcomeCallable Dms_enterpriseClient::deleteStandardGroupCallable(const DeleteStandardGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteStandardGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::DeleteTaskOutcome Dms_enterpriseClient::deleteTask(const DeleteTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2103,6 +2355,42 @@ Dms_enterpriseClient::ExecuteStructSyncOutcomeCallable Dms_enterpriseClient::exe return task->get_future(); } +Dms_enterpriseClient::GetAbacPolicyOutcome Dms_enterpriseClient::getAbacPolicy(const GetAbacPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetAbacPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetAbacPolicyOutcome(GetAbacPolicyResult(outcome.result())); + else + return GetAbacPolicyOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getAbacPolicyAsync(const GetAbacPolicyRequest& request, const GetAbacPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getAbacPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetAbacPolicyOutcomeCallable Dms_enterpriseClient::getAbacPolicyCallable(const GetAbacPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getAbacPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::GetApprovalDetailOutcome Dms_enterpriseClient::getApprovalDetail(const GetApprovalDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2787,6 +3075,114 @@ Dms_enterpriseClient::GetDataImportSQLOutcomeCallable Dms_enterpriseClient::getD return task->get_future(); } +Dms_enterpriseClient::GetDataLakeCatalogOutcome Dms_enterpriseClient::getDataLakeCatalog(const GetDataLakeCatalogRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDataLakeCatalogOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDataLakeCatalogOutcome(GetDataLakeCatalogResult(outcome.result())); + else + return GetDataLakeCatalogOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getDataLakeCatalogAsync(const GetDataLakeCatalogRequest& request, const GetDataLakeCatalogAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDataLakeCatalog(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetDataLakeCatalogOutcomeCallable Dms_enterpriseClient::getDataLakeCatalogCallable(const GetDataLakeCatalogRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDataLakeCatalog(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::GetDataLakeDatabaseOutcome Dms_enterpriseClient::getDataLakeDatabase(const GetDataLakeDatabaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDataLakeDatabaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDataLakeDatabaseOutcome(GetDataLakeDatabaseResult(outcome.result())); + else + return GetDataLakeDatabaseOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getDataLakeDatabaseAsync(const GetDataLakeDatabaseRequest& request, const GetDataLakeDatabaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDataLakeDatabase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetDataLakeDatabaseOutcomeCallable Dms_enterpriseClient::getDataLakeDatabaseCallable(const GetDataLakeDatabaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDataLakeDatabase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::GetDataLakeTableOutcome Dms_enterpriseClient::getDataLakeTable(const GetDataLakeTableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDataLakeTableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDataLakeTableOutcome(GetDataLakeTableResult(outcome.result())); + else + return GetDataLakeTableOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getDataLakeTableAsync(const GetDataLakeTableRequest& request, const GetDataLakeTableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDataLakeTable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetDataLakeTableOutcomeCallable Dms_enterpriseClient::getDataLakeTableCallable(const GetDataLakeTableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDataLakeTable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::GetDataTrackJobDegreeOutcome Dms_enterpriseClient::getDataTrackJobDegree(const GetDataTrackJobDegreeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3687,6 +4083,42 @@ Dms_enterpriseClient::GetSQLReviewOptimizeDetailOutcomeCallable Dms_enterpriseCl return task->get_future(); } +Dms_enterpriseClient::GetStandardGroupOutcome Dms_enterpriseClient::getStandardGroup(const GetStandardGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetStandardGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetStandardGroupOutcome(GetStandardGroupResult(outcome.result())); + else + return GetStandardGroupOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getStandardGroupAsync(const GetStandardGroupRequest& request, const GetStandardGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getStandardGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetStandardGroupOutcomeCallable Dms_enterpriseClient::getStandardGroupCallable(const GetStandardGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getStandardGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::GetStructSyncExecSqlDetailOutcome Dms_enterpriseClient::getStructSyncExecSqlDetail(const GetStructSyncExecSqlDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3867,6 +4299,78 @@ Dms_enterpriseClient::GetTableDBTopologyOutcomeCallable Dms_enterpriseClient::ge return task->get_future(); } +Dms_enterpriseClient::GetTableDesignProjectFlowOutcome Dms_enterpriseClient::getTableDesignProjectFlow(const GetTableDesignProjectFlowRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetTableDesignProjectFlowOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTableDesignProjectFlowOutcome(GetTableDesignProjectFlowResult(outcome.result())); + else + return GetTableDesignProjectFlowOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getTableDesignProjectFlowAsync(const GetTableDesignProjectFlowRequest& request, const GetTableDesignProjectFlowAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getTableDesignProjectFlow(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetTableDesignProjectFlowOutcomeCallable Dms_enterpriseClient::getTableDesignProjectFlowCallable(const GetTableDesignProjectFlowRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getTableDesignProjectFlow(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::GetTableDesignProjectInfoOutcome Dms_enterpriseClient::getTableDesignProjectInfo(const GetTableDesignProjectInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetTableDesignProjectInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTableDesignProjectInfoOutcome(GetTableDesignProjectInfoResult(outcome.result())); + else + return GetTableDesignProjectInfoOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getTableDesignProjectInfoAsync(const GetTableDesignProjectInfoRequest& request, const GetTableDesignProjectInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getTableDesignProjectInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetTableDesignProjectInfoOutcomeCallable Dms_enterpriseClient::getTableDesignProjectInfoCallable(const GetTableDesignProjectInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getTableDesignProjectInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::GetTableTopologyOutcome Dms_enterpriseClient::getTableTopology(const GetTableTopologyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4263,6 +4767,78 @@ Dms_enterpriseClient::InspectProxyAccessSecretOutcomeCallable Dms_enterpriseClie return task->get_future(); } +Dms_enterpriseClient::ListAbacAuthorizationsOutcome Dms_enterpriseClient::listAbacAuthorizations(const ListAbacAuthorizationsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAbacAuthorizationsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAbacAuthorizationsOutcome(ListAbacAuthorizationsResult(outcome.result())); + else + return ListAbacAuthorizationsOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listAbacAuthorizationsAsync(const ListAbacAuthorizationsRequest& request, const ListAbacAuthorizationsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAbacAuthorizations(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListAbacAuthorizationsOutcomeCallable Dms_enterpriseClient::listAbacAuthorizationsCallable(const ListAbacAuthorizationsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAbacAuthorizations(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::ListAbacPoliciesOutcome Dms_enterpriseClient::listAbacPolicies(const ListAbacPoliciesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAbacPoliciesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAbacPoliciesOutcome(ListAbacPoliciesResult(outcome.result())); + else + return ListAbacPoliciesOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listAbacPoliciesAsync(const ListAbacPoliciesRequest& request, const ListAbacPoliciesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAbacPolicies(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListAbacPoliciesOutcomeCallable Dms_enterpriseClient::listAbacPoliciesCallable(const ListAbacPoliciesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAbacPolicies(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListAuthorityTemplateOutcome Dms_enterpriseClient::listAuthorityTemplate(const ListAuthorityTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4299,6 +4875,150 @@ Dms_enterpriseClient::ListAuthorityTemplateOutcomeCallable Dms_enterpriseClient: return task->get_future(); } +Dms_enterpriseClient::ListAuthorizedDatabasesForUserOutcome Dms_enterpriseClient::listAuthorizedDatabasesForUser(const ListAuthorizedDatabasesForUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAuthorizedDatabasesForUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAuthorizedDatabasesForUserOutcome(ListAuthorizedDatabasesForUserResult(outcome.result())); + else + return ListAuthorizedDatabasesForUserOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listAuthorizedDatabasesForUserAsync(const ListAuthorizedDatabasesForUserRequest& request, const ListAuthorizedDatabasesForUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAuthorizedDatabasesForUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListAuthorizedDatabasesForUserOutcomeCallable Dms_enterpriseClient::listAuthorizedDatabasesForUserCallable(const ListAuthorizedDatabasesForUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAuthorizedDatabasesForUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::ListAuthorizedInstancesForUserOutcome Dms_enterpriseClient::listAuthorizedInstancesForUser(const ListAuthorizedInstancesForUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAuthorizedInstancesForUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAuthorizedInstancesForUserOutcome(ListAuthorizedInstancesForUserResult(outcome.result())); + else + return ListAuthorizedInstancesForUserOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listAuthorizedInstancesForUserAsync(const ListAuthorizedInstancesForUserRequest& request, const ListAuthorizedInstancesForUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAuthorizedInstancesForUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListAuthorizedInstancesForUserOutcomeCallable Dms_enterpriseClient::listAuthorizedInstancesForUserCallable(const ListAuthorizedInstancesForUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAuthorizedInstancesForUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::ListAuthorizedUsersForDatabaseOutcome Dms_enterpriseClient::listAuthorizedUsersForDatabase(const ListAuthorizedUsersForDatabaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAuthorizedUsersForDatabaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAuthorizedUsersForDatabaseOutcome(ListAuthorizedUsersForDatabaseResult(outcome.result())); + else + return ListAuthorizedUsersForDatabaseOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listAuthorizedUsersForDatabaseAsync(const ListAuthorizedUsersForDatabaseRequest& request, const ListAuthorizedUsersForDatabaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAuthorizedUsersForDatabase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListAuthorizedUsersForDatabaseOutcomeCallable Dms_enterpriseClient::listAuthorizedUsersForDatabaseCallable(const ListAuthorizedUsersForDatabaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAuthorizedUsersForDatabase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::ListAuthorizedUsersForInstanceOutcome Dms_enterpriseClient::listAuthorizedUsersForInstance(const ListAuthorizedUsersForInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAuthorizedUsersForInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAuthorizedUsersForInstanceOutcome(ListAuthorizedUsersForInstanceResult(outcome.result())); + else + return ListAuthorizedUsersForInstanceOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listAuthorizedUsersForInstanceAsync(const ListAuthorizedUsersForInstanceRequest& request, const ListAuthorizedUsersForInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAuthorizedUsersForInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListAuthorizedUsersForInstanceOutcomeCallable Dms_enterpriseClient::listAuthorizedUsersForInstanceCallable(const ListAuthorizedUsersForInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAuthorizedUsersForInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListClassificationTemplatesOutcome Dms_enterpriseClient::listClassificationTemplates(const ListClassificationTemplatesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4659,6 +5379,114 @@ Dms_enterpriseClient::ListDataImportSQLTypeOutcomeCallable Dms_enterpriseClient: return task->get_future(); } +Dms_enterpriseClient::ListDataLakeCatalogOutcome Dms_enterpriseClient::listDataLakeCatalog(const ListDataLakeCatalogRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDataLakeCatalogOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDataLakeCatalogOutcome(ListDataLakeCatalogResult(outcome.result())); + else + return ListDataLakeCatalogOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listDataLakeCatalogAsync(const ListDataLakeCatalogRequest& request, const ListDataLakeCatalogAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDataLakeCatalog(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListDataLakeCatalogOutcomeCallable Dms_enterpriseClient::listDataLakeCatalogCallable(const ListDataLakeCatalogRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDataLakeCatalog(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::ListDataLakeDatabaseOutcome Dms_enterpriseClient::listDataLakeDatabase(const ListDataLakeDatabaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDataLakeDatabaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDataLakeDatabaseOutcome(ListDataLakeDatabaseResult(outcome.result())); + else + return ListDataLakeDatabaseOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listDataLakeDatabaseAsync(const ListDataLakeDatabaseRequest& request, const ListDataLakeDatabaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDataLakeDatabase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListDataLakeDatabaseOutcomeCallable Dms_enterpriseClient::listDataLakeDatabaseCallable(const ListDataLakeDatabaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDataLakeDatabase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::ListDataLakeTablebaseInfoOutcome Dms_enterpriseClient::listDataLakeTablebaseInfo(const ListDataLakeTablebaseInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDataLakeTablebaseInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDataLakeTablebaseInfoOutcome(ListDataLakeTablebaseInfoResult(outcome.result())); + else + return ListDataLakeTablebaseInfoOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listDataLakeTablebaseInfoAsync(const ListDataLakeTablebaseInfoRequest& request, const ListDataLakeTablebaseInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDataLakeTablebaseInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListDataLakeTablebaseInfoOutcomeCallable Dms_enterpriseClient::listDataLakeTablebaseInfoCallable(const ListDataLakeTablebaseInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDataLakeTablebaseInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListDatabaseUserPermssionsOutcome Dms_enterpriseClient::listDatabaseUserPermssions(const ListDatabaseUserPermssionsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5415,6 +6243,42 @@ Dms_enterpriseClient::ListScenariosOutcomeCallable Dms_enterpriseClient::listSce return task->get_future(); } +Dms_enterpriseClient::ListSensitiveColumnInfoOutcome Dms_enterpriseClient::listSensitiveColumnInfo(const ListSensitiveColumnInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSensitiveColumnInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSensitiveColumnInfoOutcome(ListSensitiveColumnInfoResult(outcome.result())); + else + return ListSensitiveColumnInfoOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listSensitiveColumnInfoAsync(const ListSensitiveColumnInfoRequest& request, const ListSensitiveColumnInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSensitiveColumnInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListSensitiveColumnInfoOutcomeCallable Dms_enterpriseClient::listSensitiveColumnInfoCallable(const ListSensitiveColumnInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSensitiveColumnInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListSensitiveColumnsOutcome Dms_enterpriseClient::listSensitiveColumns(const ListSensitiveColumnsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6207,6 +7071,42 @@ Dms_enterpriseClient::ModifyDesensitizationStrategyOutcomeCallable Dms_enterpris return task->get_future(); } +Dms_enterpriseClient::ModifyInstanceOutcome Dms_enterpriseClient::modifyInstance(const ModifyInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyInstanceOutcome(ModifyInstanceResult(outcome.result())); + else + return ModifyInstanceOutcome(outcome.error()); +} + +void Dms_enterpriseClient::modifyInstanceAsync(const ModifyInstanceRequest& request, const ModifyInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ModifyInstanceOutcomeCallable Dms_enterpriseClient::modifyInstanceCallable(const ModifyInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::MoveTaskFlowToScenarioOutcome Dms_enterpriseClient::moveTaskFlowToScenario(const MoveTaskFlowToScenarioRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6315,6 +7215,42 @@ Dms_enterpriseClient::PauseDataCorrectSQLJobOutcomeCallable Dms_enterpriseClient return task->get_future(); } +Dms_enterpriseClient::PauseDataExportJobOutcome Dms_enterpriseClient::pauseDataExportJob(const PauseDataExportJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PauseDataExportJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PauseDataExportJobOutcome(PauseDataExportJobResult(outcome.result())); + else + return PauseDataExportJobOutcome(outcome.error()); +} + +void Dms_enterpriseClient::pauseDataExportJobAsync(const PauseDataExportJobRequest& request, const PauseDataExportJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, pauseDataExportJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::PauseDataExportJobOutcomeCallable Dms_enterpriseClient::pauseDataExportJobCallable(const PauseDataExportJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->pauseDataExportJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::PreviewWorkflowOutcome Dms_enterpriseClient::previewWorkflow(const PreviewWorkflowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6603,6 +7539,42 @@ Dms_enterpriseClient::RegisterUserOutcomeCallable Dms_enterpriseClient::register return task->get_future(); } +Dms_enterpriseClient::RemoveDataExportJobOutcome Dms_enterpriseClient::removeDataExportJob(const RemoveDataExportJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveDataExportJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveDataExportJobOutcome(RemoveDataExportJobResult(outcome.result())); + else + return RemoveDataExportJobOutcome(outcome.error()); +} + +void Dms_enterpriseClient::removeDataExportJobAsync(const RemoveDataExportJobRequest& request, const RemoveDataExportJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeDataExportJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::RemoveDataExportJobOutcomeCallable Dms_enterpriseClient::removeDataExportJobCallable(const RemoveDataExportJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeDataExportJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::RestartDataCorrectSQLJobOutcome Dms_enterpriseClient::restartDataCorrectSQLJob(const RestartDataCorrectSQLJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6639,6 +7611,42 @@ Dms_enterpriseClient::RestartDataCorrectSQLJobOutcomeCallable Dms_enterpriseClie return task->get_future(); } +Dms_enterpriseClient::RestartDataExportJobOutcome Dms_enterpriseClient::restartDataExportJob(const RestartDataExportJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RestartDataExportJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RestartDataExportJobOutcome(RestartDataExportJobResult(outcome.result())); + else + return RestartDataExportJobOutcome(outcome.error()); +} + +void Dms_enterpriseClient::restartDataExportJobAsync(const RestartDataExportJobRequest& request, const RestartDataExportJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, restartDataExportJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::RestartDataExportJobOutcomeCallable Dms_enterpriseClient::restartDataExportJobCallable(const RestartDataExportJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->restartDataExportJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ResumeTaskFlowInstanceOutcome Dms_enterpriseClient::resumeTaskFlowInstance(const ResumeTaskFlowInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6927,6 +7935,42 @@ Dms_enterpriseClient::SetOwnersOutcomeCallable Dms_enterpriseClient::setOwnersCa return task->get_future(); } +Dms_enterpriseClient::SetWorkflowExtraInfoOutcome Dms_enterpriseClient::setWorkflowExtraInfo(const SetWorkflowExtraInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetWorkflowExtraInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetWorkflowExtraInfoOutcome(SetWorkflowExtraInfoResult(outcome.result())); + else + return SetWorkflowExtraInfoOutcome(outcome.error()); +} + +void Dms_enterpriseClient::setWorkflowExtraInfoAsync(const SetWorkflowExtraInfoRequest& request, const SetWorkflowExtraInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setWorkflowExtraInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::SetWorkflowExtraInfoOutcomeCallable Dms_enterpriseClient::setWorkflowExtraInfoCallable(const SetWorkflowExtraInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setWorkflowExtraInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::SkipDataCorrectRowCheckOutcome Dms_enterpriseClient::skipDataCorrectRowCheck(const SkipDataCorrectRowCheckRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7071,6 +8115,42 @@ Dms_enterpriseClient::SubmitStructSyncOrderApprovalOutcomeCallable Dms_enterpris return task->get_future(); } +Dms_enterpriseClient::SuspendDataExportJobOutcome Dms_enterpriseClient::suspendDataExportJob(const SuspendDataExportJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SuspendDataExportJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SuspendDataExportJobOutcome(SuspendDataExportJobResult(outcome.result())); + else + return SuspendDataExportJobOutcome(outcome.error()); +} + +void Dms_enterpriseClient::suspendDataExportJobAsync(const SuspendDataExportJobRequest& request, const SuspendDataExportJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, suspendDataExportJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::SuspendDataExportJobOutcomeCallable Dms_enterpriseClient::suspendDataExportJobCallable(const SuspendDataExportJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->suspendDataExportJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::SuspendTaskFlowInstanceOutcome Dms_enterpriseClient::suspendTaskFlowInstance(const SuspendTaskFlowInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7179,6 +8259,42 @@ Dms_enterpriseClient::SyncInstanceMetaOutcomeCallable Dms_enterpriseClient::sync return task->get_future(); } +Dms_enterpriseClient::UpdateAbacPolicyOutcome Dms_enterpriseClient::updateAbacPolicy(const UpdateAbacPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateAbacPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateAbacPolicyOutcome(UpdateAbacPolicyResult(outcome.result())); + else + return UpdateAbacPolicyOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateAbacPolicyAsync(const UpdateAbacPolicyRequest& request, const UpdateAbacPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateAbacPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateAbacPolicyOutcomeCallable Dms_enterpriseClient::updateAbacPolicyCallable(const UpdateAbacPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateAbacPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::UpdateAuthorityTemplateOutcome Dms_enterpriseClient::updateAuthorityTemplate(const UpdateAuthorityTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7323,6 +8439,42 @@ Dms_enterpriseClient::UpdateScenarioOutcomeCallable Dms_enterpriseClient::update return task->get_future(); } +Dms_enterpriseClient::UpdateStandardGroupOutcome Dms_enterpriseClient::updateStandardGroup(const UpdateStandardGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateStandardGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateStandardGroupOutcome(UpdateStandardGroupResult(outcome.result())); + else + return UpdateStandardGroupOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateStandardGroupAsync(const UpdateStandardGroupRequest& request, const UpdateStandardGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateStandardGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateStandardGroupOutcomeCallable Dms_enterpriseClient::updateStandardGroupCallable(const UpdateStandardGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateStandardGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::UpdateTaskConfigOutcome Dms_enterpriseClient::updateTaskConfig(const UpdateTaskConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dms-enterprise/src/model/AddAuthorityTemplateItemsRequest.cc b/dms-enterprise/src/model/AddAuthorityTemplateItemsRequest.cc new file mode 100644 index 000000000..9402df643 --- /dev/null +++ b/dms-enterprise/src/model/AddAuthorityTemplateItemsRequest.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::Dms_enterprise::Model::AddAuthorityTemplateItemsRequest; + +AddAuthorityTemplateItemsRequest::AddAuthorityTemplateItemsRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "AddAuthorityTemplateItems") { + setMethod(HttpRequest::Method::Post); +} + +AddAuthorityTemplateItemsRequest::~AddAuthorityTemplateItemsRequest() {} + +long AddAuthorityTemplateItemsRequest::getTid() const { + return tid_; +} + +void AddAuthorityTemplateItemsRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long AddAuthorityTemplateItemsRequest::getTemplateId() const { + return templateId_; +} + +void AddAuthorityTemplateItemsRequest::setTemplateId(long templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), std::to_string(templateId)); +} + +std::vector AddAuthorityTemplateItemsRequest::getItems() const { + return items_; +} + +void AddAuthorityTemplateItemsRequest::setItems(const std::vector &items) { + items_ = items; + for(int dep1 = 0; dep1 != items.size(); dep1++) { + setParameter(std::string("Items") + "." + std::to_string(dep1 + 1) + ".InstanceId", std::to_string(items[dep1].instanceId)); + setParameter(std::string("Items") + "." + std::to_string(dep1 + 1) + ".DbId", std::to_string(items[dep1].dbId)); + for(int dep2 = 0; dep2 != items[dep1].permissionTypes.size(); dep2++) { + setParameter(std::string("Items") + "." + std::to_string(dep1 + 1) + ".PermissionTypes." + std::to_string(dep2 + 1), items[dep1].permissionTypes[dep2]); + } + setParameter(std::string("Items") + "." + std::to_string(dep1 + 1) + ".TableName", items[dep1].tableName); + setParameter(std::string("Items") + "." + std::to_string(dep1 + 1) + ".ResourceType", items[dep1].resourceType); + } +} + diff --git a/dms-enterprise/src/model/AddAuthorityTemplateItemsResult.cc b/dms-enterprise/src/model/AddAuthorityTemplateItemsResult.cc new file mode 100644 index 000000000..57dfe2455 --- /dev/null +++ b/dms-enterprise/src/model/AddAuthorityTemplateItemsResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +AddAuthorityTemplateItemsResult::AddAuthorityTemplateItemsResult() : + ServiceResult() +{} + +AddAuthorityTemplateItemsResult::AddAuthorityTemplateItemsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddAuthorityTemplateItemsResult::~AddAuthorityTemplateItemsResult() +{} + +void AddAuthorityTemplateItemsResult::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["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AddAuthorityTemplateItemsResult::getData()const +{ + return data_; +} + +std::string AddAuthorityTemplateItemsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string AddAuthorityTemplateItemsResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool AddAuthorityTemplateItemsResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/AddInstanceRequest.cc b/dms-enterprise/src/model/AddInstanceRequest.cc new file mode 100644 index 000000000..ae3fc3a8c --- /dev/null +++ b/dms-enterprise/src/model/AddInstanceRequest.cc @@ -0,0 +1,288 @@ +/* + * 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::Dms_enterprise::Model::AddInstanceRequest; + +AddInstanceRequest::AddInstanceRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "AddInstance") { + setMethod(HttpRequest::Method::Post); +} + +AddInstanceRequest::~AddInstanceRequest() {} + +std::string AddInstanceRequest::getEcsRegion() const { + return ecsRegion_; +} + +void AddInstanceRequest::setEcsRegion(const std::string &ecsRegion) { + ecsRegion_ = ecsRegion; + setParameter(std::string("EcsRegion"), ecsRegion); +} + +std::string AddInstanceRequest::getNetworkType() const { + return networkType_; +} + +void AddInstanceRequest::setNetworkType(const std::string &networkType) { + networkType_ = networkType; + setParameter(std::string("NetworkType"), networkType); +} + +long AddInstanceRequest::getTid() const { + return tid_; +} + +void AddInstanceRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +int AddInstanceRequest::getUseSsl() const { + return useSsl_; +} + +void AddInstanceRequest::setUseSsl(int useSsl) { + useSsl_ = useSsl; + setParameter(std::string("UseSsl"), std::to_string(useSsl)); +} + +std::string AddInstanceRequest::getEnableSellCommon() const { + return enableSellCommon_; +} + +void AddInstanceRequest::setEnableSellCommon(const std::string &enableSellCommon) { + enableSellCommon_ = enableSellCommon; + setParameter(std::string("EnableSellCommon"), enableSellCommon); +} + +std::string AddInstanceRequest::getEnableSellSitd() const { + return enableSellSitd_; +} + +void AddInstanceRequest::setEnableSellSitd(const std::string &enableSellSitd) { + enableSellSitd_ = enableSellSitd; + setParameter(std::string("EnableSellSitd"), enableSellSitd); +} + +std::string AddInstanceRequest::getInstanceSource() const { + return instanceSource_; +} + +void AddInstanceRequest::setInstanceSource(const std::string &instanceSource) { + instanceSource_ = instanceSource; + setParameter(std::string("InstanceSource"), instanceSource); +} + +std::string AddInstanceRequest::getEnvType() const { + return envType_; +} + +void AddInstanceRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setParameter(std::string("EnvType"), envType); +} + +std::string AddInstanceRequest::getHost() const { + return host_; +} + +void AddInstanceRequest::setHost(const std::string &host) { + host_ = host; + setParameter(std::string("Host"), host); +} + +int AddInstanceRequest::getQueryTimeout() const { + return queryTimeout_; +} + +void AddInstanceRequest::setQueryTimeout(int queryTimeout) { + queryTimeout_ = queryTimeout; + setParameter(std::string("QueryTimeout"), std::to_string(queryTimeout)); +} + +std::string AddInstanceRequest::getEcsInstanceId() const { + return ecsInstanceId_; +} + +void AddInstanceRequest::setEcsInstanceId(const std::string &ecsInstanceId) { + ecsInstanceId_ = ecsInstanceId; + setParameter(std::string("EcsInstanceId"), ecsInstanceId); +} + +int AddInstanceRequest::getExportTimeout() const { + return exportTimeout_; +} + +void AddInstanceRequest::setExportTimeout(int exportTimeout) { + exportTimeout_ = exportTimeout; + setParameter(std::string("ExportTimeout"), std::to_string(exportTimeout)); +} + +long AddInstanceRequest::getTemplateId() const { + return templateId_; +} + +void AddInstanceRequest::setTemplateId(long templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), std::to_string(templateId)); +} + +std::string AddInstanceRequest::getEnableSellTrust() const { + return enableSellTrust_; +} + +void AddInstanceRequest::setEnableSellTrust(const std::string &enableSellTrust) { + enableSellTrust_ = enableSellTrust; + setParameter(std::string("EnableSellTrust"), enableSellTrust); +} + +int AddInstanceRequest::getPort() const { + return port_; +} + +void AddInstanceRequest::setPort(int port) { + port_ = port; + setParameter(std::string("Port"), std::to_string(port)); +} + +std::string AddInstanceRequest::getSafeRule() const { + return safeRule_; +} + +void AddInstanceRequest::setSafeRule(const std::string &safeRule) { + safeRule_ = safeRule; + setParameter(std::string("SafeRule"), safeRule); +} + +int AddInstanceRequest::getDdlOnline() const { + return ddlOnline_; +} + +void AddInstanceRequest::setDdlOnline(int ddlOnline) { + ddlOnline_ = ddlOnline; + setParameter(std::string("DdlOnline"), std::to_string(ddlOnline)); +} + +int AddInstanceRequest::getUseDsql() const { + return useDsql_; +} + +void AddInstanceRequest::setUseDsql(int useDsql) { + useDsql_ = useDsql; + setParameter(std::string("UseDsql"), std::to_string(useDsql)); +} + +std::string AddInstanceRequest::getEnableSellStable() const { + return enableSellStable_; +} + +void AddInstanceRequest::setEnableSellStable(const std::string &enableSellStable) { + enableSellStable_ = enableSellStable; + setParameter(std::string("EnableSellStable"), enableSellStable); +} + +std::string AddInstanceRequest::getSid() const { + return sid_; +} + +void AddInstanceRequest::setSid(const std::string &sid) { + sid_ = sid; + setParameter(std::string("Sid"), sid); +} + +long AddInstanceRequest::getDbaId() const { + return dbaId_; +} + +void AddInstanceRequest::setDbaId(long dbaId) { + dbaId_ = dbaId; + setParameter(std::string("DbaId"), std::to_string(dbaId)); +} + +std::string AddInstanceRequest::getDataLinkName() const { + return dataLinkName_; +} + +void AddInstanceRequest::setDataLinkName(const std::string &dataLinkName) { + dataLinkName_ = dataLinkName; + setParameter(std::string("DataLinkName"), dataLinkName); +} + +std::string AddInstanceRequest::getTemplateType() const { + return templateType_; +} + +void AddInstanceRequest::setTemplateType(const std::string &templateType) { + templateType_ = templateType; + setParameter(std::string("TemplateType"), templateType); +} + +std::string AddInstanceRequest::getInstanceType() const { + return instanceType_; +} + +void AddInstanceRequest::setInstanceType(const std::string &instanceType) { + instanceType_ = instanceType; + setParameter(std::string("InstanceType"), instanceType); +} + +std::string AddInstanceRequest::getDatabasePassword() const { + return databasePassword_; +} + +void AddInstanceRequest::setDatabasePassword(const std::string &databasePassword) { + databasePassword_ = databasePassword; + setParameter(std::string("DatabasePassword"), databasePassword); +} + +std::string AddInstanceRequest::getInstanceAlias() const { + return instanceAlias_; +} + +void AddInstanceRequest::setInstanceAlias(const std::string &instanceAlias) { + instanceAlias_ = instanceAlias; + setParameter(std::string("InstanceAlias"), instanceAlias); +} + +std::string AddInstanceRequest::getDatabaseUser() const { + return databaseUser_; +} + +void AddInstanceRequest::setDatabaseUser(const std::string &databaseUser) { + databaseUser_ = databaseUser; + setParameter(std::string("DatabaseUser"), databaseUser); +} + +std::string AddInstanceRequest::getVpcId() const { + return vpcId_; +} + +void AddInstanceRequest::setVpcId(const std::string &vpcId) { + vpcId_ = vpcId; + setParameter(std::string("VpcId"), vpcId); +} + +bool AddInstanceRequest::getSkipTest() const { + return skipTest_; +} + +void AddInstanceRequest::setSkipTest(bool skipTest) { + skipTest_ = skipTest; + setParameter(std::string("SkipTest"), skipTest ? "true" : "false"); +} + diff --git a/dms-enterprise/src/model/AddInstanceResult.cc b/dms-enterprise/src/model/AddInstanceResult.cc new file mode 100644 index 000000000..068b4951a --- /dev/null +++ b/dms-enterprise/src/model/AddInstanceResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +AddInstanceResult::AddInstanceResult() : + ServiceResult() +{} + +AddInstanceResult::AddInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddInstanceResult::~AddInstanceResult() +{} + +void AddInstanceResult::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["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AddInstanceResult::getErrorCode()const +{ + return errorCode_; +} + +std::string AddInstanceResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool AddInstanceResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ApproveOrderRequest.cc b/dms-enterprise/src/model/ApproveOrderRequest.cc index 440a58509..cb3c89af5 100644 --- a/dms-enterprise/src/model/ApproveOrderRequest.cc +++ b/dms-enterprise/src/model/ApproveOrderRequest.cc @@ -79,6 +79,15 @@ void ApproveOrderRequest::setOldApprover(long oldApprover) { setParameter(std::string("OldApprover"), std::to_string(oldApprover)); } +std::string ApproveOrderRequest::getRealLoginUserUid() const { + return realLoginUserUid_; +} + +void ApproveOrderRequest::setRealLoginUserUid(const std::string &realLoginUserUid) { + realLoginUserUid_ = realLoginUserUid; + setParameter(std::string("RealLoginUserUid"), realLoginUserUid); +} + std::string ApproveOrderRequest::getComment() const { return comment_; } @@ -97,3 +106,12 @@ void ApproveOrderRequest::setApprovalNodePos(const std::string &approvalNodePos) setParameter(std::string("ApprovalNodePos"), approvalNodePos); } +std::string ApproveOrderRequest::getNewApproverList() const { + return newApproverList_; +} + +void ApproveOrderRequest::setNewApproverList(const std::string &newApproverList) { + newApproverList_ = newApproverList; + setParameter(std::string("NewApproverList"), newApproverList); +} + diff --git a/dms-enterprise/src/model/CreateAbacAuthorizationRequest.cc b/dms-enterprise/src/model/CreateAbacAuthorizationRequest.cc new file mode 100644 index 000000000..cefa99244 --- /dev/null +++ b/dms-enterprise/src/model/CreateAbacAuthorizationRequest.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 + +using AlibabaCloud::Dms_enterprise::Model::CreateAbacAuthorizationRequest; + +CreateAbacAuthorizationRequest::CreateAbacAuthorizationRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "CreateAbacAuthorization") { + setMethod(HttpRequest::Method::Post); +} + +CreateAbacAuthorizationRequest::~CreateAbacAuthorizationRequest() {} + +long CreateAbacAuthorizationRequest::getRoleId() const { + return roleId_; +} + +void CreateAbacAuthorizationRequest::setRoleId(long roleId) { + roleId_ = roleId; + setParameter(std::string("RoleId"), std::to_string(roleId)); +} + +long CreateAbacAuthorizationRequest::getUserId() const { + return userId_; +} + +void CreateAbacAuthorizationRequest::setUserId(long userId) { + userId_ = userId; + setParameter(std::string("UserId"), std::to_string(userId)); +} + +long CreateAbacAuthorizationRequest::getTid() const { + return tid_; +} + +void CreateAbacAuthorizationRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long CreateAbacAuthorizationRequest::getPolicyId() const { + return policyId_; +} + +void CreateAbacAuthorizationRequest::setPolicyId(long policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), std::to_string(policyId)); +} + +std::string CreateAbacAuthorizationRequest::getIdentityType() const { + return identityType_; +} + +void CreateAbacAuthorizationRequest::setIdentityType(const std::string &identityType) { + identityType_ = identityType; + setParameter(std::string("IdentityType"), identityType); +} + diff --git a/dms-enterprise/src/model/CreateAbacAuthorizationResult.cc b/dms-enterprise/src/model/CreateAbacAuthorizationResult.cc new file mode 100644 index 000000000..c478eb583 --- /dev/null +++ b/dms-enterprise/src/model/CreateAbacAuthorizationResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +CreateAbacAuthorizationResult::CreateAbacAuthorizationResult() : + ServiceResult() +{} + +CreateAbacAuthorizationResult::CreateAbacAuthorizationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateAbacAuthorizationResult::~CreateAbacAuthorizationResult() +{} + +void CreateAbacAuthorizationResult::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["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Result"].isNull()) + result_ = value["Result"].asString(); + +} + +std::string CreateAbacAuthorizationResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CreateAbacAuthorizationResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool CreateAbacAuthorizationResult::getSuccess()const +{ + return success_; +} + +std::string CreateAbacAuthorizationResult::getResult()const +{ + return result_; +} + diff --git a/dms-enterprise/src/model/CreateAbacPolicyRequest.cc b/dms-enterprise/src/model/CreateAbacPolicyRequest.cc new file mode 100644 index 000000000..4b2abc329 --- /dev/null +++ b/dms-enterprise/src/model/CreateAbacPolicyRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::CreateAbacPolicyRequest; + +CreateAbacPolicyRequest::CreateAbacPolicyRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "CreateAbacPolicy") { + setMethod(HttpRequest::Method::Post); +} + +CreateAbacPolicyRequest::~CreateAbacPolicyRequest() {} + +std::string CreateAbacPolicyRequest::getAbacPolicyContent() const { + return abacPolicyContent_; +} + +void CreateAbacPolicyRequest::setAbacPolicyContent(const std::string &abacPolicyContent) { + abacPolicyContent_ = abacPolicyContent; + setParameter(std::string("AbacPolicyContent"), abacPolicyContent); +} + +long CreateAbacPolicyRequest::getTid() const { + return tid_; +} + +void CreateAbacPolicyRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string CreateAbacPolicyRequest::getAbacPolicyDesc() const { + return abacPolicyDesc_; +} + +void CreateAbacPolicyRequest::setAbacPolicyDesc(const std::string &abacPolicyDesc) { + abacPolicyDesc_ = abacPolicyDesc; + setParameter(std::string("AbacPolicyDesc"), abacPolicyDesc); +} + +std::string CreateAbacPolicyRequest::getAbacPolicyName() const { + return abacPolicyName_; +} + +void CreateAbacPolicyRequest::setAbacPolicyName(const std::string &abacPolicyName) { + abacPolicyName_ = abacPolicyName; + setParameter(std::string("AbacPolicyName"), abacPolicyName); +} + diff --git a/dms-enterprise/src/model/CreateAbacPolicyResult.cc b/dms-enterprise/src/model/CreateAbacPolicyResult.cc new file mode 100644 index 000000000..47decceaf --- /dev/null +++ b/dms-enterprise/src/model/CreateAbacPolicyResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +CreateAbacPolicyResult::CreateAbacPolicyResult() : + ServiceResult() +{} + +CreateAbacPolicyResult::CreateAbacPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateAbacPolicyResult::~CreateAbacPolicyResult() +{} + +void CreateAbacPolicyResult::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["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["CreatePolicyResult"].isNull()) + createPolicyResult_ = std::stol(value["CreatePolicyResult"].asString()); + +} + +std::string CreateAbacPolicyResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CreateAbacPolicyResult::getErrorMessage()const +{ + return errorMessage_; +} + +long CreateAbacPolicyResult::getCreatePolicyResult()const +{ + return createPolicyResult_; +} + +bool CreateAbacPolicyResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/CreateDataArchiveOrderRequest.cc b/dms-enterprise/src/model/CreateDataArchiveOrderRequest.cc index c2bbe2b37..e8a843b47 100644 --- a/dms-enterprise/src/model/CreateDataArchiveOrderRequest.cc +++ b/dms-enterprise/src/model/CreateDataArchiveOrderRequest.cc @@ -70,16 +70,17 @@ void CreateDataArchiveOrderRequest::setParam(const CreateDataArchiveOrderRequest for(int dep1 = 0; dep1 != param.orderAfter.size(); dep1++) { setParameter(std::string("Param") + ".OrderAfter." + std::to_string(dep1 + 1), param.orderAfter[dep1]); } - setParameter(std::string("Param") + ".SourceCatalogName", param.sourceCatalogName); - setParameter(std::string("Param") + ".RunMethod", param.runMethod); setParameter(std::string("Param") + ".TargetInstanceHost", param.targetInstanceHost); - setParameter(std::string("Param") + ".Logic", param.logic ? "true" : "false"); - setParameter(std::string("Param") + ".SourceSchemaName", param.sourceSchemaName); - setParameter(std::string("Param") + ".ArchiveMethod", param.archiveMethod); for(int dep1 = 0; dep1 != param.tableIncludes.size(); dep1++) { setParameter(std::string("Param") + ".TableIncludes." + std::to_string(dep1 + 1) + ".TableWhere", param.tableIncludes[dep1].tableWhere); setParameter(std::string("Param") + ".TableIncludes." + std::to_string(dep1 + 1) + ".TableName", param.tableIncludes[dep1].tableName); } + setParameter(std::string("Param") + ".SourceCatalogName", param.sourceCatalogName); + setParameter(std::string("Param") + ".RunMethod", param.runMethod); + setParameter(std::string("Param") + ".Logic", param.logic ? "true" : "false"); + setParameter(std::string("Param") + ".SourceSchemaName", param.sourceSchemaName); + setParameter(std::string("Param") + ".ArchiveMethod", param.archiveMethod); + setParameter(std::string("Param") + ".DatabaseId", param.databaseId); } std::vector CreateDataArchiveOrderRequest::getRelatedUserList() const { diff --git a/dms-enterprise/src/model/CreateDataCorrectOrderRequest.cc b/dms-enterprise/src/model/CreateDataCorrectOrderRequest.cc index 6350d61b1..e3c39ce48 100644 --- a/dms-enterprise/src/model/CreateDataCorrectOrderRequest.cc +++ b/dms-enterprise/src/model/CreateDataCorrectOrderRequest.cc @@ -66,6 +66,15 @@ void CreateDataCorrectOrderRequest::setRelatedUserList(const std::vector + +using AlibabaCloud::Dms_enterprise::Model::DeleteAbacAuthorizationRequest; + +DeleteAbacAuthorizationRequest::DeleteAbacAuthorizationRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "DeleteAbacAuthorization") { + setMethod(HttpRequest::Method::Post); +} + +DeleteAbacAuthorizationRequest::~DeleteAbacAuthorizationRequest() {} + +long DeleteAbacAuthorizationRequest::getTid() const { + return tid_; +} + +void DeleteAbacAuthorizationRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string DeleteAbacAuthorizationRequest::getIdentityType() const { + return identityType_; +} + +void DeleteAbacAuthorizationRequest::setIdentityType(const std::string &identityType) { + identityType_ = identityType; + setParameter(std::string("IdentityType"), identityType); +} + +long DeleteAbacAuthorizationRequest::getAuthorizationId() const { + return authorizationId_; +} + +void DeleteAbacAuthorizationRequest::setAuthorizationId(long authorizationId) { + authorizationId_ = authorizationId; + setParameter(std::string("AuthorizationId"), std::to_string(authorizationId)); +} + diff --git a/dms-enterprise/src/model/DeleteAbacAuthorizationResult.cc b/dms-enterprise/src/model/DeleteAbacAuthorizationResult.cc new file mode 100644 index 000000000..50c396b8a --- /dev/null +++ b/dms-enterprise/src/model/DeleteAbacAuthorizationResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +DeleteAbacAuthorizationResult::DeleteAbacAuthorizationResult() : + ServiceResult() +{} + +DeleteAbacAuthorizationResult::DeleteAbacAuthorizationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteAbacAuthorizationResult::~DeleteAbacAuthorizationResult() +{} + +void DeleteAbacAuthorizationResult::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["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Result"].isNull()) + result_ = value["Result"].asString(); + +} + +std::string DeleteAbacAuthorizationResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteAbacAuthorizationResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool DeleteAbacAuthorizationResult::getSuccess()const +{ + return success_; +} + +std::string DeleteAbacAuthorizationResult::getResult()const +{ + return result_; +} + diff --git a/dms-enterprise/src/model/DeleteAbacPolicyRequest.cc b/dms-enterprise/src/model/DeleteAbacPolicyRequest.cc new file mode 100644 index 000000000..45d52e890 --- /dev/null +++ b/dms-enterprise/src/model/DeleteAbacPolicyRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::DeleteAbacPolicyRequest; + +DeleteAbacPolicyRequest::DeleteAbacPolicyRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "DeleteAbacPolicy") { + setMethod(HttpRequest::Method::Post); +} + +DeleteAbacPolicyRequest::~DeleteAbacPolicyRequest() {} + +long DeleteAbacPolicyRequest::getTid() const { + return tid_; +} + +void DeleteAbacPolicyRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long DeleteAbacPolicyRequest::getAbacPolicyId() const { + return abacPolicyId_; +} + +void DeleteAbacPolicyRequest::setAbacPolicyId(long abacPolicyId) { + abacPolicyId_ = abacPolicyId; + setParameter(std::string("AbacPolicyId"), std::to_string(abacPolicyId)); +} + diff --git a/dms-enterprise/src/model/DeleteAbacPolicyResult.cc b/dms-enterprise/src/model/DeleteAbacPolicyResult.cc new file mode 100644 index 000000000..0e1797c1f --- /dev/null +++ b/dms-enterprise/src/model/DeleteAbacPolicyResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +DeleteAbacPolicyResult::DeleteAbacPolicyResult() : + ServiceResult() +{} + +DeleteAbacPolicyResult::DeleteAbacPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteAbacPolicyResult::~DeleteAbacPolicyResult() +{} + +void DeleteAbacPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["DeletePolicyResult"].isNull()) + deletePolicyResult_ = value["DeletePolicyResult"].asString() == "true"; + +} + +bool DeleteAbacPolicyResult::getDeletePolicyResult()const +{ + return deletePolicyResult_; +} + +std::string DeleteAbacPolicyResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteAbacPolicyResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool DeleteAbacPolicyResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/DeleteStandardGroupRequest.cc b/dms-enterprise/src/model/DeleteStandardGroupRequest.cc new file mode 100644 index 000000000..af3098b46 --- /dev/null +++ b/dms-enterprise/src/model/DeleteStandardGroupRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::DeleteStandardGroupRequest; + +DeleteStandardGroupRequest::DeleteStandardGroupRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "DeleteStandardGroup") { + setMethod(HttpRequest::Method::Post); +} + +DeleteStandardGroupRequest::~DeleteStandardGroupRequest() {} + +long DeleteStandardGroupRequest::getTid() const { + return tid_; +} + +void DeleteStandardGroupRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long DeleteStandardGroupRequest::getGroupId() const { + return groupId_; +} + +void DeleteStandardGroupRequest::setGroupId(long groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), std::to_string(groupId)); +} + diff --git a/dms-enterprise/src/model/DeleteStandardGroupResult.cc b/dms-enterprise/src/model/DeleteStandardGroupResult.cc new file mode 100644 index 000000000..63a4caac0 --- /dev/null +++ b/dms-enterprise/src/model/DeleteStandardGroupResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +DeleteStandardGroupResult::DeleteStandardGroupResult() : + ServiceResult() +{} + +DeleteStandardGroupResult::DeleteStandardGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteStandardGroupResult::~DeleteStandardGroupResult() +{} + +void DeleteStandardGroupResult::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["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string DeleteStandardGroupResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteStandardGroupResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool DeleteStandardGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ExecuteDataCorrectRequest.cc b/dms-enterprise/src/model/ExecuteDataCorrectRequest.cc index 68351c326..496226cb3 100644 --- a/dms-enterprise/src/model/ExecuteDataCorrectRequest.cc +++ b/dms-enterprise/src/model/ExecuteDataCorrectRequest.cc @@ -61,3 +61,12 @@ void ExecuteDataCorrectRequest::setActionName(const std::string &actionName) { setParameter(std::string("ActionName"), actionName); } +std::string ExecuteDataCorrectRequest::getRealLoginUserUid() const { + return realLoginUserUid_; +} + +void ExecuteDataCorrectRequest::setRealLoginUserUid(const std::string &realLoginUserUid) { + realLoginUserUid_ = realLoginUserUid; + setParameter(std::string("RealLoginUserUid"), realLoginUserUid); +} + diff --git a/dms-enterprise/src/model/ExecuteDataExportRequest.cc b/dms-enterprise/src/model/ExecuteDataExportRequest.cc index b284fc7e1..f07fb3f37 100644 --- a/dms-enterprise/src/model/ExecuteDataExportRequest.cc +++ b/dms-enterprise/src/model/ExecuteDataExportRequest.cc @@ -61,3 +61,12 @@ void ExecuteDataExportRequest::setActionName(const std::string &actionName) { setParameter(std::string("ActionName"), actionName); } +std::string ExecuteDataExportRequest::getRealLoginUserUid() const { + return realLoginUserUid_; +} + +void ExecuteDataExportRequest::setRealLoginUserUid(const std::string &realLoginUserUid) { + realLoginUserUid_ = realLoginUserUid; + setParameter(std::string("RealLoginUserUid"), realLoginUserUid); +} + diff --git a/dms-enterprise/src/model/GetAbacPolicyRequest.cc b/dms-enterprise/src/model/GetAbacPolicyRequest.cc new file mode 100644 index 000000000..bd7891c37 --- /dev/null +++ b/dms-enterprise/src/model/GetAbacPolicyRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetAbacPolicyRequest; + +GetAbacPolicyRequest::GetAbacPolicyRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetAbacPolicy") { + setMethod(HttpRequest::Method::Post); +} + +GetAbacPolicyRequest::~GetAbacPolicyRequest() {} + +long GetAbacPolicyRequest::getTid() const { + return tid_; +} + +void GetAbacPolicyRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long GetAbacPolicyRequest::getAbacPolicyId() const { + return abacPolicyId_; +} + +void GetAbacPolicyRequest::setAbacPolicyId(long abacPolicyId) { + abacPolicyId_ = abacPolicyId; + setParameter(std::string("AbacPolicyId"), std::to_string(abacPolicyId)); +} + +std::string GetAbacPolicyRequest::getAbacPolicyName() const { + return abacPolicyName_; +} + +void GetAbacPolicyRequest::setAbacPolicyName(const std::string &abacPolicyName) { + abacPolicyName_ = abacPolicyName; + setParameter(std::string("AbacPolicyName"), abacPolicyName); +} + diff --git a/dms-enterprise/src/model/GetAbacPolicyResult.cc b/dms-enterprise/src/model/GetAbacPolicyResult.cc new file mode 100644 index 000000000..8c38b0975 --- /dev/null +++ b/dms-enterprise/src/model/GetAbacPolicyResult.cc @@ -0,0 +1,85 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetAbacPolicyResult::GetAbacPolicyResult() : + ServiceResult() +{} + +GetAbacPolicyResult::GetAbacPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetAbacPolicyResult::~GetAbacPolicyResult() +{} + +void GetAbacPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto policyNode = value["Policy"]; + if(!policyNode["PolicyName"].isNull()) + policy_.policyName = policyNode["PolicyName"].asString(); + if(!policyNode["PolicyDesc"].isNull()) + policy_.policyDesc = policyNode["PolicyDesc"].asString(); + if(!policyNode["PolicyContent"].isNull()) + policy_.policyContent = policyNode["PolicyContent"].asString(); + if(!policyNode["CreatorId"].isNull()) + policy_.creatorId = std::stol(policyNode["CreatorId"].asString()); + if(!policyNode["PolicySource"].isNull()) + policy_.policySource = policyNode["PolicySource"].asString(); + if(!policyNode["AuthorizedQuantity"].isNull()) + policy_.authorizedQuantity = policyNode["AuthorizedQuantity"].asString(); + if(!policyNode["PolicyId"].isNull()) + policy_.policyId = std::stol(policyNode["PolicyId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetAbacPolicyResult::Policy GetAbacPolicyResult::getPolicy()const +{ + return policy_; +} + +std::string GetAbacPolicyResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetAbacPolicyResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool GetAbacPolicyResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/GetApprovalDetailResult.cc b/dms-enterprise/src/model/GetApprovalDetailResult.cc index 34bca5159..4e9e94123 100644 --- a/dms-enterprise/src/model/GetApprovalDetailResult.cc +++ b/dms-enterprise/src/model/GetApprovalDetailResult.cc @@ -56,6 +56,10 @@ void GetApprovalDetailResult::parse(const std::string &payload) approvalDetail_.workflowInsCode = approvalDetailNode["WorkflowInsCode"].asString(); if(!approvalDetailNode["TemplateId"].isNull()) approvalDetail_.templateId = std::stol(approvalDetailNode["TemplateId"].asString()); + if(!approvalDetailNode["ThirdpartyWorkflowUrl"].isNull()) + approvalDetail_.thirdpartyWorkflowUrl = approvalDetailNode["ThirdpartyWorkflowUrl"].asString(); + if(!approvalDetailNode["ThirdpartyWorkflowComment"].isNull()) + approvalDetail_.thirdpartyWorkflowComment = approvalDetailNode["ThirdpartyWorkflowComment"].asString(); auto allWorkflowNodesNode = approvalDetailNode["WorkflowNodes"]["WorkflowNode"]; for (auto approvalDetailNodeWorkflowNodesWorkflowNode : allWorkflowNodesNode) { diff --git a/dms-enterprise/src/model/GetDataCorrectOrderDetailResult.cc b/dms-enterprise/src/model/GetDataCorrectOrderDetailResult.cc index a735037eb..c3a6ba6e3 100644 --- a/dms-enterprise/src/model/GetDataCorrectOrderDetailResult.cc +++ b/dms-enterprise/src/model/GetDataCorrectOrderDetailResult.cc @@ -95,6 +95,45 @@ void GetDataCorrectOrderDetailResult::parse(const std::string &payload) dataCorrectOrderDetail_.orderDetail.sqlType = orderDetailNode["SqlType"].asString(); if(!orderDetailNode["IgnoreAffectRowsReason"].isNull()) dataCorrectOrderDetail_.orderDetail.ignoreAffectRowsReason = orderDetailNode["IgnoreAffectRowsReason"].asString(); + auto configDetailNode = dataCorrectOrderDetailNode["ConfigDetail"]; + if(!configDetailNode["DetailType"].isNull()) + dataCorrectOrderDetail_.configDetail.detailType = configDetailNode["DetailType"].asString(); + if(!configDetailNode["FileType"].isNull()) + dataCorrectOrderDetail_.configDetail.fileType = configDetailNode["FileType"].asString(); + if(!configDetailNode["CsvTableName"].isNull()) + dataCorrectOrderDetail_.configDetail.csvTableName = configDetailNode["CsvTableName"].asString(); + if(!configDetailNode["FileEncoding"].isNull()) + dataCorrectOrderDetail_.configDetail.fileEncoding = configDetailNode["FileEncoding"].asString(); + if(!configDetailNode["Cron"].isNull()) + dataCorrectOrderDetail_.configDetail.cron = configDetailNode["Cron"].asString() == "true"; + if(!configDetailNode["CronCallTimes"].isNull()) + dataCorrectOrderDetail_.configDetail.cronCallTimes = std::stoi(configDetailNode["CronCallTimes"].asString()); + if(!configDetailNode["CronFormat"].isNull()) + dataCorrectOrderDetail_.configDetail.cronFormat = configDetailNode["CronFormat"].asString(); + if(!configDetailNode["Duration"].isNull()) + dataCorrectOrderDetail_.configDetail.duration = std::stoi(configDetailNode["Duration"].asString()); + if(!configDetailNode["CronStatus"].isNull()) + dataCorrectOrderDetail_.configDetail.cronStatus = configDetailNode["CronStatus"].asString(); + if(!configDetailNode["CronLastCallStartTime"].isNull()) + dataCorrectOrderDetail_.configDetail.cronLastCallStartTime = configDetailNode["CronLastCallStartTime"].asString(); + if(!configDetailNode["CronNextCallTime"].isNull()) + dataCorrectOrderDetail_.configDetail.cronNextCallTime = configDetailNode["CronNextCallTime"].asString(); + if(!configDetailNode["CurrentTaskId"].isNull()) + dataCorrectOrderDetail_.configDetail.currentTaskId = std::stol(configDetailNode["CurrentTaskId"].asString()); + auto importExtConfigNode = configDetailNode["ImportExtConfig"]; + if(!importExtConfigNode["InsertType"].isNull()) + dataCorrectOrderDetail_.configDetail.importExtConfig.insertType = importExtConfigNode["InsertType"].asString(); + if(!importExtConfigNode["CsvFirstRowIsColumnDef"].isNull()) + dataCorrectOrderDetail_.configDetail.importExtConfig.csvFirstRowIsColumnDef = importExtConfigNode["CsvFirstRowIsColumnDef"].asString() == "true"; + if(!importExtConfigNode["IgnoreError"].isNull()) + dataCorrectOrderDetail_.configDetail.importExtConfig.ignoreError = importExtConfigNode["IgnoreError"].asString() == "true"; + if(!importExtConfigNode["ImportMode"].isNull()) + dataCorrectOrderDetail_.configDetail.importExtConfig.importMode = importExtConfigNode["ImportMode"].asString(); + auto cronExtConfigNode = configDetailNode["CronExtConfig"]; + if(!cronExtConfigNode["OptimizeTableAfterEveryClearTimes"].isNull()) + dataCorrectOrderDetail_.configDetail.cronExtConfig.optimizeTableAfterEveryClearTimes = std::stoi(cronExtConfigNode["OptimizeTableAfterEveryClearTimes"].asString()); + if(!cronExtConfigNode["CurrentClearTaskCount"].isNull()) + dataCorrectOrderDetail_.configDetail.cronExtConfig.currentClearTaskCount = std::stoi(cronExtConfigNode["CurrentClearTaskCount"].asString()); if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); if(!value["ErrorMessage"].isNull()) diff --git a/dms-enterprise/src/model/GetDataExportDownloadURLRequest.cc b/dms-enterprise/src/model/GetDataExportDownloadURLRequest.cc index 33097f44e..b73538ec6 100644 --- a/dms-enterprise/src/model/GetDataExportDownloadURLRequest.cc +++ b/dms-enterprise/src/model/GetDataExportDownloadURLRequest.cc @@ -52,3 +52,12 @@ void GetDataExportDownloadURLRequest::setActionName(const std::string &actionNam setParameter(std::string("ActionName"), actionName); } +std::string GetDataExportDownloadURLRequest::getRealLoginUserUid() const { + return realLoginUserUid_; +} + +void GetDataExportDownloadURLRequest::setRealLoginUserUid(const std::string &realLoginUserUid) { + realLoginUserUid_ = realLoginUserUid; + setParameter(std::string("RealLoginUserUid"), realLoginUserUid); +} + diff --git a/dms-enterprise/src/model/GetDataExportOrderDetailResult.cc b/dms-enterprise/src/model/GetDataExportOrderDetailResult.cc index 5d79c091c..51b86502c 100644 --- a/dms-enterprise/src/model/GetDataExportOrderDetailResult.cc +++ b/dms-enterprise/src/model/GetDataExportOrderDetailResult.cc @@ -45,6 +45,8 @@ void GetDataExportOrderDetailResult::parse(const std::string &payload) dataExportOrderDetail_.keyInfo.preCheckId = std::stol(keyInfoNode["PreCheckId"].asString()); if(!keyInfoNode["JobStatus"].isNull()) dataExportOrderDetail_.keyInfo.jobStatus = keyInfoNode["JobStatus"].asString(); + if(!keyInfoNode["JobId"].isNull()) + dataExportOrderDetail_.keyInfo.jobId = std::stol(keyInfoNode["JobId"].asString()); auto orderDetailNode = dataExportOrderDetailNode["OrderDetail"]; if(!orderDetailNode["DbId"].isNull()) dataExportOrderDetail_.orderDetail.dbId = std::stoi(orderDetailNode["DbId"].asString()); diff --git a/dms-enterprise/src/model/GetDataLakeCatalogRequest.cc b/dms-enterprise/src/model/GetDataLakeCatalogRequest.cc new file mode 100644 index 000000000..b4ac043dd --- /dev/null +++ b/dms-enterprise/src/model/GetDataLakeCatalogRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetDataLakeCatalogRequest; + +GetDataLakeCatalogRequest::GetDataLakeCatalogRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetDataLakeCatalog") { + setMethod(HttpRequest::Method::Post); +} + +GetDataLakeCatalogRequest::~GetDataLakeCatalogRequest() {} + +long GetDataLakeCatalogRequest::getTid() const { + return tid_; +} + +void GetDataLakeCatalogRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string GetDataLakeCatalogRequest::getCatalogName() const { + return catalogName_; +} + +void GetDataLakeCatalogRequest::setCatalogName(const std::string &catalogName) { + catalogName_ = catalogName; + setParameter(std::string("CatalogName"), catalogName); +} + +std::string GetDataLakeCatalogRequest::getDataRegion() const { + return dataRegion_; +} + +void GetDataLakeCatalogRequest::setDataRegion(const std::string &dataRegion) { + dataRegion_ = dataRegion; + setParameter(std::string("DataRegion"), dataRegion); +} + diff --git a/dms-enterprise/src/model/GetDataLakeCatalogResult.cc b/dms-enterprise/src/model/GetDataLakeCatalogResult.cc new file mode 100644 index 000000000..7422f72f3 --- /dev/null +++ b/dms-enterprise/src/model/GetDataLakeCatalogResult.cc @@ -0,0 +1,77 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetDataLakeCatalogResult::GetDataLakeCatalogResult() : + ServiceResult() +{} + +GetDataLakeCatalogResult::GetDataLakeCatalogResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDataLakeCatalogResult::~GetDataLakeCatalogResult() +{} + +void GetDataLakeCatalogResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto catalogNode = value["Catalog"]; + if(!catalogNode["Description"].isNull()) + catalog_.description = catalogNode["Description"].asString(); + if(!catalogNode["Name"].isNull()) + catalog_.name = catalogNode["Name"].asString(); + if(!catalogNode["Location"].isNull()) + catalog_.location = catalogNode["Location"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::string GetDataLakeCatalogResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetDataLakeCatalogResult::getErrorMessage()const +{ + return errorMessage_; +} + +GetDataLakeCatalogResult::Catalog GetDataLakeCatalogResult::getCatalog()const +{ + return catalog_; +} + +bool GetDataLakeCatalogResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/GetDataLakeDatabaseRequest.cc b/dms-enterprise/src/model/GetDataLakeDatabaseRequest.cc new file mode 100644 index 000000000..a3393b701 --- /dev/null +++ b/dms-enterprise/src/model/GetDataLakeDatabaseRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetDataLakeDatabaseRequest; + +GetDataLakeDatabaseRequest::GetDataLakeDatabaseRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetDataLakeDatabase") { + setMethod(HttpRequest::Method::Post); +} + +GetDataLakeDatabaseRequest::~GetDataLakeDatabaseRequest() {} + +long GetDataLakeDatabaseRequest::getTid() const { + return tid_; +} + +void GetDataLakeDatabaseRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string GetDataLakeDatabaseRequest::getCatalogName() const { + return catalogName_; +} + +void GetDataLakeDatabaseRequest::setCatalogName(const std::string &catalogName) { + catalogName_ = catalogName; + setParameter(std::string("CatalogName"), catalogName); +} + +std::string GetDataLakeDatabaseRequest::getDataRegion() const { + return dataRegion_; +} + +void GetDataLakeDatabaseRequest::setDataRegion(const std::string &dataRegion) { + dataRegion_ = dataRegion; + setParameter(std::string("DataRegion"), dataRegion); +} + +std::string GetDataLakeDatabaseRequest::getName() const { + return name_; +} + +void GetDataLakeDatabaseRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/dms-enterprise/src/model/GetDataLakeDatabaseResult.cc b/dms-enterprise/src/model/GetDataLakeDatabaseResult.cc new file mode 100644 index 000000000..d8ffedd8f --- /dev/null +++ b/dms-enterprise/src/model/GetDataLakeDatabaseResult.cc @@ -0,0 +1,83 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetDataLakeDatabaseResult::GetDataLakeDatabaseResult() : + ServiceResult() +{} + +GetDataLakeDatabaseResult::GetDataLakeDatabaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDataLakeDatabaseResult::~GetDataLakeDatabaseResult() +{} + +void GetDataLakeDatabaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto databaseNode = value["Database"]; + if(!databaseNode["Description"].isNull()) + database_.description = databaseNode["Description"].asString(); + if(!databaseNode["Parameters"].isNull()) + database_.parameters = databaseNode["Parameters"].asString(); + if(!databaseNode["DbId"].isNull()) + database_.dbId = std::stol(databaseNode["DbId"].asString()); + if(!databaseNode["CatalogName"].isNull()) + database_.catalogName = databaseNode["CatalogName"].asString(); + if(!databaseNode["Name"].isNull()) + database_.name = databaseNode["Name"].asString(); + if(!databaseNode["Location"].isNull()) + database_.location = databaseNode["Location"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +GetDataLakeDatabaseResult::Database GetDataLakeDatabaseResult::getDatabase()const +{ + return database_; +} + +std::string GetDataLakeDatabaseResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetDataLakeDatabaseResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool GetDataLakeDatabaseResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/GetDataLakeTableRequest.cc b/dms-enterprise/src/model/GetDataLakeTableRequest.cc new file mode 100644 index 000000000..2db085dcd --- /dev/null +++ b/dms-enterprise/src/model/GetDataLakeTableRequest.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 + +using AlibabaCloud::Dms_enterprise::Model::GetDataLakeTableRequest; + +GetDataLakeTableRequest::GetDataLakeTableRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetDataLakeTable") { + setMethod(HttpRequest::Method::Post); +} + +GetDataLakeTableRequest::~GetDataLakeTableRequest() {} + +long GetDataLakeTableRequest::getTid() const { + return tid_; +} + +void GetDataLakeTableRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string GetDataLakeTableRequest::getCatalogName() const { + return catalogName_; +} + +void GetDataLakeTableRequest::setCatalogName(const std::string &catalogName) { + catalogName_ = catalogName; + setParameter(std::string("CatalogName"), catalogName); +} + +std::string GetDataLakeTableRequest::getDbName() const { + return dbName_; +} + +void GetDataLakeTableRequest::setDbName(const std::string &dbName) { + dbName_ = dbName; + setParameter(std::string("DbName"), dbName); +} + +std::string GetDataLakeTableRequest::getDataRegion() const { + return dataRegion_; +} + +void GetDataLakeTableRequest::setDataRegion(const std::string &dataRegion) { + dataRegion_ = dataRegion; + setParameter(std::string("DataRegion"), dataRegion); +} + +std::string GetDataLakeTableRequest::getName() const { + return name_; +} + +void GetDataLakeTableRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/dms-enterprise/src/model/GetDataLakeTableResult.cc b/dms-enterprise/src/model/GetDataLakeTableResult.cc new file mode 100644 index 000000000..ef96993ce --- /dev/null +++ b/dms-enterprise/src/model/GetDataLakeTableResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetDataLakeTableResult::GetDataLakeTableResult() : + ServiceResult() +{} + +GetDataLakeTableResult::GetDataLakeTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDataLakeTableResult::~GetDataLakeTableResult() +{} + +void GetDataLakeTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dms-enterprise/src/model/GetStandardGroupRequest.cc b/dms-enterprise/src/model/GetStandardGroupRequest.cc new file mode 100644 index 000000000..2e97b3621 --- /dev/null +++ b/dms-enterprise/src/model/GetStandardGroupRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetStandardGroupRequest; + +GetStandardGroupRequest::GetStandardGroupRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetStandardGroup") { + setMethod(HttpRequest::Method::Post); +} + +GetStandardGroupRequest::~GetStandardGroupRequest() {} + +long GetStandardGroupRequest::getTid() const { + return tid_; +} + +void GetStandardGroupRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long GetStandardGroupRequest::getGroupId() const { + return groupId_; +} + +void GetStandardGroupRequest::setGroupId(long groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), std::to_string(groupId)); +} + diff --git a/dms-enterprise/src/model/GetStandardGroupResult.cc b/dms-enterprise/src/model/GetStandardGroupResult.cc new file mode 100644 index 000000000..3b61245ad --- /dev/null +++ b/dms-enterprise/src/model/GetStandardGroupResult.cc @@ -0,0 +1,83 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetStandardGroupResult::GetStandardGroupResult() : + ServiceResult() +{} + +GetStandardGroupResult::GetStandardGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetStandardGroupResult::~GetStandardGroupResult() +{} + +void GetStandardGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto standardGroupNode = value["StandardGroup"]; + if(!standardGroupNode["GroupName"].isNull()) + standardGroup_.groupName = standardGroupNode["GroupName"].asString(); + if(!standardGroupNode["Description"].isNull()) + standardGroup_.description = standardGroupNode["Description"].asString(); + if(!standardGroupNode["DbType"].isNull()) + standardGroup_.dbType = standardGroupNode["DbType"].asString(); + if(!standardGroupNode["LastMenderId"].isNull()) + standardGroup_.lastMenderId = std::stol(standardGroupNode["LastMenderId"].asString()); + if(!standardGroupNode["GroupMode"].isNull()) + standardGroup_.groupMode = standardGroupNode["GroupMode"].asString(); + if(!standardGroupNode["GroupId"].isNull()) + standardGroup_.groupId = std::stol(standardGroupNode["GroupId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +GetStandardGroupResult::StandardGroup GetStandardGroupResult::getStandardGroup()const +{ + return standardGroup_; +} + +std::string GetStandardGroupResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetStandardGroupResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool GetStandardGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/GetTableDesignProjectFlowRequest.cc b/dms-enterprise/src/model/GetTableDesignProjectFlowRequest.cc new file mode 100644 index 000000000..78e257c6c --- /dev/null +++ b/dms-enterprise/src/model/GetTableDesignProjectFlowRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetTableDesignProjectFlowRequest; + +GetTableDesignProjectFlowRequest::GetTableDesignProjectFlowRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetTableDesignProjectFlow") { + setMethod(HttpRequest::Method::Post); +} + +GetTableDesignProjectFlowRequest::~GetTableDesignProjectFlowRequest() {} + +long GetTableDesignProjectFlowRequest::getTid() const { + return tid_; +} + +void GetTableDesignProjectFlowRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long GetTableDesignProjectFlowRequest::getOrderId() const { + return orderId_; +} + +void GetTableDesignProjectFlowRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + diff --git a/dms-enterprise/src/model/GetTableDesignProjectFlowResult.cc b/dms-enterprise/src/model/GetTableDesignProjectFlowResult.cc new file mode 100644 index 000000000..39a76e5f5 --- /dev/null +++ b/dms-enterprise/src/model/GetTableDesignProjectFlowResult.cc @@ -0,0 +1,98 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetTableDesignProjectFlowResult::GetTableDesignProjectFlowResult() : + ServiceResult() +{} + +GetTableDesignProjectFlowResult::GetTableDesignProjectFlowResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTableDesignProjectFlowResult::~GetTableDesignProjectFlowResult() +{} + +void GetTableDesignProjectFlowResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto projectFlowNode = value["ProjectFlow"]; + if(!projectFlowNode["CurrentPosition"].isNull()) + projectFlow_.currentPosition = std::stoi(projectFlowNode["CurrentPosition"].asString()); + if(!projectFlowNode["RuleName"].isNull()) + projectFlow_.ruleName = projectFlowNode["RuleName"].asString(); + if(!projectFlowNode["RuleComment"].isNull()) + projectFlow_.ruleComment = projectFlowNode["RuleComment"].asString(); + auto allFlowNodeArrayNode = projectFlowNode["FlowNodeArray"]["FlowNodeArrayItem"]; + for (auto projectFlowNodeFlowNodeArrayFlowNodeArrayItem : allFlowNodeArrayNode) + { + ProjectFlow::FlowNodeArrayItem flowNodeArrayItemObject; + if(!projectFlowNodeFlowNodeArrayFlowNodeArrayItem["NodeRole"].isNull()) + flowNodeArrayItemObject.nodeRole = projectFlowNodeFlowNodeArrayFlowNodeArrayItem["NodeRole"].asString(); + if(!projectFlowNodeFlowNodeArrayFlowNodeArrayItem["NodeTitle"].isNull()) + flowNodeArrayItemObject.nodeTitle = projectFlowNodeFlowNodeArrayFlowNodeArrayItem["NodeTitle"].asString(); + if(!projectFlowNodeFlowNodeArrayFlowNodeArrayItem["Position"].isNull()) + flowNodeArrayItemObject.position = std::stoi(projectFlowNodeFlowNodeArrayFlowNodeArrayItem["Position"].asString()); + if(!projectFlowNodeFlowNodeArrayFlowNodeArrayItem["PublishAnchor"].isNull()) + flowNodeArrayItemObject.publishAnchor = projectFlowNodeFlowNodeArrayFlowNodeArrayItem["PublishAnchor"].asString() == "true"; + if(!projectFlowNodeFlowNodeArrayFlowNodeArrayItem["BackToDesign"].isNull()) + flowNodeArrayItemObject.backToDesign = projectFlowNodeFlowNodeArrayFlowNodeArrayItem["BackToDesign"].asString() == "true"; + if(!projectFlowNodeFlowNodeArrayFlowNodeArrayItem["CanSkip"].isNull()) + flowNodeArrayItemObject.canSkip = projectFlowNodeFlowNodeArrayFlowNodeArrayItem["CanSkip"].asString() == "true"; + auto allPublishStrategies = value["PublishStrategies"]["PublishStrategies"]; + for (auto value : allPublishStrategies) + flowNodeArrayItemObject.publishStrategies.push_back(value.asString()); + projectFlow_.flowNodeArray.push_back(flowNodeArrayItemObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +GetTableDesignProjectFlowResult::ProjectFlow GetTableDesignProjectFlowResult::getProjectFlow()const +{ + return projectFlow_; +} + +std::string GetTableDesignProjectFlowResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetTableDesignProjectFlowResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool GetTableDesignProjectFlowResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/GetTableDesignProjectInfoRequest.cc b/dms-enterprise/src/model/GetTableDesignProjectInfoRequest.cc new file mode 100644 index 000000000..bed3f35b4 --- /dev/null +++ b/dms-enterprise/src/model/GetTableDesignProjectInfoRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetTableDesignProjectInfoRequest; + +GetTableDesignProjectInfoRequest::GetTableDesignProjectInfoRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetTableDesignProjectInfo") { + setMethod(HttpRequest::Method::Post); +} + +GetTableDesignProjectInfoRequest::~GetTableDesignProjectInfoRequest() {} + +long GetTableDesignProjectInfoRequest::getTid() const { + return tid_; +} + +void GetTableDesignProjectInfoRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long GetTableDesignProjectInfoRequest::getOrderId() const { + return orderId_; +} + +void GetTableDesignProjectInfoRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + diff --git a/dms-enterprise/src/model/GetTableDesignProjectInfoResult.cc b/dms-enterprise/src/model/GetTableDesignProjectInfoResult.cc new file mode 100644 index 000000000..3906a1503 --- /dev/null +++ b/dms-enterprise/src/model/GetTableDesignProjectInfoResult.cc @@ -0,0 +1,102 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetTableDesignProjectInfoResult::GetTableDesignProjectInfoResult() : + ServiceResult() +{} + +GetTableDesignProjectInfoResult::GetTableDesignProjectInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTableDesignProjectInfoResult::~GetTableDesignProjectInfoResult() +{} + +void GetTableDesignProjectInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto projectInfoNode = value["ProjectInfo"]; + if(!projectInfoNode["OrderId"].isNull()) + projectInfo_.orderId = std::stol(projectInfoNode["OrderId"].asString()); + if(!projectInfoNode["ProjectId"].isNull()) + projectInfo_.projectId = std::stol(projectInfoNode["ProjectId"].asString()); + if(!projectInfoNode["GmtCreate"].isNull()) + projectInfo_.gmtCreate = projectInfoNode["GmtCreate"].asString(); + if(!projectInfoNode["GmtModified"].isNull()) + projectInfo_.gmtModified = projectInfoNode["GmtModified"].asString(); + if(!projectInfoNode["Status"].isNull()) + projectInfo_.status = projectInfoNode["Status"].asString(); + if(!projectInfoNode["Title"].isNull()) + projectInfo_.title = projectInfoNode["Title"].asString(); + if(!projectInfoNode["Description"].isNull()) + projectInfo_.description = projectInfoNode["Description"].asString(); + if(!projectInfoNode["CreatorId"].isNull()) + projectInfo_.creatorId = std::stol(projectInfoNode["CreatorId"].asString()); + auto baseDatabaseNode = projectInfoNode["BaseDatabase"]; + if(!baseDatabaseNode["SearchName"].isNull()) + projectInfo_.baseDatabase.searchName = baseDatabaseNode["SearchName"].asString(); + if(!baseDatabaseNode["SchemaName"].isNull()) + projectInfo_.baseDatabase.schemaName = baseDatabaseNode["SchemaName"].asString(); + if(!baseDatabaseNode["DbId"].isNull()) + projectInfo_.baseDatabase.dbId = std::stoi(baseDatabaseNode["DbId"].asString()); + if(!baseDatabaseNode["Logic"].isNull()) + projectInfo_.baseDatabase.logic = baseDatabaseNode["Logic"].asString() == "true"; + if(!baseDatabaseNode["Alias"].isNull()) + projectInfo_.baseDatabase.alias = baseDatabaseNode["Alias"].asString(); + if(!baseDatabaseNode["EnvType"].isNull()) + projectInfo_.baseDatabase.envType = baseDatabaseNode["EnvType"].asString(); + if(!baseDatabaseNode["DbType"].isNull()) + projectInfo_.baseDatabase.dbType = baseDatabaseNode["DbType"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +GetTableDesignProjectInfoResult::ProjectInfo GetTableDesignProjectInfoResult::getProjectInfo()const +{ + return projectInfo_; +} + +std::string GetTableDesignProjectInfoResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetTableDesignProjectInfoResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool GetTableDesignProjectInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListAbacAuthorizationsRequest.cc b/dms-enterprise/src/model/ListAbacAuthorizationsRequest.cc new file mode 100644 index 000000000..eed8b6be5 --- /dev/null +++ b/dms-enterprise/src/model/ListAbacAuthorizationsRequest.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 + +using AlibabaCloud::Dms_enterprise::Model::ListAbacAuthorizationsRequest; + +ListAbacAuthorizationsRequest::ListAbacAuthorizationsRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListAbacAuthorizations") { + setMethod(HttpRequest::Method::Post); +} + +ListAbacAuthorizationsRequest::~ListAbacAuthorizationsRequest() {} + +long ListAbacAuthorizationsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListAbacAuthorizationsRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +long ListAbacAuthorizationsRequest::getTid() const { + return tid_; +} + +void ListAbacAuthorizationsRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string ListAbacAuthorizationsRequest::getPolicyId() const { + return policyId_; +} + +void ListAbacAuthorizationsRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); +} + +long ListAbacAuthorizationsRequest::getPageSize() const { + return pageSize_; +} + +void ListAbacAuthorizationsRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListAbacAuthorizationsRequest::getPolicySource() const { + return policySource_; +} + +void ListAbacAuthorizationsRequest::setPolicySource(const std::string &policySource) { + policySource_ = policySource; + setParameter(std::string("PolicySource"), policySource); +} + diff --git a/dms-enterprise/src/model/ListAbacAuthorizationsResult.cc b/dms-enterprise/src/model/ListAbacAuthorizationsResult.cc new file mode 100644 index 000000000..39b2986fc --- /dev/null +++ b/dms-enterprise/src/model/ListAbacAuthorizationsResult.cc @@ -0,0 +1,97 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListAbacAuthorizationsResult::ListAbacAuthorizationsResult() : + ServiceResult() +{} + +ListAbacAuthorizationsResult::ListAbacAuthorizationsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAbacAuthorizationsResult::~ListAbacAuthorizationsResult() +{} + +void ListAbacAuthorizationsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAuthorizationListNode = value["AuthorizationList"]["AuthorizationListItem"]; + for (auto valueAuthorizationListAuthorizationListItem : allAuthorizationListNode) + { + AuthorizationListItem authorizationListObject; + if(!valueAuthorizationListAuthorizationListItem["PolicyId"].isNull()) + authorizationListObject.policyId = std::stol(valueAuthorizationListAuthorizationListItem["PolicyId"].asString()); + if(!valueAuthorizationListAuthorizationListItem["PolicyName"].isNull()) + authorizationListObject.policyName = valueAuthorizationListAuthorizationListItem["PolicyName"].asString(); + if(!valueAuthorizationListAuthorizationListItem["PolicySource"].isNull()) + authorizationListObject.policySource = valueAuthorizationListAuthorizationListItem["PolicySource"].asString(); + if(!valueAuthorizationListAuthorizationListItem["AuthorizationId"].isNull()) + authorizationListObject.authorizationId = std::stol(valueAuthorizationListAuthorizationListItem["AuthorizationId"].asString()); + if(!valueAuthorizationListAuthorizationListItem["IdentityId"].isNull()) + authorizationListObject.identityId = std::stol(valueAuthorizationListAuthorizationListItem["IdentityId"].asString()); + if(!valueAuthorizationListAuthorizationListItem["IdentityName"].isNull()) + authorizationListObject.identityName = valueAuthorizationListAuthorizationListItem["IdentityName"].asString(); + if(!valueAuthorizationListAuthorizationListItem["IdentityType"].isNull()) + authorizationListObject.identityType = valueAuthorizationListAuthorizationListItem["IdentityType"].asString(); + authorizationList_.push_back(authorizationListObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListAbacAuthorizationsResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListAbacAuthorizationsResult::getErrorCode()const +{ + return errorCode_; +} + +std::vector ListAbacAuthorizationsResult::getAuthorizationList()const +{ + return authorizationList_; +} + +std::string ListAbacAuthorizationsResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListAbacAuthorizationsResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListAbacPoliciesRequest.cc b/dms-enterprise/src/model/ListAbacPoliciesRequest.cc new file mode 100644 index 000000000..ca014ede4 --- /dev/null +++ b/dms-enterprise/src/model/ListAbacPoliciesRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListAbacPoliciesRequest; + +ListAbacPoliciesRequest::ListAbacPoliciesRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListAbacPolicies") { + setMethod(HttpRequest::Method::Post); +} + +ListAbacPoliciesRequest::~ListAbacPoliciesRequest() {} + +std::string ListAbacPoliciesRequest::getSearchKey() const { + return searchKey_; +} + +void ListAbacPoliciesRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setParameter(std::string("SearchKey"), searchKey); +} + +long ListAbacPoliciesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListAbacPoliciesRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +long ListAbacPoliciesRequest::getTid() const { + return tid_; +} + +void ListAbacPoliciesRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long ListAbacPoliciesRequest::getPageSize() const { + return pageSize_; +} + +void ListAbacPoliciesRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/dms-enterprise/src/model/ListAbacPoliciesResult.cc b/dms-enterprise/src/model/ListAbacPoliciesResult.cc new file mode 100644 index 000000000..e445cba19 --- /dev/null +++ b/dms-enterprise/src/model/ListAbacPoliciesResult.cc @@ -0,0 +1,102 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListAbacPoliciesResult::ListAbacPoliciesResult() : + ServiceResult() +{} + +ListAbacPoliciesResult::ListAbacPoliciesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAbacPoliciesResult::~ListAbacPoliciesResult() +{} + +void ListAbacPoliciesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPolicyListNode = value["PolicyList"]["policyListItem"]; + for (auto valuePolicyListpolicyListItem : allPolicyListNode) + { + PolicyListItem policyListObject; + if(!valuePolicyListpolicyListItem["AbacPolicyId"].isNull()) + policyListObject.abacPolicyId = std::stol(valuePolicyListpolicyListItem["AbacPolicyId"].asString()); + if(!valuePolicyListpolicyListItem["AbacPolicyName"].isNull()) + policyListObject.abacPolicyName = valuePolicyListpolicyListItem["AbacPolicyName"].asString(); + if(!valuePolicyListpolicyListItem["AbacPolicyDesc"].isNull()) + policyListObject.abacPolicyDesc = valuePolicyListpolicyListItem["AbacPolicyDesc"].asString(); + if(!valuePolicyListpolicyListItem["AbacPolicyContent"].isNull()) + policyListObject.abacPolicyContent = valuePolicyListpolicyListItem["AbacPolicyContent"].asString(); + if(!valuePolicyListpolicyListItem["CreatorId"].isNull()) + policyListObject.creatorId = std::stol(valuePolicyListpolicyListItem["CreatorId"].asString()); + if(!valuePolicyListpolicyListItem["AbacPolicySource"].isNull()) + policyListObject.abacPolicySource = valuePolicyListpolicyListItem["AbacPolicySource"].asString(); + policyList_.push_back(policyListObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Tid"].isNull()) + tid_ = std::stol(value["Tid"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListAbacPoliciesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListAbacPoliciesResult::getPolicyList()const +{ + return policyList_; +} + +std::string ListAbacPoliciesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListAbacPoliciesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListAbacPoliciesResult::getSuccess()const +{ + return success_; +} + +long ListAbacPoliciesResult::getTid()const +{ + return tid_; +} + diff --git a/dms-enterprise/src/model/ListAuthorizedDatabasesForUserRequest.cc b/dms-enterprise/src/model/ListAuthorizedDatabasesForUserRequest.cc new file mode 100644 index 000000000..635969db3 --- /dev/null +++ b/dms-enterprise/src/model/ListAuthorizedDatabasesForUserRequest.cc @@ -0,0 +1,99 @@ +/* + * 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::Dms_enterprise::Model::ListAuthorizedDatabasesForUserRequest; + +ListAuthorizedDatabasesForUserRequest::ListAuthorizedDatabasesForUserRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListAuthorizedDatabasesForUser") { + setMethod(HttpRequest::Method::Post); +} + +ListAuthorizedDatabasesForUserRequest::~ListAuthorizedDatabasesForUserRequest() {} + +std::string ListAuthorizedDatabasesForUserRequest::getSearchKey() const { + return searchKey_; +} + +void ListAuthorizedDatabasesForUserRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setParameter(std::string("SearchKey"), searchKey); +} + +std::string ListAuthorizedDatabasesForUserRequest::getUserId() const { + return userId_; +} + +void ListAuthorizedDatabasesForUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); +} + +std::string ListAuthorizedDatabasesForUserRequest::getPageNumber() const { + return pageNumber_; +} + +void ListAuthorizedDatabasesForUserRequest::setPageNumber(const std::string &pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), pageNumber); +} + +long ListAuthorizedDatabasesForUserRequest::getTid() const { + return tid_; +} + +void ListAuthorizedDatabasesForUserRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string ListAuthorizedDatabasesForUserRequest::getEnvType() const { + return envType_; +} + +void ListAuthorizedDatabasesForUserRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setParameter(std::string("EnvType"), envType); +} + +std::string ListAuthorizedDatabasesForUserRequest::getPageSize() const { + return pageSize_; +} + +void ListAuthorizedDatabasesForUserRequest::setPageSize(const std::string &pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), pageSize); +} + +std::string ListAuthorizedDatabasesForUserRequest::getDbType() const { + return dbType_; +} + +void ListAuthorizedDatabasesForUserRequest::setDbType(const std::string &dbType) { + dbType_ = dbType; + setParameter(std::string("DbType"), dbType); +} + +bool ListAuthorizedDatabasesForUserRequest::getLogic() const { + return logic_; +} + +void ListAuthorizedDatabasesForUserRequest::setLogic(bool logic) { + logic_ = logic; + setParameter(std::string("Logic"), logic ? "true" : "false"); +} + diff --git a/dms-enterprise/src/model/ListAuthorizedDatabasesForUserResult.cc b/dms-enterprise/src/model/ListAuthorizedDatabasesForUserResult.cc new file mode 100644 index 000000000..8ddbe92d1 --- /dev/null +++ b/dms-enterprise/src/model/ListAuthorizedDatabasesForUserResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListAuthorizedDatabasesForUserResult::ListAuthorizedDatabasesForUserResult() : + ServiceResult() +{} + +ListAuthorizedDatabasesForUserResult::ListAuthorizedDatabasesForUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAuthorizedDatabasesForUserResult::~ListAuthorizedDatabasesForUserResult() +{} + +void ListAuthorizedDatabasesForUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDatabasesNode = value["Databases"]["databasesItem"]; + for (auto valueDatabasesdatabasesItem : allDatabasesNode) + { + DatabasesItem databasesObject; + if(!valueDatabasesdatabasesItem["DbId"].isNull()) + databasesObject.dbId = valueDatabasesdatabasesItem["DbId"].asString(); + if(!valueDatabasesdatabasesItem["SchemaName"].isNull()) + databasesObject.schemaName = valueDatabasesdatabasesItem["SchemaName"].asString(); + if(!valueDatabasesdatabasesItem["SearchName"].isNull()) + databasesObject.searchName = valueDatabasesdatabasesItem["SearchName"].asString(); + if(!valueDatabasesdatabasesItem["InstanceId"].isNull()) + databasesObject.instanceId = valueDatabasesdatabasesItem["InstanceId"].asString(); + if(!valueDatabasesdatabasesItem["Logic"].isNull()) + databasesObject.logic = valueDatabasesdatabasesItem["Logic"].asString() == "true"; + if(!valueDatabasesdatabasesItem["DbType"].isNull()) + databasesObject.dbType = valueDatabasesdatabasesItem["DbType"].asString(); + if(!valueDatabasesdatabasesItem["UserId"].isNull()) + databasesObject.userId = valueDatabasesdatabasesItem["UserId"].asString(); + if(!valueDatabasesdatabasesItem["EnvType"].isNull()) + databasesObject.envType = valueDatabasesdatabasesItem["EnvType"].asString(); + auto permissionDetailNode = value["PermissionDetail"]; + if(!permissionDetailNode["DsType"].isNull()) + databasesObject.permissionDetail.dsType = permissionDetailNode["DsType"].asString(); + if(!permissionDetailNode["PermType"].isNull()) + databasesObject.permissionDetail.permType = permissionDetailNode["PermType"].asString(); + if(!permissionDetailNode["ExpireDate"].isNull()) + databasesObject.permissionDetail.expireDate = permissionDetailNode["ExpireDate"].asString(); + if(!permissionDetailNode["Message"].isNull()) + databasesObject.permissionDetail.message = permissionDetailNode["Message"].asString(); + databases_.push_back(databasesObject); + } + +} + +std::vector ListAuthorizedDatabasesForUserResult::getDatabases()const +{ + return databases_; +} + diff --git a/dms-enterprise/src/model/ListAuthorizedInstancesForUserRequest.cc b/dms-enterprise/src/model/ListAuthorizedInstancesForUserRequest.cc new file mode 100644 index 000000000..c9c4d089f --- /dev/null +++ b/dms-enterprise/src/model/ListAuthorizedInstancesForUserRequest.cc @@ -0,0 +1,90 @@ +/* + * 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::Dms_enterprise::Model::ListAuthorizedInstancesForUserRequest; + +ListAuthorizedInstancesForUserRequest::ListAuthorizedInstancesForUserRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListAuthorizedInstancesForUser") { + setMethod(HttpRequest::Method::Post); +} + +ListAuthorizedInstancesForUserRequest::~ListAuthorizedInstancesForUserRequest() {} + +std::string ListAuthorizedInstancesForUserRequest::getSearchKey() const { + return searchKey_; +} + +void ListAuthorizedInstancesForUserRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setParameter(std::string("SearchKey"), searchKey); +} + +std::string ListAuthorizedInstancesForUserRequest::getUserId() const { + return userId_; +} + +void ListAuthorizedInstancesForUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); +} + +std::string ListAuthorizedInstancesForUserRequest::getPageNumber() const { + return pageNumber_; +} + +void ListAuthorizedInstancesForUserRequest::setPageNumber(const std::string &pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), pageNumber); +} + +long ListAuthorizedInstancesForUserRequest::getTid() const { + return tid_; +} + +void ListAuthorizedInstancesForUserRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string ListAuthorizedInstancesForUserRequest::getEnvType() const { + return envType_; +} + +void ListAuthorizedInstancesForUserRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setParameter(std::string("EnvType"), envType); +} + +std::string ListAuthorizedInstancesForUserRequest::getPageSize() const { + return pageSize_; +} + +void ListAuthorizedInstancesForUserRequest::setPageSize(const std::string &pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), pageSize); +} + +std::string ListAuthorizedInstancesForUserRequest::getDbType() const { + return dbType_; +} + +void ListAuthorizedInstancesForUserRequest::setDbType(const std::string &dbType) { + dbType_ = dbType; + setParameter(std::string("DbType"), dbType); +} + diff --git a/dms-enterprise/src/model/ListAuthorizedInstancesForUserResult.cc b/dms-enterprise/src/model/ListAuthorizedInstancesForUserResult.cc new file mode 100644 index 000000000..d3a9f4cac --- /dev/null +++ b/dms-enterprise/src/model/ListAuthorizedInstancesForUserResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListAuthorizedInstancesForUserResult::ListAuthorizedInstancesForUserResult() : + ServiceResult() +{} + +ListAuthorizedInstancesForUserResult::ListAuthorizedInstancesForUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAuthorizedInstancesForUserResult::~ListAuthorizedInstancesForUserResult() +{} + +void ListAuthorizedInstancesForUserResult::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["InstanceId"].isNull()) + instancesObject.instanceId = valueInstancesinstancesItem["InstanceId"].asString(); + if(!valueInstancesinstancesItem["Host"].isNull()) + instancesObject.host = valueInstancesinstancesItem["Host"].asString(); + if(!valueInstancesinstancesItem["Port"].isNull()) + instancesObject.port = valueInstancesinstancesItem["Port"].asString(); + if(!valueInstancesinstancesItem["DbType"].isNull()) + instancesObject.dbType = valueInstancesinstancesItem["DbType"].asString(); + if(!valueInstancesinstancesItem["UserId"].isNull()) + instancesObject.userId = valueInstancesinstancesItem["UserId"].asString(); + if(!valueInstancesinstancesItem["UserName"].isNull()) + instancesObject.userName = valueInstancesinstancesItem["UserName"].asString(); + if(!valueInstancesinstancesItem["InstanceAlias"].isNull()) + instancesObject.instanceAlias = valueInstancesinstancesItem["InstanceAlias"].asString(); + if(!valueInstancesinstancesItem["EnvType"].isNull()) + instancesObject.envType = valueInstancesinstancesItem["EnvType"].asString(); + auto permissionDetailNode = value["PermissionDetail"]; + if(!permissionDetailNode["DsType"].isNull()) + instancesObject.permissionDetail.dsType = permissionDetailNode["DsType"].asString(); + if(!permissionDetailNode["PermType"].isNull()) + instancesObject.permissionDetail.permType = permissionDetailNode["PermType"].asString(); + if(!permissionDetailNode["ExpireDate"].isNull()) + instancesObject.permissionDetail.expireDate = permissionDetailNode["ExpireDate"].asString(); + if(!permissionDetailNode["Message"].isNull()) + instancesObject.permissionDetail.message = permissionDetailNode["Message"].asString(); + instances_.push_back(instancesObject); + } + +} + +std::vector ListAuthorizedInstancesForUserResult::getInstances()const +{ + return instances_; +} + diff --git a/dms-enterprise/src/model/ListAuthorizedUsersForDatabaseRequest.cc b/dms-enterprise/src/model/ListAuthorizedUsersForDatabaseRequest.cc new file mode 100644 index 000000000..d85cfc089 --- /dev/null +++ b/dms-enterprise/src/model/ListAuthorizedUsersForDatabaseRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListAuthorizedUsersForDatabaseRequest; + +ListAuthorizedUsersForDatabaseRequest::ListAuthorizedUsersForDatabaseRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListAuthorizedUsersForDatabase") { + setMethod(HttpRequest::Method::Post); +} + +ListAuthorizedUsersForDatabaseRequest::~ListAuthorizedUsersForDatabaseRequest() {} + +std::string ListAuthorizedUsersForDatabaseRequest::getSearchKey() const { + return searchKey_; +} + +void ListAuthorizedUsersForDatabaseRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setParameter(std::string("SearchKey"), searchKey); +} + +std::string ListAuthorizedUsersForDatabaseRequest::getPageNumber() const { + return pageNumber_; +} + +void ListAuthorizedUsersForDatabaseRequest::setPageNumber(const std::string &pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), pageNumber); +} + +long ListAuthorizedUsersForDatabaseRequest::getTid() const { + return tid_; +} + +void ListAuthorizedUsersForDatabaseRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string ListAuthorizedUsersForDatabaseRequest::getPageSize() const { + return pageSize_; +} + +void ListAuthorizedUsersForDatabaseRequest::setPageSize(const std::string &pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), pageSize); +} + +std::string ListAuthorizedUsersForDatabaseRequest::getDbId() const { + return dbId_; +} + +void ListAuthorizedUsersForDatabaseRequest::setDbId(const std::string &dbId) { + dbId_ = dbId; + setParameter(std::string("DbId"), dbId); +} + +bool ListAuthorizedUsersForDatabaseRequest::getLogic() const { + return logic_; +} + +void ListAuthorizedUsersForDatabaseRequest::setLogic(bool logic) { + logic_ = logic; + setParameter(std::string("Logic"), logic ? "true" : "false"); +} + diff --git a/dms-enterprise/src/model/ListAuthorizedUsersForDatabaseResult.cc b/dms-enterprise/src/model/ListAuthorizedUsersForDatabaseResult.cc new file mode 100644 index 000000000..0cb592e33 --- /dev/null +++ b/dms-enterprise/src/model/ListAuthorizedUsersForDatabaseResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListAuthorizedUsersForDatabaseResult::ListAuthorizedUsersForDatabaseResult() : + ServiceResult() +{} + +ListAuthorizedUsersForDatabaseResult::ListAuthorizedUsersForDatabaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAuthorizedUsersForDatabaseResult::~ListAuthorizedUsersForDatabaseResult() +{} + +void ListAuthorizedUsersForDatabaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allUsersNode = value["Users"]["usersItem"]; + for (auto valueUsersusersItem : allUsersNode) + { + UsersItem usersObject; + if(!valueUsersusersItem["UserId"].isNull()) + usersObject.userId = valueUsersusersItem["UserId"].asString(); + if(!valueUsersusersItem["UserNickName"].isNull()) + usersObject.userNickName = valueUsersusersItem["UserNickName"].asString(); + if(!valueUsersusersItem["Uid"].isNull()) + usersObject.uid = valueUsersusersItem["Uid"].asString(); + users_.push_back(usersObject); + } + +} + +std::vector ListAuthorizedUsersForDatabaseResult::getUsers()const +{ + return users_; +} + diff --git a/dms-enterprise/src/model/ListAuthorizedUsersForInstanceRequest.cc b/dms-enterprise/src/model/ListAuthorizedUsersForInstanceRequest.cc new file mode 100644 index 000000000..635dbd902 --- /dev/null +++ b/dms-enterprise/src/model/ListAuthorizedUsersForInstanceRequest.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 + +using AlibabaCloud::Dms_enterprise::Model::ListAuthorizedUsersForInstanceRequest; + +ListAuthorizedUsersForInstanceRequest::ListAuthorizedUsersForInstanceRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListAuthorizedUsersForInstance") { + setMethod(HttpRequest::Method::Post); +} + +ListAuthorizedUsersForInstanceRequest::~ListAuthorizedUsersForInstanceRequest() {} + +std::string ListAuthorizedUsersForInstanceRequest::getSearchKey() const { + return searchKey_; +} + +void ListAuthorizedUsersForInstanceRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setParameter(std::string("SearchKey"), searchKey); +} + +std::string ListAuthorizedUsersForInstanceRequest::getPageNumber() const { + return pageNumber_; +} + +void ListAuthorizedUsersForInstanceRequest::setPageNumber(const std::string &pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), pageNumber); +} + +long ListAuthorizedUsersForInstanceRequest::getTid() const { + return tid_; +} + +void ListAuthorizedUsersForInstanceRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string ListAuthorizedUsersForInstanceRequest::getPageSize() const { + return pageSize_; +} + +void ListAuthorizedUsersForInstanceRequest::setPageSize(const std::string &pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), pageSize); +} + +std::string ListAuthorizedUsersForInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void ListAuthorizedUsersForInstanceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/dms-enterprise/src/model/ListAuthorizedUsersForInstanceResult.cc b/dms-enterprise/src/model/ListAuthorizedUsersForInstanceResult.cc new file mode 100644 index 000000000..b69d0d5b7 --- /dev/null +++ b/dms-enterprise/src/model/ListAuthorizedUsersForInstanceResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListAuthorizedUsersForInstanceResult::ListAuthorizedUsersForInstanceResult() : + ServiceResult() +{} + +ListAuthorizedUsersForInstanceResult::ListAuthorizedUsersForInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAuthorizedUsersForInstanceResult::~ListAuthorizedUsersForInstanceResult() +{} + +void ListAuthorizedUsersForInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allUsersNode = value["Users"]["usersItem"]; + for (auto valueUsersusersItem : allUsersNode) + { + UsersItem usersObject; + if(!valueUsersusersItem["UserId"].isNull()) + usersObject.userId = valueUsersusersItem["UserId"].asString(); + if(!valueUsersusersItem["Uid"].isNull()) + usersObject.uid = valueUsersusersItem["Uid"].asString(); + if(!valueUsersusersItem["UserNickName"].isNull()) + usersObject.userNickName = valueUsersusersItem["UserNickName"].asString(); + if(!valueUsersusersItem["UserRealName"].isNull()) + usersObject.userRealName = valueUsersusersItem["UserRealName"].asString(); + users_.push_back(usersObject); + } + +} + +std::vector ListAuthorizedUsersForInstanceResult::getUsers()const +{ + return users_; +} + diff --git a/dms-enterprise/src/model/ListDataLakeCatalogRequest.cc b/dms-enterprise/src/model/ListDataLakeCatalogRequest.cc new file mode 100644 index 000000000..6c1917844 --- /dev/null +++ b/dms-enterprise/src/model/ListDataLakeCatalogRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListDataLakeCatalogRequest; + +ListDataLakeCatalogRequest::ListDataLakeCatalogRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListDataLakeCatalog") { + setMethod(HttpRequest::Method::Post); +} + +ListDataLakeCatalogRequest::~ListDataLakeCatalogRequest() {} + +std::string ListDataLakeCatalogRequest::getSearchKey() const { + return searchKey_; +} + +void ListDataLakeCatalogRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setParameter(std::string("SearchKey"), searchKey); +} + +long ListDataLakeCatalogRequest::getTid() const { + return tid_; +} + +void ListDataLakeCatalogRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string ListDataLakeCatalogRequest::getDataRegion() const { + return dataRegion_; +} + +void ListDataLakeCatalogRequest::setDataRegion(const std::string &dataRegion) { + dataRegion_ = dataRegion; + setParameter(std::string("DataRegion"), dataRegion); +} + diff --git a/dms-enterprise/src/model/ListDataLakeCatalogResult.cc b/dms-enterprise/src/model/ListDataLakeCatalogResult.cc new file mode 100644 index 000000000..6ec9b9a89 --- /dev/null +++ b/dms-enterprise/src/model/ListDataLakeCatalogResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListDataLakeCatalogResult::ListDataLakeCatalogResult() : + ServiceResult() +{} + +ListDataLakeCatalogResult::ListDataLakeCatalogResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDataLakeCatalogResult::~ListDataLakeCatalogResult() +{} + +void ListDataLakeCatalogResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCataLogListNode = value["CataLogList"]["Catalog"]; + for (auto valueCataLogListCatalog : allCataLogListNode) + { + Catalog cataLogListObject; + if(!valueCataLogListCatalog["Description"].isNull()) + cataLogListObject.description = valueCataLogListCatalog["Description"].asString(); + if(!valueCataLogListCatalog["Name"].isNull()) + cataLogListObject.name = valueCataLogListCatalog["Name"].asString(); + if(!valueCataLogListCatalog["Location"].isNull()) + cataLogListObject.location = valueCataLogListCatalog["Location"].asString(); + cataLogList_.push_back(cataLogListObject); + } + 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(); + +} + +std::vector ListDataLakeCatalogResult::getCataLogList()const +{ + return cataLogList_; +} + +std::string ListDataLakeCatalogResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListDataLakeCatalogResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListDataLakeCatalogResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListDataLakeDatabaseRequest.cc b/dms-enterprise/src/model/ListDataLakeDatabaseRequest.cc new file mode 100644 index 000000000..7b71ea2e1 --- /dev/null +++ b/dms-enterprise/src/model/ListDataLakeDatabaseRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListDataLakeDatabaseRequest; + +ListDataLakeDatabaseRequest::ListDataLakeDatabaseRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListDataLakeDatabase") { + setMethod(HttpRequest::Method::Post); +} + +ListDataLakeDatabaseRequest::~ListDataLakeDatabaseRequest() {} + +std::string ListDataLakeDatabaseRequest::getSearchKey() const { + return searchKey_; +} + +void ListDataLakeDatabaseRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setParameter(std::string("SearchKey"), searchKey); +} + +long ListDataLakeDatabaseRequest::getTid() const { + return tid_; +} + +void ListDataLakeDatabaseRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string ListDataLakeDatabaseRequest::getNextToken() const { + return nextToken_; +} + +void ListDataLakeDatabaseRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::string ListDataLakeDatabaseRequest::getCatalogName() const { + return catalogName_; +} + +void ListDataLakeDatabaseRequest::setCatalogName(const std::string &catalogName) { + catalogName_ = catalogName; + setParameter(std::string("CatalogName"), catalogName); +} + +std::string ListDataLakeDatabaseRequest::getDataRegion() const { + return dataRegion_; +} + +void ListDataLakeDatabaseRequest::setDataRegion(const std::string &dataRegion) { + dataRegion_ = dataRegion; + setParameter(std::string("DataRegion"), dataRegion); +} + +int ListDataLakeDatabaseRequest::getMaxResults() const { + return maxResults_; +} + +void ListDataLakeDatabaseRequest::setMaxResults(int maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + diff --git a/dms-enterprise/src/model/ListDataLakeDatabaseResult.cc b/dms-enterprise/src/model/ListDataLakeDatabaseResult.cc new file mode 100644 index 000000000..38bc4cf0c --- /dev/null +++ b/dms-enterprise/src/model/ListDataLakeDatabaseResult.cc @@ -0,0 +1,102 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListDataLakeDatabaseResult::ListDataLakeDatabaseResult() : + ServiceResult() +{} + +ListDataLakeDatabaseResult::ListDataLakeDatabaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDataLakeDatabaseResult::~ListDataLakeDatabaseResult() +{} + +void ListDataLakeDatabaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDatabaseListNode = value["DatabaseList"]["Database"]; + for (auto valueDatabaseListDatabase : allDatabaseListNode) + { + Database databaseListObject; + if(!valueDatabaseListDatabase["Description"].isNull()) + databaseListObject.description = valueDatabaseListDatabase["Description"].asString(); + if(!valueDatabaseListDatabase["Parameters"].isNull()) + databaseListObject.parameters = valueDatabaseListDatabase["Parameters"].asString(); + if(!valueDatabaseListDatabase["DbId"].isNull()) + databaseListObject.dbId = std::stol(valueDatabaseListDatabase["DbId"].asString()); + if(!valueDatabaseListDatabase["CatalogName"].isNull()) + databaseListObject.catalogName = valueDatabaseListDatabase["CatalogName"].asString(); + if(!valueDatabaseListDatabase["Name"].isNull()) + databaseListObject.name = valueDatabaseListDatabase["Name"].asString(); + if(!valueDatabaseListDatabase["Location"].isNull()) + databaseListObject.location = valueDatabaseListDatabase["Location"].asString(); + databaseList_.push_back(databaseListObject); + } + 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["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = std::stoi(value["MaxResults"].asString()); + +} + +std::vector ListDataLakeDatabaseResult::getDatabaseList()const +{ + return databaseList_; +} + +std::string ListDataLakeDatabaseResult::getNextToken()const +{ + return nextToken_; +} + +int ListDataLakeDatabaseResult::getMaxResults()const +{ + return maxResults_; +} + +std::string ListDataLakeDatabaseResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListDataLakeDatabaseResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListDataLakeDatabaseResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListDataLakeTablebaseInfoRequest.cc b/dms-enterprise/src/model/ListDataLakeTablebaseInfoRequest.cc new file mode 100644 index 000000000..058ebc94d --- /dev/null +++ b/dms-enterprise/src/model/ListDataLakeTablebaseInfoRequest.cc @@ -0,0 +1,90 @@ +/* + * 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::Dms_enterprise::Model::ListDataLakeTablebaseInfoRequest; + +ListDataLakeTablebaseInfoRequest::ListDataLakeTablebaseInfoRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListDataLakeTablebaseInfo") { + setMethod(HttpRequest::Method::Post); +} + +ListDataLakeTablebaseInfoRequest::~ListDataLakeTablebaseInfoRequest() {} + +std::string ListDataLakeTablebaseInfoRequest::getSearchKey() const { + return searchKey_; +} + +void ListDataLakeTablebaseInfoRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setParameter(std::string("SearchKey"), searchKey); +} + +long ListDataLakeTablebaseInfoRequest::getTid() const { + return tid_; +} + +void ListDataLakeTablebaseInfoRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string ListDataLakeTablebaseInfoRequest::getCatalogName() const { + return catalogName_; +} + +void ListDataLakeTablebaseInfoRequest::setCatalogName(const std::string &catalogName) { + catalogName_ = catalogName; + setParameter(std::string("CatalogName"), catalogName); +} + +int ListDataLakeTablebaseInfoRequest::getRows() const { + return rows_; +} + +void ListDataLakeTablebaseInfoRequest::setRows(int rows) { + rows_ = rows; + setParameter(std::string("Rows"), std::to_string(rows)); +} + +std::string ListDataLakeTablebaseInfoRequest::getDbName() const { + return dbName_; +} + +void ListDataLakeTablebaseInfoRequest::setDbName(const std::string &dbName) { + dbName_ = dbName; + setParameter(std::string("DbName"), dbName); +} + +std::string ListDataLakeTablebaseInfoRequest::getDataRegion() const { + return dataRegion_; +} + +void ListDataLakeTablebaseInfoRequest::setDataRegion(const std::string &dataRegion) { + dataRegion_ = dataRegion; + setParameter(std::string("DataRegion"), dataRegion); +} + +int ListDataLakeTablebaseInfoRequest::getPage() const { + return page_; +} + +void ListDataLakeTablebaseInfoRequest::setPage(int page) { + page_ = page; + setParameter(std::string("Page"), std::to_string(page)); +} + diff --git a/dms-enterprise/src/model/ListDataLakeTablebaseInfoResult.cc b/dms-enterprise/src/model/ListDataLakeTablebaseInfoResult.cc new file mode 100644 index 000000000..53b643d10 --- /dev/null +++ b/dms-enterprise/src/model/ListDataLakeTablebaseInfoResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListDataLakeTablebaseInfoResult::ListDataLakeTablebaseInfoResult() : + ServiceResult() +{} + +ListDataLakeTablebaseInfoResult::ListDataLakeTablebaseInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDataLakeTablebaseInfoResult::~ListDataLakeTablebaseInfoResult() +{} + +void ListDataLakeTablebaseInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTablebaseInfoListNode = value["TablebaseInfoList"]["TablebaseInfo"]; + for (auto valueTablebaseInfoListTablebaseInfo : allTablebaseInfoListNode) + { + TablebaseInfo tablebaseInfoListObject; + if(!valueTablebaseInfoListTablebaseInfo["Owner"].isNull()) + tablebaseInfoListObject.owner = valueTablebaseInfoListTablebaseInfo["Owner"].asString(); + if(!valueTablebaseInfoListTablebaseInfo["ViewOriginalText"].isNull()) + tablebaseInfoListObject.viewOriginalText = valueTablebaseInfoListTablebaseInfo["ViewOriginalText"].asString(); + if(!valueTablebaseInfoListTablebaseInfo["TableType"].isNull()) + tablebaseInfoListObject.tableType = valueTablebaseInfoListTablebaseInfo["TableType"].asString(); + if(!valueTablebaseInfoListTablebaseInfo["Parameters"].isNull()) + tablebaseInfoListObject.parameters = valueTablebaseInfoListTablebaseInfo["Parameters"].asString(); + if(!valueTablebaseInfoListTablebaseInfo["Description"].isNull()) + tablebaseInfoListObject.description = valueTablebaseInfoListTablebaseInfo["Description"].asString(); + if(!valueTablebaseInfoListTablebaseInfo["CreatorId"].isNull()) + tablebaseInfoListObject.creatorId = std::stol(valueTablebaseInfoListTablebaseInfo["CreatorId"].asString()); + if(!valueTablebaseInfoListTablebaseInfo["CreateTime"].isNull()) + tablebaseInfoListObject.createTime = std::stoi(valueTablebaseInfoListTablebaseInfo["CreateTime"].asString()); + if(!valueTablebaseInfoListTablebaseInfo["LastAccessTime"].isNull()) + tablebaseInfoListObject.lastAccessTime = std::stoi(valueTablebaseInfoListTablebaseInfo["LastAccessTime"].asString()); + if(!valueTablebaseInfoListTablebaseInfo["Retention"].isNull()) + tablebaseInfoListObject.retention = std::stoi(valueTablebaseInfoListTablebaseInfo["Retention"].asString()); + if(!valueTablebaseInfoListTablebaseInfo["Name"].isNull()) + tablebaseInfoListObject.name = valueTablebaseInfoListTablebaseInfo["Name"].asString(); + if(!valueTablebaseInfoListTablebaseInfo["OwnerType"].isNull()) + tablebaseInfoListObject.ownerType = valueTablebaseInfoListTablebaseInfo["OwnerType"].asString(); + if(!valueTablebaseInfoListTablebaseInfo["ViewExpandedText"].isNull()) + tablebaseInfoListObject.viewExpandedText = valueTablebaseInfoListTablebaseInfo["ViewExpandedText"].asString(); + if(!valueTablebaseInfoListTablebaseInfo["DbId"].isNull()) + tablebaseInfoListObject.dbId = std::stol(valueTablebaseInfoListTablebaseInfo["DbId"].asString()); + if(!valueTablebaseInfoListTablebaseInfo["DbName"].isNull()) + tablebaseInfoListObject.dbName = valueTablebaseInfoListTablebaseInfo["DbName"].asString(); + if(!valueTablebaseInfoListTablebaseInfo["CatalogName"].isNull()) + tablebaseInfoListObject.catalogName = valueTablebaseInfoListTablebaseInfo["CatalogName"].asString(); + if(!valueTablebaseInfoListTablebaseInfo["ModifierId"].isNull()) + tablebaseInfoListObject.modifierId = std::stol(valueTablebaseInfoListTablebaseInfo["ModifierId"].asString()); + if(!valueTablebaseInfoListTablebaseInfo["Location"].isNull()) + tablebaseInfoListObject.location = valueTablebaseInfoListTablebaseInfo["Location"].asString(); + auto allPartitionKeysNode = valueTablebaseInfoListTablebaseInfo["PartitionKeys"]["Column"]; + for (auto valueTablebaseInfoListTablebaseInfoPartitionKeysColumn : allPartitionKeysNode) + { + TablebaseInfo::Column partitionKeysObject; + if(!valueTablebaseInfoListTablebaseInfoPartitionKeysColumn["Comment"].isNull()) + partitionKeysObject.comment = valueTablebaseInfoListTablebaseInfoPartitionKeysColumn["Comment"].asString(); + if(!valueTablebaseInfoListTablebaseInfoPartitionKeysColumn["Type"].isNull()) + partitionKeysObject.type = valueTablebaseInfoListTablebaseInfoPartitionKeysColumn["Type"].asString(); + if(!valueTablebaseInfoListTablebaseInfoPartitionKeysColumn["Name"].isNull()) + partitionKeysObject.name = valueTablebaseInfoListTablebaseInfoPartitionKeysColumn["Name"].asString(); + tablebaseInfoListObject.partitionKeys.push_back(partitionKeysObject); + } + tablebaseInfoList_.push_back(tablebaseInfoListObject); + } + 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["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::vector ListDataLakeTablebaseInfoResult::getTablebaseInfoList()const +{ + return tablebaseInfoList_; +} + +std::string ListDataLakeTablebaseInfoResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListDataLakeTablebaseInfoResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListDataLakeTablebaseInfoResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListDataLakeTablebaseInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListSensitiveColumnInfoRequest.cc b/dms-enterprise/src/model/ListSensitiveColumnInfoRequest.cc new file mode 100644 index 000000000..a1118bf57 --- /dev/null +++ b/dms-enterprise/src/model/ListSensitiveColumnInfoRequest.cc @@ -0,0 +1,90 @@ +/* + * 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::Dms_enterprise::Model::ListSensitiveColumnInfoRequest; + +ListSensitiveColumnInfoRequest::ListSensitiveColumnInfoRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListSensitiveColumnInfo") { + setMethod(HttpRequest::Method::Post); +} + +ListSensitiveColumnInfoRequest::~ListSensitiveColumnInfoRequest() {} + +int ListSensitiveColumnInfoRequest::getPageNumber() const { + return pageNumber_; +} + +void ListSensitiveColumnInfoRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +long ListSensitiveColumnInfoRequest::getTid() const { + return tid_; +} + +void ListSensitiveColumnInfoRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +int ListSensitiveColumnInfoRequest::getPageSize() const { + return pageSize_; +} + +void ListSensitiveColumnInfoRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListSensitiveColumnInfoRequest::getTableName() const { + return tableName_; +} + +void ListSensitiveColumnInfoRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); +} + +std::string ListSensitiveColumnInfoRequest::getSchemaName() const { + return schemaName_; +} + +void ListSensitiveColumnInfoRequest::setSchemaName(const std::string &schemaName) { + schemaName_ = schemaName; + setParameter(std::string("SchemaName"), schemaName); +} + +std::string ListSensitiveColumnInfoRequest::getColumnName() const { + return columnName_; +} + +void ListSensitiveColumnInfoRequest::setColumnName(const std::string &columnName) { + columnName_ = columnName; + setParameter(std::string("ColumnName"), columnName); +} + +int ListSensitiveColumnInfoRequest::getInstanceId() const { + return instanceId_; +} + +void ListSensitiveColumnInfoRequest::setInstanceId(int instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), std::to_string(instanceId)); +} + diff --git a/dms-enterprise/src/model/ListSensitiveColumnInfoResult.cc b/dms-enterprise/src/model/ListSensitiveColumnInfoResult.cc new file mode 100644 index 000000000..1a29b1a30 --- /dev/null +++ b/dms-enterprise/src/model/ListSensitiveColumnInfoResult.cc @@ -0,0 +1,116 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListSensitiveColumnInfoResult::ListSensitiveColumnInfoResult() : + ServiceResult() +{} + +ListSensitiveColumnInfoResult::ListSensitiveColumnInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSensitiveColumnInfoResult::~ListSensitiveColumnInfoResult() +{} + +void ListSensitiveColumnInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSensitiveColumnListNode = value["SensitiveColumnList"]["SensitiveColumn"]; + for (auto valueSensitiveColumnListSensitiveColumn : allSensitiveColumnListNode) + { + SensitiveColumn sensitiveColumnListObject; + if(!valueSensitiveColumnListSensitiveColumn["InstanceId"].isNull()) + sensitiveColumnListObject.instanceId = std::stoi(valueSensitiveColumnListSensitiveColumn["InstanceId"].asString()); + if(!valueSensitiveColumnListSensitiveColumn["SchemaName"].isNull()) + sensitiveColumnListObject.schemaName = valueSensitiveColumnListSensitiveColumn["SchemaName"].asString(); + if(!valueSensitiveColumnListSensitiveColumn["TableName"].isNull()) + sensitiveColumnListObject.tableName = valueSensitiveColumnListSensitiveColumn["TableName"].asString(); + if(!valueSensitiveColumnListSensitiveColumn["ColumnName"].isNull()) + sensitiveColumnListObject.columnName = valueSensitiveColumnListSensitiveColumn["ColumnName"].asString(); + if(!valueSensitiveColumnListSensitiveColumn["CategoryName"].isNull()) + sensitiveColumnListObject.categoryName = valueSensitiveColumnListSensitiveColumn["CategoryName"].asString(); + if(!valueSensitiveColumnListSensitiveColumn["IsPlain"].isNull()) + sensitiveColumnListObject.isPlain = valueSensitiveColumnListSensitiveColumn["IsPlain"].asString() == "true"; + if(!valueSensitiveColumnListSensitiveColumn["SecurityLevel"].isNull()) + sensitiveColumnListObject.securityLevel = valueSensitiveColumnListSensitiveColumn["SecurityLevel"].asString(); + if(!valueSensitiveColumnListSensitiveColumn["UserSensitivityLevel"].isNull()) + sensitiveColumnListObject.userSensitivityLevel = valueSensitiveColumnListSensitiveColumn["UserSensitivityLevel"].asString(); + if(!valueSensitiveColumnListSensitiveColumn["SampleData"].isNull()) + sensitiveColumnListObject.sampleData = valueSensitiveColumnListSensitiveColumn["SampleData"].asString(); + auto allSemiDesensitizationRuleListNode = valueSensitiveColumnListSensitiveColumn["SemiDesensitizationRuleList"]["SemiDesensitizationRule"]; + for (auto valueSensitiveColumnListSensitiveColumnSemiDesensitizationRuleListSemiDesensitizationRule : allSemiDesensitizationRuleListNode) + { + SensitiveColumn::SemiDesensitizationRule semiDesensitizationRuleListObject; + if(!valueSensitiveColumnListSensitiveColumnSemiDesensitizationRuleListSemiDesensitizationRule["RuleId"].isNull()) + semiDesensitizationRuleListObject.ruleId = std::stol(valueSensitiveColumnListSensitiveColumnSemiDesensitizationRuleListSemiDesensitizationRule["RuleId"].asString()); + if(!valueSensitiveColumnListSensitiveColumnSemiDesensitizationRuleListSemiDesensitizationRule["RuleName"].isNull()) + semiDesensitizationRuleListObject.ruleName = valueSensitiveColumnListSensitiveColumnSemiDesensitizationRuleListSemiDesensitizationRule["RuleName"].asString(); + sensitiveColumnListObject.semiDesensitizationRuleList.push_back(semiDesensitizationRuleListObject); + } + auto defaultDesensitizationRuleNode = value["DefaultDesensitizationRule"]; + if(!defaultDesensitizationRuleNode["RuleId"].isNull()) + sensitiveColumnListObject.defaultDesensitizationRule.ruleId = std::stol(defaultDesensitizationRuleNode["RuleId"].asString()); + if(!defaultDesensitizationRuleNode["RuleName"].isNull()) + sensitiveColumnListObject.defaultDesensitizationRule.ruleName = defaultDesensitizationRuleNode["RuleName"].asString(); + sensitiveColumnList_.push_back(sensitiveColumnListObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListSensitiveColumnInfoResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListSensitiveColumnInfoResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListSensitiveColumnInfoResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::vector ListSensitiveColumnInfoResult::getSensitiveColumnList()const +{ + return sensitiveColumnList_; +} + +bool ListSensitiveColumnInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ModifyInstanceRequest.cc b/dms-enterprise/src/model/ModifyInstanceRequest.cc new file mode 100644 index 000000000..79659b446 --- /dev/null +++ b/dms-enterprise/src/model/ModifyInstanceRequest.cc @@ -0,0 +1,297 @@ +/* + * 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::Dms_enterprise::Model::ModifyInstanceRequest; + +ModifyInstanceRequest::ModifyInstanceRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ModifyInstance") { + setMethod(HttpRequest::Method::Post); +} + +ModifyInstanceRequest::~ModifyInstanceRequest() {} + +std::string ModifyInstanceRequest::getEcsRegion() const { + return ecsRegion_; +} + +void ModifyInstanceRequest::setEcsRegion(const std::string &ecsRegion) { + ecsRegion_ = ecsRegion; + setParameter(std::string("EcsRegion"), ecsRegion); +} + +std::string ModifyInstanceRequest::getNetworkType() const { + return networkType_; +} + +void ModifyInstanceRequest::setNetworkType(const std::string &networkType) { + networkType_ = networkType; + setParameter(std::string("NetworkType"), networkType); +} + +long ModifyInstanceRequest::getTid() const { + return tid_; +} + +void ModifyInstanceRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +int ModifyInstanceRequest::getUseSsl() const { + return useSsl_; +} + +void ModifyInstanceRequest::setUseSsl(int useSsl) { + useSsl_ = useSsl; + setParameter(std::string("UseSsl"), std::to_string(useSsl)); +} + +std::string ModifyInstanceRequest::getEnableSellCommon() const { + return enableSellCommon_; +} + +void ModifyInstanceRequest::setEnableSellCommon(const std::string &enableSellCommon) { + enableSellCommon_ = enableSellCommon; + setParameter(std::string("EnableSellCommon"), enableSellCommon); +} + +std::string ModifyInstanceRequest::getEnableSellSitd() const { + return enableSellSitd_; +} + +void ModifyInstanceRequest::setEnableSellSitd(const std::string &enableSellSitd) { + enableSellSitd_ = enableSellSitd; + setParameter(std::string("EnableSellSitd"), enableSellSitd); +} + +std::string ModifyInstanceRequest::getInstanceSource() const { + return instanceSource_; +} + +void ModifyInstanceRequest::setInstanceSource(const std::string &instanceSource) { + instanceSource_ = instanceSource; + setParameter(std::string("InstanceSource"), instanceSource); +} + +std::string ModifyInstanceRequest::getEnvType() const { + return envType_; +} + +void ModifyInstanceRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setParameter(std::string("EnvType"), envType); +} + +std::string ModifyInstanceRequest::getHost() const { + return host_; +} + +void ModifyInstanceRequest::setHost(const std::string &host) { + host_ = host; + setParameter(std::string("Host"), host); +} + +int ModifyInstanceRequest::getQueryTimeout() const { + return queryTimeout_; +} + +void ModifyInstanceRequest::setQueryTimeout(int queryTimeout) { + queryTimeout_ = queryTimeout; + setParameter(std::string("QueryTimeout"), std::to_string(queryTimeout)); +} + +std::string ModifyInstanceRequest::getEcsInstanceId() const { + return ecsInstanceId_; +} + +void ModifyInstanceRequest::setEcsInstanceId(const std::string &ecsInstanceId) { + ecsInstanceId_ = ecsInstanceId; + setParameter(std::string("EcsInstanceId"), ecsInstanceId); +} + +int ModifyInstanceRequest::getExportTimeout() const { + return exportTimeout_; +} + +void ModifyInstanceRequest::setExportTimeout(int exportTimeout) { + exportTimeout_ = exportTimeout; + setParameter(std::string("ExportTimeout"), std::to_string(exportTimeout)); +} + +long ModifyInstanceRequest::getTemplateId() const { + return templateId_; +} + +void ModifyInstanceRequest::setTemplateId(long templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), std::to_string(templateId)); +} + +std::string ModifyInstanceRequest::getEnableSellTrust() const { + return enableSellTrust_; +} + +void ModifyInstanceRequest::setEnableSellTrust(const std::string &enableSellTrust) { + enableSellTrust_ = enableSellTrust; + setParameter(std::string("EnableSellTrust"), enableSellTrust); +} + +std::string ModifyInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void ModifyInstanceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +int ModifyInstanceRequest::getPort() const { + return port_; +} + +void ModifyInstanceRequest::setPort(int port) { + port_ = port; + setParameter(std::string("Port"), std::to_string(port)); +} + +std::string ModifyInstanceRequest::getSafeRule() const { + return safeRule_; +} + +void ModifyInstanceRequest::setSafeRule(const std::string &safeRule) { + safeRule_ = safeRule; + setParameter(std::string("SafeRule"), safeRule); +} + +int ModifyInstanceRequest::getDdlOnline() const { + return ddlOnline_; +} + +void ModifyInstanceRequest::setDdlOnline(int ddlOnline) { + ddlOnline_ = ddlOnline; + setParameter(std::string("DdlOnline"), std::to_string(ddlOnline)); +} + +int ModifyInstanceRequest::getUseDsql() const { + return useDsql_; +} + +void ModifyInstanceRequest::setUseDsql(int useDsql) { + useDsql_ = useDsql; + setParameter(std::string("UseDsql"), std::to_string(useDsql)); +} + +std::string ModifyInstanceRequest::getEnableSellStable() const { + return enableSellStable_; +} + +void ModifyInstanceRequest::setEnableSellStable(const std::string &enableSellStable) { + enableSellStable_ = enableSellStable; + setParameter(std::string("EnableSellStable"), enableSellStable); +} + +std::string ModifyInstanceRequest::getSid() const { + return sid_; +} + +void ModifyInstanceRequest::setSid(const std::string &sid) { + sid_ = sid; + setParameter(std::string("Sid"), sid); +} + +long ModifyInstanceRequest::getDbaId() const { + return dbaId_; +} + +void ModifyInstanceRequest::setDbaId(long dbaId) { + dbaId_ = dbaId; + setParameter(std::string("DbaId"), std::to_string(dbaId)); +} + +std::string ModifyInstanceRequest::getDataLinkName() const { + return dataLinkName_; +} + +void ModifyInstanceRequest::setDataLinkName(const std::string &dataLinkName) { + dataLinkName_ = dataLinkName; + setParameter(std::string("DataLinkName"), dataLinkName); +} + +std::string ModifyInstanceRequest::getTemplateType() const { + return templateType_; +} + +void ModifyInstanceRequest::setTemplateType(const std::string &templateType) { + templateType_ = templateType; + setParameter(std::string("TemplateType"), templateType); +} + +std::string ModifyInstanceRequest::getInstanceType() const { + return instanceType_; +} + +void ModifyInstanceRequest::setInstanceType(const std::string &instanceType) { + instanceType_ = instanceType; + setParameter(std::string("InstanceType"), instanceType); +} + +std::string ModifyInstanceRequest::getDatabasePassword() const { + return databasePassword_; +} + +void ModifyInstanceRequest::setDatabasePassword(const std::string &databasePassword) { + databasePassword_ = databasePassword; + setParameter(std::string("DatabasePassword"), databasePassword); +} + +std::string ModifyInstanceRequest::getInstanceAlias() const { + return instanceAlias_; +} + +void ModifyInstanceRequest::setInstanceAlias(const std::string &instanceAlias) { + instanceAlias_ = instanceAlias; + setParameter(std::string("InstanceAlias"), instanceAlias); +} + +std::string ModifyInstanceRequest::getDatabaseUser() const { + return databaseUser_; +} + +void ModifyInstanceRequest::setDatabaseUser(const std::string &databaseUser) { + databaseUser_ = databaseUser; + setParameter(std::string("DatabaseUser"), databaseUser); +} + +std::string ModifyInstanceRequest::getVpcId() const { + return vpcId_; +} + +void ModifyInstanceRequest::setVpcId(const std::string &vpcId) { + vpcId_ = vpcId; + setParameter(std::string("VpcId"), vpcId); +} + +bool ModifyInstanceRequest::getSkipTest() const { + return skipTest_; +} + +void ModifyInstanceRequest::setSkipTest(bool skipTest) { + skipTest_ = skipTest; + setParameter(std::string("SkipTest"), skipTest ? "true" : "false"); +} + diff --git a/dms-enterprise/src/model/ModifyInstanceResult.cc b/dms-enterprise/src/model/ModifyInstanceResult.cc new file mode 100644 index 000000000..662608885 --- /dev/null +++ b/dms-enterprise/src/model/ModifyInstanceResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ModifyInstanceResult::ModifyInstanceResult() : + ServiceResult() +{} + +ModifyInstanceResult::ModifyInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyInstanceResult::~ModifyInstanceResult() +{} + +void ModifyInstanceResult::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["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ModifyInstanceResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ModifyInstanceResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ModifyInstanceResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/PauseDataExportJobRequest.cc b/dms-enterprise/src/model/PauseDataExportJobRequest.cc new file mode 100644 index 000000000..14f3b2b79 --- /dev/null +++ b/dms-enterprise/src/model/PauseDataExportJobRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::PauseDataExportJobRequest; + +PauseDataExportJobRequest::PauseDataExportJobRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "PauseDataExportJob") { + setMethod(HttpRequest::Method::Post); +} + +PauseDataExportJobRequest::~PauseDataExportJobRequest() {} + +long PauseDataExportJobRequest::getTid() const { + return tid_; +} + +void PauseDataExportJobRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long PauseDataExportJobRequest::getJobId() const { + return jobId_; +} + +void PauseDataExportJobRequest::setJobId(long jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), std::to_string(jobId)); +} + +long PauseDataExportJobRequest::getOrderId() const { + return orderId_; +} + +void PauseDataExportJobRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + diff --git a/dms-enterprise/src/model/PauseDataExportJobResult.cc b/dms-enterprise/src/model/PauseDataExportJobResult.cc new file mode 100644 index 000000000..4d5a17c42 --- /dev/null +++ b/dms-enterprise/src/model/PauseDataExportJobResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +PauseDataExportJobResult::PauseDataExportJobResult() : + ServiceResult() +{} + +PauseDataExportJobResult::PauseDataExportJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PauseDataExportJobResult::~PauseDataExportJobResult() +{} + +void PauseDataExportJobResult::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["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string PauseDataExportJobResult::getErrorCode()const +{ + return errorCode_; +} + +std::string PauseDataExportJobResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool PauseDataExportJobResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/RemoveDataExportJobRequest.cc b/dms-enterprise/src/model/RemoveDataExportJobRequest.cc new file mode 100644 index 000000000..86a188665 --- /dev/null +++ b/dms-enterprise/src/model/RemoveDataExportJobRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::RemoveDataExportJobRequest; + +RemoveDataExportJobRequest::RemoveDataExportJobRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "RemoveDataExportJob") { + setMethod(HttpRequest::Method::Post); +} + +RemoveDataExportJobRequest::~RemoveDataExportJobRequest() {} + +long RemoveDataExportJobRequest::getTid() const { + return tid_; +} + +void RemoveDataExportJobRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long RemoveDataExportJobRequest::getJobId() const { + return jobId_; +} + +void RemoveDataExportJobRequest::setJobId(long jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), std::to_string(jobId)); +} + +long RemoveDataExportJobRequest::getOrderId() const { + return orderId_; +} + +void RemoveDataExportJobRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + diff --git a/dms-enterprise/src/model/RemoveDataExportJobResult.cc b/dms-enterprise/src/model/RemoveDataExportJobResult.cc new file mode 100644 index 000000000..cdbb5c2ab --- /dev/null +++ b/dms-enterprise/src/model/RemoveDataExportJobResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +RemoveDataExportJobResult::RemoveDataExportJobResult() : + ServiceResult() +{} + +RemoveDataExportJobResult::RemoveDataExportJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveDataExportJobResult::~RemoveDataExportJobResult() +{} + +void RemoveDataExportJobResult::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["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string RemoveDataExportJobResult::getErrorCode()const +{ + return errorCode_; +} + +std::string RemoveDataExportJobResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool RemoveDataExportJobResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/RestartDataExportJobRequest.cc b/dms-enterprise/src/model/RestartDataExportJobRequest.cc new file mode 100644 index 000000000..d6f0cf070 --- /dev/null +++ b/dms-enterprise/src/model/RestartDataExportJobRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::RestartDataExportJobRequest; + +RestartDataExportJobRequest::RestartDataExportJobRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "RestartDataExportJob") { + setMethod(HttpRequest::Method::Post); +} + +RestartDataExportJobRequest::~RestartDataExportJobRequest() {} + +long RestartDataExportJobRequest::getTid() const { + return tid_; +} + +void RestartDataExportJobRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long RestartDataExportJobRequest::getJobId() const { + return jobId_; +} + +void RestartDataExportJobRequest::setJobId(long jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), std::to_string(jobId)); +} + +long RestartDataExportJobRequest::getOrderId() const { + return orderId_; +} + +void RestartDataExportJobRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + diff --git a/dms-enterprise/src/model/RestartDataExportJobResult.cc b/dms-enterprise/src/model/RestartDataExportJobResult.cc new file mode 100644 index 000000000..4fb8689c8 --- /dev/null +++ b/dms-enterprise/src/model/RestartDataExportJobResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +RestartDataExportJobResult::RestartDataExportJobResult() : + ServiceResult() +{} + +RestartDataExportJobResult::RestartDataExportJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RestartDataExportJobResult::~RestartDataExportJobResult() +{} + +void RestartDataExportJobResult::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["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string RestartDataExportJobResult::getErrorCode()const +{ + return errorCode_; +} + +std::string RestartDataExportJobResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool RestartDataExportJobResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/SetWorkflowExtraInfoRequest.cc b/dms-enterprise/src/model/SetWorkflowExtraInfoRequest.cc new file mode 100644 index 000000000..3717fa9b3 --- /dev/null +++ b/dms-enterprise/src/model/SetWorkflowExtraInfoRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::SetWorkflowExtraInfoRequest; + +SetWorkflowExtraInfoRequest::SetWorkflowExtraInfoRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "SetWorkflowExtraInfo") { + setMethod(HttpRequest::Method::Post); +} + +SetWorkflowExtraInfoRequest::~SetWorkflowExtraInfoRequest() {} + +std::string SetWorkflowExtraInfoRequest::getThirdpartyWorkflowComment() const { + return thirdpartyWorkflowComment_; +} + +void SetWorkflowExtraInfoRequest::setThirdpartyWorkflowComment(const std::string &thirdpartyWorkflowComment) { + thirdpartyWorkflowComment_ = thirdpartyWorkflowComment; + setParameter(std::string("ThirdpartyWorkflowComment"), thirdpartyWorkflowComment); +} + +bool SetWorkflowExtraInfoRequest::getRenderAgree() const { + return renderAgree_; +} + +void SetWorkflowExtraInfoRequest::setRenderAgree(bool renderAgree) { + renderAgree_ = renderAgree; + setParameter(std::string("RenderAgree"), renderAgree ? "true" : "false"); +} + +long SetWorkflowExtraInfoRequest::getTid() const { + return tid_; +} + +void SetWorkflowExtraInfoRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long SetWorkflowExtraInfoRequest::getWorkflowInstanceId() const { + return workflowInstanceId_; +} + +void SetWorkflowExtraInfoRequest::setWorkflowInstanceId(long workflowInstanceId) { + workflowInstanceId_ = workflowInstanceId; + setParameter(std::string("WorkflowInstanceId"), std::to_string(workflowInstanceId)); +} + +bool SetWorkflowExtraInfoRequest::getRenderCancel() const { + return renderCancel_; +} + +void SetWorkflowExtraInfoRequest::setRenderCancel(bool renderCancel) { + renderCancel_ = renderCancel; + setParameter(std::string("RenderCancel"), renderCancel ? "true" : "false"); +} + +bool SetWorkflowExtraInfoRequest::getRenderAddApprovalNode() const { + return renderAddApprovalNode_; +} + +void SetWorkflowExtraInfoRequest::setRenderAddApprovalNode(bool renderAddApprovalNode) { + renderAddApprovalNode_ = renderAddApprovalNode; + setParameter(std::string("RenderAddApprovalNode"), renderAddApprovalNode ? "true" : "false"); +} + +bool SetWorkflowExtraInfoRequest::getRenderTransfer() const { + return renderTransfer_; +} + +void SetWorkflowExtraInfoRequest::setRenderTransfer(bool renderTransfer) { + renderTransfer_ = renderTransfer; + setParameter(std::string("RenderTransfer"), renderTransfer ? "true" : "false"); +} + +bool SetWorkflowExtraInfoRequest::getRenderReject() const { + return renderReject_; +} + +void SetWorkflowExtraInfoRequest::setRenderReject(bool renderReject) { + renderReject_ = renderReject; + setParameter(std::string("RenderReject"), renderReject ? "true" : "false"); +} + +std::string SetWorkflowExtraInfoRequest::getThirdpartyWorkflowUrl() const { + return thirdpartyWorkflowUrl_; +} + +void SetWorkflowExtraInfoRequest::setThirdpartyWorkflowUrl(const std::string &thirdpartyWorkflowUrl) { + thirdpartyWorkflowUrl_ = thirdpartyWorkflowUrl; + setParameter(std::string("ThirdpartyWorkflowUrl"), thirdpartyWorkflowUrl); +} + diff --git a/dms-enterprise/src/model/SetWorkflowExtraInfoResult.cc b/dms-enterprise/src/model/SetWorkflowExtraInfoResult.cc new file mode 100644 index 000000000..86181beed --- /dev/null +++ b/dms-enterprise/src/model/SetWorkflowExtraInfoResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +SetWorkflowExtraInfoResult::SetWorkflowExtraInfoResult() : + ServiceResult() +{} + +SetWorkflowExtraInfoResult::SetWorkflowExtraInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetWorkflowExtraInfoResult::~SetWorkflowExtraInfoResult() +{} + +void SetWorkflowExtraInfoResult::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["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool SetWorkflowExtraInfoResult::getData()const +{ + return data_; +} + +std::string SetWorkflowExtraInfoResult::getErrorCode()const +{ + return errorCode_; +} + +std::string SetWorkflowExtraInfoResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool SetWorkflowExtraInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/SubmitOrderApprovalRequest.cc b/dms-enterprise/src/model/SubmitOrderApprovalRequest.cc index d109c525c..84915d779 100644 --- a/dms-enterprise/src/model/SubmitOrderApprovalRequest.cc +++ b/dms-enterprise/src/model/SubmitOrderApprovalRequest.cc @@ -43,3 +43,12 @@ void SubmitOrderApprovalRequest::setOrderId(long orderId) { setParameter(std::string("OrderId"), std::to_string(orderId)); } +std::string SubmitOrderApprovalRequest::getRealLoginUserUid() const { + return realLoginUserUid_; +} + +void SubmitOrderApprovalRequest::setRealLoginUserUid(const std::string &realLoginUserUid) { + realLoginUserUid_ = realLoginUserUid; + setParameter(std::string("RealLoginUserUid"), realLoginUserUid); +} + diff --git a/dms-enterprise/src/model/SuspendDataExportJobRequest.cc b/dms-enterprise/src/model/SuspendDataExportJobRequest.cc new file mode 100644 index 000000000..bc0d79709 --- /dev/null +++ b/dms-enterprise/src/model/SuspendDataExportJobRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::SuspendDataExportJobRequest; + +SuspendDataExportJobRequest::SuspendDataExportJobRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "SuspendDataExportJob") { + setMethod(HttpRequest::Method::Post); +} + +SuspendDataExportJobRequest::~SuspendDataExportJobRequest() {} + +long SuspendDataExportJobRequest::getTid() const { + return tid_; +} + +void SuspendDataExportJobRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long SuspendDataExportJobRequest::getJobId() const { + return jobId_; +} + +void SuspendDataExportJobRequest::setJobId(long jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), std::to_string(jobId)); +} + +long SuspendDataExportJobRequest::getOrderId() const { + return orderId_; +} + +void SuspendDataExportJobRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + diff --git a/dms-enterprise/src/model/SuspendDataExportJobResult.cc b/dms-enterprise/src/model/SuspendDataExportJobResult.cc new file mode 100644 index 000000000..e3e9a95b2 --- /dev/null +++ b/dms-enterprise/src/model/SuspendDataExportJobResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +SuspendDataExportJobResult::SuspendDataExportJobResult() : + ServiceResult() +{} + +SuspendDataExportJobResult::SuspendDataExportJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SuspendDataExportJobResult::~SuspendDataExportJobResult() +{} + +void SuspendDataExportJobResult::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["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string SuspendDataExportJobResult::getErrorCode()const +{ + return errorCode_; +} + +std::string SuspendDataExportJobResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool SuspendDataExportJobResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateAbacPolicyRequest.cc b/dms-enterprise/src/model/UpdateAbacPolicyRequest.cc new file mode 100644 index 000000000..c4c084c47 --- /dev/null +++ b/dms-enterprise/src/model/UpdateAbacPolicyRequest.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 + +using AlibabaCloud::Dms_enterprise::Model::UpdateAbacPolicyRequest; + +UpdateAbacPolicyRequest::UpdateAbacPolicyRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateAbacPolicy") { + setMethod(HttpRequest::Method::Post); +} + +UpdateAbacPolicyRequest::~UpdateAbacPolicyRequest() {} + +std::string UpdateAbacPolicyRequest::getAbacPolicyContent() const { + return abacPolicyContent_; +} + +void UpdateAbacPolicyRequest::setAbacPolicyContent(const std::string &abacPolicyContent) { + abacPolicyContent_ = abacPolicyContent; + setParameter(std::string("AbacPolicyContent"), abacPolicyContent); +} + +long UpdateAbacPolicyRequest::getTid() const { + return tid_; +} + +void UpdateAbacPolicyRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long UpdateAbacPolicyRequest::getAbacPolicyId() const { + return abacPolicyId_; +} + +void UpdateAbacPolicyRequest::setAbacPolicyId(long abacPolicyId) { + abacPolicyId_ = abacPolicyId; + setParameter(std::string("AbacPolicyId"), std::to_string(abacPolicyId)); +} + +std::string UpdateAbacPolicyRequest::getAbacPolicyDesc() const { + return abacPolicyDesc_; +} + +void UpdateAbacPolicyRequest::setAbacPolicyDesc(const std::string &abacPolicyDesc) { + abacPolicyDesc_ = abacPolicyDesc; + setParameter(std::string("AbacPolicyDesc"), abacPolicyDesc); +} + +std::string UpdateAbacPolicyRequest::getAbacPolicyName() const { + return abacPolicyName_; +} + +void UpdateAbacPolicyRequest::setAbacPolicyName(const std::string &abacPolicyName) { + abacPolicyName_ = abacPolicyName; + setParameter(std::string("AbacPolicyName"), abacPolicyName); +} + diff --git a/dms-enterprise/src/model/UpdateAbacPolicyResult.cc b/dms-enterprise/src/model/UpdateAbacPolicyResult.cc new file mode 100644 index 000000000..d76a33424 --- /dev/null +++ b/dms-enterprise/src/model/UpdateAbacPolicyResult.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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateAbacPolicyResult::UpdateAbacPolicyResult() : + ServiceResult() +{} + +UpdateAbacPolicyResult::UpdateAbacPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateAbacPolicyResult::~UpdateAbacPolicyResult() +{} + +void UpdateAbacPolicyResult::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["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["UpdatePolicyResult"].isNull()) + updatePolicyResult_ = std::stol(value["UpdatePolicyResult"].asString()); + +} + +std::string UpdateAbacPolicyResult::getErrorCode()const +{ + return errorCode_; +} + +long UpdateAbacPolicyResult::getUpdatePolicyResult()const +{ + return updatePolicyResult_; +} + +std::string UpdateAbacPolicyResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateAbacPolicyResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateStandardGroupRequest.cc b/dms-enterprise/src/model/UpdateStandardGroupRequest.cc new file mode 100644 index 000000000..0e5447a39 --- /dev/null +++ b/dms-enterprise/src/model/UpdateStandardGroupRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateStandardGroupRequest; + +UpdateStandardGroupRequest::UpdateStandardGroupRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateStandardGroup") { + setMethod(HttpRequest::Method::Post); +} + +UpdateStandardGroupRequest::~UpdateStandardGroupRequest() {} + +std::string UpdateStandardGroupRequest::getDescription() const { + return description_; +} + +void UpdateStandardGroupRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +long UpdateStandardGroupRequest::getTid() const { + return tid_; +} + +void UpdateStandardGroupRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long UpdateStandardGroupRequest::getGroupId() const { + return groupId_; +} + +void UpdateStandardGroupRequest::setGroupId(long groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), std::to_string(groupId)); +} + +std::string UpdateStandardGroupRequest::getGroupName() const { + return groupName_; +} + +void UpdateStandardGroupRequest::setGroupName(const std::string &groupName) { + groupName_ = groupName; + setParameter(std::string("GroupName"), groupName); +} + diff --git a/dms-enterprise/src/model/UpdateStandardGroupResult.cc b/dms-enterprise/src/model/UpdateStandardGroupResult.cc new file mode 100644 index 000000000..ea835c397 --- /dev/null +++ b/dms-enterprise/src/model/UpdateStandardGroupResult.cc @@ -0,0 +1,83 @@ +/* + * 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::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateStandardGroupResult::UpdateStandardGroupResult() : + ServiceResult() +{} + +UpdateStandardGroupResult::UpdateStandardGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateStandardGroupResult::~UpdateStandardGroupResult() +{} + +void UpdateStandardGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto standardGroupNode = value["StandardGroup"]; + if(!standardGroupNode["GroupName"].isNull()) + standardGroup_.groupName = standardGroupNode["GroupName"].asString(); + if(!standardGroupNode["Description"].isNull()) + standardGroup_.description = standardGroupNode["Description"].asString(); + if(!standardGroupNode["DbType"].isNull()) + standardGroup_.dbType = standardGroupNode["DbType"].asString(); + if(!standardGroupNode["LastMenderId"].isNull()) + standardGroup_.lastMenderId = std::stol(standardGroupNode["LastMenderId"].asString()); + if(!standardGroupNode["GroupMode"].isNull()) + standardGroup_.groupMode = standardGroupNode["GroupMode"].asString(); + if(!standardGroupNode["GroupId"].isNull()) + standardGroup_.groupId = std::stol(standardGroupNode["GroupId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +UpdateStandardGroupResult::StandardGroup UpdateStandardGroupResult::getStandardGroup()const +{ + return standardGroup_; +} + +std::string UpdateStandardGroupResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateStandardGroupResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateStandardGroupResult::getSuccess()const +{ + return success_; +} +