Supported RestartDataCorrectSQLJob,PauseDataCorrectSQLJob API.

This commit is contained in:
sdk-team
2022-01-21 07:36:52 +00:00
parent c2bfeb1216
commit 972958c1e3
163 changed files with 9764 additions and 30 deletions

View File

@@ -1,3 +1,7 @@
2022-01-21 Version: 1.36.1033
- Supported RestartDataCorrectSQLJob,PauseDataCorrectSQLJob API.
- Supported ListDataCorrectPreCheckSQL to return tableNames information.
2022-01-19 Version: 1.36.1032
- Upgrade Service for SMS.

View File

@@ -1 +1 @@
1.36.1032
1.36.1033

View File

@@ -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/AddLogicTableRouteConfigRequest.h
include/alibabacloud/dms-enterprise/model/AddLogicTableRouteConfigResult.h
include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h
include/alibabacloud/dms-enterprise/model/ApproveOrderResult.h
include/alibabacloud/dms-enterprise/model/ChangeColumnSecLevelRequest.h
include/alibabacloud/dms-enterprise/model/ChangeColumnSecLevelResult.h
include/alibabacloud/dms-enterprise/model/CloseOrderRequest.h
include/alibabacloud/dms-enterprise/model/CloseOrderResult.h
include/alibabacloud/dms-enterprise/model/CreateDataCorrectOrderRequest.h
@@ -33,8 +37,14 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/CreateDataImportOrderResult.h
include/alibabacloud/dms-enterprise/model/CreateFreeLockCorrectOrderRequest.h
include/alibabacloud/dms-enterprise/model/CreateFreeLockCorrectOrderResult.h
include/alibabacloud/dms-enterprise/model/CreateLogicDatabaseRequest.h
include/alibabacloud/dms-enterprise/model/CreateLogicDatabaseResult.h
include/alibabacloud/dms-enterprise/model/CreateOrderRequest.h
include/alibabacloud/dms-enterprise/model/CreateOrderResult.h
include/alibabacloud/dms-enterprise/model/CreateProxyRequest.h
include/alibabacloud/dms-enterprise/model/CreateProxyResult.h
include/alibabacloud/dms-enterprise/model/CreateProxyAccessRequest.h
include/alibabacloud/dms-enterprise/model/CreateProxyAccessResult.h
include/alibabacloud/dms-enterprise/model/CreatePublishGroupTaskRequest.h
include/alibabacloud/dms-enterprise/model/CreatePublishGroupTaskResult.h
include/alibabacloud/dms-enterprise/model/CreateSQLReviewOrderRequest.h
@@ -47,10 +57,20 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/CreateUploadOSSFileJobResult.h
include/alibabacloud/dms-enterprise/model/DeleteInstanceRequest.h
include/alibabacloud/dms-enterprise/model/DeleteInstanceResult.h
include/alibabacloud/dms-enterprise/model/DeleteLogicDatabaseRequest.h
include/alibabacloud/dms-enterprise/model/DeleteLogicDatabaseResult.h
include/alibabacloud/dms-enterprise/model/DeleteLogicTableRouteConfigRequest.h
include/alibabacloud/dms-enterprise/model/DeleteLogicTableRouteConfigResult.h
include/alibabacloud/dms-enterprise/model/DeleteProxyRequest.h
include/alibabacloud/dms-enterprise/model/DeleteProxyResult.h
include/alibabacloud/dms-enterprise/model/DeleteProxyAccessRequest.h
include/alibabacloud/dms-enterprise/model/DeleteProxyAccessResult.h
include/alibabacloud/dms-enterprise/model/DeleteUserRequest.h
include/alibabacloud/dms-enterprise/model/DeleteUserResult.h
include/alibabacloud/dms-enterprise/model/DisableUserRequest.h
include/alibabacloud/dms-enterprise/model/DisableUserResult.h
include/alibabacloud/dms-enterprise/model/EditLogicDatabaseRequest.h
include/alibabacloud/dms-enterprise/model/EditLogicDatabaseResult.h
include/alibabacloud/dms-enterprise/model/EnableUserRequest.h
include/alibabacloud/dms-enterprise/model/EnableUserResult.h
include/alibabacloud/dms-enterprise/model/ExecuteDataCorrectRequest.h
@@ -63,6 +83,8 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/ExecuteStructSyncResult.h
include/alibabacloud/dms-enterprise/model/GetApprovalDetailRequest.h
include/alibabacloud/dms-enterprise/model/GetApprovalDetailResult.h
include/alibabacloud/dms-enterprise/model/GetDBTaskSQLJobLogRequest.h
include/alibabacloud/dms-enterprise/model/GetDBTaskSQLJobLogResult.h
include/alibabacloud/dms-enterprise/model/GetDBTopologyRequest.h
include/alibabacloud/dms-enterprise/model/GetDBTopologyResult.h
include/alibabacloud/dms-enterprise/model/GetDataCorrectBackupFilesRequest.h
@@ -99,10 +121,20 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/GetPermApplyOrderDetailResult.h
include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseRequest.h
include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseResult.h
include/alibabacloud/dms-enterprise/model/GetProxyRequest.h
include/alibabacloud/dms-enterprise/model/GetProxyResult.h
include/alibabacloud/dms-enterprise/model/GetSQLReviewCheckResultStatusRequest.h
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/GetSparkJobDetailRequest.h
include/alibabacloud/dms-enterprise/model/GetSparkJobDetailResult.h
include/alibabacloud/dms-enterprise/model/GetSparkJobDriverLogRequest.h
include/alibabacloud/dms-enterprise/model/GetSparkJobDriverLogResult.h
include/alibabacloud/dms-enterprise/model/GetSparkJobExecutorLogsRequest.h
include/alibabacloud/dms-enterprise/model/GetSparkJobExecutorLogsResult.h
include/alibabacloud/dms-enterprise/model/GetSparkJobLogRequest.h
include/alibabacloud/dms-enterprise/model/GetSparkJobLogResult.h
include/alibabacloud/dms-enterprise/model/GetStructSyncExecSqlDetailRequest.h
include/alibabacloud/dms-enterprise/model/GetStructSyncExecSqlDetailResult.h
include/alibabacloud/dms-enterprise/model/GetStructSyncJobAnalyzeResultRequest.h
@@ -123,6 +155,10 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/GetUserUploadFileJobResult.h
include/alibabacloud/dms-enterprise/model/GrantUserPermissionRequest.h
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/KillSparkJobRequest.h
include/alibabacloud/dms-enterprise/model/KillSparkJobResult.h
include/alibabacloud/dms-enterprise/model/ListColumnsRequest.h
include/alibabacloud/dms-enterprise/model/ListColumnsResult.h
include/alibabacloud/dms-enterprise/model/ListDBTaskSQLJobRequest.h
@@ -131,20 +167,38 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/ListDBTaskSQLJobDetailResult.h
include/alibabacloud/dms-enterprise/model/ListDDLPublishRecordsRequest.h
include/alibabacloud/dms-enterprise/model/ListDDLPublishRecordsResult.h
include/alibabacloud/dms-enterprise/model/ListDataCorrectPreCheckDBRequest.h
include/alibabacloud/dms-enterprise/model/ListDataCorrectPreCheckDBResult.h
include/alibabacloud/dms-enterprise/model/ListDataCorrectPreCheckSQLRequest.h
include/alibabacloud/dms-enterprise/model/ListDataCorrectPreCheckSQLResult.h
include/alibabacloud/dms-enterprise/model/ListDatabaseUserPermssionsRequest.h
include/alibabacloud/dms-enterprise/model/ListDatabaseUserPermssionsResult.h
include/alibabacloud/dms-enterprise/model/ListDatabasesRequest.h
include/alibabacloud/dms-enterprise/model/ListDatabasesResult.h
include/alibabacloud/dms-enterprise/model/ListIndexesRequest.h
include/alibabacloud/dms-enterprise/model/ListIndexesResult.h
include/alibabacloud/dms-enterprise/model/ListInstanceLoginAuditLogRequest.h
include/alibabacloud/dms-enterprise/model/ListInstanceLoginAuditLogResult.h
include/alibabacloud/dms-enterprise/model/ListInstanceUserPermissionsRequest.h
include/alibabacloud/dms-enterprise/model/ListInstanceUserPermissionsResult.h
include/alibabacloud/dms-enterprise/model/ListInstancesRequest.h
include/alibabacloud/dms-enterprise/model/ListInstancesResult.h
include/alibabacloud/dms-enterprise/model/ListLogicDatabasesRequest.h
include/alibabacloud/dms-enterprise/model/ListLogicDatabasesResult.h
include/alibabacloud/dms-enterprise/model/ListLogicTableRouteConfigRequest.h
include/alibabacloud/dms-enterprise/model/ListLogicTableRouteConfigResult.h
include/alibabacloud/dms-enterprise/model/ListLogicTablesRequest.h
include/alibabacloud/dms-enterprise/model/ListLogicTablesResult.h
include/alibabacloud/dms-enterprise/model/ListOrdersRequest.h
include/alibabacloud/dms-enterprise/model/ListOrdersResult.h
include/alibabacloud/dms-enterprise/model/ListProxiesRequest.h
include/alibabacloud/dms-enterprise/model/ListProxiesResult.h
include/alibabacloud/dms-enterprise/model/ListProxyAccessesRequest.h
include/alibabacloud/dms-enterprise/model/ListProxyAccessesResult.h
include/alibabacloud/dms-enterprise/model/ListProxySQLExecAuditLogRequest.h
include/alibabacloud/dms-enterprise/model/ListProxySQLExecAuditLogResult.h
include/alibabacloud/dms-enterprise/model/ListSQLExecAuditLogRequest.h
include/alibabacloud/dms-enterprise/model/ListSQLExecAuditLogResult.h
include/alibabacloud/dms-enterprise/model/ListSQLReviewOriginSQLRequest.h
include/alibabacloud/dms-enterprise/model/ListSQLReviewOriginSQLResult.h
include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsRequest.h
@@ -163,10 +217,18 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/ListWorkFlowNodesResult.h
include/alibabacloud/dms-enterprise/model/ListWorkFlowTemplatesRequest.h
include/alibabacloud/dms-enterprise/model/ListWorkFlowTemplatesResult.h
include/alibabacloud/dms-enterprise/model/ModifyDataCorrectExecSQLRequest.h
include/alibabacloud/dms-enterprise/model/ModifyDataCorrectExecSQLResult.h
include/alibabacloud/dms-enterprise/model/PauseDataCorrectSQLJobRequest.h
include/alibabacloud/dms-enterprise/model/PauseDataCorrectSQLJobResult.h
include/alibabacloud/dms-enterprise/model/RegisterInstanceRequest.h
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/RestartDataCorrectSQLJobRequest.h
include/alibabacloud/dms-enterprise/model/RestartDataCorrectSQLJobResult.h
include/alibabacloud/dms-enterprise/model/RetryDataCorrectPreCheckRequest.h
include/alibabacloud/dms-enterprise/model/RetryDataCorrectPreCheckResult.h
include/alibabacloud/dms-enterprise/model/RevokeUserPermissionRequest.h
include/alibabacloud/dms-enterprise/model/RevokeUserPermissionResult.h
include/alibabacloud/dms-enterprise/model/SearchDatabaseRequest.h
@@ -177,6 +239,8 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/SetOwnersResult.h
include/alibabacloud/dms-enterprise/model/SubmitOrderApprovalRequest.h
include/alibabacloud/dms-enterprise/model/SubmitOrderApprovalResult.h
include/alibabacloud/dms-enterprise/model/SubmitSparkJobRequest.h
include/alibabacloud/dms-enterprise/model/SubmitSparkJobResult.h
include/alibabacloud/dms-enterprise/model/SubmitStructSyncOrderApprovalRequest.h
include/alibabacloud/dms-enterprise/model/SubmitStructSyncOrderApprovalResult.h
include/alibabacloud/dms-enterprise/model/SyncDatabaseMetaRequest.h
@@ -190,8 +254,12 @@ set(dms-enterprise_public_header_model
set(dms-enterprise_src
src/Dms-enterpriseClient.cc
src/model/AddLogicTableRouteConfigRequest.cc
src/model/AddLogicTableRouteConfigResult.cc
src/model/ApproveOrderRequest.cc
src/model/ApproveOrderResult.cc
src/model/ChangeColumnSecLevelRequest.cc
src/model/ChangeColumnSecLevelResult.cc
src/model/CloseOrderRequest.cc
src/model/CloseOrderResult.cc
src/model/CreateDataCorrectOrderRequest.cc
@@ -202,8 +270,14 @@ set(dms-enterprise_src
src/model/CreateDataImportOrderResult.cc
src/model/CreateFreeLockCorrectOrderRequest.cc
src/model/CreateFreeLockCorrectOrderResult.cc
src/model/CreateLogicDatabaseRequest.cc
src/model/CreateLogicDatabaseResult.cc
src/model/CreateOrderRequest.cc
src/model/CreateOrderResult.cc
src/model/CreateProxyRequest.cc
src/model/CreateProxyResult.cc
src/model/CreateProxyAccessRequest.cc
src/model/CreateProxyAccessResult.cc
src/model/CreatePublishGroupTaskRequest.cc
src/model/CreatePublishGroupTaskResult.cc
src/model/CreateSQLReviewOrderRequest.cc
@@ -216,10 +290,20 @@ set(dms-enterprise_src
src/model/CreateUploadOSSFileJobResult.cc
src/model/DeleteInstanceRequest.cc
src/model/DeleteInstanceResult.cc
src/model/DeleteLogicDatabaseRequest.cc
src/model/DeleteLogicDatabaseResult.cc
src/model/DeleteLogicTableRouteConfigRequest.cc
src/model/DeleteLogicTableRouteConfigResult.cc
src/model/DeleteProxyRequest.cc
src/model/DeleteProxyResult.cc
src/model/DeleteProxyAccessRequest.cc
src/model/DeleteProxyAccessResult.cc
src/model/DeleteUserRequest.cc
src/model/DeleteUserResult.cc
src/model/DisableUserRequest.cc
src/model/DisableUserResult.cc
src/model/EditLogicDatabaseRequest.cc
src/model/EditLogicDatabaseResult.cc
src/model/EnableUserRequest.cc
src/model/EnableUserResult.cc
src/model/ExecuteDataCorrectRequest.cc
@@ -232,6 +316,8 @@ set(dms-enterprise_src
src/model/ExecuteStructSyncResult.cc
src/model/GetApprovalDetailRequest.cc
src/model/GetApprovalDetailResult.cc
src/model/GetDBTaskSQLJobLogRequest.cc
src/model/GetDBTaskSQLJobLogResult.cc
src/model/GetDBTopologyRequest.cc
src/model/GetDBTopologyResult.cc
src/model/GetDataCorrectBackupFilesRequest.cc
@@ -268,10 +354,20 @@ set(dms-enterprise_src
src/model/GetPermApplyOrderDetailResult.cc
src/model/GetPhysicalDatabaseRequest.cc
src/model/GetPhysicalDatabaseResult.cc
src/model/GetProxyRequest.cc
src/model/GetProxyResult.cc
src/model/GetSQLReviewCheckResultStatusRequest.cc
src/model/GetSQLReviewCheckResultStatusResult.cc
src/model/GetSQLReviewOptimizeDetailRequest.cc
src/model/GetSQLReviewOptimizeDetailResult.cc
src/model/GetSparkJobDetailRequest.cc
src/model/GetSparkJobDetailResult.cc
src/model/GetSparkJobDriverLogRequest.cc
src/model/GetSparkJobDriverLogResult.cc
src/model/GetSparkJobExecutorLogsRequest.cc
src/model/GetSparkJobExecutorLogsResult.cc
src/model/GetSparkJobLogRequest.cc
src/model/GetSparkJobLogResult.cc
src/model/GetStructSyncExecSqlDetailRequest.cc
src/model/GetStructSyncExecSqlDetailResult.cc
src/model/GetStructSyncJobAnalyzeResultRequest.cc
@@ -292,6 +388,10 @@ set(dms-enterprise_src
src/model/GetUserUploadFileJobResult.cc
src/model/GrantUserPermissionRequest.cc
src/model/GrantUserPermissionResult.cc
src/model/InspectProxyAccessSecretRequest.cc
src/model/InspectProxyAccessSecretResult.cc
src/model/KillSparkJobRequest.cc
src/model/KillSparkJobResult.cc
src/model/ListColumnsRequest.cc
src/model/ListColumnsResult.cc
src/model/ListDBTaskSQLJobRequest.cc
@@ -300,20 +400,38 @@ set(dms-enterprise_src
src/model/ListDBTaskSQLJobDetailResult.cc
src/model/ListDDLPublishRecordsRequest.cc
src/model/ListDDLPublishRecordsResult.cc
src/model/ListDataCorrectPreCheckDBRequest.cc
src/model/ListDataCorrectPreCheckDBResult.cc
src/model/ListDataCorrectPreCheckSQLRequest.cc
src/model/ListDataCorrectPreCheckSQLResult.cc
src/model/ListDatabaseUserPermssionsRequest.cc
src/model/ListDatabaseUserPermssionsResult.cc
src/model/ListDatabasesRequest.cc
src/model/ListDatabasesResult.cc
src/model/ListIndexesRequest.cc
src/model/ListIndexesResult.cc
src/model/ListInstanceLoginAuditLogRequest.cc
src/model/ListInstanceLoginAuditLogResult.cc
src/model/ListInstanceUserPermissionsRequest.cc
src/model/ListInstanceUserPermissionsResult.cc
src/model/ListInstancesRequest.cc
src/model/ListInstancesResult.cc
src/model/ListLogicDatabasesRequest.cc
src/model/ListLogicDatabasesResult.cc
src/model/ListLogicTableRouteConfigRequest.cc
src/model/ListLogicTableRouteConfigResult.cc
src/model/ListLogicTablesRequest.cc
src/model/ListLogicTablesResult.cc
src/model/ListOrdersRequest.cc
src/model/ListOrdersResult.cc
src/model/ListProxiesRequest.cc
src/model/ListProxiesResult.cc
src/model/ListProxyAccessesRequest.cc
src/model/ListProxyAccessesResult.cc
src/model/ListProxySQLExecAuditLogRequest.cc
src/model/ListProxySQLExecAuditLogResult.cc
src/model/ListSQLExecAuditLogRequest.cc
src/model/ListSQLExecAuditLogResult.cc
src/model/ListSQLReviewOriginSQLRequest.cc
src/model/ListSQLReviewOriginSQLResult.cc
src/model/ListSensitiveColumnsRequest.cc
@@ -332,10 +450,18 @@ set(dms-enterprise_src
src/model/ListWorkFlowNodesResult.cc
src/model/ListWorkFlowTemplatesRequest.cc
src/model/ListWorkFlowTemplatesResult.cc
src/model/ModifyDataCorrectExecSQLRequest.cc
src/model/ModifyDataCorrectExecSQLResult.cc
src/model/PauseDataCorrectSQLJobRequest.cc
src/model/PauseDataCorrectSQLJobResult.cc
src/model/RegisterInstanceRequest.cc
src/model/RegisterInstanceResult.cc
src/model/RegisterUserRequest.cc
src/model/RegisterUserResult.cc
src/model/RestartDataCorrectSQLJobRequest.cc
src/model/RestartDataCorrectSQLJobResult.cc
src/model/RetryDataCorrectPreCheckRequest.cc
src/model/RetryDataCorrectPreCheckResult.cc
src/model/RevokeUserPermissionRequest.cc
src/model/RevokeUserPermissionResult.cc
src/model/SearchDatabaseRequest.cc
@@ -346,6 +472,8 @@ set(dms-enterprise_src
src/model/SetOwnersResult.cc
src/model/SubmitOrderApprovalRequest.cc
src/model/SubmitOrderApprovalResult.cc
src/model/SubmitSparkJobRequest.cc
src/model/SubmitSparkJobResult.cc
src/model/SubmitStructSyncOrderApprovalRequest.cc
src/model/SubmitStructSyncOrderApprovalResult.cc
src/model/SyncDatabaseMetaRequest.cc

View File

@@ -22,8 +22,12 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "Dms_enterpriseExport.h"
#include "model/AddLogicTableRouteConfigRequest.h"
#include "model/AddLogicTableRouteConfigResult.h"
#include "model/ApproveOrderRequest.h"
#include "model/ApproveOrderResult.h"
#include "model/ChangeColumnSecLevelRequest.h"
#include "model/ChangeColumnSecLevelResult.h"
#include "model/CloseOrderRequest.h"
#include "model/CloseOrderResult.h"
#include "model/CreateDataCorrectOrderRequest.h"
@@ -34,8 +38,14 @@
#include "model/CreateDataImportOrderResult.h"
#include "model/CreateFreeLockCorrectOrderRequest.h"
#include "model/CreateFreeLockCorrectOrderResult.h"
#include "model/CreateLogicDatabaseRequest.h"
#include "model/CreateLogicDatabaseResult.h"
#include "model/CreateOrderRequest.h"
#include "model/CreateOrderResult.h"
#include "model/CreateProxyRequest.h"
#include "model/CreateProxyResult.h"
#include "model/CreateProxyAccessRequest.h"
#include "model/CreateProxyAccessResult.h"
#include "model/CreatePublishGroupTaskRequest.h"
#include "model/CreatePublishGroupTaskResult.h"
#include "model/CreateSQLReviewOrderRequest.h"
@@ -48,10 +58,20 @@
#include "model/CreateUploadOSSFileJobResult.h"
#include "model/DeleteInstanceRequest.h"
#include "model/DeleteInstanceResult.h"
#include "model/DeleteLogicDatabaseRequest.h"
#include "model/DeleteLogicDatabaseResult.h"
#include "model/DeleteLogicTableRouteConfigRequest.h"
#include "model/DeleteLogicTableRouteConfigResult.h"
#include "model/DeleteProxyRequest.h"
#include "model/DeleteProxyResult.h"
#include "model/DeleteProxyAccessRequest.h"
#include "model/DeleteProxyAccessResult.h"
#include "model/DeleteUserRequest.h"
#include "model/DeleteUserResult.h"
#include "model/DisableUserRequest.h"
#include "model/DisableUserResult.h"
#include "model/EditLogicDatabaseRequest.h"
#include "model/EditLogicDatabaseResult.h"
#include "model/EnableUserRequest.h"
#include "model/EnableUserResult.h"
#include "model/ExecuteDataCorrectRequest.h"
@@ -64,6 +84,8 @@
#include "model/ExecuteStructSyncResult.h"
#include "model/GetApprovalDetailRequest.h"
#include "model/GetApprovalDetailResult.h"
#include "model/GetDBTaskSQLJobLogRequest.h"
#include "model/GetDBTaskSQLJobLogResult.h"
#include "model/GetDBTopologyRequest.h"
#include "model/GetDBTopologyResult.h"
#include "model/GetDataCorrectBackupFilesRequest.h"
@@ -100,10 +122,20 @@
#include "model/GetPermApplyOrderDetailResult.h"
#include "model/GetPhysicalDatabaseRequest.h"
#include "model/GetPhysicalDatabaseResult.h"
#include "model/GetProxyRequest.h"
#include "model/GetProxyResult.h"
#include "model/GetSQLReviewCheckResultStatusRequest.h"
#include "model/GetSQLReviewCheckResultStatusResult.h"
#include "model/GetSQLReviewOptimizeDetailRequest.h"
#include "model/GetSQLReviewOptimizeDetailResult.h"
#include "model/GetSparkJobDetailRequest.h"
#include "model/GetSparkJobDetailResult.h"
#include "model/GetSparkJobDriverLogRequest.h"
#include "model/GetSparkJobDriverLogResult.h"
#include "model/GetSparkJobExecutorLogsRequest.h"
#include "model/GetSparkJobExecutorLogsResult.h"
#include "model/GetSparkJobLogRequest.h"
#include "model/GetSparkJobLogResult.h"
#include "model/GetStructSyncExecSqlDetailRequest.h"
#include "model/GetStructSyncExecSqlDetailResult.h"
#include "model/GetStructSyncJobAnalyzeResultRequest.h"
@@ -124,6 +156,10 @@
#include "model/GetUserUploadFileJobResult.h"
#include "model/GrantUserPermissionRequest.h"
#include "model/GrantUserPermissionResult.h"
#include "model/InspectProxyAccessSecretRequest.h"
#include "model/InspectProxyAccessSecretResult.h"
#include "model/KillSparkJobRequest.h"
#include "model/KillSparkJobResult.h"
#include "model/ListColumnsRequest.h"
#include "model/ListColumnsResult.h"
#include "model/ListDBTaskSQLJobRequest.h"
@@ -132,20 +168,38 @@
#include "model/ListDBTaskSQLJobDetailResult.h"
#include "model/ListDDLPublishRecordsRequest.h"
#include "model/ListDDLPublishRecordsResult.h"
#include "model/ListDataCorrectPreCheckDBRequest.h"
#include "model/ListDataCorrectPreCheckDBResult.h"
#include "model/ListDataCorrectPreCheckSQLRequest.h"
#include "model/ListDataCorrectPreCheckSQLResult.h"
#include "model/ListDatabaseUserPermssionsRequest.h"
#include "model/ListDatabaseUserPermssionsResult.h"
#include "model/ListDatabasesRequest.h"
#include "model/ListDatabasesResult.h"
#include "model/ListIndexesRequest.h"
#include "model/ListIndexesResult.h"
#include "model/ListInstanceLoginAuditLogRequest.h"
#include "model/ListInstanceLoginAuditLogResult.h"
#include "model/ListInstanceUserPermissionsRequest.h"
#include "model/ListInstanceUserPermissionsResult.h"
#include "model/ListInstancesRequest.h"
#include "model/ListInstancesResult.h"
#include "model/ListLogicDatabasesRequest.h"
#include "model/ListLogicDatabasesResult.h"
#include "model/ListLogicTableRouteConfigRequest.h"
#include "model/ListLogicTableRouteConfigResult.h"
#include "model/ListLogicTablesRequest.h"
#include "model/ListLogicTablesResult.h"
#include "model/ListOrdersRequest.h"
#include "model/ListOrdersResult.h"
#include "model/ListProxiesRequest.h"
#include "model/ListProxiesResult.h"
#include "model/ListProxyAccessesRequest.h"
#include "model/ListProxyAccessesResult.h"
#include "model/ListProxySQLExecAuditLogRequest.h"
#include "model/ListProxySQLExecAuditLogResult.h"
#include "model/ListSQLExecAuditLogRequest.h"
#include "model/ListSQLExecAuditLogResult.h"
#include "model/ListSQLReviewOriginSQLRequest.h"
#include "model/ListSQLReviewOriginSQLResult.h"
#include "model/ListSensitiveColumnsRequest.h"
@@ -164,10 +218,18 @@
#include "model/ListWorkFlowNodesResult.h"
#include "model/ListWorkFlowTemplatesRequest.h"
#include "model/ListWorkFlowTemplatesResult.h"
#include "model/ModifyDataCorrectExecSQLRequest.h"
#include "model/ModifyDataCorrectExecSQLResult.h"
#include "model/PauseDataCorrectSQLJobRequest.h"
#include "model/PauseDataCorrectSQLJobResult.h"
#include "model/RegisterInstanceRequest.h"
#include "model/RegisterInstanceResult.h"
#include "model/RegisterUserRequest.h"
#include "model/RegisterUserResult.h"
#include "model/RestartDataCorrectSQLJobRequest.h"
#include "model/RestartDataCorrectSQLJobResult.h"
#include "model/RetryDataCorrectPreCheckRequest.h"
#include "model/RetryDataCorrectPreCheckResult.h"
#include "model/RevokeUserPermissionRequest.h"
#include "model/RevokeUserPermissionResult.h"
#include "model/SearchDatabaseRequest.h"
@@ -178,6 +240,8 @@
#include "model/SetOwnersResult.h"
#include "model/SubmitOrderApprovalRequest.h"
#include "model/SubmitOrderApprovalResult.h"
#include "model/SubmitSparkJobRequest.h"
#include "model/SubmitSparkJobResult.h"
#include "model/SubmitStructSyncOrderApprovalRequest.h"
#include "model/SubmitStructSyncOrderApprovalResult.h"
#include "model/SyncDatabaseMetaRequest.h"
@@ -197,9 +261,15 @@ namespace AlibabaCloud
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT Dms_enterpriseClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AddLogicTableRouteConfigResult> AddLogicTableRouteConfigOutcome;
typedef std::future<AddLogicTableRouteConfigOutcome> AddLogicTableRouteConfigOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::AddLogicTableRouteConfigRequest&, const AddLogicTableRouteConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddLogicTableRouteConfigAsyncHandler;
typedef Outcome<Error, Model::ApproveOrderResult> ApproveOrderOutcome;
typedef std::future<ApproveOrderOutcome> ApproveOrderOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ApproveOrderRequest&, const ApproveOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApproveOrderAsyncHandler;
typedef Outcome<Error, Model::ChangeColumnSecLevelResult> ChangeColumnSecLevelOutcome;
typedef std::future<ChangeColumnSecLevelOutcome> ChangeColumnSecLevelOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ChangeColumnSecLevelRequest&, const ChangeColumnSecLevelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeColumnSecLevelAsyncHandler;
typedef Outcome<Error, Model::CloseOrderResult> CloseOrderOutcome;
typedef std::future<CloseOrderOutcome> CloseOrderOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CloseOrderRequest&, const CloseOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseOrderAsyncHandler;
@@ -215,9 +285,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateFreeLockCorrectOrderResult> CreateFreeLockCorrectOrderOutcome;
typedef std::future<CreateFreeLockCorrectOrderOutcome> CreateFreeLockCorrectOrderOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreateFreeLockCorrectOrderRequest&, const CreateFreeLockCorrectOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFreeLockCorrectOrderAsyncHandler;
typedef Outcome<Error, Model::CreateLogicDatabaseResult> CreateLogicDatabaseOutcome;
typedef std::future<CreateLogicDatabaseOutcome> CreateLogicDatabaseOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreateLogicDatabaseRequest&, const CreateLogicDatabaseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLogicDatabaseAsyncHandler;
typedef Outcome<Error, Model::CreateOrderResult> CreateOrderOutcome;
typedef std::future<CreateOrderOutcome> CreateOrderOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreateOrderRequest&, const CreateOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOrderAsyncHandler;
typedef Outcome<Error, Model::CreateProxyResult> CreateProxyOutcome;
typedef std::future<CreateProxyOutcome> CreateProxyOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreateProxyRequest&, const CreateProxyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProxyAsyncHandler;
typedef Outcome<Error, Model::CreateProxyAccessResult> CreateProxyAccessOutcome;
typedef std::future<CreateProxyAccessOutcome> CreateProxyAccessOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreateProxyAccessRequest&, const CreateProxyAccessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProxyAccessAsyncHandler;
typedef Outcome<Error, Model::CreatePublishGroupTaskResult> CreatePublishGroupTaskOutcome;
typedef std::future<CreatePublishGroupTaskOutcome> CreatePublishGroupTaskOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreatePublishGroupTaskRequest&, const CreatePublishGroupTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePublishGroupTaskAsyncHandler;
@@ -236,12 +315,27 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteInstanceResult> DeleteInstanceOutcome;
typedef std::future<DeleteInstanceOutcome> DeleteInstanceOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::DeleteInstanceRequest&, const DeleteInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteInstanceAsyncHandler;
typedef Outcome<Error, Model::DeleteLogicDatabaseResult> DeleteLogicDatabaseOutcome;
typedef std::future<DeleteLogicDatabaseOutcome> DeleteLogicDatabaseOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::DeleteLogicDatabaseRequest&, const DeleteLogicDatabaseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLogicDatabaseAsyncHandler;
typedef Outcome<Error, Model::DeleteLogicTableRouteConfigResult> DeleteLogicTableRouteConfigOutcome;
typedef std::future<DeleteLogicTableRouteConfigOutcome> DeleteLogicTableRouteConfigOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::DeleteLogicTableRouteConfigRequest&, const DeleteLogicTableRouteConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLogicTableRouteConfigAsyncHandler;
typedef Outcome<Error, Model::DeleteProxyResult> DeleteProxyOutcome;
typedef std::future<DeleteProxyOutcome> DeleteProxyOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::DeleteProxyRequest&, const DeleteProxyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProxyAsyncHandler;
typedef Outcome<Error, Model::DeleteProxyAccessResult> DeleteProxyAccessOutcome;
typedef std::future<DeleteProxyAccessOutcome> DeleteProxyAccessOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::DeleteProxyAccessRequest&, const DeleteProxyAccessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProxyAccessAsyncHandler;
typedef Outcome<Error, Model::DeleteUserResult> DeleteUserOutcome;
typedef std::future<DeleteUserOutcome> DeleteUserOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::DeleteUserRequest&, const DeleteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserAsyncHandler;
typedef Outcome<Error, Model::DisableUserResult> DisableUserOutcome;
typedef std::future<DisableUserOutcome> DisableUserOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::DisableUserRequest&, const DisableUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableUserAsyncHandler;
typedef Outcome<Error, Model::EditLogicDatabaseResult> EditLogicDatabaseOutcome;
typedef std::future<EditLogicDatabaseOutcome> EditLogicDatabaseOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::EditLogicDatabaseRequest&, const EditLogicDatabaseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditLogicDatabaseAsyncHandler;
typedef Outcome<Error, Model::EnableUserResult> EnableUserOutcome;
typedef std::future<EnableUserOutcome> EnableUserOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::EnableUserRequest&, const EnableUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableUserAsyncHandler;
@@ -260,6 +354,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetApprovalDetailResult> GetApprovalDetailOutcome;
typedef std::future<GetApprovalDetailOutcome> GetApprovalDetailOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetApprovalDetailRequest&, const GetApprovalDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetApprovalDetailAsyncHandler;
typedef Outcome<Error, Model::GetDBTaskSQLJobLogResult> GetDBTaskSQLJobLogOutcome;
typedef std::future<GetDBTaskSQLJobLogOutcome> GetDBTaskSQLJobLogOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetDBTaskSQLJobLogRequest&, const GetDBTaskSQLJobLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDBTaskSQLJobLogAsyncHandler;
typedef Outcome<Error, Model::GetDBTopologyResult> GetDBTopologyOutcome;
typedef std::future<GetDBTopologyOutcome> GetDBTopologyOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetDBTopologyRequest&, const GetDBTopologyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDBTopologyAsyncHandler;
@@ -314,12 +411,27 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetPhysicalDatabaseResult> GetPhysicalDatabaseOutcome;
typedef std::future<GetPhysicalDatabaseOutcome> GetPhysicalDatabaseOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetPhysicalDatabaseRequest&, const GetPhysicalDatabaseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhysicalDatabaseAsyncHandler;
typedef Outcome<Error, Model::GetProxyResult> GetProxyOutcome;
typedef std::future<GetProxyOutcome> GetProxyOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetProxyRequest&, const GetProxyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProxyAsyncHandler;
typedef Outcome<Error, Model::GetSQLReviewCheckResultStatusResult> GetSQLReviewCheckResultStatusOutcome;
typedef std::future<GetSQLReviewCheckResultStatusOutcome> GetSQLReviewCheckResultStatusOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetSQLReviewCheckResultStatusRequest&, const GetSQLReviewCheckResultStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSQLReviewCheckResultStatusAsyncHandler;
typedef Outcome<Error, Model::GetSQLReviewOptimizeDetailResult> GetSQLReviewOptimizeDetailOutcome;
typedef std::future<GetSQLReviewOptimizeDetailOutcome> GetSQLReviewOptimizeDetailOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetSQLReviewOptimizeDetailRequest&, const GetSQLReviewOptimizeDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSQLReviewOptimizeDetailAsyncHandler;
typedef Outcome<Error, Model::GetSparkJobDetailResult> GetSparkJobDetailOutcome;
typedef std::future<GetSparkJobDetailOutcome> GetSparkJobDetailOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetSparkJobDetailRequest&, const GetSparkJobDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSparkJobDetailAsyncHandler;
typedef Outcome<Error, Model::GetSparkJobDriverLogResult> GetSparkJobDriverLogOutcome;
typedef std::future<GetSparkJobDriverLogOutcome> GetSparkJobDriverLogOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetSparkJobDriverLogRequest&, const GetSparkJobDriverLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSparkJobDriverLogAsyncHandler;
typedef Outcome<Error, Model::GetSparkJobExecutorLogsResult> GetSparkJobExecutorLogsOutcome;
typedef std::future<GetSparkJobExecutorLogsOutcome> GetSparkJobExecutorLogsOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetSparkJobExecutorLogsRequest&, const GetSparkJobExecutorLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSparkJobExecutorLogsAsyncHandler;
typedef Outcome<Error, Model::GetSparkJobLogResult> GetSparkJobLogOutcome;
typedef std::future<GetSparkJobLogOutcome> GetSparkJobLogOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetSparkJobLogRequest&, const GetSparkJobLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSparkJobLogAsyncHandler;
typedef Outcome<Error, Model::GetStructSyncExecSqlDetailResult> GetStructSyncExecSqlDetailOutcome;
typedef std::future<GetStructSyncExecSqlDetailOutcome> GetStructSyncExecSqlDetailOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetStructSyncExecSqlDetailRequest&, const GetStructSyncExecSqlDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStructSyncExecSqlDetailAsyncHandler;
@@ -350,6 +462,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GrantUserPermissionResult> GrantUserPermissionOutcome;
typedef std::future<GrantUserPermissionOutcome> GrantUserPermissionOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GrantUserPermissionRequest&, const GrantUserPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GrantUserPermissionAsyncHandler;
typedef Outcome<Error, Model::InspectProxyAccessSecretResult> InspectProxyAccessSecretOutcome;
typedef std::future<InspectProxyAccessSecretOutcome> InspectProxyAccessSecretOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::InspectProxyAccessSecretRequest&, const InspectProxyAccessSecretOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InspectProxyAccessSecretAsyncHandler;
typedef Outcome<Error, Model::KillSparkJobResult> KillSparkJobOutcome;
typedef std::future<KillSparkJobOutcome> KillSparkJobOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::KillSparkJobRequest&, const KillSparkJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> KillSparkJobAsyncHandler;
typedef Outcome<Error, Model::ListColumnsResult> ListColumnsOutcome;
typedef std::future<ListColumnsOutcome> ListColumnsOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListColumnsRequest&, const ListColumnsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListColumnsAsyncHandler;
@@ -362,6 +480,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListDDLPublishRecordsResult> ListDDLPublishRecordsOutcome;
typedef std::future<ListDDLPublishRecordsOutcome> ListDDLPublishRecordsOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListDDLPublishRecordsRequest&, const ListDDLPublishRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDDLPublishRecordsAsyncHandler;
typedef Outcome<Error, Model::ListDataCorrectPreCheckDBResult> ListDataCorrectPreCheckDBOutcome;
typedef std::future<ListDataCorrectPreCheckDBOutcome> ListDataCorrectPreCheckDBOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListDataCorrectPreCheckDBRequest&, const ListDataCorrectPreCheckDBOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataCorrectPreCheckDBAsyncHandler;
typedef Outcome<Error, Model::ListDataCorrectPreCheckSQLResult> ListDataCorrectPreCheckSQLOutcome;
typedef std::future<ListDataCorrectPreCheckSQLOutcome> ListDataCorrectPreCheckSQLOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListDataCorrectPreCheckSQLRequest&, const ListDataCorrectPreCheckSQLOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataCorrectPreCheckSQLAsyncHandler;
typedef Outcome<Error, Model::ListDatabaseUserPermssionsResult> ListDatabaseUserPermssionsOutcome;
typedef std::future<ListDatabaseUserPermssionsOutcome> ListDatabaseUserPermssionsOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListDatabaseUserPermssionsRequest&, const ListDatabaseUserPermssionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDatabaseUserPermssionsAsyncHandler;
@@ -371,18 +495,39 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListIndexesResult> ListIndexesOutcome;
typedef std::future<ListIndexesOutcome> ListIndexesOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListIndexesRequest&, const ListIndexesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListIndexesAsyncHandler;
typedef Outcome<Error, Model::ListInstanceLoginAuditLogResult> ListInstanceLoginAuditLogOutcome;
typedef std::future<ListInstanceLoginAuditLogOutcome> ListInstanceLoginAuditLogOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListInstanceLoginAuditLogRequest&, const ListInstanceLoginAuditLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstanceLoginAuditLogAsyncHandler;
typedef Outcome<Error, Model::ListInstanceUserPermissionsResult> ListInstanceUserPermissionsOutcome;
typedef std::future<ListInstanceUserPermissionsOutcome> ListInstanceUserPermissionsOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListInstanceUserPermissionsRequest&, const ListInstanceUserPermissionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstanceUserPermissionsAsyncHandler;
typedef Outcome<Error, Model::ListInstancesResult> ListInstancesOutcome;
typedef std::future<ListInstancesOutcome> ListInstancesOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListInstancesRequest&, const ListInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstancesAsyncHandler;
typedef Outcome<Error, Model::ListLogicDatabasesResult> ListLogicDatabasesOutcome;
typedef std::future<ListLogicDatabasesOutcome> ListLogicDatabasesOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListLogicDatabasesRequest&, const ListLogicDatabasesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLogicDatabasesAsyncHandler;
typedef Outcome<Error, Model::ListLogicTableRouteConfigResult> ListLogicTableRouteConfigOutcome;
typedef std::future<ListLogicTableRouteConfigOutcome> ListLogicTableRouteConfigOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListLogicTableRouteConfigRequest&, const ListLogicTableRouteConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLogicTableRouteConfigAsyncHandler;
typedef Outcome<Error, Model::ListLogicTablesResult> ListLogicTablesOutcome;
typedef std::future<ListLogicTablesOutcome> ListLogicTablesOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListLogicTablesRequest&, const ListLogicTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLogicTablesAsyncHandler;
typedef Outcome<Error, Model::ListOrdersResult> ListOrdersOutcome;
typedef std::future<ListOrdersOutcome> ListOrdersOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListOrdersRequest&, const ListOrdersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOrdersAsyncHandler;
typedef Outcome<Error, Model::ListProxiesResult> ListProxiesOutcome;
typedef std::future<ListProxiesOutcome> ListProxiesOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListProxiesRequest&, const ListProxiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProxiesAsyncHandler;
typedef Outcome<Error, Model::ListProxyAccessesResult> ListProxyAccessesOutcome;
typedef std::future<ListProxyAccessesOutcome> ListProxyAccessesOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListProxyAccessesRequest&, const ListProxyAccessesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProxyAccessesAsyncHandler;
typedef Outcome<Error, Model::ListProxySQLExecAuditLogResult> ListProxySQLExecAuditLogOutcome;
typedef std::future<ListProxySQLExecAuditLogOutcome> ListProxySQLExecAuditLogOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListProxySQLExecAuditLogRequest&, const ListProxySQLExecAuditLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProxySQLExecAuditLogAsyncHandler;
typedef Outcome<Error, Model::ListSQLExecAuditLogResult> ListSQLExecAuditLogOutcome;
typedef std::future<ListSQLExecAuditLogOutcome> ListSQLExecAuditLogOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListSQLExecAuditLogRequest&, const ListSQLExecAuditLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSQLExecAuditLogAsyncHandler;
typedef Outcome<Error, Model::ListSQLReviewOriginSQLResult> ListSQLReviewOriginSQLOutcome;
typedef std::future<ListSQLReviewOriginSQLOutcome> ListSQLReviewOriginSQLOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListSQLReviewOriginSQLRequest&, const ListSQLReviewOriginSQLOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSQLReviewOriginSQLAsyncHandler;
@@ -410,12 +555,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListWorkFlowTemplatesResult> ListWorkFlowTemplatesOutcome;
typedef std::future<ListWorkFlowTemplatesOutcome> ListWorkFlowTemplatesOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListWorkFlowTemplatesRequest&, const ListWorkFlowTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListWorkFlowTemplatesAsyncHandler;
typedef Outcome<Error, Model::ModifyDataCorrectExecSQLResult> ModifyDataCorrectExecSQLOutcome;
typedef std::future<ModifyDataCorrectExecSQLOutcome> ModifyDataCorrectExecSQLOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ModifyDataCorrectExecSQLRequest&, const ModifyDataCorrectExecSQLOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDataCorrectExecSQLAsyncHandler;
typedef Outcome<Error, Model::PauseDataCorrectSQLJobResult> PauseDataCorrectSQLJobOutcome;
typedef std::future<PauseDataCorrectSQLJobOutcome> PauseDataCorrectSQLJobOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::PauseDataCorrectSQLJobRequest&, const PauseDataCorrectSQLJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PauseDataCorrectSQLJobAsyncHandler;
typedef Outcome<Error, Model::RegisterInstanceResult> RegisterInstanceOutcome;
typedef std::future<RegisterInstanceOutcome> RegisterInstanceOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::RegisterInstanceRequest&, const RegisterInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterInstanceAsyncHandler;
typedef Outcome<Error, Model::RegisterUserResult> RegisterUserOutcome;
typedef std::future<RegisterUserOutcome> RegisterUserOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::RegisterUserRequest&, const RegisterUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterUserAsyncHandler;
typedef Outcome<Error, Model::RestartDataCorrectSQLJobResult> RestartDataCorrectSQLJobOutcome;
typedef std::future<RestartDataCorrectSQLJobOutcome> RestartDataCorrectSQLJobOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::RestartDataCorrectSQLJobRequest&, const RestartDataCorrectSQLJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartDataCorrectSQLJobAsyncHandler;
typedef Outcome<Error, Model::RetryDataCorrectPreCheckResult> RetryDataCorrectPreCheckOutcome;
typedef std::future<RetryDataCorrectPreCheckOutcome> RetryDataCorrectPreCheckOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::RetryDataCorrectPreCheckRequest&, const RetryDataCorrectPreCheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RetryDataCorrectPreCheckAsyncHandler;
typedef Outcome<Error, Model::RevokeUserPermissionResult> RevokeUserPermissionOutcome;
typedef std::future<RevokeUserPermissionOutcome> RevokeUserPermissionOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::RevokeUserPermissionRequest&, const RevokeUserPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeUserPermissionAsyncHandler;
@@ -431,6 +588,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SubmitOrderApprovalResult> SubmitOrderApprovalOutcome;
typedef std::future<SubmitOrderApprovalOutcome> SubmitOrderApprovalOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::SubmitOrderApprovalRequest&, const SubmitOrderApprovalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitOrderApprovalAsyncHandler;
typedef Outcome<Error, Model::SubmitSparkJobResult> SubmitSparkJobOutcome;
typedef std::future<SubmitSparkJobOutcome> SubmitSparkJobOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::SubmitSparkJobRequest&, const SubmitSparkJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitSparkJobAsyncHandler;
typedef Outcome<Error, Model::SubmitStructSyncOrderApprovalResult> SubmitStructSyncOrderApprovalOutcome;
typedef std::future<SubmitStructSyncOrderApprovalOutcome> SubmitStructSyncOrderApprovalOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::SubmitStructSyncOrderApprovalRequest&, const SubmitStructSyncOrderApprovalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitStructSyncOrderApprovalAsyncHandler;
@@ -451,9 +611,15 @@ namespace AlibabaCloud
Dms_enterpriseClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
Dms_enterpriseClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~Dms_enterpriseClient();
AddLogicTableRouteConfigOutcome addLogicTableRouteConfig(const Model::AddLogicTableRouteConfigRequest &request)const;
void addLogicTableRouteConfigAsync(const Model::AddLogicTableRouteConfigRequest& request, const AddLogicTableRouteConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddLogicTableRouteConfigOutcomeCallable addLogicTableRouteConfigCallable(const Model::AddLogicTableRouteConfigRequest& request) const;
ApproveOrderOutcome approveOrder(const Model::ApproveOrderRequest &request)const;
void approveOrderAsync(const Model::ApproveOrderRequest& request, const ApproveOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApproveOrderOutcomeCallable approveOrderCallable(const Model::ApproveOrderRequest& request) const;
ChangeColumnSecLevelOutcome changeColumnSecLevel(const Model::ChangeColumnSecLevelRequest &request)const;
void changeColumnSecLevelAsync(const Model::ChangeColumnSecLevelRequest& request, const ChangeColumnSecLevelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ChangeColumnSecLevelOutcomeCallable changeColumnSecLevelCallable(const Model::ChangeColumnSecLevelRequest& request) const;
CloseOrderOutcome closeOrder(const Model::CloseOrderRequest &request)const;
void closeOrderAsync(const Model::CloseOrderRequest& request, const CloseOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloseOrderOutcomeCallable closeOrderCallable(const Model::CloseOrderRequest& request) const;
@@ -469,9 +635,18 @@ namespace AlibabaCloud
CreateFreeLockCorrectOrderOutcome createFreeLockCorrectOrder(const Model::CreateFreeLockCorrectOrderRequest &request)const;
void createFreeLockCorrectOrderAsync(const Model::CreateFreeLockCorrectOrderRequest& request, const CreateFreeLockCorrectOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFreeLockCorrectOrderOutcomeCallable createFreeLockCorrectOrderCallable(const Model::CreateFreeLockCorrectOrderRequest& request) const;
CreateLogicDatabaseOutcome createLogicDatabase(const Model::CreateLogicDatabaseRequest &request)const;
void createLogicDatabaseAsync(const Model::CreateLogicDatabaseRequest& request, const CreateLogicDatabaseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateLogicDatabaseOutcomeCallable createLogicDatabaseCallable(const Model::CreateLogicDatabaseRequest& request) const;
CreateOrderOutcome createOrder(const Model::CreateOrderRequest &request)const;
void createOrderAsync(const Model::CreateOrderRequest& request, const CreateOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateOrderOutcomeCallable createOrderCallable(const Model::CreateOrderRequest& request) const;
CreateProxyOutcome createProxy(const Model::CreateProxyRequest &request)const;
void createProxyAsync(const Model::CreateProxyRequest& request, const CreateProxyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateProxyOutcomeCallable createProxyCallable(const Model::CreateProxyRequest& request) const;
CreateProxyAccessOutcome createProxyAccess(const Model::CreateProxyAccessRequest &request)const;
void createProxyAccessAsync(const Model::CreateProxyAccessRequest& request, const CreateProxyAccessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateProxyAccessOutcomeCallable createProxyAccessCallable(const Model::CreateProxyAccessRequest& request) const;
CreatePublishGroupTaskOutcome createPublishGroupTask(const Model::CreatePublishGroupTaskRequest &request)const;
void createPublishGroupTaskAsync(const Model::CreatePublishGroupTaskRequest& request, const CreatePublishGroupTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePublishGroupTaskOutcomeCallable createPublishGroupTaskCallable(const Model::CreatePublishGroupTaskRequest& request) const;
@@ -490,12 +665,27 @@ namespace AlibabaCloud
DeleteInstanceOutcome deleteInstance(const Model::DeleteInstanceRequest &request)const;
void deleteInstanceAsync(const Model::DeleteInstanceRequest& request, const DeleteInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteInstanceOutcomeCallable deleteInstanceCallable(const Model::DeleteInstanceRequest& request) const;
DeleteLogicDatabaseOutcome deleteLogicDatabase(const Model::DeleteLogicDatabaseRequest &request)const;
void deleteLogicDatabaseAsync(const Model::DeleteLogicDatabaseRequest& request, const DeleteLogicDatabaseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLogicDatabaseOutcomeCallable deleteLogicDatabaseCallable(const Model::DeleteLogicDatabaseRequest& request) const;
DeleteLogicTableRouteConfigOutcome deleteLogicTableRouteConfig(const Model::DeleteLogicTableRouteConfigRequest &request)const;
void deleteLogicTableRouteConfigAsync(const Model::DeleteLogicTableRouteConfigRequest& request, const DeleteLogicTableRouteConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLogicTableRouteConfigOutcomeCallable deleteLogicTableRouteConfigCallable(const Model::DeleteLogicTableRouteConfigRequest& request) const;
DeleteProxyOutcome deleteProxy(const Model::DeleteProxyRequest &request)const;
void deleteProxyAsync(const Model::DeleteProxyRequest& request, const DeleteProxyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteProxyOutcomeCallable deleteProxyCallable(const Model::DeleteProxyRequest& request) const;
DeleteProxyAccessOutcome deleteProxyAccess(const Model::DeleteProxyAccessRequest &request)const;
void deleteProxyAccessAsync(const Model::DeleteProxyAccessRequest& request, const DeleteProxyAccessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteProxyAccessOutcomeCallable deleteProxyAccessCallable(const Model::DeleteProxyAccessRequest& request) const;
DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const;
void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const;
DisableUserOutcome disableUser(const Model::DisableUserRequest &request)const;
void disableUserAsync(const Model::DisableUserRequest& request, const DisableUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableUserOutcomeCallable disableUserCallable(const Model::DisableUserRequest& request) const;
EditLogicDatabaseOutcome editLogicDatabase(const Model::EditLogicDatabaseRequest &request)const;
void editLogicDatabaseAsync(const Model::EditLogicDatabaseRequest& request, const EditLogicDatabaseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditLogicDatabaseOutcomeCallable editLogicDatabaseCallable(const Model::EditLogicDatabaseRequest& request) const;
EnableUserOutcome enableUser(const Model::EnableUserRequest &request)const;
void enableUserAsync(const Model::EnableUserRequest& request, const EnableUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableUserOutcomeCallable enableUserCallable(const Model::EnableUserRequest& request) const;
@@ -514,6 +704,9 @@ namespace AlibabaCloud
GetApprovalDetailOutcome getApprovalDetail(const Model::GetApprovalDetailRequest &request)const;
void getApprovalDetailAsync(const Model::GetApprovalDetailRequest& request, const GetApprovalDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetApprovalDetailOutcomeCallable getApprovalDetailCallable(const Model::GetApprovalDetailRequest& request) const;
GetDBTaskSQLJobLogOutcome getDBTaskSQLJobLog(const Model::GetDBTaskSQLJobLogRequest &request)const;
void getDBTaskSQLJobLogAsync(const Model::GetDBTaskSQLJobLogRequest& request, const GetDBTaskSQLJobLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDBTaskSQLJobLogOutcomeCallable getDBTaskSQLJobLogCallable(const Model::GetDBTaskSQLJobLogRequest& request) const;
GetDBTopologyOutcome getDBTopology(const Model::GetDBTopologyRequest &request)const;
void getDBTopologyAsync(const Model::GetDBTopologyRequest& request, const GetDBTopologyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDBTopologyOutcomeCallable getDBTopologyCallable(const Model::GetDBTopologyRequest& request) const;
@@ -568,12 +761,27 @@ namespace AlibabaCloud
GetPhysicalDatabaseOutcome getPhysicalDatabase(const Model::GetPhysicalDatabaseRequest &request)const;
void getPhysicalDatabaseAsync(const Model::GetPhysicalDatabaseRequest& request, const GetPhysicalDatabaseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhysicalDatabaseOutcomeCallable getPhysicalDatabaseCallable(const Model::GetPhysicalDatabaseRequest& request) const;
GetProxyOutcome getProxy(const Model::GetProxyRequest &request)const;
void getProxyAsync(const Model::GetProxyRequest& request, const GetProxyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetProxyOutcomeCallable getProxyCallable(const Model::GetProxyRequest& request) const;
GetSQLReviewCheckResultStatusOutcome getSQLReviewCheckResultStatus(const Model::GetSQLReviewCheckResultStatusRequest &request)const;
void getSQLReviewCheckResultStatusAsync(const Model::GetSQLReviewCheckResultStatusRequest& request, const GetSQLReviewCheckResultStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSQLReviewCheckResultStatusOutcomeCallable getSQLReviewCheckResultStatusCallable(const Model::GetSQLReviewCheckResultStatusRequest& request) const;
GetSQLReviewOptimizeDetailOutcome getSQLReviewOptimizeDetail(const Model::GetSQLReviewOptimizeDetailRequest &request)const;
void getSQLReviewOptimizeDetailAsync(const Model::GetSQLReviewOptimizeDetailRequest& request, const GetSQLReviewOptimizeDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSQLReviewOptimizeDetailOutcomeCallable getSQLReviewOptimizeDetailCallable(const Model::GetSQLReviewOptimizeDetailRequest& request) const;
GetSparkJobDetailOutcome getSparkJobDetail(const Model::GetSparkJobDetailRequest &request)const;
void getSparkJobDetailAsync(const Model::GetSparkJobDetailRequest& request, const GetSparkJobDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSparkJobDetailOutcomeCallable getSparkJobDetailCallable(const Model::GetSparkJobDetailRequest& request) const;
GetSparkJobDriverLogOutcome getSparkJobDriverLog(const Model::GetSparkJobDriverLogRequest &request)const;
void getSparkJobDriverLogAsync(const Model::GetSparkJobDriverLogRequest& request, const GetSparkJobDriverLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSparkJobDriverLogOutcomeCallable getSparkJobDriverLogCallable(const Model::GetSparkJobDriverLogRequest& request) const;
GetSparkJobExecutorLogsOutcome getSparkJobExecutorLogs(const Model::GetSparkJobExecutorLogsRequest &request)const;
void getSparkJobExecutorLogsAsync(const Model::GetSparkJobExecutorLogsRequest& request, const GetSparkJobExecutorLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSparkJobExecutorLogsOutcomeCallable getSparkJobExecutorLogsCallable(const Model::GetSparkJobExecutorLogsRequest& request) const;
GetSparkJobLogOutcome getSparkJobLog(const Model::GetSparkJobLogRequest &request)const;
void getSparkJobLogAsync(const Model::GetSparkJobLogRequest& request, const GetSparkJobLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSparkJobLogOutcomeCallable getSparkJobLogCallable(const Model::GetSparkJobLogRequest& request) const;
GetStructSyncExecSqlDetailOutcome getStructSyncExecSqlDetail(const Model::GetStructSyncExecSqlDetailRequest &request)const;
void getStructSyncExecSqlDetailAsync(const Model::GetStructSyncExecSqlDetailRequest& request, const GetStructSyncExecSqlDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStructSyncExecSqlDetailOutcomeCallable getStructSyncExecSqlDetailCallable(const Model::GetStructSyncExecSqlDetailRequest& request) const;
@@ -604,6 +812,12 @@ namespace AlibabaCloud
GrantUserPermissionOutcome grantUserPermission(const Model::GrantUserPermissionRequest &request)const;
void grantUserPermissionAsync(const Model::GrantUserPermissionRequest& request, const GrantUserPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GrantUserPermissionOutcomeCallable grantUserPermissionCallable(const Model::GrantUserPermissionRequest& request) const;
InspectProxyAccessSecretOutcome inspectProxyAccessSecret(const Model::InspectProxyAccessSecretRequest &request)const;
void inspectProxyAccessSecretAsync(const Model::InspectProxyAccessSecretRequest& request, const InspectProxyAccessSecretAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InspectProxyAccessSecretOutcomeCallable inspectProxyAccessSecretCallable(const Model::InspectProxyAccessSecretRequest& request) const;
KillSparkJobOutcome killSparkJob(const Model::KillSparkJobRequest &request)const;
void killSparkJobAsync(const Model::KillSparkJobRequest& request, const KillSparkJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
KillSparkJobOutcomeCallable killSparkJobCallable(const Model::KillSparkJobRequest& request) const;
ListColumnsOutcome listColumns(const Model::ListColumnsRequest &request)const;
void listColumnsAsync(const Model::ListColumnsRequest& request, const ListColumnsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListColumnsOutcomeCallable listColumnsCallable(const Model::ListColumnsRequest& request) const;
@@ -616,6 +830,12 @@ namespace AlibabaCloud
ListDDLPublishRecordsOutcome listDDLPublishRecords(const Model::ListDDLPublishRecordsRequest &request)const;
void listDDLPublishRecordsAsync(const Model::ListDDLPublishRecordsRequest& request, const ListDDLPublishRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDDLPublishRecordsOutcomeCallable listDDLPublishRecordsCallable(const Model::ListDDLPublishRecordsRequest& request) const;
ListDataCorrectPreCheckDBOutcome listDataCorrectPreCheckDB(const Model::ListDataCorrectPreCheckDBRequest &request)const;
void listDataCorrectPreCheckDBAsync(const Model::ListDataCorrectPreCheckDBRequest& request, const ListDataCorrectPreCheckDBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDataCorrectPreCheckDBOutcomeCallable listDataCorrectPreCheckDBCallable(const Model::ListDataCorrectPreCheckDBRequest& request) const;
ListDataCorrectPreCheckSQLOutcome listDataCorrectPreCheckSQL(const Model::ListDataCorrectPreCheckSQLRequest &request)const;
void listDataCorrectPreCheckSQLAsync(const Model::ListDataCorrectPreCheckSQLRequest& request, const ListDataCorrectPreCheckSQLAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDataCorrectPreCheckSQLOutcomeCallable listDataCorrectPreCheckSQLCallable(const Model::ListDataCorrectPreCheckSQLRequest& request) const;
ListDatabaseUserPermssionsOutcome listDatabaseUserPermssions(const Model::ListDatabaseUserPermssionsRequest &request)const;
void listDatabaseUserPermssionsAsync(const Model::ListDatabaseUserPermssionsRequest& request, const ListDatabaseUserPermssionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDatabaseUserPermssionsOutcomeCallable listDatabaseUserPermssionsCallable(const Model::ListDatabaseUserPermssionsRequest& request) const;
@@ -625,18 +845,39 @@ namespace AlibabaCloud
ListIndexesOutcome listIndexes(const Model::ListIndexesRequest &request)const;
void listIndexesAsync(const Model::ListIndexesRequest& request, const ListIndexesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListIndexesOutcomeCallable listIndexesCallable(const Model::ListIndexesRequest& request) const;
ListInstanceLoginAuditLogOutcome listInstanceLoginAuditLog(const Model::ListInstanceLoginAuditLogRequest &request)const;
void listInstanceLoginAuditLogAsync(const Model::ListInstanceLoginAuditLogRequest& request, const ListInstanceLoginAuditLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInstanceLoginAuditLogOutcomeCallable listInstanceLoginAuditLogCallable(const Model::ListInstanceLoginAuditLogRequest& request) const;
ListInstanceUserPermissionsOutcome listInstanceUserPermissions(const Model::ListInstanceUserPermissionsRequest &request)const;
void listInstanceUserPermissionsAsync(const Model::ListInstanceUserPermissionsRequest& request, const ListInstanceUserPermissionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInstanceUserPermissionsOutcomeCallable listInstanceUserPermissionsCallable(const Model::ListInstanceUserPermissionsRequest& request) const;
ListInstancesOutcome listInstances(const Model::ListInstancesRequest &request)const;
void listInstancesAsync(const Model::ListInstancesRequest& request, const ListInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInstancesOutcomeCallable listInstancesCallable(const Model::ListInstancesRequest& request) const;
ListLogicDatabasesOutcome listLogicDatabases(const Model::ListLogicDatabasesRequest &request)const;
void listLogicDatabasesAsync(const Model::ListLogicDatabasesRequest& request, const ListLogicDatabasesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListLogicDatabasesOutcomeCallable listLogicDatabasesCallable(const Model::ListLogicDatabasesRequest& request) const;
ListLogicTableRouteConfigOutcome listLogicTableRouteConfig(const Model::ListLogicTableRouteConfigRequest &request)const;
void listLogicTableRouteConfigAsync(const Model::ListLogicTableRouteConfigRequest& request, const ListLogicTableRouteConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListLogicTableRouteConfigOutcomeCallable listLogicTableRouteConfigCallable(const Model::ListLogicTableRouteConfigRequest& request) const;
ListLogicTablesOutcome listLogicTables(const Model::ListLogicTablesRequest &request)const;
void listLogicTablesAsync(const Model::ListLogicTablesRequest& request, const ListLogicTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListLogicTablesOutcomeCallable listLogicTablesCallable(const Model::ListLogicTablesRequest& request) const;
ListOrdersOutcome listOrders(const Model::ListOrdersRequest &request)const;
void listOrdersAsync(const Model::ListOrdersRequest& request, const ListOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListOrdersOutcomeCallable listOrdersCallable(const Model::ListOrdersRequest& request) const;
ListProxiesOutcome listProxies(const Model::ListProxiesRequest &request)const;
void listProxiesAsync(const Model::ListProxiesRequest& request, const ListProxiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListProxiesOutcomeCallable listProxiesCallable(const Model::ListProxiesRequest& request) const;
ListProxyAccessesOutcome listProxyAccesses(const Model::ListProxyAccessesRequest &request)const;
void listProxyAccessesAsync(const Model::ListProxyAccessesRequest& request, const ListProxyAccessesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListProxyAccessesOutcomeCallable listProxyAccessesCallable(const Model::ListProxyAccessesRequest& request) const;
ListProxySQLExecAuditLogOutcome listProxySQLExecAuditLog(const Model::ListProxySQLExecAuditLogRequest &request)const;
void listProxySQLExecAuditLogAsync(const Model::ListProxySQLExecAuditLogRequest& request, const ListProxySQLExecAuditLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListProxySQLExecAuditLogOutcomeCallable listProxySQLExecAuditLogCallable(const Model::ListProxySQLExecAuditLogRequest& request) const;
ListSQLExecAuditLogOutcome listSQLExecAuditLog(const Model::ListSQLExecAuditLogRequest &request)const;
void listSQLExecAuditLogAsync(const Model::ListSQLExecAuditLogRequest& request, const ListSQLExecAuditLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSQLExecAuditLogOutcomeCallable listSQLExecAuditLogCallable(const Model::ListSQLExecAuditLogRequest& request) const;
ListSQLReviewOriginSQLOutcome listSQLReviewOriginSQL(const Model::ListSQLReviewOriginSQLRequest &request)const;
void listSQLReviewOriginSQLAsync(const Model::ListSQLReviewOriginSQLRequest& request, const ListSQLReviewOriginSQLAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSQLReviewOriginSQLOutcomeCallable listSQLReviewOriginSQLCallable(const Model::ListSQLReviewOriginSQLRequest& request) const;
@@ -664,12 +905,24 @@ namespace AlibabaCloud
ListWorkFlowTemplatesOutcome listWorkFlowTemplates(const Model::ListWorkFlowTemplatesRequest &request)const;
void listWorkFlowTemplatesAsync(const Model::ListWorkFlowTemplatesRequest& request, const ListWorkFlowTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListWorkFlowTemplatesOutcomeCallable listWorkFlowTemplatesCallable(const Model::ListWorkFlowTemplatesRequest& request) const;
ModifyDataCorrectExecSQLOutcome modifyDataCorrectExecSQL(const Model::ModifyDataCorrectExecSQLRequest &request)const;
void modifyDataCorrectExecSQLAsync(const Model::ModifyDataCorrectExecSQLRequest& request, const ModifyDataCorrectExecSQLAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDataCorrectExecSQLOutcomeCallable modifyDataCorrectExecSQLCallable(const Model::ModifyDataCorrectExecSQLRequest& request) const;
PauseDataCorrectSQLJobOutcome pauseDataCorrectSQLJob(const Model::PauseDataCorrectSQLJobRequest &request)const;
void pauseDataCorrectSQLJobAsync(const Model::PauseDataCorrectSQLJobRequest& request, const PauseDataCorrectSQLJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PauseDataCorrectSQLJobOutcomeCallable pauseDataCorrectSQLJobCallable(const Model::PauseDataCorrectSQLJobRequest& request) const;
RegisterInstanceOutcome registerInstance(const Model::RegisterInstanceRequest &request)const;
void registerInstanceAsync(const Model::RegisterInstanceRequest& request, const RegisterInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterInstanceOutcomeCallable registerInstanceCallable(const Model::RegisterInstanceRequest& request) const;
RegisterUserOutcome registerUser(const Model::RegisterUserRequest &request)const;
void registerUserAsync(const Model::RegisterUserRequest& request, const RegisterUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterUserOutcomeCallable registerUserCallable(const Model::RegisterUserRequest& request) const;
RestartDataCorrectSQLJobOutcome restartDataCorrectSQLJob(const Model::RestartDataCorrectSQLJobRequest &request)const;
void restartDataCorrectSQLJobAsync(const Model::RestartDataCorrectSQLJobRequest& request, const RestartDataCorrectSQLJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RestartDataCorrectSQLJobOutcomeCallable restartDataCorrectSQLJobCallable(const Model::RestartDataCorrectSQLJobRequest& request) const;
RetryDataCorrectPreCheckOutcome retryDataCorrectPreCheck(const Model::RetryDataCorrectPreCheckRequest &request)const;
void retryDataCorrectPreCheckAsync(const Model::RetryDataCorrectPreCheckRequest& request, const RetryDataCorrectPreCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RetryDataCorrectPreCheckOutcomeCallable retryDataCorrectPreCheckCallable(const Model::RetryDataCorrectPreCheckRequest& request) const;
RevokeUserPermissionOutcome revokeUserPermission(const Model::RevokeUserPermissionRequest &request)const;
void revokeUserPermissionAsync(const Model::RevokeUserPermissionRequest& request, const RevokeUserPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RevokeUserPermissionOutcomeCallable revokeUserPermissionCallable(const Model::RevokeUserPermissionRequest& request) const;
@@ -685,6 +938,9 @@ namespace AlibabaCloud
SubmitOrderApprovalOutcome submitOrderApproval(const Model::SubmitOrderApprovalRequest &request)const;
void submitOrderApprovalAsync(const Model::SubmitOrderApprovalRequest& request, const SubmitOrderApprovalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitOrderApprovalOutcomeCallable submitOrderApprovalCallable(const Model::SubmitOrderApprovalRequest& request) const;
SubmitSparkJobOutcome submitSparkJob(const Model::SubmitSparkJobRequest &request)const;
void submitSparkJobAsync(const Model::SubmitSparkJobRequest& request, const SubmitSparkJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitSparkJobOutcomeCallable submitSparkJobCallable(const Model::SubmitSparkJobRequest& request) const;
SubmitStructSyncOrderApprovalOutcome submitStructSyncOrderApproval(const Model::SubmitStructSyncOrderApprovalRequest &request)const;
void submitStructSyncOrderApprovalAsync(const Model::SubmitStructSyncOrderApprovalRequest& request, const SubmitStructSyncOrderApprovalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitStructSyncOrderApprovalOutcomeCallable submitStructSyncOrderApprovalCallable(const Model::SubmitStructSyncOrderApprovalRequest& request) const;

View File

@@ -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_ADDLOGICTABLEROUTECONFIGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDLOGICTABLEROUTECONFIGREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddLogicTableRouteConfigRequest : public RpcServiceRequest {
public:
AddLogicTableRouteConfigRequest();
~AddLogicTableRouteConfigRequest();
std::string getRouteKey() const;
void setRouteKey(const std::string &routeKey);
long getTid() const;
void setTid(long tid);
std::string getRouteExpr() const;
void setRouteExpr(const std::string &routeExpr);
long getTableId() const;
void setTableId(long tableId);
private:
std::string routeKey_;
long tid_;
std::string routeExpr_;
long tableId_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDLOGICTABLEROUTECONFIGREQUEST_H_

View File

@@ -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_ADDLOGICTABLEROUTECONFIGRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDLOGICTABLEROUTECONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddLogicTableRouteConfigResult : public ServiceResult
{
public:
AddLogicTableRouteConfigResult();
explicit AddLogicTableRouteConfigResult(const std::string &payload);
~AddLogicTableRouteConfigResult();
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_ADDLOGICTABLEROUTECONFIGRESULT_H_

View File

@@ -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_CHANGECOLUMNSECLEVELREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CHANGECOLUMNSECLEVELREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ChangeColumnSecLevelRequest : public RpcServiceRequest {
public:
ChangeColumnSecLevelRequest();
~ChangeColumnSecLevelRequest();
std::string getSchemaName() const;
void setSchemaName(const std::string &schemaName);
bool getIsLogic() const;
void setIsLogic(bool isLogic);
std::string getNewLevel() const;
void setNewLevel(const std::string &newLevel);
std::string getColumnName() const;
void setColumnName(const std::string &columnName);
long getTid() const;
void setTid(long tid);
long getDbId() const;
void setDbId(long dbId);
std::string getTableName() const;
void setTableName(const std::string &tableName);
private:
std::string schemaName_;
bool isLogic_;
std::string newLevel_;
std::string columnName_;
long tid_;
long dbId_;
std::string tableName_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CHANGECOLUMNSECLEVELREQUEST_H_

View File

@@ -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_CHANGECOLUMNSECLEVELRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CHANGECOLUMNSECLEVELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ChangeColumnSecLevelResult : public ServiceResult
{
public:
ChangeColumnSecLevelResult();
explicit ChangeColumnSecLevelResult(const std::string &payload);
~ChangeColumnSecLevelResult();
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_CHANGECOLUMNSECLEVELRESULT_H_

View File

@@ -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_CREATELOGICDATABASEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATELOGICDATABASEREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateLogicDatabaseRequest : public RpcServiceRequest {
public:
CreateLogicDatabaseRequest();
~CreateLogicDatabaseRequest();
long getTid() const;
void setTid(long tid);
std::vector<long> getDatabaseIds() const;
void setDatabaseIds(const std::vector<long> &databaseIds);
std::string getAlias() const;
void setAlias(const std::string &alias);
private:
long tid_;
std::vector<long> databaseIds_;
std::string alias_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATELOGICDATABASEREQUEST_H_

View File

@@ -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_CREATELOGICDATABASERESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATELOGICDATABASERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateLogicDatabaseResult : public ServiceResult
{
public:
CreateLogicDatabaseResult();
explicit CreateLogicDatabaseResult(const std::string &payload);
~CreateLogicDatabaseResult();
long getLogicDbId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long logicDbId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATELOGICDATABASERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPROXYACCESSREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPROXYACCESSREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateProxyAccessRequest : public RpcServiceRequest {
public:
CreateProxyAccessRequest();
~CreateProxyAccessRequest();
std::string getIndepAccount() const;
void setIndepAccount(const std::string &indepAccount);
long getUserId() const;
void setUserId(long userId);
long getTid() const;
void setTid(long tid);
std::string getIndepPassword() const;
void setIndepPassword(const std::string &indepPassword);
long getProxyId() const;
void setProxyId(long proxyId);
private:
std::string indepAccount_;
long userId_;
long tid_;
std::string indepPassword_;
long proxyId_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPROXYACCESSREQUEST_H_

View File

@@ -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_CREATEPROXYACCESSRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPROXYACCESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateProxyAccessResult : public ServiceResult
{
public:
CreateProxyAccessResult();
explicit CreateProxyAccessResult(const std::string &payload);
~CreateProxyAccessResult();
long getProxyAccessId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long proxyAccessId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPROXYACCESSRESULT_H_

View File

@@ -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_CREATEPROXYREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPROXYREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateProxyRequest : public RpcServiceRequest {
public:
CreateProxyRequest();
~CreateProxyRequest();
long getTid() const;
void setTid(long tid);
std::string getPassword() const;
void setPassword(const std::string &password);
long getInstanceId() const;
void setInstanceId(long instanceId);
std::string getUsername() const;
void setUsername(const std::string &username);
private:
long tid_;
std::string password_;
long instanceId_;
std::string username_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPROXYREQUEST_H_

View File

@@ -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_CREATEPROXYRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPROXYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateProxyResult : public ServiceResult
{
public:
CreateProxyResult();
explicit CreateProxyResult(const std::string &payload);
~CreateProxyResult();
long getProxyId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long proxyId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPROXYRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETELOGICDATABASEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETELOGICDATABASEREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteLogicDatabaseRequest : public RpcServiceRequest {
public:
DeleteLogicDatabaseRequest();
~DeleteLogicDatabaseRequest();
long getLogicDbId() const;
void setLogicDbId(long logicDbId);
long getTid() const;
void setTid(long tid);
private:
long logicDbId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETELOGICDATABASEREQUEST_H_

View File

@@ -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_DELETELOGICDATABASERESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETELOGICDATABASERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteLogicDatabaseResult : public ServiceResult
{
public:
DeleteLogicDatabaseResult();
explicit DeleteLogicDatabaseResult(const std::string &payload);
~DeleteLogicDatabaseResult();
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_DELETELOGICDATABASERESULT_H_

View File

@@ -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_DELETELOGICTABLEROUTECONFIGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETELOGICTABLEROUTECONFIGREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteLogicTableRouteConfigRequest : public RpcServiceRequest {
public:
DeleteLogicTableRouteConfigRequest();
~DeleteLogicTableRouteConfigRequest();
std::string getRouteKey() const;
void setRouteKey(const std::string &routeKey);
long getTid() const;
void setTid(long tid);
long getTableId() const;
void setTableId(long tableId);
private:
std::string routeKey_;
long tid_;
long tableId_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETELOGICTABLEROUTECONFIGREQUEST_H_

View File

@@ -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_DELETELOGICTABLEROUTECONFIGRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETELOGICTABLEROUTECONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteLogicTableRouteConfigResult : public ServiceResult
{
public:
DeleteLogicTableRouteConfigResult();
explicit DeleteLogicTableRouteConfigResult(const std::string &payload);
~DeleteLogicTableRouteConfigResult();
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_DELETELOGICTABLEROUTECONFIGRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEPROXYACCESSREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEPROXYACCESSREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteProxyAccessRequest : public RpcServiceRequest {
public:
DeleteProxyAccessRequest();
~DeleteProxyAccessRequest();
long getProxyAccessId() const;
void setProxyAccessId(long proxyAccessId);
long getTid() const;
void setTid(long tid);
private:
long proxyAccessId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEPROXYACCESSREQUEST_H_

View File

@@ -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_DELETEPROXYACCESSRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEPROXYACCESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteProxyAccessResult : public ServiceResult
{
public:
DeleteProxyAccessResult();
explicit DeleteProxyAccessResult(const std::string &payload);
~DeleteProxyAccessResult();
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_DELETEPROXYACCESSRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEPROXYREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEPROXYREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteProxyRequest : public RpcServiceRequest {
public:
DeleteProxyRequest();
~DeleteProxyRequest();
long getTid() const;
void setTid(long tid);
long getProxyId() const;
void setProxyId(long proxyId);
private:
long tid_;
long proxyId_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEPROXYREQUEST_H_

View File

@@ -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_DELETEPROXYRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEPROXYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteProxyResult : public ServiceResult
{
public:
DeleteProxyResult();
explicit DeleteProxyResult(const std::string &payload);
~DeleteProxyResult();
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_DELETEPROXYRESULT_H_

View File

@@ -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_EDITLOGICDATABASEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EDITLOGICDATABASEREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT EditLogicDatabaseRequest : public RpcServiceRequest {
public:
EditLogicDatabaseRequest();
~EditLogicDatabaseRequest();
long getLogicDbId() const;
void setLogicDbId(long logicDbId);
long getTid() const;
void setTid(long tid);
std::vector<long> getDatabaseIds() const;
void setDatabaseIds(const std::vector<long> &databaseIds);
std::string getAlias() const;
void setAlias(const std::string &alias);
private:
long logicDbId_;
long tid_;
std::vector<long> databaseIds_;
std::string alias_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EDITLOGICDATABASEREQUEST_H_

View File

@@ -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_EDITLOGICDATABASERESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EDITLOGICDATABASERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT EditLogicDatabaseResult : public ServiceResult
{
public:
EditLogicDatabaseResult();
explicit EditLogicDatabaseResult(const std::string &payload);
~EditLogicDatabaseResult();
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_EDITLOGICDATABASERESULT_H_

View File

@@ -53,6 +53,7 @@ namespace AlibabaCloud
std::string description;
std::string orderType;
std::string workflowInsCode;
std::string createTime;
long auditId;
std::string title;
std::vector<WorkflowNode> workflowNodes;

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTASKSQLJOBLOGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTASKSQLJOBLOGREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDBTaskSQLJobLogRequest : public RpcServiceRequest {
public:
GetDBTaskSQLJobLogRequest();
~GetDBTaskSQLJobLogRequest();
long getJobId() const;
void setJobId(long jobId);
long getTid() const;
void setTid(long tid);
private:
long jobId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTASKSQLJOBLOGREQUEST_H_

View File

@@ -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_GETDBTASKSQLJOBLOGRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTASKSQLJOBLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDBTaskSQLJobLogResult : public ServiceResult
{
public:
GetDBTaskSQLJobLogResult();
explicit GetDBTaskSQLJobLogResult(const std::string &payload);
~GetDBTaskSQLJobLogResult();
std::string getLog()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string log_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTASKSQLJOBLOGRESULT_H_

View File

@@ -34,30 +34,36 @@ namespace AlibabaCloud
public:
struct Instance
{
std::string instanceSource;
std::string instanceId;
struct StandardGroup
{
std::string groupName;
std::string groupMode;
};
int port;
std::string databasePassword;
std::string host;
int exportTimeout;
int ddlOnline;
std::string envType;
int useDsql;
std::string sid;
std::string ecsInstanceId;
std::string dbaId;
std::string vpcId;
std::string state;
std::string instanceAlias;
std::string ecsRegion;
std::string databaseUser;
std::vector<std::string> ownerNameList;
std::string dbaNickName;
std::string instanceType;
int queryTimeout;
std::string dataLinkName;
std::vector<std::string> ownerIdList;
std::string safeRuleId;
StandardGroup standardGroup;
std::string instanceSource;
std::string instanceId;
std::string host;
int ddlOnline;
int useDsql;
std::string sid;
std::string ecsInstanceId;
std::string vpcId;
std::string state;
std::string databaseUser;
std::vector<std::string> ownerNameList;
std::string dbaNickName;
std::vector<std::string> ownerIdList;
};

View File

@@ -35,6 +35,7 @@ namespace AlibabaCloud
struct LogicDatabase
{
std::string searchName;
std::string alias;
std::string databaseId;
std::vector<std::string> ownerNameList;
bool logic;

View File

@@ -34,7 +34,8 @@ namespace AlibabaCloud
public:
struct OpLogDetail
{
long userId;
long opUserId;
std::string userId;
std::string database;
std::string opContent;
std::string userNick;

View File

@@ -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_GETPROXYREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETPROXYREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetProxyRequest : public RpcServiceRequest {
public:
GetProxyRequest();
~GetProxyRequest();
long getTid() const;
void setTid(long tid);
long getInstanceId() const;
void setInstanceId(long instanceId);
long getProxyId() const;
void setProxyId(long proxyId);
private:
long tid_;
long instanceId_;
long proxyId_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETPROXYREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_GETPROXYRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETPROXYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetProxyResult : public ServiceResult
{
public:
GetProxyResult();
explicit GetProxyResult(const std::string &payload);
~GetProxyResult();
std::string getPublicHost()const;
std::string getPrivateHost()const;
long getInstanceId()const;
long getProxyId()const;
long getCreatorId()const;
bool getSuccess()const;
bool getPublicEnable()const;
int getMysqlPort()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getPrivateEnable()const;
std::string getCreatorName()const;
int getHttpsPort()const;
protected:
void parse(const std::string &payload);
private:
std::string publicHost_;
std::string privateHost_;
long instanceId_;
long proxyId_;
long creatorId_;
bool success_;
bool publicEnable_;
int mysqlPort_;
std::string errorCode_;
std::string errorMessage_;
bool privateEnable_;
std::string creatorName_;
int httpsPort_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETPROXYRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBDETAILREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSparkJobDetailRequest : public RpcServiceRequest {
public:
GetSparkJobDetailRequest();
~GetSparkJobDetailRequest();
long getJobId() const;
void setJobId(long jobId);
long getTid() const;
void setTid(long tid);
private:
long jobId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBDETAILREQUEST_H_

View File

@@ -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_GETSPARKJOBDETAILRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSparkJobDetailResult : public ServiceResult
{
public:
struct JobDetail
{
std::string status;
std::string mainClass;
std::string configuration;
std::string endTime;
std::string mainFile;
std::string arguments;
std::string beginTime;
std::string submitTime;
std::string jobId;
std::string name;
};
GetSparkJobDetailResult();
explicit GetSparkJobDetailResult(const std::string &payload);
~GetSparkJobDetailResult();
JobDetail getJobDetail()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
JobDetail jobDetail_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBDETAILRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBDRIVERLOGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBDRIVERLOGREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSparkJobDriverLogRequest : public RpcServiceRequest {
public:
GetSparkJobDriverLogRequest();
~GetSparkJobDriverLogRequest();
long getJobId() const;
void setJobId(long jobId);
long getTid() const;
void setTid(long tid);
private:
long jobId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBDRIVERLOGREQUEST_H_

View File

@@ -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_GETSPARKJOBDRIVERLOGRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBDRIVERLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSparkJobDriverLogResult : public ServiceResult
{
public:
GetSparkJobDriverLogResult();
explicit GetSparkJobDriverLogResult(const std::string &payload);
~GetSparkJobDriverLogResult();
std::string getErrorCode()const;
std::string getErrorMessage()const;
std::string getDriverLog()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string errorCode_;
std::string errorMessage_;
std::string driverLog_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBDRIVERLOGRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBEXECUTORLOGSREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBEXECUTORLOGSREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSparkJobExecutorLogsRequest : public RpcServiceRequest {
public:
GetSparkJobExecutorLogsRequest();
~GetSparkJobExecutorLogsRequest();
long getJobId() const;
void setJobId(long jobId);
long getTid() const;
void setTid(long tid);
private:
long jobId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBEXECUTORLOGSREQUEST_H_

View File

@@ -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_GETSPARKJOBEXECUTORLOGSRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBEXECUTORLOGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSparkJobExecutorLogsResult : public ServiceResult
{
public:
GetSparkJobExecutorLogsResult();
explicit GetSparkJobExecutorLogsResult(const std::string &payload);
~GetSparkJobExecutorLogsResult();
std::vector<std::string> getExecutorLogs()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> executorLogs_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBEXECUTORLOGSRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBLOGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBLOGREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSparkJobLogRequest : public RpcServiceRequest {
public:
GetSparkJobLogRequest();
~GetSparkJobLogRequest();
long getJobId() const;
void setJobId(long jobId);
long getTid() const;
void setTid(long tid);
private:
long jobId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBLOGREQUEST_H_

View File

@@ -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_GETSPARKJOBLOGRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSparkJobLogResult : public ServiceResult
{
public:
GetSparkJobLogResult();
explicit GetSparkJobLogResult(const std::string &payload);
~GetSparkJobLogResult();
std::string getLog()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string log_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSPARKJOBLOGRESULT_H_

View File

@@ -34,6 +34,8 @@ namespace AlibabaCloud
public:
struct User
{
std::string notificationMode;
std::string email;
std::vector<std::string> roleNameList;
std::string nickName;
long maxExecuteCount;
@@ -46,6 +48,9 @@ namespace AlibabaCloud
std::string state;
std::string userId;
long curExecuteCount;
std::string webhook;
std::string signatureMethod;
std::string dingRobot;
long parentUid;
};

View File

@@ -40,6 +40,8 @@ public:
void setUserId(const std::string &userId);
long getTid() const;
void setTid(long tid);
long getInstanceId() const;
void setInstanceId(long instanceId);
std::string getDbId() const;
void setDbId(const std::string &dbId);
std::string getTableId() const;
@@ -55,6 +57,7 @@ private:
std::string expireDate_;
std::string userId_;
long tid_;
long instanceId_;
std::string dbId_;
std::string tableId_;
bool logic_;

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_INSPECTPROXYACCESSSECRETREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_INSPECTPROXYACCESSSECRETREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT InspectProxyAccessSecretRequest : public RpcServiceRequest {
public:
InspectProxyAccessSecretRequest();
~InspectProxyAccessSecretRequest();
long getProxyAccessId() const;
void setProxyAccessId(long proxyAccessId);
long getTid() const;
void setTid(long tid);
private:
long proxyAccessId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_INSPECTPROXYACCESSSECRETREQUEST_H_

View File

@@ -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_INSPECTPROXYACCESSSECRETRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_INSPECTPROXYACCESSSECRETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT InspectProxyAccessSecretResult : public ServiceResult
{
public:
InspectProxyAccessSecretResult();
explicit InspectProxyAccessSecretResult(const std::string &payload);
~InspectProxyAccessSecretResult();
std::string getAccessSecret()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string accessSecret_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_INSPECTPROXYACCESSSECRETRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_KILLSPARKJOBREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_KILLSPARKJOBREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT KillSparkJobRequest : public RpcServiceRequest {
public:
KillSparkJobRequest();
~KillSparkJobRequest();
long getJobId() const;
void setJobId(long jobId);
long getTid() const;
void setTid(long tid);
private:
long jobId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_KILLSPARKJOBREQUEST_H_

View File

@@ -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_KILLSPARKJOBRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_KILLSPARKJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT KillSparkJobResult : public ServiceResult
{
public:
KillSparkJobResult();
explicit KillSparkJobResult(const std::string &payload);
~KillSparkJobResult();
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_KILLSPARKJOBRESULT_H_

View File

@@ -35,14 +35,19 @@ namespace AlibabaCloud
struct DBTaskSQLJobDetail
{
std::string status;
std::string endTime;
std::string log;
std::string startTime;
long timeDelay;
long jobDetailId;
bool skip;
long dbId;
long executeCount;
std::string sqlType;
long jobDetailId;
std::string currentSql;
bool logic;
long jobId;
long affectRows;
};

View File

@@ -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_LISTDATACORRECTPRECHECKDBREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATACORRECTPRECHECKDBREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDataCorrectPreCheckDBRequest : public RpcServiceRequest {
public:
ListDataCorrectPreCheckDBRequest();
~ListDataCorrectPreCheckDBRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getPageNumber() const;
void setPageNumber(long pageNumber);
long getTid() const;
void setTid(long tid);
long getPageSize() const;
void setPageSize(long pageSize);
private:
long orderId_;
long pageNumber_;
long tid_;
long pageSize_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATACORRECTPRECHECKDBREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATACORRECTPRECHECKDBRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATACORRECTPRECHECKDBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDataCorrectPreCheckDBResult : public ServiceResult
{
public:
struct PreCheckDB
{
long sqlNum;
std::string searchName;
long dbId;
};
ListDataCorrectPreCheckDBResult();
explicit ListDataCorrectPreCheckDBResult(const std::string &payload);
~ListDataCorrectPreCheckDBResult();
std::string getErrorCode()const;
std::vector<PreCheckDB> getPreCheckDBList()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string errorCode_;
std::vector<PreCheckDB> preCheckDBList_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATACORRECTPRECHECKDBRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATACORRECTPRECHECKSQLREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATACORRECTPRECHECKSQLREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDataCorrectPreCheckSQLRequest : public RpcServiceRequest {
public:
ListDataCorrectPreCheckSQLRequest();
~ListDataCorrectPreCheckSQLRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getPageNumber() const;
void setPageNumber(long pageNumber);
long getTid() const;
void setTid(long tid);
long getDbId() const;
void setDbId(long dbId);
long getPageSize() const;
void setPageSize(long pageSize);
private:
long orderId_;
long pageNumber_;
long tid_;
long dbId_;
long pageSize_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATACORRECTPRECHECKSQLREQUEST_H_

View File

@@ -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_LISTDATACORRECTPRECHECKSQLRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATACORRECTPRECHECKSQLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDataCorrectPreCheckSQLResult : public ServiceResult
{
public:
struct PreCheckSQL
{
std::string checkSQL;
std::string sqlReviewStatus;
std::string tableNames;
long dbId;
std::string sqlType;
long affectRows;
std::string sQLReviewQueryKey;
};
ListDataCorrectPreCheckSQLResult();
explicit ListDataCorrectPreCheckSQLResult(const std::string &payload);
~ListDataCorrectPreCheckSQLResult();
std::vector<PreCheckSQL> getPreCheckSQLList()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PreCheckSQL> preCheckSQLList_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDATACORRECTPRECHECKSQLRESULT_H_

View File

@@ -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_LISTINSTANCELOGINAUDITLOGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTINSTANCELOGINAUDITLOGREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListInstanceLoginAuditLogRequest : public RpcServiceRequest {
public:
ListInstanceLoginAuditLogRequest();
~ListInstanceLoginAuditLogRequest();
std::string getSearchName() const;
void setSearchName(const std::string &searchName);
std::string getOpUserName() const;
void setOpUserName(const std::string &opUserName);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
int getPageNumber() const;
void setPageNumber(int pageNumber);
long getTid() const;
void setTid(long tid);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string searchName_;
std::string opUserName_;
std::string endTime_;
std::string startTime_;
int pageNumber_;
long tid_;
int pageSize_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTINSTANCELOGINAUDITLOGREQUEST_H_

View File

@@ -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_LISTINSTANCELOGINAUDITLOGRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTINSTANCELOGINAUDITLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListInstanceLoginAuditLogResult : public ServiceResult
{
public:
struct InstanceLoginAuditLog
{
std::string instanceName;
std::string userName;
long instanceId;
long userId;
std::string requestIp;
std::string opTime;
std::string dbUser;
};
ListInstanceLoginAuditLogResult();
explicit ListInstanceLoginAuditLogResult(const std::string &payload);
~ListInstanceLoginAuditLogResult();
std::vector<InstanceLoginAuditLog> getInstanceLoginAuditLogList()const;
long getTotalCount()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<InstanceLoginAuditLog> instanceLoginAuditLogList_;
long totalCount_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTINSTANCELOGINAUDITLOGRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTINSTANCEUSERPERMISSIONSREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTINSTANCEUSERPERMISSIONSREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListInstanceUserPermissionsRequest : public RpcServiceRequest {
public:
ListInstanceUserPermissionsRequest();
~ListInstanceUserPermissionsRequest();
long getTid() const;
void setTid(long tid);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getUserName() const;
void setUserName(const std::string &userName);
private:
long tid_;
int pageNumber_;
std::string instanceId_;
int pageSize_;
std::string userName_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTINSTANCEUSERPERMISSIONSREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_LISTINSTANCEUSERPERMISSIONSRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTINSTANCEUSERPERMISSIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListInstanceUserPermissionsResult : public ServiceResult
{
public:
struct UserPermission
{
struct PermDetail
{
std::string expireDate;
std::string permType;
std::string extraData;
std::string originFrom;
std::string createDate;
std::string userAccessId;
};
std::string userNickName;
std::string instanceId;
std::string userId;
std::vector<UserPermission::PermDetail> permDetails;
};
ListInstanceUserPermissionsResult();
explicit ListInstanceUserPermissionsResult(const std::string &payload);
~ListInstanceUserPermissionsResult();
long getTotalCount()const;
std::string getErrorCode()const;
std::vector<UserPermission> getUserPermissions()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
std::string errorCode_;
std::vector<UserPermission> userPermissions_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTINSTANCEUSERPERMISSIONSRESULT_H_

View File

@@ -34,30 +34,36 @@ namespace AlibabaCloud
public:
struct Instance
{
std::string instanceSource;
std::string instanceId;
struct StandardGroup
{
std::string groupName;
std::string groupMode;
};
int port;
std::string databasePassword;
std::string host;
int exportTimeout;
int ddlOnline;
std::string envType;
int useDsql;
std::string sid;
std::string ecsInstanceId;
std::string dbaId;
std::string vpcId;
std::string state;
std::string instanceAlias;
std::string ecsRegion;
std::string databaseUser;
std::vector<std::string> ownerNameList;
std::string dbaNickName;
std::string instanceType;
int queryTimeout;
std::string dataLinkName;
std::vector<std::string> ownerIdList;
std::string safeRuleId;
StandardGroup standardGroup;
std::string instanceSource;
std::string instanceId;
std::string host;
int ddlOnline;
int useDsql;
std::string sid;
std::string ecsInstanceId;
std::string vpcId;
std::string state;
std::string databaseUser;
std::vector<std::string> ownerNameList;
std::string dbaNickName;
std::vector<std::string> ownerIdList;
};

View File

@@ -35,6 +35,7 @@ namespace AlibabaCloud
struct LogicDatabase
{
std::string searchName;
std::string alias;
std::string databaseId;
std::vector<std::string> ownerNameList;
bool logic;

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTLOGICTABLEROUTECONFIGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTLOGICTABLEROUTECONFIGREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListLogicTableRouteConfigRequest : public RpcServiceRequest {
public:
ListLogicTableRouteConfigRequest();
~ListLogicTableRouteConfigRequest();
long getTableId() const;
void setTableId(long tableId);
long getTid() const;
void setTid(long tid);
private:
long tableId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTLOGICTABLEROUTECONFIGREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTLOGICTABLEROUTECONFIGRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTLOGICTABLEROUTECONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListLogicTableRouteConfigResult : public ServiceResult
{
public:
struct LogicTableRouteConfig
{
long tableId;
std::string routeExpr;
std::string routeKey;
};
ListLogicTableRouteConfigResult();
explicit ListLogicTableRouteConfigResult(const std::string &payload);
~ListLogicTableRouteConfigResult();
std::vector<LogicTableRouteConfig> getLogicTableRouteConfigList()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<LogicTableRouteConfig> logicTableRouteConfigList_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTLOGICTABLEROUTECONFIGRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXIESREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXIESREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListProxiesRequest : public RpcServiceRequest {
public:
ListProxiesRequest();
~ListProxiesRequest();
long getTid() const;
void setTid(long tid);
private:
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXIESREQUEST_H_

View File

@@ -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_LISTPROXIESRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListProxiesResult : public ServiceResult
{
public:
struct ProxyListItem
{
std::string publicHost;
std::string privateHost;
long instanceId;
long proxyId;
long creatorId;
int mysqlPort;
bool privateEnable;
std::string creatorName;
bool publicEnable;
int httpsPort;
};
ListProxiesResult();
explicit ListProxiesResult(const std::string &payload);
~ListProxiesResult();
std::vector<ProxyListItem> getProxyList()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ProxyListItem> proxyList_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXIESRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXYACCESSESREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXYACCESSESREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListProxyAccessesRequest : public RpcServiceRequest {
public:
ListProxyAccessesRequest();
~ListProxyAccessesRequest();
long getTid() const;
void setTid(long tid);
long getProxyId() const;
void setProxyId(long proxyId);
private:
long tid_;
long proxyId_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXYACCESSESREQUEST_H_

View File

@@ -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_LISTPROXYACCESSESRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXYACCESSESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListProxyAccessesResult : public ServiceResult
{
public:
struct ProxyAccessListItem
{
std::string gmtCreate;
std::string userName;
std::string accessId;
long instanceId;
long userId;
std::string userUid;
long proxyId;
long proxyAccessId;
std::string originInfo;
std::string indepAccount;
};
ListProxyAccessesResult();
explicit ListProxyAccessesResult(const std::string &payload);
~ListProxyAccessesResult();
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
std::vector<ProxyAccessListItem> getProxyAccessList()const;
protected:
void parse(const std::string &payload);
private:
std::string errorCode_;
std::string errorMessage_;
bool success_;
std::vector<ProxyAccessListItem> proxyAccessList_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXYACCESSESRESULT_H_

View File

@@ -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_LISTPROXYSQLEXECAUDITLOGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXYSQLEXECAUDITLOGREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListProxySQLExecAuditLogRequest : public RpcServiceRequest {
public:
ListProxySQLExecAuditLogRequest();
~ListProxySQLExecAuditLogRequest();
std::string getSQLType() const;
void setSQLType(const std::string &sQLType);
std::string getSearchName() const;
void setSearchName(const std::string &searchName);
std::string getOpUserName() const;
void setOpUserName(const std::string &opUserName);
long getEndTime() const;
void setEndTime(long endTime);
long getStartTime() const;
void setStartTime(long startTime);
int getPageNumber() const;
void setPageNumber(int pageNumber);
long getTid() const;
void setTid(long tid);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getExecState() const;
void setExecState(const std::string &execState);
private:
std::string sQLType_;
std::string searchName_;
std::string opUserName_;
long endTime_;
long startTime_;
int pageNumber_;
long tid_;
int pageSize_;
std::string execState_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXYSQLEXECAUDITLOGREQUEST_H_

View File

@@ -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_LISTPROXYSQLEXECAUDITLOGRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXYSQLEXECAUDITLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListProxySQLExecAuditLogResult : public ServiceResult
{
public:
struct ProxySQLExecAuditLog
{
std::string instanceName;
std::string userName;
long instanceId;
long userId;
long elapsedTime;
std::string execState;
std::string sQLType;
std::string opTime;
std::string schemaName;
long affectRows;
std::string sQL;
std::string remark;
};
ListProxySQLExecAuditLogResult();
explicit ListProxySQLExecAuditLogResult(const std::string &payload);
~ListProxySQLExecAuditLogResult();
std::vector<ProxySQLExecAuditLog> getProxySQLExecAuditLogList()const;
long getTotalCount()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ProxySQLExecAuditLog> proxySQLExecAuditLogList_;
long totalCount_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTPROXYSQLEXECAUDITLOGRESULT_H_

View File

@@ -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_LISTSQLEXECAUDITLOGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSQLEXECAUDITLOGREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListSQLExecAuditLogRequest : public RpcServiceRequest {
public:
ListSQLExecAuditLogRequest();
~ListSQLExecAuditLogRequest();
std::string getSqlType() const;
void setSqlType(const std::string &sqlType);
std::string getSearchName() const;
void setSearchName(const std::string &searchName);
std::string getOpUserName() const;
void setOpUserName(const std::string &opUserName);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
int getPageNumber() const;
void setPageNumber(int pageNumber);
long getTid() const;
void setTid(long tid);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getExecState() const;
void setExecState(const std::string &execState);
private:
std::string sqlType_;
std::string searchName_;
std::string opUserName_;
std::string endTime_;
std::string startTime_;
int pageNumber_;
long tid_;
int pageSize_;
std::string execState_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSQLEXECAUDITLOGREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSQLEXECAUDITLOGRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSQLEXECAUDITLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListSQLExecAuditLogResult : public ServiceResult
{
public:
struct SQLExecAuditLog
{
std::string userName;
long instanceId;
long elapsedTime;
std::string execState;
std::string opTime;
std::string sQL;
std::string remark;
std::string instanceName;
long userId;
long dbId;
bool logic;
std::string sQLType;
std::string schemaName;
long affectRows;
};
ListSQLExecAuditLogResult();
explicit ListSQLExecAuditLogResult(const std::string &payload);
~ListSQLExecAuditLogResult();
long getTotalCount()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
std::vector<SQLExecAuditLog> getSQLExecAuditLogList()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
std::string errorCode_;
std::string errorMessage_;
std::vector<SQLExecAuditLog> sQLExecAuditLogList_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSQLEXECAUDITLOGRESULT_H_

View File

@@ -36,6 +36,10 @@ public:
void setColumnName(const std::string &columnName);
long getTid() const;
void setTid(long tid);
long getDbId() const;
void setDbId(long dbId);
bool getLogic() const;
void setLogic(bool logic);
std::string getTableName() const;
void setTableName(const std::string &tableName);
@@ -43,6 +47,8 @@ private:
std::string schemaName_;
std::string columnName_;
long tid_;
long dbId_;
bool logic_;
std::string tableName_;
};
} // namespace Model

View File

@@ -40,8 +40,12 @@ public:
void setPageNumber(int pageNumber);
std::string getSecurityLevel() const;
void setSecurityLevel(const std::string &securityLevel);
long getDbId() const;
void setDbId(long dbId);
int getPageSize() const;
void setPageSize(int pageSize);
bool getLogic() const;
void setLogic(bool logic);
std::string getTableName() const;
void setTableName(const std::string &tableName);
@@ -51,7 +55,9 @@ private:
long tid_;
int pageNumber_;
std::string securityLevel_;
long dbId_;
int pageSize_;
bool logic_;
std::string tableName_;
};
} // namespace Model

View File

@@ -30,6 +30,8 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListUserPermissionsRequest : public Rpc
public:
ListUserPermissionsRequest();
~ListUserPermissionsRequest();
std::string getSearchKey() const;
void setSearchKey(const std::string &searchKey);
std::string getUserId() const;
void setUserId(const std::string &userId);
long getTid() const;
@@ -50,6 +52,7 @@ public:
void setLogic(bool logic);
private:
std::string searchKey_;
std::string userId_;
long tid_;
int pageNumber_;

View File

@@ -46,6 +46,8 @@ namespace AlibabaCloud
std::string tableId;
std::string instanceId;
std::string searchName;
long port;
std::string host;
std::vector<UserPermission::PermDetail> permDetails;
std::string envType;
std::string dbType;

View File

@@ -34,6 +34,8 @@ namespace AlibabaCloud
public:
struct User
{
std::string notificationMode;
std::string email;
std::vector<std::string> roleNameList;
std::string nickName;
long maxExecuteCount;
@@ -46,6 +48,9 @@ namespace AlibabaCloud
std::string state;
std::string userId;
long curExecuteCount;
std::string webhook;
std::string signatureMethod;
std::string dingRobot;
std::string parentUid;
};

View File

@@ -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_MODIFYDATACORRECTEXECSQLREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MODIFYDATACORRECTEXECSQLREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ModifyDataCorrectExecSQLRequest : public RpcServiceRequest {
public:
ModifyDataCorrectExecSQLRequest();
~ModifyDataCorrectExecSQLRequest();
long getOrderId() const;
void setOrderId(long orderId);
std::string getExecSQL() const;
void setExecSQL(const std::string &execSQL);
long getTid() const;
void setTid(long tid);
private:
long orderId_;
std::string execSQL_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MODIFYDATACORRECTEXECSQLREQUEST_H_

View File

@@ -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_MODIFYDATACORRECTEXECSQLRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MODIFYDATACORRECTEXECSQLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ModifyDataCorrectExecSQLResult : public ServiceResult
{
public:
ModifyDataCorrectExecSQLResult();
explicit ModifyDataCorrectExecSQLResult(const std::string &payload);
~ModifyDataCorrectExecSQLResult();
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_MODIFYDATACORRECTEXECSQLRESULT_H_

View File

@@ -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_PAUSEDATACORRECTSQLJOBREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PAUSEDATACORRECTSQLJOBREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT PauseDataCorrectSQLJobRequest : public RpcServiceRequest {
public:
PauseDataCorrectSQLJobRequest();
~PauseDataCorrectSQLJobRequest();
long getOrderId() const;
void setOrderId(long orderId);
std::string getType() const;
void setType(const std::string &type);
long getTid() const;
void setTid(long tid);
long getJobId() const;
void setJobId(long jobId);
private:
long orderId_;
std::string type_;
long tid_;
long jobId_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PAUSEDATACORRECTSQLJOBREQUEST_H_

View File

@@ -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_PAUSEDATACORRECTSQLJOBRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PAUSEDATACORRECTSQLJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT PauseDataCorrectSQLJobResult : public ServiceResult
{
public:
PauseDataCorrectSQLJobResult();
explicit PauseDataCorrectSQLJobResult(const std::string &payload);
~PauseDataCorrectSQLJobResult();
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_PAUSEDATACORRECTSQLJOBRESULT_H_

View File

@@ -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_RESTARTDATACORRECTSQLJOBREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESTARTDATACORRECTSQLJOBREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT RestartDataCorrectSQLJobRequest : public RpcServiceRequest {
public:
RestartDataCorrectSQLJobRequest();
~RestartDataCorrectSQLJobRequest();
long getOrderId() const;
void setOrderId(long orderId);
std::string getType() const;
void setType(const std::string &type);
long getTid() const;
void setTid(long tid);
long getJobId() const;
void setJobId(long jobId);
private:
long orderId_;
std::string type_;
long tid_;
long jobId_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESTARTDATACORRECTSQLJOBREQUEST_H_

View File

@@ -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_RESTARTDATACORRECTSQLJOBRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESTARTDATACORRECTSQLJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT RestartDataCorrectSQLJobResult : public ServiceResult
{
public:
RestartDataCorrectSQLJobResult();
explicit RestartDataCorrectSQLJobResult(const std::string &payload);
~RestartDataCorrectSQLJobResult();
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_RESTARTDATACORRECTSQLJOBRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RETRYDATACORRECTPRECHECKREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RETRYDATACORRECTPRECHECKREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT RetryDataCorrectPreCheckRequest : public RpcServiceRequest {
public:
RetryDataCorrectPreCheckRequest();
~RetryDataCorrectPreCheckRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getTid() const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RETRYDATACORRECTPRECHECKREQUEST_H_

View File

@@ -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_RETRYDATACORRECTPRECHECKRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RETRYDATACORRECTPRECHECKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT RetryDataCorrectPreCheckResult : public ServiceResult
{
public:
RetryDataCorrectPreCheckResult();
explicit RetryDataCorrectPreCheckResult(const std::string &payload);
~RetryDataCorrectPreCheckResult();
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_RETRYDATACORRECTPRECHECKRESULT_H_

View File

@@ -40,6 +40,8 @@ public:
void setUserId(const std::string &userId);
long getTid() const;
void setTid(long tid);
long getInstanceId() const;
void setInstanceId(long instanceId);
std::string getDbId() const;
void setDbId(const std::string &dbId);
std::string getTableId() const;
@@ -55,6 +57,7 @@ private:
std::string dsType_;
std::string userId_;
long tid_;
long instanceId_;
std::string dbId_;
std::string tableId_;
bool logic_;

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUBMITSPARKJOBREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUBMITSPARKJOBREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT SubmitSparkJobRequest : public RpcServiceRequest {
public:
struct OssInfo {
std::string endpoint;
std::string accessKeySecret;
std::string accessKeyId;
};
SubmitSparkJobRequest();
~SubmitSparkJobRequest();
std::string getMainClass() const;
void setMainClass(const std::string &mainClass);
std::map<std::string, std::string> getConfiguration() const;
void setConfiguration(const std::map<std::string, std::string> &configuration);
OssInfo getOssInfo() const;
void setOssInfo(const OssInfo &ossInfo);
long getTid() const;
void setTid(long tid);
std::string getMainFile() const;
void setMainFile(const std::string &mainFile);
std::string getName() const;
void setName(const std::string &name);
std::vector<std::string> getFiles() const;
void setFiles(const std::vector<std::string> &files);
std::string getAppCode() const;
void setAppCode(const std::string &appCode);
std::vector<std::string> getArguments() const;
void setArguments(const std::vector<std::string> &arguments);
private:
std::string mainClass_;
std::map<std::string, std::string> configuration_;
OssInfo ossInfo_;
long tid_;
std::string mainFile_;
std::string name_;
std::vector<std::string> files_;
std::string appCode_;
std::vector<std::string> arguments_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUBMITSPARKJOBREQUEST_H_

View File

@@ -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_SUBMITSPARKJOBRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUBMITSPARKJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT SubmitSparkJobResult : public ServiceResult
{
public:
SubmitSparkJobResult();
explicit SubmitSparkJobResult(const std::string &payload);
~SubmitSparkJobResult();
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
long getJobId()const;
protected:
void parse(const std::string &payload);
private:
std::string errorCode_;
std::string errorMessage_;
bool success_;
long jobId_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUBMITSPARKJOBRESULT_H_

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dms-enterprise/model/AddLogicTableRouteConfigRequest.h>
using AlibabaCloud::Dms_enterprise::Model::AddLogicTableRouteConfigRequest;
AddLogicTableRouteConfigRequest::AddLogicTableRouteConfigRequest()
: RpcServiceRequest("dms-enterprise", "2018-11-01", "AddLogicTableRouteConfig") {
setMethod(HttpRequest::Method::Post);
}
AddLogicTableRouteConfigRequest::~AddLogicTableRouteConfigRequest() {}
std::string AddLogicTableRouteConfigRequest::getRouteKey() const {
return routeKey_;
}
void AddLogicTableRouteConfigRequest::setRouteKey(const std::string &routeKey) {
routeKey_ = routeKey;
setParameter(std::string("RouteKey"), routeKey);
}
long AddLogicTableRouteConfigRequest::getTid() const {
return tid_;
}
void AddLogicTableRouteConfigRequest::setTid(long tid) {
tid_ = tid;
setParameter(std::string("Tid"), std::to_string(tid));
}
std::string AddLogicTableRouteConfigRequest::getRouteExpr() const {
return routeExpr_;
}
void AddLogicTableRouteConfigRequest::setRouteExpr(const std::string &routeExpr) {
routeExpr_ = routeExpr;
setParameter(std::string("RouteExpr"), routeExpr);
}
long AddLogicTableRouteConfigRequest::getTableId() const {
return tableId_;
}
void AddLogicTableRouteConfigRequest::setTableId(long tableId) {
tableId_ = tableId;
setParameter(std::string("TableId"), std::to_string(tableId));
}

View File

@@ -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 <alibabacloud/dms-enterprise/model/AddLogicTableRouteConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dms_enterprise;
using namespace AlibabaCloud::Dms_enterprise::Model;
AddLogicTableRouteConfigResult::AddLogicTableRouteConfigResult() :
ServiceResult()
{}
AddLogicTableRouteConfigResult::AddLogicTableRouteConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddLogicTableRouteConfigResult::~AddLogicTableRouteConfigResult()
{}
void AddLogicTableRouteConfigResult::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 AddLogicTableRouteConfigResult::getErrorCode()const
{
return errorCode_;
}
std::string AddLogicTableRouteConfigResult::getErrorMessage()const
{
return errorMessage_;
}
bool AddLogicTableRouteConfigResult::getSuccess()const
{
return success_;
}

View File

@@ -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 <alibabacloud/dms-enterprise/model/ChangeColumnSecLevelRequest.h>
using AlibabaCloud::Dms_enterprise::Model::ChangeColumnSecLevelRequest;
ChangeColumnSecLevelRequest::ChangeColumnSecLevelRequest()
: RpcServiceRequest("dms-enterprise", "2018-11-01", "ChangeColumnSecLevel") {
setMethod(HttpRequest::Method::Post);
}
ChangeColumnSecLevelRequest::~ChangeColumnSecLevelRequest() {}
std::string ChangeColumnSecLevelRequest::getSchemaName() const {
return schemaName_;
}
void ChangeColumnSecLevelRequest::setSchemaName(const std::string &schemaName) {
schemaName_ = schemaName;
setParameter(std::string("SchemaName"), schemaName);
}
bool ChangeColumnSecLevelRequest::getIsLogic() const {
return isLogic_;
}
void ChangeColumnSecLevelRequest::setIsLogic(bool isLogic) {
isLogic_ = isLogic;
setParameter(std::string("IsLogic"), isLogic ? "true" : "false");
}
std::string ChangeColumnSecLevelRequest::getNewLevel() const {
return newLevel_;
}
void ChangeColumnSecLevelRequest::setNewLevel(const std::string &newLevel) {
newLevel_ = newLevel;
setParameter(std::string("NewLevel"), newLevel);
}
std::string ChangeColumnSecLevelRequest::getColumnName() const {
return columnName_;
}
void ChangeColumnSecLevelRequest::setColumnName(const std::string &columnName) {
columnName_ = columnName;
setParameter(std::string("ColumnName"), columnName);
}
long ChangeColumnSecLevelRequest::getTid() const {
return tid_;
}
void ChangeColumnSecLevelRequest::setTid(long tid) {
tid_ = tid;
setParameter(std::string("Tid"), std::to_string(tid));
}
long ChangeColumnSecLevelRequest::getDbId() const {
return dbId_;
}
void ChangeColumnSecLevelRequest::setDbId(long dbId) {
dbId_ = dbId;
setParameter(std::string("DbId"), std::to_string(dbId));
}
std::string ChangeColumnSecLevelRequest::getTableName() const {
return tableName_;
}
void ChangeColumnSecLevelRequest::setTableName(const std::string &tableName) {
tableName_ = tableName;
setParameter(std::string("TableName"), tableName);
}

View File

@@ -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 <alibabacloud/dms-enterprise/model/ChangeColumnSecLevelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dms_enterprise;
using namespace AlibabaCloud::Dms_enterprise::Model;
ChangeColumnSecLevelResult::ChangeColumnSecLevelResult() :
ServiceResult()
{}
ChangeColumnSecLevelResult::ChangeColumnSecLevelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ChangeColumnSecLevelResult::~ChangeColumnSecLevelResult()
{}
void ChangeColumnSecLevelResult::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 ChangeColumnSecLevelResult::getErrorCode()const
{
return errorCode_;
}
std::string ChangeColumnSecLevelResult::getErrorMessage()const
{
return errorMessage_;
}
bool ChangeColumnSecLevelResult::getSuccess()const
{
return success_;
}

View File

@@ -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.
*/
#include <alibabacloud/dms-enterprise/model/CreateLogicDatabaseRequest.h>
using AlibabaCloud::Dms_enterprise::Model::CreateLogicDatabaseRequest;
CreateLogicDatabaseRequest::CreateLogicDatabaseRequest()
: RpcServiceRequest("dms-enterprise", "2018-11-01", "CreateLogicDatabase") {
setMethod(HttpRequest::Method::Post);
}
CreateLogicDatabaseRequest::~CreateLogicDatabaseRequest() {}
long CreateLogicDatabaseRequest::getTid() const {
return tid_;
}
void CreateLogicDatabaseRequest::setTid(long tid) {
tid_ = tid;
setParameter(std::string("Tid"), std::to_string(tid));
}
std::vector<CreateLogicDatabaseRequest::long> CreateLogicDatabaseRequest::getDatabaseIds() const {
return databaseIds_;
}
void CreateLogicDatabaseRequest::setDatabaseIds(const std::vector<CreateLogicDatabaseRequest::long> &databaseIds) {
databaseIds_ = databaseIds;
for(int dep1 = 0; dep1 != databaseIds.size(); dep1++) {
setParameter(std::string("DatabaseIds") + "." + std::to_string(dep1 + 1), std::to_string(databaseIds[dep1]));
}
}
std::string CreateLogicDatabaseRequest::getAlias() const {
return alias_;
}
void CreateLogicDatabaseRequest::setAlias(const std::string &alias) {
alias_ = alias;
setParameter(std::string("Alias"), alias);
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dms-enterprise/model/CreateLogicDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dms_enterprise;
using namespace AlibabaCloud::Dms_enterprise::Model;
CreateLogicDatabaseResult::CreateLogicDatabaseResult() :
ServiceResult()
{}
CreateLogicDatabaseResult::CreateLogicDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateLogicDatabaseResult::~CreateLogicDatabaseResult()
{}
void CreateLogicDatabaseResult::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();
if(!value["LogicDbId"].isNull())
logicDbId_ = std::stol(value["LogicDbId"].asString());
}
long CreateLogicDatabaseResult::getLogicDbId()const
{
return logicDbId_;
}
std::string CreateLogicDatabaseResult::getErrorCode()const
{
return errorCode_;
}
std::string CreateLogicDatabaseResult::getErrorMessage()const
{
return errorMessage_;
}
bool CreateLogicDatabaseResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dms-enterprise/model/CreateProxyAccessRequest.h>
using AlibabaCloud::Dms_enterprise::Model::CreateProxyAccessRequest;
CreateProxyAccessRequest::CreateProxyAccessRequest()
: RpcServiceRequest("dms-enterprise", "2018-11-01", "CreateProxyAccess") {
setMethod(HttpRequest::Method::Post);
}
CreateProxyAccessRequest::~CreateProxyAccessRequest() {}
std::string CreateProxyAccessRequest::getIndepAccount() const {
return indepAccount_;
}
void CreateProxyAccessRequest::setIndepAccount(const std::string &indepAccount) {
indepAccount_ = indepAccount;
setParameter(std::string("IndepAccount"), indepAccount);
}
long CreateProxyAccessRequest::getUserId() const {
return userId_;
}
void CreateProxyAccessRequest::setUserId(long userId) {
userId_ = userId;
setParameter(std::string("UserId"), std::to_string(userId));
}
long CreateProxyAccessRequest::getTid() const {
return tid_;
}
void CreateProxyAccessRequest::setTid(long tid) {
tid_ = tid;
setParameter(std::string("Tid"), std::to_string(tid));
}
std::string CreateProxyAccessRequest::getIndepPassword() const {
return indepPassword_;
}
void CreateProxyAccessRequest::setIndepPassword(const std::string &indepPassword) {
indepPassword_ = indepPassword;
setParameter(std::string("IndepPassword"), indepPassword);
}
long CreateProxyAccessRequest::getProxyId() const {
return proxyId_;
}
void CreateProxyAccessRequest::setProxyId(long proxyId) {
proxyId_ = proxyId;
setParameter(std::string("ProxyId"), std::to_string(proxyId));
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dms-enterprise/model/CreateProxyAccessResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dms_enterprise;
using namespace AlibabaCloud::Dms_enterprise::Model;
CreateProxyAccessResult::CreateProxyAccessResult() :
ServiceResult()
{}
CreateProxyAccessResult::CreateProxyAccessResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateProxyAccessResult::~CreateProxyAccessResult()
{}
void CreateProxyAccessResult::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();
if(!value["ProxyAccessId"].isNull())
proxyAccessId_ = std::stol(value["ProxyAccessId"].asString());
}
long CreateProxyAccessResult::getProxyAccessId()const
{
return proxyAccessId_;
}
std::string CreateProxyAccessResult::getErrorCode()const
{
return errorCode_;
}
std::string CreateProxyAccessResult::getErrorMessage()const
{
return errorMessage_;
}
bool CreateProxyAccessResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dms-enterprise/model/CreateProxyRequest.h>
using AlibabaCloud::Dms_enterprise::Model::CreateProxyRequest;
CreateProxyRequest::CreateProxyRequest()
: RpcServiceRequest("dms-enterprise", "2018-11-01", "CreateProxy") {
setMethod(HttpRequest::Method::Post);
}
CreateProxyRequest::~CreateProxyRequest() {}
long CreateProxyRequest::getTid() const {
return tid_;
}
void CreateProxyRequest::setTid(long tid) {
tid_ = tid;
setParameter(std::string("Tid"), std::to_string(tid));
}
std::string CreateProxyRequest::getPassword() const {
return password_;
}
void CreateProxyRequest::setPassword(const std::string &password) {
password_ = password;
setParameter(std::string("Password"), password);
}
long CreateProxyRequest::getInstanceId() const {
return instanceId_;
}
void CreateProxyRequest::setInstanceId(long instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), std::to_string(instanceId));
}
std::string CreateProxyRequest::getUsername() const {
return username_;
}
void CreateProxyRequest::setUsername(const std::string &username) {
username_ = username;
setParameter(std::string("Username"), username);
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dms-enterprise/model/CreateProxyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dms_enterprise;
using namespace AlibabaCloud::Dms_enterprise::Model;
CreateProxyResult::CreateProxyResult() :
ServiceResult()
{}
CreateProxyResult::CreateProxyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateProxyResult::~CreateProxyResult()
{}
void CreateProxyResult::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();
if(!value["ProxyId"].isNull())
proxyId_ = std::stol(value["ProxyId"].asString());
}
long CreateProxyResult::getProxyId()const
{
return proxyId_;
}
std::string CreateProxyResult::getErrorCode()const
{
return errorCode_;
}
std::string CreateProxyResult::getErrorMessage()const
{
return errorMessage_;
}
bool CreateProxyResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dms-enterprise/model/DeleteLogicDatabaseRequest.h>
using AlibabaCloud::Dms_enterprise::Model::DeleteLogicDatabaseRequest;
DeleteLogicDatabaseRequest::DeleteLogicDatabaseRequest()
: RpcServiceRequest("dms-enterprise", "2018-11-01", "DeleteLogicDatabase") {
setMethod(HttpRequest::Method::Post);
}
DeleteLogicDatabaseRequest::~DeleteLogicDatabaseRequest() {}
long DeleteLogicDatabaseRequest::getLogicDbId() const {
return logicDbId_;
}
void DeleteLogicDatabaseRequest::setLogicDbId(long logicDbId) {
logicDbId_ = logicDbId;
setParameter(std::string("LogicDbId"), std::to_string(logicDbId));
}
long DeleteLogicDatabaseRequest::getTid() const {
return tid_;
}
void DeleteLogicDatabaseRequest::setTid(long tid) {
tid_ = tid;
setParameter(std::string("Tid"), std::to_string(tid));
}

View File

@@ -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 <alibabacloud/dms-enterprise/model/DeleteLogicDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dms_enterprise;
using namespace AlibabaCloud::Dms_enterprise::Model;
DeleteLogicDatabaseResult::DeleteLogicDatabaseResult() :
ServiceResult()
{}
DeleteLogicDatabaseResult::DeleteLogicDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteLogicDatabaseResult::~DeleteLogicDatabaseResult()
{}
void DeleteLogicDatabaseResult::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 DeleteLogicDatabaseResult::getErrorCode()const
{
return errorCode_;
}
std::string DeleteLogicDatabaseResult::getErrorMessage()const
{
return errorMessage_;
}
bool DeleteLogicDatabaseResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dms-enterprise/model/DeleteLogicTableRouteConfigRequest.h>
using AlibabaCloud::Dms_enterprise::Model::DeleteLogicTableRouteConfigRequest;
DeleteLogicTableRouteConfigRequest::DeleteLogicTableRouteConfigRequest()
: RpcServiceRequest("dms-enterprise", "2018-11-01", "DeleteLogicTableRouteConfig") {
setMethod(HttpRequest::Method::Post);
}
DeleteLogicTableRouteConfigRequest::~DeleteLogicTableRouteConfigRequest() {}
std::string DeleteLogicTableRouteConfigRequest::getRouteKey() const {
return routeKey_;
}
void DeleteLogicTableRouteConfigRequest::setRouteKey(const std::string &routeKey) {
routeKey_ = routeKey;
setParameter(std::string("RouteKey"), routeKey);
}
long DeleteLogicTableRouteConfigRequest::getTid() const {
return tid_;
}
void DeleteLogicTableRouteConfigRequest::setTid(long tid) {
tid_ = tid;
setParameter(std::string("Tid"), std::to_string(tid));
}
long DeleteLogicTableRouteConfigRequest::getTableId() const {
return tableId_;
}
void DeleteLogicTableRouteConfigRequest::setTableId(long tableId) {
tableId_ = tableId;
setParameter(std::string("TableId"), std::to_string(tableId));
}

View File

@@ -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 <alibabacloud/dms-enterprise/model/DeleteLogicTableRouteConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dms_enterprise;
using namespace AlibabaCloud::Dms_enterprise::Model;
DeleteLogicTableRouteConfigResult::DeleteLogicTableRouteConfigResult() :
ServiceResult()
{}
DeleteLogicTableRouteConfigResult::DeleteLogicTableRouteConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteLogicTableRouteConfigResult::~DeleteLogicTableRouteConfigResult()
{}
void DeleteLogicTableRouteConfigResult::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 DeleteLogicTableRouteConfigResult::getErrorCode()const
{
return errorCode_;
}
std::string DeleteLogicTableRouteConfigResult::getErrorMessage()const
{
return errorMessage_;
}
bool DeleteLogicTableRouteConfigResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dms-enterprise/model/DeleteProxyAccessRequest.h>
using AlibabaCloud::Dms_enterprise::Model::DeleteProxyAccessRequest;
DeleteProxyAccessRequest::DeleteProxyAccessRequest()
: RpcServiceRequest("dms-enterprise", "2018-11-01", "DeleteProxyAccess") {
setMethod(HttpRequest::Method::Post);
}
DeleteProxyAccessRequest::~DeleteProxyAccessRequest() {}
long DeleteProxyAccessRequest::getProxyAccessId() const {
return proxyAccessId_;
}
void DeleteProxyAccessRequest::setProxyAccessId(long proxyAccessId) {
proxyAccessId_ = proxyAccessId;
setParameter(std::string("ProxyAccessId"), std::to_string(proxyAccessId));
}
long DeleteProxyAccessRequest::getTid() const {
return tid_;
}
void DeleteProxyAccessRequest::setTid(long tid) {
tid_ = tid;
setParameter(std::string("Tid"), std::to_string(tid));
}

View File

@@ -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 <alibabacloud/dms-enterprise/model/DeleteProxyAccessResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dms_enterprise;
using namespace AlibabaCloud::Dms_enterprise::Model;
DeleteProxyAccessResult::DeleteProxyAccessResult() :
ServiceResult()
{}
DeleteProxyAccessResult::DeleteProxyAccessResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteProxyAccessResult::~DeleteProxyAccessResult()
{}
void DeleteProxyAccessResult::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 DeleteProxyAccessResult::getErrorCode()const
{
return errorCode_;
}
std::string DeleteProxyAccessResult::getErrorMessage()const
{
return errorMessage_;
}
bool DeleteProxyAccessResult::getSuccess()const
{
return success_;
}

Some files were not shown because too many files have changed in this diff Show More