From a0c8b06b21a11fac241a795532ab9f7e78742690 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 28 Oct 2022 10:37:45 +0000 Subject: [PATCH] Support BuyPayAsYouGoOrder, RefundPayAsYouGoOrder, ListEffectiveOrders, ListClassificationTemplates. --- VERSION | 2 +- dms-enterprise/CMakeLists.txt | 200 ++ .../dms-enterprise/Dms_enterpriseClient.h | 400 ++++ .../model/AddTaskFlowEdgesRequest.h | 52 + .../model/AddTaskFlowEdgesResult.h | 55 + .../dms-enterprise/model/BackFillRequest.h | 69 + .../dms-enterprise/model/BackFillResult.h | 57 + .../model/BuyPayAsYouGoOrderRequest.h | 51 + .../model/BuyPayAsYouGoOrderResult.h | 57 + .../model/CreateScenarioRequest.h | 48 + .../model/CreateScenarioResult.h | 57 + .../model/CreateTaskFlowRequest.h | 51 + .../model/CreateTaskFlowResult.h | 57 + .../dms-enterprise/model/CreateTaskRequest.h | 63 + .../dms-enterprise/model/CreateTaskResult.h | 57 + .../model/DeleteLakeHouseSpaceRequest.h | 6 +- .../model/DeleteScenarioRequest.h | 45 + .../model/DeleteScenarioResult.h | 55 + .../DeleteTaskFlowEdgesByConditionRequest.h | 54 + .../DeleteTaskFlowEdgesByConditionResult.h | 55 + .../dms-enterprise/model/DeleteTaskRequest.h | 45 + .../dms-enterprise/model/DeleteTaskResult.h | 55 + .../dms-enterprise/model/DeleteUserRequest.h | 6 +- .../dms-enterprise/model/DisableUserRequest.h | 6 +- .../dms-enterprise/model/EnableUserRequest.h | 6 +- .../model/GetApprovalDetailResult.h | 1 + .../model/GetDBTaskSQLJobLogRequest.h | 6 +- .../dms-enterprise/model/GetInstanceResult.h | 1 + .../model/GetIntervalLimitOfSLARequest.h | 45 + .../model/GetIntervalLimitOfSLAResult.h | 57 + .../model/GetLogicDatabaseRequest.h | 6 +- .../model/GetMetaTableColumnRequest.h | 6 +- .../model/GetMetaTableDetailInfoRequest.h | 6 +- .../model/GetPhysicalDatabaseRequest.h | 6 +- .../model/GetRuleNumLimitOfSLARequest.h | 45 + .../model/GetRuleNumLimitOfSLAResult.h | 57 + .../model/GetSQLReviewOptimizeDetailRequest.h | 6 +- .../model/GetTableDBTopologyRequest.h | 6 +- .../model/GetTableTopologyRequest.h | 6 +- .../model/GetTaskFlowGraphRequest.h | 45 + .../model/GetTaskFlowGraphResult.h | 83 + .../model/GetTaskFlowNotificationRequest.h | 45 + .../model/GetTaskFlowNotificationResult.h | 63 + .../dms-enterprise/model/GetTaskRequest.h | 45 + .../dms-enterprise/model/GetTaskResult.h | 68 + .../ListClassificationTemplatesRequest.h | 42 + .../model/ListClassificationTemplatesResult.h | 64 + .../model/ListDefaultSLARulesRequest.h | 45 + .../model/ListDefaultSLARulesResult.h | 65 + .../model/ListEffectiveOrdersRequest.h | 42 + .../model/ListEffectiveOrdersResult.h | 74 + .../model/ListInstancesResult.h | 1 + .../model/ListLogicTableRouteConfigRequest.h | 6 +- .../model/ListSLARulesRequest.h | 45 + .../dms-enterprise/model/ListSLARulesResult.h | 65 + .../model/ListSQLReviewOriginSQLResult.h | 1 + .../model/ListScenariosRequest.h | 42 + .../model/ListScenariosResult.h | 64 + .../model/ListSensitiveDataAuditLogRequest.h | 69 + .../model/ListSensitiveDataAuditLogResult.h | 78 + .../model/ListTaskFlowConstantsRequest.h | 45 + .../model/ListTaskFlowConstantsResult.h | 62 + .../model/ListTaskFlowCooperatorsRequest.h | 45 + .../model/ListTaskFlowCooperatorsResult.h | 64 + .../ListTaskFlowEdgesByConditionRequest.h | 54 + .../ListTaskFlowEdgesByConditionResult.h | 63 + .../model/ListTaskFlowInstanceResult.h | 1 + .../model/ListTaskFlowTimeVariablesRequest.h | 45 + .../model/ListTaskFlowTimeVariablesResult.h | 62 + .../model/ListTaskFlowsByPageRequest.h | 54 + .../model/ListTaskFlowsByPageResult.h | 72 + .../model/ListTasksInTaskFlowRequest.h | 45 + .../model/ListTasksInTaskFlowResult.h | 68 + .../MakeTaskFlowInstanceSuccessRequest.h | 48 + .../model/MakeTaskFlowInstanceSuccessResult.h | 55 + .../model/MoveTaskFlowToScenarioRequest.h | 48 + .../model/MoveTaskFlowToScenarioResult.h | 55 + .../model/PublishAndDeployTaskFlowRequest.h | 48 + .../model/PublishAndDeployTaskFlowResult.h | 57 + .../model/ReRunTaskFlowInstanceRequest.h | 51 + .../model/ReRunTaskFlowInstanceResult.h | 55 + .../model/RefundPayAsYouGoOrderRequest.h | 45 + .../model/RefundPayAsYouGoOrderResult.h | 55 + .../model/RegisterInstanceRequest.h | 9 + .../model/ResumeTaskFlowInstanceRequest.h | 51 + .../model/ResumeTaskFlowInstanceResult.h | 55 + .../model/StopTaskFlowInstanceRequest.h | 48 + .../model/StopTaskFlowInstanceResult.h | 55 + .../model/SuspendTaskFlowInstanceRequest.h | 48 + .../model/SuspendTaskFlowInstanceResult.h | 55 + .../model/UpdateInstanceRequest.h | 9 + .../model/UpdateSLARulesRequest.h | 55 + .../model/UpdateSLARulesResult.h | 55 + .../model/UpdateScenarioRequest.h | 51 + .../model/UpdateScenarioResult.h | 55 + .../model/UpdateTaskConfigRequest.h | 48 + .../model/UpdateTaskConfigResult.h | 55 + .../model/UpdateTaskContentRequest.h | 48 + .../model/UpdateTaskContentResult.h | 55 + .../model/UpdateTaskFlowConstantsRequest.h | 52 + .../model/UpdateTaskFlowConstantsResult.h | 55 + .../model/UpdateTaskFlowCooperatorsRequest.h | 48 + .../model/UpdateTaskFlowCooperatorsResult.h | 55 + .../model/UpdateTaskFlowEdgesRequest.h | 53 + .../model/UpdateTaskFlowEdgesResult.h | 55 + .../model/UpdateTaskFlowNameAndDescRequest.h | 51 + .../model/UpdateTaskFlowNameAndDescResult.h | 55 + .../model/UpdateTaskFlowNotificationRequest.h | 54 + .../model/UpdateTaskFlowNotificationResult.h | 55 + .../model/UpdateTaskFlowOwnerRequest.h | 48 + .../model/UpdateTaskFlowOwnerResult.h | 55 + .../model/UpdateTaskFlowRelationsRequest.h | 54 + .../model/UpdateTaskFlowRelationsResult.h | 55 + .../model/UpdateTaskFlowScheduleRequest.h | 69 + .../model/UpdateTaskFlowScheduleResult.h | 55 + .../UpdateTaskFlowTimeVariablesRequest.h | 48 + .../model/UpdateTaskFlowTimeVariablesResult.h | 55 + .../model/UpdateTaskNameRequest.h | 48 + .../model/UpdateTaskNameResult.h | 55 + .../model/UpdateTaskOutputRequest.h | 48 + .../model/UpdateTaskOutputResult.h | 55 + .../model/UpdateTaskTimeVariablesRequest.h | 48 + .../model/UpdateTaskTimeVariablesResult.h | 55 + dms-enterprise/src/Dms-enterpriseClient.cc | 1800 +++++++++++++++++ .../src/model/AddTaskFlowEdgesRequest.cc | 57 + .../src/model/AddTaskFlowEdgesResult.cc | 65 + dms-enterprise/src/model/BackFillRequest.cc | 119 ++ dms-enterprise/src/model/BackFillResult.cc | 72 + .../src/model/BuyPayAsYouGoOrderRequest.cc | 63 + .../src/model/BuyPayAsYouGoOrderResult.cc | 72 + .../src/model/CreateScenarioRequest.cc | 54 + .../src/model/CreateScenarioResult.cc | 72 + .../src/model/CreateTaskFlowRequest.cc | 63 + .../src/model/CreateTaskFlowResult.cc | 72 + dms-enterprise/src/model/CreateTaskRequest.cc | 99 + dms-enterprise/src/model/CreateTaskResult.cc | 72 + .../src/model/DeleteLakeHouseSpaceRequest.cc | 18 +- .../src/model/DeleteScenarioRequest.cc | 45 + .../src/model/DeleteScenarioResult.cc | 65 + .../DeleteTaskFlowEdgesByConditionRequest.cc | 72 + .../DeleteTaskFlowEdgesByConditionResult.cc | 65 + dms-enterprise/src/model/DeleteTaskRequest.cc | 45 + dms-enterprise/src/model/DeleteTaskResult.cc | 65 + dms-enterprise/src/model/DeleteUserRequest.cc | 18 +- .../src/model/DisableUserRequest.cc | 18 +- dms-enterprise/src/model/EnableUserRequest.cc | 18 +- .../src/model/GetApprovalDetailResult.cc | 2 + .../src/model/GetDBTaskSQLJobLogRequest.cc | 18 +- dms-enterprise/src/model/GetInstanceResult.cc | 2 + .../src/model/GetIntervalLimitOfSLARequest.cc | 45 + .../src/model/GetIntervalLimitOfSLAResult.cc | 72 + .../src/model/GetLogicDatabaseRequest.cc | 18 +- .../src/model/GetMetaTableColumnRequest.cc | 18 +- .../model/GetMetaTableDetailInfoRequest.cc | 18 +- .../src/model/GetPhysicalDatabaseRequest.cc | 18 +- .../src/model/GetRuleNumLimitOfSLARequest.cc | 45 + .../src/model/GetRuleNumLimitOfSLAResult.cc | 72 + .../GetSQLReviewOptimizeDetailRequest.cc | 18 +- .../src/model/GetTableDBTopologyRequest.cc | 18 +- .../src/model/GetTableTopologyRequest.cc | 18 +- .../src/model/GetTaskFlowGraphRequest.cc | 45 + .../src/model/GetTaskFlowGraphResult.cc | 113 ++ .../model/GetTaskFlowNotificationRequest.cc | 45 + .../model/GetTaskFlowNotificationResult.cc | 77 + dms-enterprise/src/model/GetTaskRequest.cc | 45 + dms-enterprise/src/model/GetTaskResult.cc | 87 + .../ListClassificationTemplatesRequest.cc | 36 + .../ListClassificationTemplatesResult.cc | 84 + .../src/model/ListDefaultSLARulesRequest.cc | 45 + .../src/model/ListDefaultSLARulesResult.cc | 86 + .../src/model/ListEffectiveOrdersRequest.cc | 36 + .../src/model/ListEffectiveOrdersResult.cc | 102 + .../src/model/ListInstancesResult.cc | 2 + .../model/ListLogicTableRouteConfigRequest.cc | 18 +- .../src/model/ListSLARulesRequest.cc | 45 + .../src/model/ListSLARulesResult.cc | 86 + .../src/model/ListSQLReviewOriginSQLResult.cc | 2 + .../src/model/ListScenariosRequest.cc | 36 + .../src/model/ListScenariosResult.cc | 84 + .../model/ListSensitiveDataAuditLogRequest.cc | 117 ++ .../model/ListSensitiveDataAuditLogResult.cc | 113 ++ .../src/model/ListTaskFlowConstantsRequest.cc | 45 + .../src/model/ListTaskFlowConstantsResult.cc | 80 + .../model/ListTaskFlowCooperatorsRequest.cc | 45 + .../model/ListTaskFlowCooperatorsResult.cc | 84 + .../ListTaskFlowEdgesByConditionRequest.cc | 72 + .../ListTaskFlowEdgesByConditionResult.cc | 82 + .../src/model/ListTaskFlowInstanceResult.cc | 2 + .../model/ListTaskFlowTimeVariablesRequest.cc | 45 + .../model/ListTaskFlowTimeVariablesResult.cc | 80 + .../src/model/ListTaskFlowsByPageRequest.cc | 72 + .../src/model/ListTaskFlowsByPageResult.cc | 103 + .../src/model/ListTasksInTaskFlowRequest.cc | 45 + .../src/model/ListTasksInTaskFlowResult.cc | 92 + .../MakeTaskFlowInstanceSuccessRequest.cc | 54 + .../MakeTaskFlowInstanceSuccessResult.cc | 65 + .../model/MoveTaskFlowToScenarioRequest.cc | 54 + .../src/model/MoveTaskFlowToScenarioResult.cc | 65 + .../model/PublishAndDeployTaskFlowRequest.cc | 54 + .../model/PublishAndDeployTaskFlowResult.cc | 72 + .../src/model/ReRunTaskFlowInstanceRequest.cc | 63 + .../src/model/ReRunTaskFlowInstanceResult.cc | 65 + .../src/model/RefundPayAsYouGoOrderRequest.cc | 45 + .../src/model/RefundPayAsYouGoOrderResult.cc | 65 + .../src/model/RegisterInstanceRequest.cc | 27 + .../model/ResumeTaskFlowInstanceRequest.cc | 63 + .../src/model/ResumeTaskFlowInstanceResult.cc | 65 + .../src/model/StopTaskFlowInstanceRequest.cc | 54 + .../src/model/StopTaskFlowInstanceResult.cc | 65 + .../model/SuspendTaskFlowInstanceRequest.cc | 54 + .../model/SuspendTaskFlowInstanceResult.cc | 65 + .../src/model/UpdateInstanceRequest.cc | 27 + .../src/model/UpdateSLARulesRequest.cc | 60 + .../src/model/UpdateSLARulesResult.cc | 65 + .../src/model/UpdateScenarioRequest.cc | 63 + .../src/model/UpdateScenarioResult.cc | 65 + .../src/model/UpdateTaskConfigRequest.cc | 54 + .../src/model/UpdateTaskConfigResult.cc | 65 + .../src/model/UpdateTaskContentRequest.cc | 54 + .../src/model/UpdateTaskContentResult.cc | 65 + .../model/UpdateTaskFlowConstantsRequest.cc | 57 + .../model/UpdateTaskFlowConstantsResult.cc | 65 + .../model/UpdateTaskFlowCooperatorsRequest.cc | 56 + .../model/UpdateTaskFlowCooperatorsResult.cc | 65 + .../src/model/UpdateTaskFlowEdgesRequest.cc | 58 + .../src/model/UpdateTaskFlowEdgesResult.cc | 65 + .../model/UpdateTaskFlowNameAndDescRequest.cc | 63 + .../model/UpdateTaskFlowNameAndDescResult.cc | 65 + .../UpdateTaskFlowNotificationRequest.cc | 72 + .../model/UpdateTaskFlowNotificationResult.cc | 65 + .../src/model/UpdateTaskFlowOwnerRequest.cc | 54 + .../src/model/UpdateTaskFlowOwnerResult.cc | 65 + .../model/UpdateTaskFlowRelationsRequest.cc | 59 + .../model/UpdateTaskFlowRelationsResult.cc | 65 + .../model/UpdateTaskFlowScheduleRequest.cc | 117 ++ .../src/model/UpdateTaskFlowScheduleResult.cc | 65 + .../UpdateTaskFlowTimeVariablesRequest.cc | 54 + .../UpdateTaskFlowTimeVariablesResult.cc | 65 + .../src/model/UpdateTaskNameRequest.cc | 54 + .../src/model/UpdateTaskNameResult.cc | 65 + .../src/model/UpdateTaskOutputRequest.cc | 54 + .../src/model/UpdateTaskOutputResult.cc | 65 + .../model/UpdateTaskTimeVariablesRequest.cc | 54 + .../model/UpdateTaskTimeVariablesResult.cc | 65 + 244 files changed, 14675 insertions(+), 157 deletions(-) create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/AddTaskFlowEdgesRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/AddTaskFlowEdgesResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/BackFillRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/BackFillResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/BuyPayAsYouGoOrderRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/BuyPayAsYouGoOrderResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateScenarioRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateScenarioResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskFlowRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskFlowResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteScenarioRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteScenarioResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskFlowEdgesByConditionRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskFlowEdgesByConditionResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetIntervalLimitOfSLARequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetIntervalLimitOfSLAResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetRuleNumLimitOfSLARequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetRuleNumLimitOfSLAResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowGraphRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowGraphResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowNotificationRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowNotificationResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDefaultSLARulesRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDefaultSLARulesResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListEffectiveOrdersRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListEffectiveOrdersResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSLARulesRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSLARulesResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListScenariosRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListScenariosResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveDataAuditLogRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveDataAuditLogResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowConstantsRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowConstantsResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowCooperatorsRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowCooperatorsResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowEdgesByConditionRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowEdgesByConditionResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowTimeVariablesRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowTimeVariablesResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowsByPageRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowsByPageResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTasksInTaskFlowRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTasksInTaskFlowResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/MakeTaskFlowInstanceSuccessRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/MakeTaskFlowInstanceSuccessResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ReRunTaskFlowInstanceRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ReRunTaskFlowInstanceResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/RefundPayAsYouGoOrderRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/RefundPayAsYouGoOrderResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateSLARulesRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateSLARulesResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateScenarioRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateScenarioResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskConfigRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskConfigResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskContentRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskContentResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowConstantsRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowConstantsResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowCooperatorsRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowCooperatorsResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowEdgesRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowEdgesResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNameAndDescRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNameAndDescResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNotificationRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNotificationResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowOwnerRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowOwnerResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowRelationsRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowRelationsResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowScheduleRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowScheduleResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowTimeVariablesRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowTimeVariablesResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskNameRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskNameResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskOutputRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskOutputResult.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskTimeVariablesRequest.h create mode 100644 dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskTimeVariablesResult.h create mode 100644 dms-enterprise/src/model/AddTaskFlowEdgesRequest.cc create mode 100644 dms-enterprise/src/model/AddTaskFlowEdgesResult.cc create mode 100644 dms-enterprise/src/model/BackFillRequest.cc create mode 100644 dms-enterprise/src/model/BackFillResult.cc create mode 100644 dms-enterprise/src/model/BuyPayAsYouGoOrderRequest.cc create mode 100644 dms-enterprise/src/model/BuyPayAsYouGoOrderResult.cc create mode 100644 dms-enterprise/src/model/CreateScenarioRequest.cc create mode 100644 dms-enterprise/src/model/CreateScenarioResult.cc create mode 100644 dms-enterprise/src/model/CreateTaskFlowRequest.cc create mode 100644 dms-enterprise/src/model/CreateTaskFlowResult.cc create mode 100644 dms-enterprise/src/model/CreateTaskRequest.cc create mode 100644 dms-enterprise/src/model/CreateTaskResult.cc create mode 100644 dms-enterprise/src/model/DeleteScenarioRequest.cc create mode 100644 dms-enterprise/src/model/DeleteScenarioResult.cc create mode 100644 dms-enterprise/src/model/DeleteTaskFlowEdgesByConditionRequest.cc create mode 100644 dms-enterprise/src/model/DeleteTaskFlowEdgesByConditionResult.cc create mode 100644 dms-enterprise/src/model/DeleteTaskRequest.cc create mode 100644 dms-enterprise/src/model/DeleteTaskResult.cc create mode 100644 dms-enterprise/src/model/GetIntervalLimitOfSLARequest.cc create mode 100644 dms-enterprise/src/model/GetIntervalLimitOfSLAResult.cc create mode 100644 dms-enterprise/src/model/GetRuleNumLimitOfSLARequest.cc create mode 100644 dms-enterprise/src/model/GetRuleNumLimitOfSLAResult.cc create mode 100644 dms-enterprise/src/model/GetTaskFlowGraphRequest.cc create mode 100644 dms-enterprise/src/model/GetTaskFlowGraphResult.cc create mode 100644 dms-enterprise/src/model/GetTaskFlowNotificationRequest.cc create mode 100644 dms-enterprise/src/model/GetTaskFlowNotificationResult.cc create mode 100644 dms-enterprise/src/model/GetTaskRequest.cc create mode 100644 dms-enterprise/src/model/GetTaskResult.cc create mode 100644 dms-enterprise/src/model/ListClassificationTemplatesRequest.cc create mode 100644 dms-enterprise/src/model/ListClassificationTemplatesResult.cc create mode 100644 dms-enterprise/src/model/ListDefaultSLARulesRequest.cc create mode 100644 dms-enterprise/src/model/ListDefaultSLARulesResult.cc create mode 100644 dms-enterprise/src/model/ListEffectiveOrdersRequest.cc create mode 100644 dms-enterprise/src/model/ListEffectiveOrdersResult.cc create mode 100644 dms-enterprise/src/model/ListSLARulesRequest.cc create mode 100644 dms-enterprise/src/model/ListSLARulesResult.cc create mode 100644 dms-enterprise/src/model/ListScenariosRequest.cc create mode 100644 dms-enterprise/src/model/ListScenariosResult.cc create mode 100644 dms-enterprise/src/model/ListSensitiveDataAuditLogRequest.cc create mode 100644 dms-enterprise/src/model/ListSensitiveDataAuditLogResult.cc create mode 100644 dms-enterprise/src/model/ListTaskFlowConstantsRequest.cc create mode 100644 dms-enterprise/src/model/ListTaskFlowConstantsResult.cc create mode 100644 dms-enterprise/src/model/ListTaskFlowCooperatorsRequest.cc create mode 100644 dms-enterprise/src/model/ListTaskFlowCooperatorsResult.cc create mode 100644 dms-enterprise/src/model/ListTaskFlowEdgesByConditionRequest.cc create mode 100644 dms-enterprise/src/model/ListTaskFlowEdgesByConditionResult.cc create mode 100644 dms-enterprise/src/model/ListTaskFlowTimeVariablesRequest.cc create mode 100644 dms-enterprise/src/model/ListTaskFlowTimeVariablesResult.cc create mode 100644 dms-enterprise/src/model/ListTaskFlowsByPageRequest.cc create mode 100644 dms-enterprise/src/model/ListTaskFlowsByPageResult.cc create mode 100644 dms-enterprise/src/model/ListTasksInTaskFlowRequest.cc create mode 100644 dms-enterprise/src/model/ListTasksInTaskFlowResult.cc create mode 100644 dms-enterprise/src/model/MakeTaskFlowInstanceSuccessRequest.cc create mode 100644 dms-enterprise/src/model/MakeTaskFlowInstanceSuccessResult.cc create mode 100644 dms-enterprise/src/model/MoveTaskFlowToScenarioRequest.cc create mode 100644 dms-enterprise/src/model/MoveTaskFlowToScenarioResult.cc create mode 100644 dms-enterprise/src/model/PublishAndDeployTaskFlowRequest.cc create mode 100644 dms-enterprise/src/model/PublishAndDeployTaskFlowResult.cc create mode 100644 dms-enterprise/src/model/ReRunTaskFlowInstanceRequest.cc create mode 100644 dms-enterprise/src/model/ReRunTaskFlowInstanceResult.cc create mode 100644 dms-enterprise/src/model/RefundPayAsYouGoOrderRequest.cc create mode 100644 dms-enterprise/src/model/RefundPayAsYouGoOrderResult.cc create mode 100644 dms-enterprise/src/model/ResumeTaskFlowInstanceRequest.cc create mode 100644 dms-enterprise/src/model/ResumeTaskFlowInstanceResult.cc create mode 100644 dms-enterprise/src/model/StopTaskFlowInstanceRequest.cc create mode 100644 dms-enterprise/src/model/StopTaskFlowInstanceResult.cc create mode 100644 dms-enterprise/src/model/SuspendTaskFlowInstanceRequest.cc create mode 100644 dms-enterprise/src/model/SuspendTaskFlowInstanceResult.cc create mode 100644 dms-enterprise/src/model/UpdateSLARulesRequest.cc create mode 100644 dms-enterprise/src/model/UpdateSLARulesResult.cc create mode 100644 dms-enterprise/src/model/UpdateScenarioRequest.cc create mode 100644 dms-enterprise/src/model/UpdateScenarioResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskConfigRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskConfigResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskContentRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskContentResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowConstantsRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowConstantsResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowCooperatorsRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowCooperatorsResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowEdgesRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowEdgesResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowNameAndDescRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowNameAndDescResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowNotificationRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowNotificationResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowOwnerRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowOwnerResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowRelationsRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowRelationsResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowScheduleRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowScheduleResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowTimeVariablesRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskFlowTimeVariablesResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskNameRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskNameResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskOutputRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskOutputResult.cc create mode 100644 dms-enterprise/src/model/UpdateTaskTimeVariablesRequest.cc create mode 100644 dms-enterprise/src/model/UpdateTaskTimeVariablesResult.cc diff --git a/VERSION b/VERSION index f55a1df9b..ee974b192 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1316 \ No newline at end of file +1.36.1317 \ No newline at end of file diff --git a/dms-enterprise/CMakeLists.txt b/dms-enterprise/CMakeLists.txt index 13c30b801..4f3bf2035 100644 --- a/dms-enterprise/CMakeLists.txt +++ b/dms-enterprise/CMakeLists.txt @@ -27,8 +27,14 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/AddLhMembersResult.h include/alibabacloud/dms-enterprise/model/AddLogicTableRouteConfigRequest.h include/alibabacloud/dms-enterprise/model/AddLogicTableRouteConfigResult.h + include/alibabacloud/dms-enterprise/model/AddTaskFlowEdgesRequest.h + include/alibabacloud/dms-enterprise/model/AddTaskFlowEdgesResult.h include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h include/alibabacloud/dms-enterprise/model/ApproveOrderResult.h + include/alibabacloud/dms-enterprise/model/BackFillRequest.h + include/alibabacloud/dms-enterprise/model/BackFillResult.h + include/alibabacloud/dms-enterprise/model/BuyPayAsYouGoOrderRequest.h + include/alibabacloud/dms-enterprise/model/BuyPayAsYouGoOrderResult.h include/alibabacloud/dms-enterprise/model/ChangeColumnSecLevelRequest.h include/alibabacloud/dms-enterprise/model/ChangeColumnSecLevelResult.h include/alibabacloud/dms-enterprise/model/ChangeLhDagOwnerRequest.h @@ -57,10 +63,16 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/CreatePublishGroupTaskResult.h include/alibabacloud/dms-enterprise/model/CreateSQLReviewOrderRequest.h include/alibabacloud/dms-enterprise/model/CreateSQLReviewOrderResult.h + include/alibabacloud/dms-enterprise/model/CreateScenarioRequest.h + include/alibabacloud/dms-enterprise/model/CreateScenarioResult.h include/alibabacloud/dms-enterprise/model/CreateStandardGroupRequest.h include/alibabacloud/dms-enterprise/model/CreateStandardGroupResult.h include/alibabacloud/dms-enterprise/model/CreateStructSyncOrderRequest.h include/alibabacloud/dms-enterprise/model/CreateStructSyncOrderResult.h + include/alibabacloud/dms-enterprise/model/CreateTaskRequest.h + include/alibabacloud/dms-enterprise/model/CreateTaskResult.h + include/alibabacloud/dms-enterprise/model/CreateTaskFlowRequest.h + include/alibabacloud/dms-enterprise/model/CreateTaskFlowResult.h include/alibabacloud/dms-enterprise/model/CreateUploadFileJobRequest.h include/alibabacloud/dms-enterprise/model/CreateUploadFileJobResult.h include/alibabacloud/dms-enterprise/model/CreateUploadOSSFileJobRequest.h @@ -79,8 +91,14 @@ set(dms-enterprise_public_header_model 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/DeleteScenarioRequest.h + include/alibabacloud/dms-enterprise/model/DeleteScenarioResult.h + include/alibabacloud/dms-enterprise/model/DeleteTaskRequest.h + include/alibabacloud/dms-enterprise/model/DeleteTaskResult.h include/alibabacloud/dms-enterprise/model/DeleteTaskFlowRequest.h include/alibabacloud/dms-enterprise/model/DeleteTaskFlowResult.h + include/alibabacloud/dms-enterprise/model/DeleteTaskFlowEdgesByConditionRequest.h + include/alibabacloud/dms-enterprise/model/DeleteTaskFlowEdgesByConditionResult.h include/alibabacloud/dms-enterprise/model/DeleteUserRequest.h include/alibabacloud/dms-enterprise/model/DeleteUserResult.h include/alibabacloud/dms-enterprise/model/DisableUserRequest.h @@ -121,6 +139,8 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/GetDatabaseResult.h include/alibabacloud/dms-enterprise/model/GetInstanceRequest.h include/alibabacloud/dms-enterprise/model/GetInstanceResult.h + include/alibabacloud/dms-enterprise/model/GetIntervalLimitOfSLARequest.h + include/alibabacloud/dms-enterprise/model/GetIntervalLimitOfSLAResult.h include/alibabacloud/dms-enterprise/model/GetLhSpaceByNameRequest.h include/alibabacloud/dms-enterprise/model/GetLhSpaceByNameResult.h include/alibabacloud/dms-enterprise/model/GetLogicDatabaseRequest.h @@ -141,6 +161,8 @@ set(dms-enterprise_public_header_model 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/GetRuleNumLimitOfSLARequest.h + include/alibabacloud/dms-enterprise/model/GetRuleNumLimitOfSLAResult.h include/alibabacloud/dms-enterprise/model/GetSQLReviewCheckResultStatusRequest.h include/alibabacloud/dms-enterprise/model/GetSQLReviewCheckResultStatusResult.h include/alibabacloud/dms-enterprise/model/GetSQLReviewOptimizeDetailRequest.h @@ -157,6 +179,12 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/GetTableDBTopologyResult.h include/alibabacloud/dms-enterprise/model/GetTableTopologyRequest.h include/alibabacloud/dms-enterprise/model/GetTableTopologyResult.h + include/alibabacloud/dms-enterprise/model/GetTaskRequest.h + include/alibabacloud/dms-enterprise/model/GetTaskResult.h + include/alibabacloud/dms-enterprise/model/GetTaskFlowGraphRequest.h + include/alibabacloud/dms-enterprise/model/GetTaskFlowGraphResult.h + include/alibabacloud/dms-enterprise/model/GetTaskFlowNotificationRequest.h + include/alibabacloud/dms-enterprise/model/GetTaskFlowNotificationResult.h include/alibabacloud/dms-enterprise/model/GetTaskInstanceRelationRequest.h include/alibabacloud/dms-enterprise/model/GetTaskInstanceRelationResult.h include/alibabacloud/dms-enterprise/model/GetUserRequest.h @@ -169,6 +197,8 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/GrantUserPermissionResult.h include/alibabacloud/dms-enterprise/model/InspectProxyAccessSecretRequest.h include/alibabacloud/dms-enterprise/model/InspectProxyAccessSecretResult.h + include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesRequest.h + include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesResult.h include/alibabacloud/dms-enterprise/model/ListColumnsRequest.h include/alibabacloud/dms-enterprise/model/ListColumnsResult.h include/alibabacloud/dms-enterprise/model/ListDAGVersionsRequest.h @@ -187,8 +217,12 @@ set(dms-enterprise_public_header_model 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/ListDefaultSLARulesRequest.h + include/alibabacloud/dms-enterprise/model/ListDefaultSLARulesResult.h include/alibabacloud/dms-enterprise/model/ListDesensitizationRuleRequest.h include/alibabacloud/dms-enterprise/model/ListDesensitizationRuleResult.h + include/alibabacloud/dms-enterprise/model/ListEffectiveOrdersRequest.h + include/alibabacloud/dms-enterprise/model/ListEffectiveOrdersResult.h include/alibabacloud/dms-enterprise/model/ListIndexesRequest.h include/alibabacloud/dms-enterprise/model/ListIndexesResult.h include/alibabacloud/dms-enterprise/model/ListInstanceLoginAuditLogRequest.h @@ -213,22 +247,40 @@ set(dms-enterprise_public_header_model 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/ListSLARulesRequest.h + include/alibabacloud/dms-enterprise/model/ListSLARulesResult.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/ListScenariosRequest.h + include/alibabacloud/dms-enterprise/model/ListScenariosResult.h include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsRequest.h include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsResult.h include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsDetailRequest.h include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsDetailResult.h + include/alibabacloud/dms-enterprise/model/ListSensitiveDataAuditLogRequest.h + include/alibabacloud/dms-enterprise/model/ListSensitiveDataAuditLogResult.h include/alibabacloud/dms-enterprise/model/ListStandardGroupsRequest.h include/alibabacloud/dms-enterprise/model/ListStandardGroupsResult.h include/alibabacloud/dms-enterprise/model/ListTablesRequest.h include/alibabacloud/dms-enterprise/model/ListTablesResult.h include/alibabacloud/dms-enterprise/model/ListTaskFlowRequest.h include/alibabacloud/dms-enterprise/model/ListTaskFlowResult.h + include/alibabacloud/dms-enterprise/model/ListTaskFlowConstantsRequest.h + include/alibabacloud/dms-enterprise/model/ListTaskFlowConstantsResult.h + include/alibabacloud/dms-enterprise/model/ListTaskFlowCooperatorsRequest.h + include/alibabacloud/dms-enterprise/model/ListTaskFlowCooperatorsResult.h + include/alibabacloud/dms-enterprise/model/ListTaskFlowEdgesByConditionRequest.h + include/alibabacloud/dms-enterprise/model/ListTaskFlowEdgesByConditionResult.h include/alibabacloud/dms-enterprise/model/ListTaskFlowInstanceRequest.h include/alibabacloud/dms-enterprise/model/ListTaskFlowInstanceResult.h + include/alibabacloud/dms-enterprise/model/ListTaskFlowTimeVariablesRequest.h + include/alibabacloud/dms-enterprise/model/ListTaskFlowTimeVariablesResult.h + include/alibabacloud/dms-enterprise/model/ListTaskFlowsByPageRequest.h + include/alibabacloud/dms-enterprise/model/ListTaskFlowsByPageResult.h + include/alibabacloud/dms-enterprise/model/ListTasksInTaskFlowRequest.h + include/alibabacloud/dms-enterprise/model/ListTasksInTaskFlowResult.h include/alibabacloud/dms-enterprise/model/ListUserPermissionsRequest.h include/alibabacloud/dms-enterprise/model/ListUserPermissionsResult.h include/alibabacloud/dms-enterprise/model/ListUserTenantsRequest.h @@ -239,22 +291,34 @@ 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/MakeTaskFlowInstanceSuccessRequest.h + include/alibabacloud/dms-enterprise/model/MakeTaskFlowInstanceSuccessResult.h include/alibabacloud/dms-enterprise/model/ModifyDataCorrectExecSQLRequest.h include/alibabacloud/dms-enterprise/model/ModifyDataCorrectExecSQLResult.h include/alibabacloud/dms-enterprise/model/ModifyDesensitizationStrategyRequest.h include/alibabacloud/dms-enterprise/model/ModifyDesensitizationStrategyResult.h + include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioRequest.h + include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioResult.h include/alibabacloud/dms-enterprise/model/OfflineTaskFlowRequest.h include/alibabacloud/dms-enterprise/model/OfflineTaskFlowResult.h include/alibabacloud/dms-enterprise/model/PauseDataCorrectSQLJobRequest.h include/alibabacloud/dms-enterprise/model/PauseDataCorrectSQLJobResult.h + include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowRequest.h + include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowResult.h include/alibabacloud/dms-enterprise/model/ReDeployLhDagVersionRequest.h include/alibabacloud/dms-enterprise/model/ReDeployLhDagVersionResult.h + include/alibabacloud/dms-enterprise/model/ReRunTaskFlowInstanceRequest.h + include/alibabacloud/dms-enterprise/model/ReRunTaskFlowInstanceResult.h + include/alibabacloud/dms-enterprise/model/RefundPayAsYouGoOrderRequest.h + include/alibabacloud/dms-enterprise/model/RefundPayAsYouGoOrderResult.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/ResumeTaskFlowInstanceRequest.h + include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceResult.h include/alibabacloud/dms-enterprise/model/RetryDataCorrectPreCheckRequest.h include/alibabacloud/dms-enterprise/model/RetryDataCorrectPreCheckResult.h include/alibabacloud/dms-enterprise/model/RevokeUserPermissionRequest.h @@ -265,16 +329,52 @@ set(dms-enterprise_public_header_model include/alibabacloud/dms-enterprise/model/SearchTableResult.h include/alibabacloud/dms-enterprise/model/SetOwnersRequest.h include/alibabacloud/dms-enterprise/model/SetOwnersResult.h + include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceRequest.h + include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceResult.h include/alibabacloud/dms-enterprise/model/SubmitOrderApprovalRequest.h include/alibabacloud/dms-enterprise/model/SubmitOrderApprovalResult.h include/alibabacloud/dms-enterprise/model/SubmitStructSyncOrderApprovalRequest.h include/alibabacloud/dms-enterprise/model/SubmitStructSyncOrderApprovalResult.h + include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceRequest.h + include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceResult.h include/alibabacloud/dms-enterprise/model/SyncDatabaseMetaRequest.h include/alibabacloud/dms-enterprise/model/SyncDatabaseMetaResult.h include/alibabacloud/dms-enterprise/model/SyncInstanceMetaRequest.h include/alibabacloud/dms-enterprise/model/SyncInstanceMetaResult.h include/alibabacloud/dms-enterprise/model/UpdateInstanceRequest.h include/alibabacloud/dms-enterprise/model/UpdateInstanceResult.h + include/alibabacloud/dms-enterprise/model/UpdateSLARulesRequest.h + include/alibabacloud/dms-enterprise/model/UpdateSLARulesResult.h + include/alibabacloud/dms-enterprise/model/UpdateScenarioRequest.h + include/alibabacloud/dms-enterprise/model/UpdateScenarioResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskConfigRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskConfigResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskContentRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskContentResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowConstantsRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowConstantsResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowCooperatorsRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowCooperatorsResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowEdgesRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowEdgesResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNameAndDescRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNameAndDescResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNotificationRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNotificationResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowOwnerRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowOwnerResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowRelationsRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowRelationsResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowScheduleRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowScheduleResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowTimeVariablesRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskFlowTimeVariablesResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskNameRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskNameResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskOutputRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskOutputResult.h + include/alibabacloud/dms-enterprise/model/UpdateTaskTimeVariablesRequest.h + include/alibabacloud/dms-enterprise/model/UpdateTaskTimeVariablesResult.h include/alibabacloud/dms-enterprise/model/UpdateUserRequest.h include/alibabacloud/dms-enterprise/model/UpdateUserResult.h ) @@ -286,8 +386,14 @@ set(dms-enterprise_src src/model/AddLhMembersResult.cc src/model/AddLogicTableRouteConfigRequest.cc src/model/AddLogicTableRouteConfigResult.cc + src/model/AddTaskFlowEdgesRequest.cc + src/model/AddTaskFlowEdgesResult.cc src/model/ApproveOrderRequest.cc src/model/ApproveOrderResult.cc + src/model/BackFillRequest.cc + src/model/BackFillResult.cc + src/model/BuyPayAsYouGoOrderRequest.cc + src/model/BuyPayAsYouGoOrderResult.cc src/model/ChangeColumnSecLevelRequest.cc src/model/ChangeColumnSecLevelResult.cc src/model/ChangeLhDagOwnerRequest.cc @@ -316,10 +422,16 @@ set(dms-enterprise_src src/model/CreatePublishGroupTaskResult.cc src/model/CreateSQLReviewOrderRequest.cc src/model/CreateSQLReviewOrderResult.cc + src/model/CreateScenarioRequest.cc + src/model/CreateScenarioResult.cc src/model/CreateStandardGroupRequest.cc src/model/CreateStandardGroupResult.cc src/model/CreateStructSyncOrderRequest.cc src/model/CreateStructSyncOrderResult.cc + src/model/CreateTaskRequest.cc + src/model/CreateTaskResult.cc + src/model/CreateTaskFlowRequest.cc + src/model/CreateTaskFlowResult.cc src/model/CreateUploadFileJobRequest.cc src/model/CreateUploadFileJobResult.cc src/model/CreateUploadOSSFileJobRequest.cc @@ -338,8 +450,14 @@ set(dms-enterprise_src src/model/DeleteProxyResult.cc src/model/DeleteProxyAccessRequest.cc src/model/DeleteProxyAccessResult.cc + src/model/DeleteScenarioRequest.cc + src/model/DeleteScenarioResult.cc + src/model/DeleteTaskRequest.cc + src/model/DeleteTaskResult.cc src/model/DeleteTaskFlowRequest.cc src/model/DeleteTaskFlowResult.cc + src/model/DeleteTaskFlowEdgesByConditionRequest.cc + src/model/DeleteTaskFlowEdgesByConditionResult.cc src/model/DeleteUserRequest.cc src/model/DeleteUserResult.cc src/model/DisableUserRequest.cc @@ -380,6 +498,8 @@ set(dms-enterprise_src src/model/GetDatabaseResult.cc src/model/GetInstanceRequest.cc src/model/GetInstanceResult.cc + src/model/GetIntervalLimitOfSLARequest.cc + src/model/GetIntervalLimitOfSLAResult.cc src/model/GetLhSpaceByNameRequest.cc src/model/GetLhSpaceByNameResult.cc src/model/GetLogicDatabaseRequest.cc @@ -400,6 +520,8 @@ set(dms-enterprise_src src/model/GetPhysicalDatabaseResult.cc src/model/GetProxyRequest.cc src/model/GetProxyResult.cc + src/model/GetRuleNumLimitOfSLARequest.cc + src/model/GetRuleNumLimitOfSLAResult.cc src/model/GetSQLReviewCheckResultStatusRequest.cc src/model/GetSQLReviewCheckResultStatusResult.cc src/model/GetSQLReviewOptimizeDetailRequest.cc @@ -416,6 +538,12 @@ set(dms-enterprise_src src/model/GetTableDBTopologyResult.cc src/model/GetTableTopologyRequest.cc src/model/GetTableTopologyResult.cc + src/model/GetTaskRequest.cc + src/model/GetTaskResult.cc + src/model/GetTaskFlowGraphRequest.cc + src/model/GetTaskFlowGraphResult.cc + src/model/GetTaskFlowNotificationRequest.cc + src/model/GetTaskFlowNotificationResult.cc src/model/GetTaskInstanceRelationRequest.cc src/model/GetTaskInstanceRelationResult.cc src/model/GetUserRequest.cc @@ -428,6 +556,8 @@ set(dms-enterprise_src src/model/GrantUserPermissionResult.cc src/model/InspectProxyAccessSecretRequest.cc src/model/InspectProxyAccessSecretResult.cc + src/model/ListClassificationTemplatesRequest.cc + src/model/ListClassificationTemplatesResult.cc src/model/ListColumnsRequest.cc src/model/ListColumnsResult.cc src/model/ListDAGVersionsRequest.cc @@ -446,8 +576,12 @@ set(dms-enterprise_src src/model/ListDatabaseUserPermssionsResult.cc src/model/ListDatabasesRequest.cc src/model/ListDatabasesResult.cc + src/model/ListDefaultSLARulesRequest.cc + src/model/ListDefaultSLARulesResult.cc src/model/ListDesensitizationRuleRequest.cc src/model/ListDesensitizationRuleResult.cc + src/model/ListEffectiveOrdersRequest.cc + src/model/ListEffectiveOrdersResult.cc src/model/ListIndexesRequest.cc src/model/ListIndexesResult.cc src/model/ListInstanceLoginAuditLogRequest.cc @@ -472,22 +606,40 @@ set(dms-enterprise_src src/model/ListProxyAccessesResult.cc src/model/ListProxySQLExecAuditLogRequest.cc src/model/ListProxySQLExecAuditLogResult.cc + src/model/ListSLARulesRequest.cc + src/model/ListSLARulesResult.cc src/model/ListSQLExecAuditLogRequest.cc src/model/ListSQLExecAuditLogResult.cc src/model/ListSQLReviewOriginSQLRequest.cc src/model/ListSQLReviewOriginSQLResult.cc + src/model/ListScenariosRequest.cc + src/model/ListScenariosResult.cc src/model/ListSensitiveColumnsRequest.cc src/model/ListSensitiveColumnsResult.cc src/model/ListSensitiveColumnsDetailRequest.cc src/model/ListSensitiveColumnsDetailResult.cc + src/model/ListSensitiveDataAuditLogRequest.cc + src/model/ListSensitiveDataAuditLogResult.cc src/model/ListStandardGroupsRequest.cc src/model/ListStandardGroupsResult.cc src/model/ListTablesRequest.cc src/model/ListTablesResult.cc src/model/ListTaskFlowRequest.cc src/model/ListTaskFlowResult.cc + src/model/ListTaskFlowConstantsRequest.cc + src/model/ListTaskFlowConstantsResult.cc + src/model/ListTaskFlowCooperatorsRequest.cc + src/model/ListTaskFlowCooperatorsResult.cc + src/model/ListTaskFlowEdgesByConditionRequest.cc + src/model/ListTaskFlowEdgesByConditionResult.cc src/model/ListTaskFlowInstanceRequest.cc src/model/ListTaskFlowInstanceResult.cc + src/model/ListTaskFlowTimeVariablesRequest.cc + src/model/ListTaskFlowTimeVariablesResult.cc + src/model/ListTaskFlowsByPageRequest.cc + src/model/ListTaskFlowsByPageResult.cc + src/model/ListTasksInTaskFlowRequest.cc + src/model/ListTasksInTaskFlowResult.cc src/model/ListUserPermissionsRequest.cc src/model/ListUserPermissionsResult.cc src/model/ListUserTenantsRequest.cc @@ -498,22 +650,34 @@ set(dms-enterprise_src src/model/ListWorkFlowNodesResult.cc src/model/ListWorkFlowTemplatesRequest.cc src/model/ListWorkFlowTemplatesResult.cc + src/model/MakeTaskFlowInstanceSuccessRequest.cc + src/model/MakeTaskFlowInstanceSuccessResult.cc src/model/ModifyDataCorrectExecSQLRequest.cc src/model/ModifyDataCorrectExecSQLResult.cc src/model/ModifyDesensitizationStrategyRequest.cc src/model/ModifyDesensitizationStrategyResult.cc + src/model/MoveTaskFlowToScenarioRequest.cc + src/model/MoveTaskFlowToScenarioResult.cc src/model/OfflineTaskFlowRequest.cc src/model/OfflineTaskFlowResult.cc src/model/PauseDataCorrectSQLJobRequest.cc src/model/PauseDataCorrectSQLJobResult.cc + src/model/PublishAndDeployTaskFlowRequest.cc + src/model/PublishAndDeployTaskFlowResult.cc src/model/ReDeployLhDagVersionRequest.cc src/model/ReDeployLhDagVersionResult.cc + src/model/ReRunTaskFlowInstanceRequest.cc + src/model/ReRunTaskFlowInstanceResult.cc + src/model/RefundPayAsYouGoOrderRequest.cc + src/model/RefundPayAsYouGoOrderResult.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/ResumeTaskFlowInstanceRequest.cc + src/model/ResumeTaskFlowInstanceResult.cc src/model/RetryDataCorrectPreCheckRequest.cc src/model/RetryDataCorrectPreCheckResult.cc src/model/RevokeUserPermissionRequest.cc @@ -524,16 +688,52 @@ set(dms-enterprise_src src/model/SearchTableResult.cc src/model/SetOwnersRequest.cc src/model/SetOwnersResult.cc + src/model/StopTaskFlowInstanceRequest.cc + src/model/StopTaskFlowInstanceResult.cc src/model/SubmitOrderApprovalRequest.cc src/model/SubmitOrderApprovalResult.cc src/model/SubmitStructSyncOrderApprovalRequest.cc src/model/SubmitStructSyncOrderApprovalResult.cc + src/model/SuspendTaskFlowInstanceRequest.cc + src/model/SuspendTaskFlowInstanceResult.cc src/model/SyncDatabaseMetaRequest.cc src/model/SyncDatabaseMetaResult.cc src/model/SyncInstanceMetaRequest.cc src/model/SyncInstanceMetaResult.cc src/model/UpdateInstanceRequest.cc src/model/UpdateInstanceResult.cc + src/model/UpdateSLARulesRequest.cc + src/model/UpdateSLARulesResult.cc + src/model/UpdateScenarioRequest.cc + src/model/UpdateScenarioResult.cc + src/model/UpdateTaskConfigRequest.cc + src/model/UpdateTaskConfigResult.cc + src/model/UpdateTaskContentRequest.cc + src/model/UpdateTaskContentResult.cc + src/model/UpdateTaskFlowConstantsRequest.cc + src/model/UpdateTaskFlowConstantsResult.cc + src/model/UpdateTaskFlowCooperatorsRequest.cc + src/model/UpdateTaskFlowCooperatorsResult.cc + src/model/UpdateTaskFlowEdgesRequest.cc + src/model/UpdateTaskFlowEdgesResult.cc + src/model/UpdateTaskFlowNameAndDescRequest.cc + src/model/UpdateTaskFlowNameAndDescResult.cc + src/model/UpdateTaskFlowNotificationRequest.cc + src/model/UpdateTaskFlowNotificationResult.cc + src/model/UpdateTaskFlowOwnerRequest.cc + src/model/UpdateTaskFlowOwnerResult.cc + src/model/UpdateTaskFlowRelationsRequest.cc + src/model/UpdateTaskFlowRelationsResult.cc + src/model/UpdateTaskFlowScheduleRequest.cc + src/model/UpdateTaskFlowScheduleResult.cc + src/model/UpdateTaskFlowTimeVariablesRequest.cc + src/model/UpdateTaskFlowTimeVariablesResult.cc + src/model/UpdateTaskNameRequest.cc + src/model/UpdateTaskNameResult.cc + src/model/UpdateTaskOutputRequest.cc + src/model/UpdateTaskOutputResult.cc + src/model/UpdateTaskTimeVariablesRequest.cc + src/model/UpdateTaskTimeVariablesResult.cc src/model/UpdateUserRequest.cc src/model/UpdateUserResult.cc ) diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/Dms_enterpriseClient.h b/dms-enterprise/include/alibabacloud/dms-enterprise/Dms_enterpriseClient.h index 13f413986..48a59cb4a 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/Dms_enterpriseClient.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/Dms_enterpriseClient.h @@ -28,8 +28,14 @@ #include "model/AddLhMembersResult.h" #include "model/AddLogicTableRouteConfigRequest.h" #include "model/AddLogicTableRouteConfigResult.h" +#include "model/AddTaskFlowEdgesRequest.h" +#include "model/AddTaskFlowEdgesResult.h" #include "model/ApproveOrderRequest.h" #include "model/ApproveOrderResult.h" +#include "model/BackFillRequest.h" +#include "model/BackFillResult.h" +#include "model/BuyPayAsYouGoOrderRequest.h" +#include "model/BuyPayAsYouGoOrderResult.h" #include "model/ChangeColumnSecLevelRequest.h" #include "model/ChangeColumnSecLevelResult.h" #include "model/ChangeLhDagOwnerRequest.h" @@ -58,10 +64,16 @@ #include "model/CreatePublishGroupTaskResult.h" #include "model/CreateSQLReviewOrderRequest.h" #include "model/CreateSQLReviewOrderResult.h" +#include "model/CreateScenarioRequest.h" +#include "model/CreateScenarioResult.h" #include "model/CreateStandardGroupRequest.h" #include "model/CreateStandardGroupResult.h" #include "model/CreateStructSyncOrderRequest.h" #include "model/CreateStructSyncOrderResult.h" +#include "model/CreateTaskRequest.h" +#include "model/CreateTaskResult.h" +#include "model/CreateTaskFlowRequest.h" +#include "model/CreateTaskFlowResult.h" #include "model/CreateUploadFileJobRequest.h" #include "model/CreateUploadFileJobResult.h" #include "model/CreateUploadOSSFileJobRequest.h" @@ -80,8 +92,14 @@ #include "model/DeleteProxyResult.h" #include "model/DeleteProxyAccessRequest.h" #include "model/DeleteProxyAccessResult.h" +#include "model/DeleteScenarioRequest.h" +#include "model/DeleteScenarioResult.h" +#include "model/DeleteTaskRequest.h" +#include "model/DeleteTaskResult.h" #include "model/DeleteTaskFlowRequest.h" #include "model/DeleteTaskFlowResult.h" +#include "model/DeleteTaskFlowEdgesByConditionRequest.h" +#include "model/DeleteTaskFlowEdgesByConditionResult.h" #include "model/DeleteUserRequest.h" #include "model/DeleteUserResult.h" #include "model/DisableUserRequest.h" @@ -122,6 +140,8 @@ #include "model/GetDatabaseResult.h" #include "model/GetInstanceRequest.h" #include "model/GetInstanceResult.h" +#include "model/GetIntervalLimitOfSLARequest.h" +#include "model/GetIntervalLimitOfSLAResult.h" #include "model/GetLhSpaceByNameRequest.h" #include "model/GetLhSpaceByNameResult.h" #include "model/GetLogicDatabaseRequest.h" @@ -142,6 +162,8 @@ #include "model/GetPhysicalDatabaseResult.h" #include "model/GetProxyRequest.h" #include "model/GetProxyResult.h" +#include "model/GetRuleNumLimitOfSLARequest.h" +#include "model/GetRuleNumLimitOfSLAResult.h" #include "model/GetSQLReviewCheckResultStatusRequest.h" #include "model/GetSQLReviewCheckResultStatusResult.h" #include "model/GetSQLReviewOptimizeDetailRequest.h" @@ -158,6 +180,12 @@ #include "model/GetTableDBTopologyResult.h" #include "model/GetTableTopologyRequest.h" #include "model/GetTableTopologyResult.h" +#include "model/GetTaskRequest.h" +#include "model/GetTaskResult.h" +#include "model/GetTaskFlowGraphRequest.h" +#include "model/GetTaskFlowGraphResult.h" +#include "model/GetTaskFlowNotificationRequest.h" +#include "model/GetTaskFlowNotificationResult.h" #include "model/GetTaskInstanceRelationRequest.h" #include "model/GetTaskInstanceRelationResult.h" #include "model/GetUserRequest.h" @@ -170,6 +198,8 @@ #include "model/GrantUserPermissionResult.h" #include "model/InspectProxyAccessSecretRequest.h" #include "model/InspectProxyAccessSecretResult.h" +#include "model/ListClassificationTemplatesRequest.h" +#include "model/ListClassificationTemplatesResult.h" #include "model/ListColumnsRequest.h" #include "model/ListColumnsResult.h" #include "model/ListDAGVersionsRequest.h" @@ -188,8 +218,12 @@ #include "model/ListDatabaseUserPermssionsResult.h" #include "model/ListDatabasesRequest.h" #include "model/ListDatabasesResult.h" +#include "model/ListDefaultSLARulesRequest.h" +#include "model/ListDefaultSLARulesResult.h" #include "model/ListDesensitizationRuleRequest.h" #include "model/ListDesensitizationRuleResult.h" +#include "model/ListEffectiveOrdersRequest.h" +#include "model/ListEffectiveOrdersResult.h" #include "model/ListIndexesRequest.h" #include "model/ListIndexesResult.h" #include "model/ListInstanceLoginAuditLogRequest.h" @@ -214,22 +248,40 @@ #include "model/ListProxyAccessesResult.h" #include "model/ListProxySQLExecAuditLogRequest.h" #include "model/ListProxySQLExecAuditLogResult.h" +#include "model/ListSLARulesRequest.h" +#include "model/ListSLARulesResult.h" #include "model/ListSQLExecAuditLogRequest.h" #include "model/ListSQLExecAuditLogResult.h" #include "model/ListSQLReviewOriginSQLRequest.h" #include "model/ListSQLReviewOriginSQLResult.h" +#include "model/ListScenariosRequest.h" +#include "model/ListScenariosResult.h" #include "model/ListSensitiveColumnsRequest.h" #include "model/ListSensitiveColumnsResult.h" #include "model/ListSensitiveColumnsDetailRequest.h" #include "model/ListSensitiveColumnsDetailResult.h" +#include "model/ListSensitiveDataAuditLogRequest.h" +#include "model/ListSensitiveDataAuditLogResult.h" #include "model/ListStandardGroupsRequest.h" #include "model/ListStandardGroupsResult.h" #include "model/ListTablesRequest.h" #include "model/ListTablesResult.h" #include "model/ListTaskFlowRequest.h" #include "model/ListTaskFlowResult.h" +#include "model/ListTaskFlowConstantsRequest.h" +#include "model/ListTaskFlowConstantsResult.h" +#include "model/ListTaskFlowCooperatorsRequest.h" +#include "model/ListTaskFlowCooperatorsResult.h" +#include "model/ListTaskFlowEdgesByConditionRequest.h" +#include "model/ListTaskFlowEdgesByConditionResult.h" #include "model/ListTaskFlowInstanceRequest.h" #include "model/ListTaskFlowInstanceResult.h" +#include "model/ListTaskFlowTimeVariablesRequest.h" +#include "model/ListTaskFlowTimeVariablesResult.h" +#include "model/ListTaskFlowsByPageRequest.h" +#include "model/ListTaskFlowsByPageResult.h" +#include "model/ListTasksInTaskFlowRequest.h" +#include "model/ListTasksInTaskFlowResult.h" #include "model/ListUserPermissionsRequest.h" #include "model/ListUserPermissionsResult.h" #include "model/ListUserTenantsRequest.h" @@ -240,22 +292,34 @@ #include "model/ListWorkFlowNodesResult.h" #include "model/ListWorkFlowTemplatesRequest.h" #include "model/ListWorkFlowTemplatesResult.h" +#include "model/MakeTaskFlowInstanceSuccessRequest.h" +#include "model/MakeTaskFlowInstanceSuccessResult.h" #include "model/ModifyDataCorrectExecSQLRequest.h" #include "model/ModifyDataCorrectExecSQLResult.h" #include "model/ModifyDesensitizationStrategyRequest.h" #include "model/ModifyDesensitizationStrategyResult.h" +#include "model/MoveTaskFlowToScenarioRequest.h" +#include "model/MoveTaskFlowToScenarioResult.h" #include "model/OfflineTaskFlowRequest.h" #include "model/OfflineTaskFlowResult.h" #include "model/PauseDataCorrectSQLJobRequest.h" #include "model/PauseDataCorrectSQLJobResult.h" +#include "model/PublishAndDeployTaskFlowRequest.h" +#include "model/PublishAndDeployTaskFlowResult.h" #include "model/ReDeployLhDagVersionRequest.h" #include "model/ReDeployLhDagVersionResult.h" +#include "model/ReRunTaskFlowInstanceRequest.h" +#include "model/ReRunTaskFlowInstanceResult.h" +#include "model/RefundPayAsYouGoOrderRequest.h" +#include "model/RefundPayAsYouGoOrderResult.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/ResumeTaskFlowInstanceRequest.h" +#include "model/ResumeTaskFlowInstanceResult.h" #include "model/RetryDataCorrectPreCheckRequest.h" #include "model/RetryDataCorrectPreCheckResult.h" #include "model/RevokeUserPermissionRequest.h" @@ -266,16 +330,52 @@ #include "model/SearchTableResult.h" #include "model/SetOwnersRequest.h" #include "model/SetOwnersResult.h" +#include "model/StopTaskFlowInstanceRequest.h" +#include "model/StopTaskFlowInstanceResult.h" #include "model/SubmitOrderApprovalRequest.h" #include "model/SubmitOrderApprovalResult.h" #include "model/SubmitStructSyncOrderApprovalRequest.h" #include "model/SubmitStructSyncOrderApprovalResult.h" +#include "model/SuspendTaskFlowInstanceRequest.h" +#include "model/SuspendTaskFlowInstanceResult.h" #include "model/SyncDatabaseMetaRequest.h" #include "model/SyncDatabaseMetaResult.h" #include "model/SyncInstanceMetaRequest.h" #include "model/SyncInstanceMetaResult.h" #include "model/UpdateInstanceRequest.h" #include "model/UpdateInstanceResult.h" +#include "model/UpdateSLARulesRequest.h" +#include "model/UpdateSLARulesResult.h" +#include "model/UpdateScenarioRequest.h" +#include "model/UpdateScenarioResult.h" +#include "model/UpdateTaskConfigRequest.h" +#include "model/UpdateTaskConfigResult.h" +#include "model/UpdateTaskContentRequest.h" +#include "model/UpdateTaskContentResult.h" +#include "model/UpdateTaskFlowConstantsRequest.h" +#include "model/UpdateTaskFlowConstantsResult.h" +#include "model/UpdateTaskFlowCooperatorsRequest.h" +#include "model/UpdateTaskFlowCooperatorsResult.h" +#include "model/UpdateTaskFlowEdgesRequest.h" +#include "model/UpdateTaskFlowEdgesResult.h" +#include "model/UpdateTaskFlowNameAndDescRequest.h" +#include "model/UpdateTaskFlowNameAndDescResult.h" +#include "model/UpdateTaskFlowNotificationRequest.h" +#include "model/UpdateTaskFlowNotificationResult.h" +#include "model/UpdateTaskFlowOwnerRequest.h" +#include "model/UpdateTaskFlowOwnerResult.h" +#include "model/UpdateTaskFlowRelationsRequest.h" +#include "model/UpdateTaskFlowRelationsResult.h" +#include "model/UpdateTaskFlowScheduleRequest.h" +#include "model/UpdateTaskFlowScheduleResult.h" +#include "model/UpdateTaskFlowTimeVariablesRequest.h" +#include "model/UpdateTaskFlowTimeVariablesResult.h" +#include "model/UpdateTaskNameRequest.h" +#include "model/UpdateTaskNameResult.h" +#include "model/UpdateTaskOutputRequest.h" +#include "model/UpdateTaskOutputResult.h" +#include "model/UpdateTaskTimeVariablesRequest.h" +#include "model/UpdateTaskTimeVariablesResult.h" #include "model/UpdateUserRequest.h" #include "model/UpdateUserResult.h" @@ -296,9 +396,18 @@ namespace AlibabaCloud typedef Outcome AddLogicTableRouteConfigOutcome; typedef std::future AddLogicTableRouteConfigOutcomeCallable; typedef std::function&)> AddLogicTableRouteConfigAsyncHandler; + typedef Outcome AddTaskFlowEdgesOutcome; + typedef std::future AddTaskFlowEdgesOutcomeCallable; + typedef std::function&)> AddTaskFlowEdgesAsyncHandler; typedef Outcome ApproveOrderOutcome; typedef std::future ApproveOrderOutcomeCallable; typedef std::function&)> ApproveOrderAsyncHandler; + typedef Outcome BackFillOutcome; + typedef std::future BackFillOutcomeCallable; + typedef std::function&)> BackFillAsyncHandler; + typedef Outcome BuyPayAsYouGoOrderOutcome; + typedef std::future BuyPayAsYouGoOrderOutcomeCallable; + typedef std::function&)> BuyPayAsYouGoOrderAsyncHandler; typedef Outcome ChangeColumnSecLevelOutcome; typedef std::future ChangeColumnSecLevelOutcomeCallable; typedef std::function&)> ChangeColumnSecLevelAsyncHandler; @@ -341,12 +450,21 @@ namespace AlibabaCloud typedef Outcome CreateSQLReviewOrderOutcome; typedef std::future CreateSQLReviewOrderOutcomeCallable; typedef std::function&)> CreateSQLReviewOrderAsyncHandler; + typedef Outcome CreateScenarioOutcome; + typedef std::future CreateScenarioOutcomeCallable; + typedef std::function&)> CreateScenarioAsyncHandler; typedef Outcome CreateStandardGroupOutcome; typedef std::future CreateStandardGroupOutcomeCallable; typedef std::function&)> CreateStandardGroupAsyncHandler; typedef Outcome CreateStructSyncOrderOutcome; typedef std::future CreateStructSyncOrderOutcomeCallable; typedef std::function&)> CreateStructSyncOrderAsyncHandler; + typedef Outcome CreateTaskOutcome; + typedef std::future CreateTaskOutcomeCallable; + typedef std::function&)> CreateTaskAsyncHandler; + typedef Outcome CreateTaskFlowOutcome; + typedef std::future CreateTaskFlowOutcomeCallable; + typedef std::function&)> CreateTaskFlowAsyncHandler; typedef Outcome CreateUploadFileJobOutcome; typedef std::future CreateUploadFileJobOutcomeCallable; typedef std::function&)> CreateUploadFileJobAsyncHandler; @@ -374,9 +492,18 @@ namespace AlibabaCloud typedef Outcome DeleteProxyAccessOutcome; typedef std::future DeleteProxyAccessOutcomeCallable; typedef std::function&)> DeleteProxyAccessAsyncHandler; + typedef Outcome DeleteScenarioOutcome; + typedef std::future DeleteScenarioOutcomeCallable; + typedef std::function&)> DeleteScenarioAsyncHandler; + typedef Outcome DeleteTaskOutcome; + typedef std::future DeleteTaskOutcomeCallable; + typedef std::function&)> DeleteTaskAsyncHandler; typedef Outcome DeleteTaskFlowOutcome; typedef std::future DeleteTaskFlowOutcomeCallable; typedef std::function&)> DeleteTaskFlowAsyncHandler; + typedef Outcome DeleteTaskFlowEdgesByConditionOutcome; + typedef std::future DeleteTaskFlowEdgesByConditionOutcomeCallable; + typedef std::function&)> DeleteTaskFlowEdgesByConditionAsyncHandler; typedef Outcome DeleteUserOutcome; typedef std::future DeleteUserOutcomeCallable; typedef std::function&)> DeleteUserAsyncHandler; @@ -437,6 +564,9 @@ namespace AlibabaCloud typedef Outcome GetInstanceOutcome; typedef std::future GetInstanceOutcomeCallable; typedef std::function&)> GetInstanceAsyncHandler; + typedef Outcome GetIntervalLimitOfSLAOutcome; + typedef std::future GetIntervalLimitOfSLAOutcomeCallable; + typedef std::function&)> GetIntervalLimitOfSLAAsyncHandler; typedef Outcome GetLhSpaceByNameOutcome; typedef std::future GetLhSpaceByNameOutcomeCallable; typedef std::function&)> GetLhSpaceByNameAsyncHandler; @@ -467,6 +597,9 @@ namespace AlibabaCloud typedef Outcome GetProxyOutcome; typedef std::future GetProxyOutcomeCallable; typedef std::function&)> GetProxyAsyncHandler; + typedef Outcome GetRuleNumLimitOfSLAOutcome; + typedef std::future GetRuleNumLimitOfSLAOutcomeCallable; + typedef std::function&)> GetRuleNumLimitOfSLAAsyncHandler; typedef Outcome GetSQLReviewCheckResultStatusOutcome; typedef std::future GetSQLReviewCheckResultStatusOutcomeCallable; typedef std::function&)> GetSQLReviewCheckResultStatusAsyncHandler; @@ -491,6 +624,15 @@ namespace AlibabaCloud typedef Outcome GetTableTopologyOutcome; typedef std::future GetTableTopologyOutcomeCallable; typedef std::function&)> GetTableTopologyAsyncHandler; + typedef Outcome GetTaskOutcome; + typedef std::future GetTaskOutcomeCallable; + typedef std::function&)> GetTaskAsyncHandler; + typedef Outcome GetTaskFlowGraphOutcome; + typedef std::future GetTaskFlowGraphOutcomeCallable; + typedef std::function&)> GetTaskFlowGraphAsyncHandler; + typedef Outcome GetTaskFlowNotificationOutcome; + typedef std::future GetTaskFlowNotificationOutcomeCallable; + typedef std::function&)> GetTaskFlowNotificationAsyncHandler; typedef Outcome GetTaskInstanceRelationOutcome; typedef std::future GetTaskInstanceRelationOutcomeCallable; typedef std::function&)> GetTaskInstanceRelationAsyncHandler; @@ -509,6 +651,9 @@ namespace AlibabaCloud typedef Outcome InspectProxyAccessSecretOutcome; typedef std::future InspectProxyAccessSecretOutcomeCallable; typedef std::function&)> InspectProxyAccessSecretAsyncHandler; + typedef Outcome ListClassificationTemplatesOutcome; + typedef std::future ListClassificationTemplatesOutcomeCallable; + typedef std::function&)> ListClassificationTemplatesAsyncHandler; typedef Outcome ListColumnsOutcome; typedef std::future ListColumnsOutcomeCallable; typedef std::function&)> ListColumnsAsyncHandler; @@ -536,9 +681,15 @@ namespace AlibabaCloud typedef Outcome ListDatabasesOutcome; typedef std::future ListDatabasesOutcomeCallable; typedef std::function&)> ListDatabasesAsyncHandler; + typedef Outcome ListDefaultSLARulesOutcome; + typedef std::future ListDefaultSLARulesOutcomeCallable; + typedef std::function&)> ListDefaultSLARulesAsyncHandler; typedef Outcome ListDesensitizationRuleOutcome; typedef std::future ListDesensitizationRuleOutcomeCallable; typedef std::function&)> ListDesensitizationRuleAsyncHandler; + typedef Outcome ListEffectiveOrdersOutcome; + typedef std::future ListEffectiveOrdersOutcomeCallable; + typedef std::function&)> ListEffectiveOrdersAsyncHandler; typedef Outcome ListIndexesOutcome; typedef std::future ListIndexesOutcomeCallable; typedef std::function&)> ListIndexesAsyncHandler; @@ -575,18 +726,27 @@ namespace AlibabaCloud typedef Outcome ListProxySQLExecAuditLogOutcome; typedef std::future ListProxySQLExecAuditLogOutcomeCallable; typedef std::function&)> ListProxySQLExecAuditLogAsyncHandler; + typedef Outcome ListSLARulesOutcome; + typedef std::future ListSLARulesOutcomeCallable; + typedef std::function&)> ListSLARulesAsyncHandler; typedef Outcome ListSQLExecAuditLogOutcome; typedef std::future ListSQLExecAuditLogOutcomeCallable; typedef std::function&)> ListSQLExecAuditLogAsyncHandler; typedef Outcome ListSQLReviewOriginSQLOutcome; typedef std::future ListSQLReviewOriginSQLOutcomeCallable; typedef std::function&)> ListSQLReviewOriginSQLAsyncHandler; + typedef Outcome ListScenariosOutcome; + typedef std::future ListScenariosOutcomeCallable; + typedef std::function&)> ListScenariosAsyncHandler; typedef Outcome ListSensitiveColumnsOutcome; typedef std::future ListSensitiveColumnsOutcomeCallable; typedef std::function&)> ListSensitiveColumnsAsyncHandler; typedef Outcome ListSensitiveColumnsDetailOutcome; typedef std::future ListSensitiveColumnsDetailOutcomeCallable; typedef std::function&)> ListSensitiveColumnsDetailAsyncHandler; + typedef Outcome ListSensitiveDataAuditLogOutcome; + typedef std::future ListSensitiveDataAuditLogOutcomeCallable; + typedef std::function&)> ListSensitiveDataAuditLogAsyncHandler; typedef Outcome ListStandardGroupsOutcome; typedef std::future ListStandardGroupsOutcomeCallable; typedef std::function&)> ListStandardGroupsAsyncHandler; @@ -596,9 +756,27 @@ namespace AlibabaCloud typedef Outcome ListTaskFlowOutcome; typedef std::future ListTaskFlowOutcomeCallable; typedef std::function&)> ListTaskFlowAsyncHandler; + typedef Outcome ListTaskFlowConstantsOutcome; + typedef std::future ListTaskFlowConstantsOutcomeCallable; + typedef std::function&)> ListTaskFlowConstantsAsyncHandler; + typedef Outcome ListTaskFlowCooperatorsOutcome; + typedef std::future ListTaskFlowCooperatorsOutcomeCallable; + typedef std::function&)> ListTaskFlowCooperatorsAsyncHandler; + typedef Outcome ListTaskFlowEdgesByConditionOutcome; + typedef std::future ListTaskFlowEdgesByConditionOutcomeCallable; + typedef std::function&)> ListTaskFlowEdgesByConditionAsyncHandler; typedef Outcome ListTaskFlowInstanceOutcome; typedef std::future ListTaskFlowInstanceOutcomeCallable; typedef std::function&)> ListTaskFlowInstanceAsyncHandler; + typedef Outcome ListTaskFlowTimeVariablesOutcome; + typedef std::future ListTaskFlowTimeVariablesOutcomeCallable; + typedef std::function&)> ListTaskFlowTimeVariablesAsyncHandler; + typedef Outcome ListTaskFlowsByPageOutcome; + typedef std::future ListTaskFlowsByPageOutcomeCallable; + typedef std::function&)> ListTaskFlowsByPageAsyncHandler; + typedef Outcome ListTasksInTaskFlowOutcome; + typedef std::future ListTasksInTaskFlowOutcomeCallable; + typedef std::function&)> ListTasksInTaskFlowAsyncHandler; typedef Outcome ListUserPermissionsOutcome; typedef std::future ListUserPermissionsOutcomeCallable; typedef std::function&)> ListUserPermissionsAsyncHandler; @@ -614,21 +792,36 @@ namespace AlibabaCloud typedef Outcome ListWorkFlowTemplatesOutcome; typedef std::future ListWorkFlowTemplatesOutcomeCallable; typedef std::function&)> ListWorkFlowTemplatesAsyncHandler; + typedef Outcome MakeTaskFlowInstanceSuccessOutcome; + typedef std::future MakeTaskFlowInstanceSuccessOutcomeCallable; + typedef std::function&)> MakeTaskFlowInstanceSuccessAsyncHandler; typedef Outcome ModifyDataCorrectExecSQLOutcome; typedef std::future ModifyDataCorrectExecSQLOutcomeCallable; typedef std::function&)> ModifyDataCorrectExecSQLAsyncHandler; typedef Outcome ModifyDesensitizationStrategyOutcome; typedef std::future ModifyDesensitizationStrategyOutcomeCallable; typedef std::function&)> ModifyDesensitizationStrategyAsyncHandler; + typedef Outcome MoveTaskFlowToScenarioOutcome; + typedef std::future MoveTaskFlowToScenarioOutcomeCallable; + typedef std::function&)> MoveTaskFlowToScenarioAsyncHandler; typedef Outcome OfflineTaskFlowOutcome; typedef std::future OfflineTaskFlowOutcomeCallable; typedef std::function&)> OfflineTaskFlowAsyncHandler; typedef Outcome PauseDataCorrectSQLJobOutcome; typedef std::future PauseDataCorrectSQLJobOutcomeCallable; typedef std::function&)> PauseDataCorrectSQLJobAsyncHandler; + typedef Outcome PublishAndDeployTaskFlowOutcome; + typedef std::future PublishAndDeployTaskFlowOutcomeCallable; + typedef std::function&)> PublishAndDeployTaskFlowAsyncHandler; typedef Outcome ReDeployLhDagVersionOutcome; typedef std::future ReDeployLhDagVersionOutcomeCallable; typedef std::function&)> ReDeployLhDagVersionAsyncHandler; + typedef Outcome ReRunTaskFlowInstanceOutcome; + typedef std::future ReRunTaskFlowInstanceOutcomeCallable; + typedef std::function&)> ReRunTaskFlowInstanceAsyncHandler; + typedef Outcome RefundPayAsYouGoOrderOutcome; + typedef std::future RefundPayAsYouGoOrderOutcomeCallable; + typedef std::function&)> RefundPayAsYouGoOrderAsyncHandler; typedef Outcome RegisterInstanceOutcome; typedef std::future RegisterInstanceOutcomeCallable; typedef std::function&)> RegisterInstanceAsyncHandler; @@ -638,6 +831,9 @@ namespace AlibabaCloud typedef Outcome RestartDataCorrectSQLJobOutcome; typedef std::future RestartDataCorrectSQLJobOutcomeCallable; typedef std::function&)> RestartDataCorrectSQLJobAsyncHandler; + typedef Outcome ResumeTaskFlowInstanceOutcome; + typedef std::future ResumeTaskFlowInstanceOutcomeCallable; + typedef std::function&)> ResumeTaskFlowInstanceAsyncHandler; typedef Outcome RetryDataCorrectPreCheckOutcome; typedef std::future RetryDataCorrectPreCheckOutcomeCallable; typedef std::function&)> RetryDataCorrectPreCheckAsyncHandler; @@ -653,12 +849,18 @@ namespace AlibabaCloud typedef Outcome SetOwnersOutcome; typedef std::future SetOwnersOutcomeCallable; typedef std::function&)> SetOwnersAsyncHandler; + typedef Outcome StopTaskFlowInstanceOutcome; + typedef std::future StopTaskFlowInstanceOutcomeCallable; + typedef std::function&)> StopTaskFlowInstanceAsyncHandler; typedef Outcome SubmitOrderApprovalOutcome; typedef std::future SubmitOrderApprovalOutcomeCallable; typedef std::function&)> SubmitOrderApprovalAsyncHandler; typedef Outcome SubmitStructSyncOrderApprovalOutcome; typedef std::future SubmitStructSyncOrderApprovalOutcomeCallable; typedef std::function&)> SubmitStructSyncOrderApprovalAsyncHandler; + typedef Outcome SuspendTaskFlowInstanceOutcome; + typedef std::future SuspendTaskFlowInstanceOutcomeCallable; + typedef std::function&)> SuspendTaskFlowInstanceAsyncHandler; typedef Outcome SyncDatabaseMetaOutcome; typedef std::future SyncDatabaseMetaOutcomeCallable; typedef std::function&)> SyncDatabaseMetaAsyncHandler; @@ -668,6 +870,54 @@ namespace AlibabaCloud typedef Outcome UpdateInstanceOutcome; typedef std::future UpdateInstanceOutcomeCallable; typedef std::function&)> UpdateInstanceAsyncHandler; + typedef Outcome UpdateSLARulesOutcome; + typedef std::future UpdateSLARulesOutcomeCallable; + typedef std::function&)> UpdateSLARulesAsyncHandler; + typedef Outcome UpdateScenarioOutcome; + typedef std::future UpdateScenarioOutcomeCallable; + typedef std::function&)> UpdateScenarioAsyncHandler; + typedef Outcome UpdateTaskConfigOutcome; + typedef std::future UpdateTaskConfigOutcomeCallable; + typedef std::function&)> UpdateTaskConfigAsyncHandler; + typedef Outcome UpdateTaskContentOutcome; + typedef std::future UpdateTaskContentOutcomeCallable; + typedef std::function&)> UpdateTaskContentAsyncHandler; + typedef Outcome UpdateTaskFlowConstantsOutcome; + typedef std::future UpdateTaskFlowConstantsOutcomeCallable; + typedef std::function&)> UpdateTaskFlowConstantsAsyncHandler; + typedef Outcome UpdateTaskFlowCooperatorsOutcome; + typedef std::future UpdateTaskFlowCooperatorsOutcomeCallable; + typedef std::function&)> UpdateTaskFlowCooperatorsAsyncHandler; + typedef Outcome UpdateTaskFlowEdgesOutcome; + typedef std::future UpdateTaskFlowEdgesOutcomeCallable; + typedef std::function&)> UpdateTaskFlowEdgesAsyncHandler; + typedef Outcome UpdateTaskFlowNameAndDescOutcome; + typedef std::future UpdateTaskFlowNameAndDescOutcomeCallable; + typedef std::function&)> UpdateTaskFlowNameAndDescAsyncHandler; + typedef Outcome UpdateTaskFlowNotificationOutcome; + typedef std::future UpdateTaskFlowNotificationOutcomeCallable; + typedef std::function&)> UpdateTaskFlowNotificationAsyncHandler; + typedef Outcome UpdateTaskFlowOwnerOutcome; + typedef std::future UpdateTaskFlowOwnerOutcomeCallable; + typedef std::function&)> UpdateTaskFlowOwnerAsyncHandler; + typedef Outcome UpdateTaskFlowRelationsOutcome; + typedef std::future UpdateTaskFlowRelationsOutcomeCallable; + typedef std::function&)> UpdateTaskFlowRelationsAsyncHandler; + typedef Outcome UpdateTaskFlowScheduleOutcome; + typedef std::future UpdateTaskFlowScheduleOutcomeCallable; + typedef std::function&)> UpdateTaskFlowScheduleAsyncHandler; + typedef Outcome UpdateTaskFlowTimeVariablesOutcome; + typedef std::future UpdateTaskFlowTimeVariablesOutcomeCallable; + typedef std::function&)> UpdateTaskFlowTimeVariablesAsyncHandler; + typedef Outcome UpdateTaskNameOutcome; + typedef std::future UpdateTaskNameOutcomeCallable; + typedef std::function&)> UpdateTaskNameAsyncHandler; + typedef Outcome UpdateTaskOutputOutcome; + typedef std::future UpdateTaskOutputOutcomeCallable; + typedef std::function&)> UpdateTaskOutputAsyncHandler; + typedef Outcome UpdateTaskTimeVariablesOutcome; + typedef std::future UpdateTaskTimeVariablesOutcomeCallable; + typedef std::function&)> UpdateTaskTimeVariablesAsyncHandler; typedef Outcome UpdateUserOutcome; typedef std::future UpdateUserOutcomeCallable; typedef std::function&)> UpdateUserAsyncHandler; @@ -685,9 +935,18 @@ namespace AlibabaCloud AddLogicTableRouteConfigOutcome addLogicTableRouteConfig(const Model::AddLogicTableRouteConfigRequest &request)const; void addLogicTableRouteConfigAsync(const Model::AddLogicTableRouteConfigRequest& request, const AddLogicTableRouteConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLogicTableRouteConfigOutcomeCallable addLogicTableRouteConfigCallable(const Model::AddLogicTableRouteConfigRequest& request) const; + AddTaskFlowEdgesOutcome addTaskFlowEdges(const Model::AddTaskFlowEdgesRequest &request)const; + void addTaskFlowEdgesAsync(const Model::AddTaskFlowEdgesRequest& request, const AddTaskFlowEdgesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddTaskFlowEdgesOutcomeCallable addTaskFlowEdgesCallable(const Model::AddTaskFlowEdgesRequest& request) const; ApproveOrderOutcome approveOrder(const Model::ApproveOrderRequest &request)const; void approveOrderAsync(const Model::ApproveOrderRequest& request, const ApproveOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ApproveOrderOutcomeCallable approveOrderCallable(const Model::ApproveOrderRequest& request) const; + BackFillOutcome backFill(const Model::BackFillRequest &request)const; + void backFillAsync(const Model::BackFillRequest& request, const BackFillAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BackFillOutcomeCallable backFillCallable(const Model::BackFillRequest& request) const; + BuyPayAsYouGoOrderOutcome buyPayAsYouGoOrder(const Model::BuyPayAsYouGoOrderRequest &request)const; + void buyPayAsYouGoOrderAsync(const Model::BuyPayAsYouGoOrderRequest& request, const BuyPayAsYouGoOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BuyPayAsYouGoOrderOutcomeCallable buyPayAsYouGoOrderCallable(const Model::BuyPayAsYouGoOrderRequest& request) const; ChangeColumnSecLevelOutcome changeColumnSecLevel(const Model::ChangeColumnSecLevelRequest &request)const; void changeColumnSecLevelAsync(const Model::ChangeColumnSecLevelRequest& request, const ChangeColumnSecLevelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ChangeColumnSecLevelOutcomeCallable changeColumnSecLevelCallable(const Model::ChangeColumnSecLevelRequest& request) const; @@ -730,12 +989,21 @@ namespace AlibabaCloud CreateSQLReviewOrderOutcome createSQLReviewOrder(const Model::CreateSQLReviewOrderRequest &request)const; void createSQLReviewOrderAsync(const Model::CreateSQLReviewOrderRequest& request, const CreateSQLReviewOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateSQLReviewOrderOutcomeCallable createSQLReviewOrderCallable(const Model::CreateSQLReviewOrderRequest& request) const; + CreateScenarioOutcome createScenario(const Model::CreateScenarioRequest &request)const; + void createScenarioAsync(const Model::CreateScenarioRequest& request, const CreateScenarioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateScenarioOutcomeCallable createScenarioCallable(const Model::CreateScenarioRequest& request) const; CreateStandardGroupOutcome createStandardGroup(const Model::CreateStandardGroupRequest &request)const; void createStandardGroupAsync(const Model::CreateStandardGroupRequest& request, const CreateStandardGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateStandardGroupOutcomeCallable createStandardGroupCallable(const Model::CreateStandardGroupRequest& request) const; CreateStructSyncOrderOutcome createStructSyncOrder(const Model::CreateStructSyncOrderRequest &request)const; void createStructSyncOrderAsync(const Model::CreateStructSyncOrderRequest& request, const CreateStructSyncOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateStructSyncOrderOutcomeCallable createStructSyncOrderCallable(const Model::CreateStructSyncOrderRequest& request) const; + CreateTaskOutcome createTask(const Model::CreateTaskRequest &request)const; + void createTaskAsync(const Model::CreateTaskRequest& request, const CreateTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateTaskOutcomeCallable createTaskCallable(const Model::CreateTaskRequest& request) const; + CreateTaskFlowOutcome createTaskFlow(const Model::CreateTaskFlowRequest &request)const; + void createTaskFlowAsync(const Model::CreateTaskFlowRequest& request, const CreateTaskFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateTaskFlowOutcomeCallable createTaskFlowCallable(const Model::CreateTaskFlowRequest& request) const; CreateUploadFileJobOutcome createUploadFileJob(const Model::CreateUploadFileJobRequest &request)const; void createUploadFileJobAsync(const Model::CreateUploadFileJobRequest& request, const CreateUploadFileJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateUploadFileJobOutcomeCallable createUploadFileJobCallable(const Model::CreateUploadFileJobRequest& request) const; @@ -763,9 +1031,18 @@ namespace AlibabaCloud DeleteProxyAccessOutcome deleteProxyAccess(const Model::DeleteProxyAccessRequest &request)const; void deleteProxyAccessAsync(const Model::DeleteProxyAccessRequest& request, const DeleteProxyAccessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteProxyAccessOutcomeCallable deleteProxyAccessCallable(const Model::DeleteProxyAccessRequest& request) const; + DeleteScenarioOutcome deleteScenario(const Model::DeleteScenarioRequest &request)const; + void deleteScenarioAsync(const Model::DeleteScenarioRequest& request, const DeleteScenarioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteScenarioOutcomeCallable deleteScenarioCallable(const Model::DeleteScenarioRequest& request) const; + DeleteTaskOutcome deleteTask(const Model::DeleteTaskRequest &request)const; + void deleteTaskAsync(const Model::DeleteTaskRequest& request, const DeleteTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteTaskOutcomeCallable deleteTaskCallable(const Model::DeleteTaskRequest& request) const; DeleteTaskFlowOutcome deleteTaskFlow(const Model::DeleteTaskFlowRequest &request)const; void deleteTaskFlowAsync(const Model::DeleteTaskFlowRequest& request, const DeleteTaskFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteTaskFlowOutcomeCallable deleteTaskFlowCallable(const Model::DeleteTaskFlowRequest& request) const; + DeleteTaskFlowEdgesByConditionOutcome deleteTaskFlowEdgesByCondition(const Model::DeleteTaskFlowEdgesByConditionRequest &request)const; + void deleteTaskFlowEdgesByConditionAsync(const Model::DeleteTaskFlowEdgesByConditionRequest& request, const DeleteTaskFlowEdgesByConditionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteTaskFlowEdgesByConditionOutcomeCallable deleteTaskFlowEdgesByConditionCallable(const Model::DeleteTaskFlowEdgesByConditionRequest& request) const; DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const; void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const; @@ -826,6 +1103,9 @@ namespace AlibabaCloud GetInstanceOutcome getInstance(const Model::GetInstanceRequest &request)const; void getInstanceAsync(const Model::GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetInstanceOutcomeCallable getInstanceCallable(const Model::GetInstanceRequest& request) const; + GetIntervalLimitOfSLAOutcome getIntervalLimitOfSLA(const Model::GetIntervalLimitOfSLARequest &request)const; + void getIntervalLimitOfSLAAsync(const Model::GetIntervalLimitOfSLARequest& request, const GetIntervalLimitOfSLAAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetIntervalLimitOfSLAOutcomeCallable getIntervalLimitOfSLACallable(const Model::GetIntervalLimitOfSLARequest& request) const; GetLhSpaceByNameOutcome getLhSpaceByName(const Model::GetLhSpaceByNameRequest &request)const; void getLhSpaceByNameAsync(const Model::GetLhSpaceByNameRequest& request, const GetLhSpaceByNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetLhSpaceByNameOutcomeCallable getLhSpaceByNameCallable(const Model::GetLhSpaceByNameRequest& request) const; @@ -856,6 +1136,9 @@ namespace AlibabaCloud GetProxyOutcome getProxy(const Model::GetProxyRequest &request)const; void getProxyAsync(const Model::GetProxyRequest& request, const GetProxyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetProxyOutcomeCallable getProxyCallable(const Model::GetProxyRequest& request) const; + GetRuleNumLimitOfSLAOutcome getRuleNumLimitOfSLA(const Model::GetRuleNumLimitOfSLARequest &request)const; + void getRuleNumLimitOfSLAAsync(const Model::GetRuleNumLimitOfSLARequest& request, const GetRuleNumLimitOfSLAAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetRuleNumLimitOfSLAOutcomeCallable getRuleNumLimitOfSLACallable(const Model::GetRuleNumLimitOfSLARequest& request) const; GetSQLReviewCheckResultStatusOutcome getSQLReviewCheckResultStatus(const Model::GetSQLReviewCheckResultStatusRequest &request)const; void getSQLReviewCheckResultStatusAsync(const Model::GetSQLReviewCheckResultStatusRequest& request, const GetSQLReviewCheckResultStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetSQLReviewCheckResultStatusOutcomeCallable getSQLReviewCheckResultStatusCallable(const Model::GetSQLReviewCheckResultStatusRequest& request) const; @@ -880,6 +1163,15 @@ namespace AlibabaCloud GetTableTopologyOutcome getTableTopology(const Model::GetTableTopologyRequest &request)const; void getTableTopologyAsync(const Model::GetTableTopologyRequest& request, const GetTableTopologyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetTableTopologyOutcomeCallable getTableTopologyCallable(const Model::GetTableTopologyRequest& request) const; + GetTaskOutcome getTask(const Model::GetTaskRequest &request)const; + void getTaskAsync(const Model::GetTaskRequest& request, const GetTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTaskOutcomeCallable getTaskCallable(const Model::GetTaskRequest& request) const; + GetTaskFlowGraphOutcome getTaskFlowGraph(const Model::GetTaskFlowGraphRequest &request)const; + void getTaskFlowGraphAsync(const Model::GetTaskFlowGraphRequest& request, const GetTaskFlowGraphAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTaskFlowGraphOutcomeCallable getTaskFlowGraphCallable(const Model::GetTaskFlowGraphRequest& request) const; + GetTaskFlowNotificationOutcome getTaskFlowNotification(const Model::GetTaskFlowNotificationRequest &request)const; + void getTaskFlowNotificationAsync(const Model::GetTaskFlowNotificationRequest& request, const GetTaskFlowNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTaskFlowNotificationOutcomeCallable getTaskFlowNotificationCallable(const Model::GetTaskFlowNotificationRequest& request) const; GetTaskInstanceRelationOutcome getTaskInstanceRelation(const Model::GetTaskInstanceRelationRequest &request)const; void getTaskInstanceRelationAsync(const Model::GetTaskInstanceRelationRequest& request, const GetTaskInstanceRelationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetTaskInstanceRelationOutcomeCallable getTaskInstanceRelationCallable(const Model::GetTaskInstanceRelationRequest& request) const; @@ -898,6 +1190,9 @@ namespace AlibabaCloud InspectProxyAccessSecretOutcome inspectProxyAccessSecret(const Model::InspectProxyAccessSecretRequest &request)const; void inspectProxyAccessSecretAsync(const Model::InspectProxyAccessSecretRequest& request, const InspectProxyAccessSecretAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; InspectProxyAccessSecretOutcomeCallable inspectProxyAccessSecretCallable(const Model::InspectProxyAccessSecretRequest& request) const; + ListClassificationTemplatesOutcome listClassificationTemplates(const Model::ListClassificationTemplatesRequest &request)const; + void listClassificationTemplatesAsync(const Model::ListClassificationTemplatesRequest& request, const ListClassificationTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListClassificationTemplatesOutcomeCallable listClassificationTemplatesCallable(const Model::ListClassificationTemplatesRequest& request) const; ListColumnsOutcome listColumns(const Model::ListColumnsRequest &request)const; void listColumnsAsync(const Model::ListColumnsRequest& request, const ListColumnsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListColumnsOutcomeCallable listColumnsCallable(const Model::ListColumnsRequest& request) const; @@ -925,9 +1220,15 @@ namespace AlibabaCloud ListDatabasesOutcome listDatabases(const Model::ListDatabasesRequest &request)const; void listDatabasesAsync(const Model::ListDatabasesRequest& request, const ListDatabasesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDatabasesOutcomeCallable listDatabasesCallable(const Model::ListDatabasesRequest& request) const; + ListDefaultSLARulesOutcome listDefaultSLARules(const Model::ListDefaultSLARulesRequest &request)const; + void listDefaultSLARulesAsync(const Model::ListDefaultSLARulesRequest& request, const ListDefaultSLARulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDefaultSLARulesOutcomeCallable listDefaultSLARulesCallable(const Model::ListDefaultSLARulesRequest& request) const; ListDesensitizationRuleOutcome listDesensitizationRule(const Model::ListDesensitizationRuleRequest &request)const; void listDesensitizationRuleAsync(const Model::ListDesensitizationRuleRequest& request, const ListDesensitizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDesensitizationRuleOutcomeCallable listDesensitizationRuleCallable(const Model::ListDesensitizationRuleRequest& request) const; + ListEffectiveOrdersOutcome listEffectiveOrders(const Model::ListEffectiveOrdersRequest &request)const; + void listEffectiveOrdersAsync(const Model::ListEffectiveOrdersRequest& request, const ListEffectiveOrdersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEffectiveOrdersOutcomeCallable listEffectiveOrdersCallable(const Model::ListEffectiveOrdersRequest& request) const; ListIndexesOutcome listIndexes(const Model::ListIndexesRequest &request)const; void listIndexesAsync(const Model::ListIndexesRequest& request, const ListIndexesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListIndexesOutcomeCallable listIndexesCallable(const Model::ListIndexesRequest& request) const; @@ -964,18 +1265,27 @@ namespace AlibabaCloud ListProxySQLExecAuditLogOutcome listProxySQLExecAuditLog(const Model::ListProxySQLExecAuditLogRequest &request)const; void listProxySQLExecAuditLogAsync(const Model::ListProxySQLExecAuditLogRequest& request, const ListProxySQLExecAuditLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListProxySQLExecAuditLogOutcomeCallable listProxySQLExecAuditLogCallable(const Model::ListProxySQLExecAuditLogRequest& request) const; + ListSLARulesOutcome listSLARules(const Model::ListSLARulesRequest &request)const; + void listSLARulesAsync(const Model::ListSLARulesRequest& request, const ListSLARulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSLARulesOutcomeCallable listSLARulesCallable(const Model::ListSLARulesRequest& request) const; ListSQLExecAuditLogOutcome listSQLExecAuditLog(const Model::ListSQLExecAuditLogRequest &request)const; void listSQLExecAuditLogAsync(const Model::ListSQLExecAuditLogRequest& request, const ListSQLExecAuditLogAsyncHandler& handler, const std::shared_ptr& 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& context = nullptr) const; ListSQLReviewOriginSQLOutcomeCallable listSQLReviewOriginSQLCallable(const Model::ListSQLReviewOriginSQLRequest& request) const; + ListScenariosOutcome listScenarios(const Model::ListScenariosRequest &request)const; + void listScenariosAsync(const Model::ListScenariosRequest& request, const ListScenariosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListScenariosOutcomeCallable listScenariosCallable(const Model::ListScenariosRequest& request) const; ListSensitiveColumnsOutcome listSensitiveColumns(const Model::ListSensitiveColumnsRequest &request)const; void listSensitiveColumnsAsync(const Model::ListSensitiveColumnsRequest& request, const ListSensitiveColumnsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListSensitiveColumnsOutcomeCallable listSensitiveColumnsCallable(const Model::ListSensitiveColumnsRequest& request) const; ListSensitiveColumnsDetailOutcome listSensitiveColumnsDetail(const Model::ListSensitiveColumnsDetailRequest &request)const; void listSensitiveColumnsDetailAsync(const Model::ListSensitiveColumnsDetailRequest& request, const ListSensitiveColumnsDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListSensitiveColumnsDetailOutcomeCallable listSensitiveColumnsDetailCallable(const Model::ListSensitiveColumnsDetailRequest& request) const; + ListSensitiveDataAuditLogOutcome listSensitiveDataAuditLog(const Model::ListSensitiveDataAuditLogRequest &request)const; + void listSensitiveDataAuditLogAsync(const Model::ListSensitiveDataAuditLogRequest& request, const ListSensitiveDataAuditLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSensitiveDataAuditLogOutcomeCallable listSensitiveDataAuditLogCallable(const Model::ListSensitiveDataAuditLogRequest& request) const; ListStandardGroupsOutcome listStandardGroups(const Model::ListStandardGroupsRequest &request)const; void listStandardGroupsAsync(const Model::ListStandardGroupsRequest& request, const ListStandardGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListStandardGroupsOutcomeCallable listStandardGroupsCallable(const Model::ListStandardGroupsRequest& request) const; @@ -985,9 +1295,27 @@ namespace AlibabaCloud ListTaskFlowOutcome listTaskFlow(const Model::ListTaskFlowRequest &request)const; void listTaskFlowAsync(const Model::ListTaskFlowRequest& request, const ListTaskFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTaskFlowOutcomeCallable listTaskFlowCallable(const Model::ListTaskFlowRequest& request) const; + ListTaskFlowConstantsOutcome listTaskFlowConstants(const Model::ListTaskFlowConstantsRequest &request)const; + void listTaskFlowConstantsAsync(const Model::ListTaskFlowConstantsRequest& request, const ListTaskFlowConstantsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTaskFlowConstantsOutcomeCallable listTaskFlowConstantsCallable(const Model::ListTaskFlowConstantsRequest& request) const; + ListTaskFlowCooperatorsOutcome listTaskFlowCooperators(const Model::ListTaskFlowCooperatorsRequest &request)const; + void listTaskFlowCooperatorsAsync(const Model::ListTaskFlowCooperatorsRequest& request, const ListTaskFlowCooperatorsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTaskFlowCooperatorsOutcomeCallable listTaskFlowCooperatorsCallable(const Model::ListTaskFlowCooperatorsRequest& request) const; + ListTaskFlowEdgesByConditionOutcome listTaskFlowEdgesByCondition(const Model::ListTaskFlowEdgesByConditionRequest &request)const; + void listTaskFlowEdgesByConditionAsync(const Model::ListTaskFlowEdgesByConditionRequest& request, const ListTaskFlowEdgesByConditionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTaskFlowEdgesByConditionOutcomeCallable listTaskFlowEdgesByConditionCallable(const Model::ListTaskFlowEdgesByConditionRequest& request) const; ListTaskFlowInstanceOutcome listTaskFlowInstance(const Model::ListTaskFlowInstanceRequest &request)const; void listTaskFlowInstanceAsync(const Model::ListTaskFlowInstanceRequest& request, const ListTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTaskFlowInstanceOutcomeCallable listTaskFlowInstanceCallable(const Model::ListTaskFlowInstanceRequest& request) const; + ListTaskFlowTimeVariablesOutcome listTaskFlowTimeVariables(const Model::ListTaskFlowTimeVariablesRequest &request)const; + void listTaskFlowTimeVariablesAsync(const Model::ListTaskFlowTimeVariablesRequest& request, const ListTaskFlowTimeVariablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTaskFlowTimeVariablesOutcomeCallable listTaskFlowTimeVariablesCallable(const Model::ListTaskFlowTimeVariablesRequest& request) const; + ListTaskFlowsByPageOutcome listTaskFlowsByPage(const Model::ListTaskFlowsByPageRequest &request)const; + void listTaskFlowsByPageAsync(const Model::ListTaskFlowsByPageRequest& request, const ListTaskFlowsByPageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTaskFlowsByPageOutcomeCallable listTaskFlowsByPageCallable(const Model::ListTaskFlowsByPageRequest& request) const; + ListTasksInTaskFlowOutcome listTasksInTaskFlow(const Model::ListTasksInTaskFlowRequest &request)const; + void listTasksInTaskFlowAsync(const Model::ListTasksInTaskFlowRequest& request, const ListTasksInTaskFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTasksInTaskFlowOutcomeCallable listTasksInTaskFlowCallable(const Model::ListTasksInTaskFlowRequest& request) const; ListUserPermissionsOutcome listUserPermissions(const Model::ListUserPermissionsRequest &request)const; void listUserPermissionsAsync(const Model::ListUserPermissionsRequest& request, const ListUserPermissionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListUserPermissionsOutcomeCallable listUserPermissionsCallable(const Model::ListUserPermissionsRequest& request) const; @@ -1003,21 +1331,36 @@ namespace AlibabaCloud ListWorkFlowTemplatesOutcome listWorkFlowTemplates(const Model::ListWorkFlowTemplatesRequest &request)const; void listWorkFlowTemplatesAsync(const Model::ListWorkFlowTemplatesRequest& request, const ListWorkFlowTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListWorkFlowTemplatesOutcomeCallable listWorkFlowTemplatesCallable(const Model::ListWorkFlowTemplatesRequest& request) const; + MakeTaskFlowInstanceSuccessOutcome makeTaskFlowInstanceSuccess(const Model::MakeTaskFlowInstanceSuccessRequest &request)const; + void makeTaskFlowInstanceSuccessAsync(const Model::MakeTaskFlowInstanceSuccessRequest& request, const MakeTaskFlowInstanceSuccessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MakeTaskFlowInstanceSuccessOutcomeCallable makeTaskFlowInstanceSuccessCallable(const Model::MakeTaskFlowInstanceSuccessRequest& request) const; ModifyDataCorrectExecSQLOutcome modifyDataCorrectExecSQL(const Model::ModifyDataCorrectExecSQLRequest &request)const; void modifyDataCorrectExecSQLAsync(const Model::ModifyDataCorrectExecSQLRequest& request, const ModifyDataCorrectExecSQLAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDataCorrectExecSQLOutcomeCallable modifyDataCorrectExecSQLCallable(const Model::ModifyDataCorrectExecSQLRequest& request) const; ModifyDesensitizationStrategyOutcome modifyDesensitizationStrategy(const Model::ModifyDesensitizationStrategyRequest &request)const; void modifyDesensitizationStrategyAsync(const Model::ModifyDesensitizationStrategyRequest& request, const ModifyDesensitizationStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDesensitizationStrategyOutcomeCallable modifyDesensitizationStrategyCallable(const Model::ModifyDesensitizationStrategyRequest& request) const; + MoveTaskFlowToScenarioOutcome moveTaskFlowToScenario(const Model::MoveTaskFlowToScenarioRequest &request)const; + void moveTaskFlowToScenarioAsync(const Model::MoveTaskFlowToScenarioRequest& request, const MoveTaskFlowToScenarioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MoveTaskFlowToScenarioOutcomeCallable moveTaskFlowToScenarioCallable(const Model::MoveTaskFlowToScenarioRequest& request) const; OfflineTaskFlowOutcome offlineTaskFlow(const Model::OfflineTaskFlowRequest &request)const; void offlineTaskFlowAsync(const Model::OfflineTaskFlowRequest& request, const OfflineTaskFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OfflineTaskFlowOutcomeCallable offlineTaskFlowCallable(const Model::OfflineTaskFlowRequest& request) const; PauseDataCorrectSQLJobOutcome pauseDataCorrectSQLJob(const Model::PauseDataCorrectSQLJobRequest &request)const; void pauseDataCorrectSQLJobAsync(const Model::PauseDataCorrectSQLJobRequest& request, const PauseDataCorrectSQLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PauseDataCorrectSQLJobOutcomeCallable pauseDataCorrectSQLJobCallable(const Model::PauseDataCorrectSQLJobRequest& request) const; + PublishAndDeployTaskFlowOutcome publishAndDeployTaskFlow(const Model::PublishAndDeployTaskFlowRequest &request)const; + void publishAndDeployTaskFlowAsync(const Model::PublishAndDeployTaskFlowRequest& request, const PublishAndDeployTaskFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PublishAndDeployTaskFlowOutcomeCallable publishAndDeployTaskFlowCallable(const Model::PublishAndDeployTaskFlowRequest& request) const; ReDeployLhDagVersionOutcome reDeployLhDagVersion(const Model::ReDeployLhDagVersionRequest &request)const; void reDeployLhDagVersionAsync(const Model::ReDeployLhDagVersionRequest& request, const ReDeployLhDagVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ReDeployLhDagVersionOutcomeCallable reDeployLhDagVersionCallable(const Model::ReDeployLhDagVersionRequest& request) const; + ReRunTaskFlowInstanceOutcome reRunTaskFlowInstance(const Model::ReRunTaskFlowInstanceRequest &request)const; + void reRunTaskFlowInstanceAsync(const Model::ReRunTaskFlowInstanceRequest& request, const ReRunTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ReRunTaskFlowInstanceOutcomeCallable reRunTaskFlowInstanceCallable(const Model::ReRunTaskFlowInstanceRequest& request) const; + RefundPayAsYouGoOrderOutcome refundPayAsYouGoOrder(const Model::RefundPayAsYouGoOrderRequest &request)const; + void refundPayAsYouGoOrderAsync(const Model::RefundPayAsYouGoOrderRequest& request, const RefundPayAsYouGoOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RefundPayAsYouGoOrderOutcomeCallable refundPayAsYouGoOrderCallable(const Model::RefundPayAsYouGoOrderRequest& request) const; RegisterInstanceOutcome registerInstance(const Model::RegisterInstanceRequest &request)const; void registerInstanceAsync(const Model::RegisterInstanceRequest& request, const RegisterInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RegisterInstanceOutcomeCallable registerInstanceCallable(const Model::RegisterInstanceRequest& request) const; @@ -1027,6 +1370,9 @@ namespace AlibabaCloud RestartDataCorrectSQLJobOutcome restartDataCorrectSQLJob(const Model::RestartDataCorrectSQLJobRequest &request)const; void restartDataCorrectSQLJobAsync(const Model::RestartDataCorrectSQLJobRequest& request, const RestartDataCorrectSQLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RestartDataCorrectSQLJobOutcomeCallable restartDataCorrectSQLJobCallable(const Model::RestartDataCorrectSQLJobRequest& request) const; + ResumeTaskFlowInstanceOutcome resumeTaskFlowInstance(const Model::ResumeTaskFlowInstanceRequest &request)const; + void resumeTaskFlowInstanceAsync(const Model::ResumeTaskFlowInstanceRequest& request, const ResumeTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ResumeTaskFlowInstanceOutcomeCallable resumeTaskFlowInstanceCallable(const Model::ResumeTaskFlowInstanceRequest& request) const; RetryDataCorrectPreCheckOutcome retryDataCorrectPreCheck(const Model::RetryDataCorrectPreCheckRequest &request)const; void retryDataCorrectPreCheckAsync(const Model::RetryDataCorrectPreCheckRequest& request, const RetryDataCorrectPreCheckAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RetryDataCorrectPreCheckOutcomeCallable retryDataCorrectPreCheckCallable(const Model::RetryDataCorrectPreCheckRequest& request) const; @@ -1042,12 +1388,18 @@ namespace AlibabaCloud SetOwnersOutcome setOwners(const Model::SetOwnersRequest &request)const; void setOwnersAsync(const Model::SetOwnersRequest& request, const SetOwnersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetOwnersOutcomeCallable setOwnersCallable(const Model::SetOwnersRequest& request) const; + StopTaskFlowInstanceOutcome stopTaskFlowInstance(const Model::StopTaskFlowInstanceRequest &request)const; + void stopTaskFlowInstanceAsync(const Model::StopTaskFlowInstanceRequest& request, const StopTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopTaskFlowInstanceOutcomeCallable stopTaskFlowInstanceCallable(const Model::StopTaskFlowInstanceRequest& request) const; SubmitOrderApprovalOutcome submitOrderApproval(const Model::SubmitOrderApprovalRequest &request)const; void submitOrderApprovalAsync(const Model::SubmitOrderApprovalRequest& request, const SubmitOrderApprovalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitOrderApprovalOutcomeCallable submitOrderApprovalCallable(const Model::SubmitOrderApprovalRequest& request) const; SubmitStructSyncOrderApprovalOutcome submitStructSyncOrderApproval(const Model::SubmitStructSyncOrderApprovalRequest &request)const; void submitStructSyncOrderApprovalAsync(const Model::SubmitStructSyncOrderApprovalRequest& request, const SubmitStructSyncOrderApprovalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitStructSyncOrderApprovalOutcomeCallable submitStructSyncOrderApprovalCallable(const Model::SubmitStructSyncOrderApprovalRequest& request) const; + SuspendTaskFlowInstanceOutcome suspendTaskFlowInstance(const Model::SuspendTaskFlowInstanceRequest &request)const; + void suspendTaskFlowInstanceAsync(const Model::SuspendTaskFlowInstanceRequest& request, const SuspendTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SuspendTaskFlowInstanceOutcomeCallable suspendTaskFlowInstanceCallable(const Model::SuspendTaskFlowInstanceRequest& request) const; SyncDatabaseMetaOutcome syncDatabaseMeta(const Model::SyncDatabaseMetaRequest &request)const; void syncDatabaseMetaAsync(const Model::SyncDatabaseMetaRequest& request, const SyncDatabaseMetaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SyncDatabaseMetaOutcomeCallable syncDatabaseMetaCallable(const Model::SyncDatabaseMetaRequest& request) const; @@ -1057,6 +1409,54 @@ namespace AlibabaCloud UpdateInstanceOutcome updateInstance(const Model::UpdateInstanceRequest &request)const; void updateInstanceAsync(const Model::UpdateInstanceRequest& request, const UpdateInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateInstanceOutcomeCallable updateInstanceCallable(const Model::UpdateInstanceRequest& request) const; + UpdateSLARulesOutcome updateSLARules(const Model::UpdateSLARulesRequest &request)const; + void updateSLARulesAsync(const Model::UpdateSLARulesRequest& request, const UpdateSLARulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateSLARulesOutcomeCallable updateSLARulesCallable(const Model::UpdateSLARulesRequest& request) const; + UpdateScenarioOutcome updateScenario(const Model::UpdateScenarioRequest &request)const; + void updateScenarioAsync(const Model::UpdateScenarioRequest& request, const UpdateScenarioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateScenarioOutcomeCallable updateScenarioCallable(const Model::UpdateScenarioRequest& request) const; + UpdateTaskConfigOutcome updateTaskConfig(const Model::UpdateTaskConfigRequest &request)const; + void updateTaskConfigAsync(const Model::UpdateTaskConfigRequest& request, const UpdateTaskConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskConfigOutcomeCallable updateTaskConfigCallable(const Model::UpdateTaskConfigRequest& request) const; + UpdateTaskContentOutcome updateTaskContent(const Model::UpdateTaskContentRequest &request)const; + void updateTaskContentAsync(const Model::UpdateTaskContentRequest& request, const UpdateTaskContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskContentOutcomeCallable updateTaskContentCallable(const Model::UpdateTaskContentRequest& request) const; + UpdateTaskFlowConstantsOutcome updateTaskFlowConstants(const Model::UpdateTaskFlowConstantsRequest &request)const; + void updateTaskFlowConstantsAsync(const Model::UpdateTaskFlowConstantsRequest& request, const UpdateTaskFlowConstantsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskFlowConstantsOutcomeCallable updateTaskFlowConstantsCallable(const Model::UpdateTaskFlowConstantsRequest& request) const; + UpdateTaskFlowCooperatorsOutcome updateTaskFlowCooperators(const Model::UpdateTaskFlowCooperatorsRequest &request)const; + void updateTaskFlowCooperatorsAsync(const Model::UpdateTaskFlowCooperatorsRequest& request, const UpdateTaskFlowCooperatorsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskFlowCooperatorsOutcomeCallable updateTaskFlowCooperatorsCallable(const Model::UpdateTaskFlowCooperatorsRequest& request) const; + UpdateTaskFlowEdgesOutcome updateTaskFlowEdges(const Model::UpdateTaskFlowEdgesRequest &request)const; + void updateTaskFlowEdgesAsync(const Model::UpdateTaskFlowEdgesRequest& request, const UpdateTaskFlowEdgesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskFlowEdgesOutcomeCallable updateTaskFlowEdgesCallable(const Model::UpdateTaskFlowEdgesRequest& request) const; + UpdateTaskFlowNameAndDescOutcome updateTaskFlowNameAndDesc(const Model::UpdateTaskFlowNameAndDescRequest &request)const; + void updateTaskFlowNameAndDescAsync(const Model::UpdateTaskFlowNameAndDescRequest& request, const UpdateTaskFlowNameAndDescAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskFlowNameAndDescOutcomeCallable updateTaskFlowNameAndDescCallable(const Model::UpdateTaskFlowNameAndDescRequest& request) const; + UpdateTaskFlowNotificationOutcome updateTaskFlowNotification(const Model::UpdateTaskFlowNotificationRequest &request)const; + void updateTaskFlowNotificationAsync(const Model::UpdateTaskFlowNotificationRequest& request, const UpdateTaskFlowNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskFlowNotificationOutcomeCallable updateTaskFlowNotificationCallable(const Model::UpdateTaskFlowNotificationRequest& request) const; + UpdateTaskFlowOwnerOutcome updateTaskFlowOwner(const Model::UpdateTaskFlowOwnerRequest &request)const; + void updateTaskFlowOwnerAsync(const Model::UpdateTaskFlowOwnerRequest& request, const UpdateTaskFlowOwnerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskFlowOwnerOutcomeCallable updateTaskFlowOwnerCallable(const Model::UpdateTaskFlowOwnerRequest& request) const; + UpdateTaskFlowRelationsOutcome updateTaskFlowRelations(const Model::UpdateTaskFlowRelationsRequest &request)const; + void updateTaskFlowRelationsAsync(const Model::UpdateTaskFlowRelationsRequest& request, const UpdateTaskFlowRelationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskFlowRelationsOutcomeCallable updateTaskFlowRelationsCallable(const Model::UpdateTaskFlowRelationsRequest& request) const; + UpdateTaskFlowScheduleOutcome updateTaskFlowSchedule(const Model::UpdateTaskFlowScheduleRequest &request)const; + void updateTaskFlowScheduleAsync(const Model::UpdateTaskFlowScheduleRequest& request, const UpdateTaskFlowScheduleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskFlowScheduleOutcomeCallable updateTaskFlowScheduleCallable(const Model::UpdateTaskFlowScheduleRequest& request) const; + UpdateTaskFlowTimeVariablesOutcome updateTaskFlowTimeVariables(const Model::UpdateTaskFlowTimeVariablesRequest &request)const; + void updateTaskFlowTimeVariablesAsync(const Model::UpdateTaskFlowTimeVariablesRequest& request, const UpdateTaskFlowTimeVariablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskFlowTimeVariablesOutcomeCallable updateTaskFlowTimeVariablesCallable(const Model::UpdateTaskFlowTimeVariablesRequest& request) const; + UpdateTaskNameOutcome updateTaskName(const Model::UpdateTaskNameRequest &request)const; + void updateTaskNameAsync(const Model::UpdateTaskNameRequest& request, const UpdateTaskNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskNameOutcomeCallable updateTaskNameCallable(const Model::UpdateTaskNameRequest& request) const; + UpdateTaskOutputOutcome updateTaskOutput(const Model::UpdateTaskOutputRequest &request)const; + void updateTaskOutputAsync(const Model::UpdateTaskOutputRequest& request, const UpdateTaskOutputAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskOutputOutcomeCallable updateTaskOutputCallable(const Model::UpdateTaskOutputRequest& request) const; + UpdateTaskTimeVariablesOutcome updateTaskTimeVariables(const Model::UpdateTaskTimeVariablesRequest &request)const; + void updateTaskTimeVariablesAsync(const Model::UpdateTaskTimeVariablesRequest& request, const UpdateTaskTimeVariablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskTimeVariablesOutcomeCallable updateTaskTimeVariablesCallable(const Model::UpdateTaskTimeVariablesRequest& request) const; UpdateUserOutcome updateUser(const Model::UpdateUserRequest &request)const; void updateUserAsync(const Model::UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddTaskFlowEdgesRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddTaskFlowEdgesRequest.h new file mode 100644 index 000000000..3f6ea3218 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddTaskFlowEdgesRequest.h @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDTASKFLOWEDGESREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDTASKFLOWEDGESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddTaskFlowEdgesRequest : public RpcServiceRequest { +public: + struct Edges { + long nodeEnd; + long nodeFrom; + }; + AddTaskFlowEdgesRequest(); + ~AddTaskFlowEdgesRequest(); + std::vector getEdges() const; + void setEdges(const std::vector &edges); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + std::vector edges_; + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDTASKFLOWEDGESREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddTaskFlowEdgesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddTaskFlowEdgesResult.h new file mode 100644 index 000000000..1f234f0fb --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/AddTaskFlowEdgesResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDTASKFLOWEDGESRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDTASKFLOWEDGESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddTaskFlowEdgesResult : public ServiceResult + { + public: + + + AddTaskFlowEdgesResult(); + explicit AddTaskFlowEdgesResult(const std::string &payload); + ~AddTaskFlowEdgesResult(); + 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_ADDTASKFLOWEDGESRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/BackFillRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/BackFillRequest.h new file mode 100644 index 000000000..8255bf1d3 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/BackFillRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BACKFILLREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BACKFILLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT BackFillRequest : public RpcServiceRequest { +public: + BackFillRequest(); + ~BackFillRequest(); + std::string getBackFillDateBegin() const; + void setBackFillDateBegin(const std::string &backFillDateBegin); + std::string getBackFillDate() const; + void setBackFillDate(const std::string &backFillDate); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + bool getIsTriggerSubTree() const; + void setIsTriggerSubTree(bool isTriggerSubTree); + bool getAsc() const; + void setAsc(bool asc); + std::string getBackFillDateEnd() const; + void setBackFillDateEnd(const std::string &backFillDateEnd); + int getInterval() const; + void setInterval(int interval); + long getHistoryDagId() const; + void setHistoryDagId(long historyDagId); + std::vector getStartNodeIds() const; + void setStartNodeIds(const std::vector &startNodeIds); + +private: + std::string backFillDateBegin_; + std::string backFillDate_; + long dagId_; + long tid_; + bool isTriggerSubTree_; + bool asc_; + std::string backFillDateEnd_; + int interval_; + long historyDagId_; + std::vector startNodeIds_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BACKFILLREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/BackFillResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/BackFillResult.h new file mode 100644 index 000000000..fbb164f94 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/BackFillResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BACKFILLRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BACKFILLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT BackFillResult : public ServiceResult + { + public: + + + BackFillResult(); + explicit BackFillResult(const std::string &payload); + ~BackFillResult(); + long getNodeId()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long nodeId_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BACKFILLRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/BuyPayAsYouGoOrderRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/BuyPayAsYouGoOrderRequest.h new file mode 100644 index 000000000..ccc586002 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/BuyPayAsYouGoOrderRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BUYPAYASYOUGOORDERREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BUYPAYASYOUGOORDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT BuyPayAsYouGoOrderRequest : public RpcServiceRequest { +public: + BuyPayAsYouGoOrderRequest(); + ~BuyPayAsYouGoOrderRequest(); + int getInsNum() const; + void setInsNum(int insNum); + long getTid() const; + void setTid(long tid); + std::string getVersionType() const; + void setVersionType(const std::string &versionType); + std::string getCommodityType() const; + void setCommodityType(const std::string &commodityType); + +private: + int insNum_; + long tid_; + std::string versionType_; + std::string commodityType_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BUYPAYASYOUGOORDERREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/BuyPayAsYouGoOrderResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/BuyPayAsYouGoOrderResult.h new file mode 100644 index 000000000..e29af3068 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/BuyPayAsYouGoOrderResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BUYPAYASYOUGOORDERRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BUYPAYASYOUGOORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT BuyPayAsYouGoOrderResult : public ServiceResult + { + public: + + + BuyPayAsYouGoOrderResult(); + explicit BuyPayAsYouGoOrderResult(const std::string &payload); + ~BuyPayAsYouGoOrderResult(); + std::string getInstanceId()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string instanceId_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_BUYPAYASYOUGOORDERRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateScenarioRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateScenarioRequest.h new file mode 100644 index 000000000..cd2af6115 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateScenarioRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESCENARIOREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESCENARIOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateScenarioRequest : public RpcServiceRequest { +public: + CreateScenarioRequest(); + ~CreateScenarioRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + long getTid() const; + void setTid(long tid); + std::string getScenarioName() const; + void setScenarioName(const std::string &scenarioName); + +private: + std::string description_; + long tid_; + std::string scenarioName_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESCENARIOREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateScenarioResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateScenarioResult.h new file mode 100644 index 000000000..5ea5a217c --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateScenarioResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESCENARIORESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESCENARIORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateScenarioResult : public ServiceResult + { + public: + + + CreateScenarioResult(); + explicit CreateScenarioResult(const std::string &payload); + ~CreateScenarioResult(); + long getScenarioId()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long scenarioId_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESCENARIORESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskFlowRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskFlowRequest.h new file mode 100644 index 000000000..573924a0d --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskFlowRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKFLOWREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKFLOWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateTaskFlowRequest : public RpcServiceRequest { +public: + CreateTaskFlowRequest(); + ~CreateTaskFlowRequest(); + std::string getDagName() const; + void setDagName(const std::string &dagName); + std::string getDescription() const; + void setDescription(const std::string &description); + long getTid() const; + void setTid(long tid); + long getScenarioId() const; + void setScenarioId(long scenarioId); + +private: + std::string dagName_; + std::string description_; + long tid_; + long scenarioId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKFLOWREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskFlowResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskFlowResult.h new file mode 100644 index 000000000..83314b752 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskFlowResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKFLOWRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKFLOWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateTaskFlowResult : public ServiceResult + { + public: + + + CreateTaskFlowResult(); + explicit CreateTaskFlowResult(const std::string &payload); + ~CreateTaskFlowResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + long getDagId()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + long dagId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKFLOWRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskRequest.h new file mode 100644 index 000000000..f86a5c0de --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateTaskRequest : public RpcServiceRequest { +public: + CreateTaskRequest(); + ~CreateTaskRequest(); + std::string getTimeVariables() const; + void setTimeVariables(const std::string &timeVariables); + std::string getNodeType() const; + void setNodeType(const std::string &nodeType); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + std::string getNodeName() const; + void setNodeName(const std::string &nodeName); + std::string getNodeContent() const; + void setNodeContent(const std::string &nodeContent); + std::string getNodeOutput() const; + void setNodeOutput(const std::string &nodeOutput); + std::string getGraphParam() const; + void setGraphParam(const std::string &graphParam); + +private: + std::string timeVariables_; + std::string nodeType_; + long dagId_; + long tid_; + std::string nodeName_; + std::string nodeContent_; + std::string nodeOutput_; + std::string graphParam_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskResult.h new file mode 100644 index 000000000..e459c2c3a --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/CreateTaskResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateTaskResult : public ServiceResult + { + public: + + + CreateTaskResult(); + explicit CreateTaskResult(const std::string &payload); + ~CreateTaskResult(); + long getNodeId()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long nodeId_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATETASKRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteLakeHouseSpaceRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteLakeHouseSpaceRequest.h index efde4a26f..6ff90380d 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteLakeHouseSpaceRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteLakeHouseSpaceRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteLakeHouseSpaceRequest : public Rp public: DeleteLakeHouseSpaceRequest(); ~DeleteLakeHouseSpaceRequest(); - long getSpaceId() const; - void setSpaceId(long spaceId); long getTid() const; void setTid(long tid); + long getSpaceId() const; + void setSpaceId(long spaceId); private: - long spaceId_; long tid_; + long spaceId_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteScenarioRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteScenarioRequest.h new file mode 100644 index 000000000..997b47768 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteScenarioRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETESCENARIOREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETESCENARIOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteScenarioRequest : public RpcServiceRequest { +public: + DeleteScenarioRequest(); + ~DeleteScenarioRequest(); + long getTid() const; + void setTid(long tid); + long getScenarioId() const; + void setScenarioId(long scenarioId); + +private: + long tid_; + long scenarioId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETESCENARIOREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteScenarioResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteScenarioResult.h new file mode 100644 index 000000000..71aeacde2 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteScenarioResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETESCENARIORESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETESCENARIORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteScenarioResult : public ServiceResult + { + public: + + + DeleteScenarioResult(); + explicit DeleteScenarioResult(const std::string &payload); + ~DeleteScenarioResult(); + 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_DELETESCENARIORESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskFlowEdgesByConditionRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskFlowEdgesByConditionRequest.h new file mode 100644 index 000000000..e98f33ed9 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskFlowEdgesByConditionRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETETASKFLOWEDGESBYCONDITIONREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETETASKFLOWEDGESBYCONDITIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteTaskFlowEdgesByConditionRequest : public RpcServiceRequest { +public: + DeleteTaskFlowEdgesByConditionRequest(); + ~DeleteTaskFlowEdgesByConditionRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + long getNodeEnd() const; + void setNodeEnd(long nodeEnd); + long getNodeFrom() const; + void setNodeFrom(long nodeFrom); + long getId() const; + void setId(long id); + +private: + long dagId_; + long tid_; + long nodeEnd_; + long nodeFrom_; + long id_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETETASKFLOWEDGESBYCONDITIONREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskFlowEdgesByConditionResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskFlowEdgesByConditionResult.h new file mode 100644 index 000000000..f253ff36d --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskFlowEdgesByConditionResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETETASKFLOWEDGESBYCONDITIONRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETETASKFLOWEDGESBYCONDITIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteTaskFlowEdgesByConditionResult : public ServiceResult + { + public: + + + DeleteTaskFlowEdgesByConditionResult(); + explicit DeleteTaskFlowEdgesByConditionResult(const std::string &payload); + ~DeleteTaskFlowEdgesByConditionResult(); + 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_DELETETASKFLOWEDGESBYCONDITIONRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskRequest.h new file mode 100644 index 000000000..a9e56a891 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETETASKREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETETASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteTaskRequest : public RpcServiceRequest { +public: + DeleteTaskRequest(); + ~DeleteTaskRequest(); + long getTid() const; + void setTid(long tid); + std::string getNodeId() const; + void setNodeId(const std::string &nodeId); + +private: + long tid_; + std::string nodeId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETETASKREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskResult.h new file mode 100644 index 000000000..e79264a13 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteTaskResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETETASKRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETETASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteTaskResult : public ServiceResult + { + public: + + + DeleteTaskResult(); + explicit DeleteTaskResult(const std::string &payload); + ~DeleteTaskResult(); + 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_DELETETASKRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteUserRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteUserRequest.h index 0cf26f4ef..94d944dde 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteUserRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DeleteUserRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteUserRequest : public RpcServiceRe public: DeleteUserRequest(); ~DeleteUserRequest(); - std::string getUid() const; - void setUid(const std::string &uid); long getTid() const; void setTid(long tid); + std::string getUid() const; + void setUid(const std::string &uid); private: - std::string uid_; long tid_; + std::string uid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DisableUserRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DisableUserRequest.h index 231d0d677..53459d53e 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/DisableUserRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/DisableUserRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DisableUserRequest : public RpcServiceR public: DisableUserRequest(); ~DisableUserRequest(); - std::string getUid() const; - void setUid(const std::string &uid); long getTid() const; void setTid(long tid); + std::string getUid() const; + void setUid(const std::string &uid); private: - std::string uid_; long tid_; + std::string uid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/EnableUserRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/EnableUserRequest.h index 402308861..187e27708 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/EnableUserRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/EnableUserRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT EnableUserRequest : public RpcServiceRe public: EnableUserRequest(); ~EnableUserRequest(); - std::string getUid() const; - void setUid(const std::string &uid); long getTid() const; void setTid(long tid); + std::string getUid() const; + void setUid(const std::string &uid); private: - std::string uid_; long tid_; + std::string uid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetApprovalDetailResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetApprovalDetailResult.h index bc732f113..55be25154 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetApprovalDetailResult.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetApprovalDetailResult.h @@ -58,6 +58,7 @@ namespace AlibabaCloud std::string title; std::vector workflowNodes; long orderId; + long templateId; }; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDBTaskSQLJobLogRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDBTaskSQLJobLogRequest.h index ce4588266..b924aa31c 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDBTaskSQLJobLogRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetDBTaskSQLJobLogRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDBTaskSQLJobLogRequest : public RpcS public: GetDBTaskSQLJobLogRequest(); ~GetDBTaskSQLJobLogRequest(); - long getJobId() const; - void setJobId(long jobId); long getTid() const; void setTid(long tid); + long getJobId() const; + void setJobId(long jobId); private: - long jobId_; long tid_; + long jobId_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetInstanceResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetInstanceResult.h index 2d02da5ed..4ea09b8ac 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetInstanceResult.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetInstanceResult.h @@ -50,6 +50,7 @@ namespace AlibabaCloud int queryTimeout; std::string dataLinkName; std::string safeRuleId; + std::string sellSitd; StandardGroup standardGroup; std::string instanceSource; std::string instanceId; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetIntervalLimitOfSLARequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetIntervalLimitOfSLARequest.h new file mode 100644 index 000000000..81e74b5ff --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetIntervalLimitOfSLARequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINTERVALLIMITOFSLAREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINTERVALLIMITOFSLAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetIntervalLimitOfSLARequest : public RpcServiceRequest { +public: + GetIntervalLimitOfSLARequest(); + ~GetIntervalLimitOfSLARequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINTERVALLIMITOFSLAREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetIntervalLimitOfSLAResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetIntervalLimitOfSLAResult.h new file mode 100644 index 000000000..d90cbf404 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetIntervalLimitOfSLAResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINTERVALLIMITOFSLARESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINTERVALLIMITOFSLARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetIntervalLimitOfSLAResult : public ServiceResult + { + public: + + + GetIntervalLimitOfSLAResult(); + explicit GetIntervalLimitOfSLAResult(const std::string &payload); + ~GetIntervalLimitOfSLAResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + int getIntervalLimit()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + int intervalLimit_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINTERVALLIMITOFSLARESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetLogicDatabaseRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetLogicDatabaseRequest.h index cf3b7a3be..3fe00c7f9 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetLogicDatabaseRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetLogicDatabaseRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetLogicDatabaseRequest : public RpcSer public: GetLogicDatabaseRequest(); ~GetLogicDatabaseRequest(); - std::string getDbId() const; - void setDbId(const std::string &dbId); long getTid() const; void setTid(long tid); + std::string getDbId() const; + void setDbId(const std::string &dbId); private: - std::string dbId_; long tid_; + std::string dbId_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetMetaTableColumnRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetMetaTableColumnRequest.h index 2f078ee74..9a4e44444 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetMetaTableColumnRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetMetaTableColumnRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetMetaTableColumnRequest : public RpcS public: GetMetaTableColumnRequest(); ~GetMetaTableColumnRequest(); - std::string getTableGuid() const; - void setTableGuid(const std::string &tableGuid); long getTid() const; void setTid(long tid); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); private: - std::string tableGuid_; long tid_; + std::string tableGuid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetMetaTableDetailInfoRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetMetaTableDetailInfoRequest.h index 632c0a21b..23c2c7af7 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetMetaTableDetailInfoRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetMetaTableDetailInfoRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetMetaTableDetailInfoRequest : public public: GetMetaTableDetailInfoRequest(); ~GetMetaTableDetailInfoRequest(); - std::string getTableGuid() const; - void setTableGuid(const std::string &tableGuid); long getTid() const; void setTid(long tid); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); private: - std::string tableGuid_; long tid_; + std::string tableGuid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseRequest.h index a7c11afee..1a9ab5351 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetPhysicalDatabaseRequest : public Rpc public: GetPhysicalDatabaseRequest(); ~GetPhysicalDatabaseRequest(); - long getDbId() const; - void setDbId(long dbId); long getTid() const; void setTid(long tid); + long getDbId() const; + void setDbId(long dbId); private: - long dbId_; long tid_; + long dbId_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetRuleNumLimitOfSLARequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetRuleNumLimitOfSLARequest.h new file mode 100644 index 000000000..9927c9ec6 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetRuleNumLimitOfSLARequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETRULENUMLIMITOFSLAREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETRULENUMLIMITOFSLAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetRuleNumLimitOfSLARequest : public RpcServiceRequest { +public: + GetRuleNumLimitOfSLARequest(); + ~GetRuleNumLimitOfSLARequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETRULENUMLIMITOFSLAREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetRuleNumLimitOfSLAResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetRuleNumLimitOfSLAResult.h new file mode 100644 index 000000000..014f44353 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetRuleNumLimitOfSLAResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETRULENUMLIMITOFSLARESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETRULENUMLIMITOFSLARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetRuleNumLimitOfSLAResult : public ServiceResult + { + public: + + + GetRuleNumLimitOfSLAResult(); + explicit GetRuleNumLimitOfSLAResult(const std::string &payload); + ~GetRuleNumLimitOfSLAResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + int getRuleNumLimit()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + int ruleNumLimit_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETRULENUMLIMITOFSLARESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetSQLReviewOptimizeDetailRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetSQLReviewOptimizeDetailRequest.h index b33b14615..5e852c2b2 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetSQLReviewOptimizeDetailRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetSQLReviewOptimizeDetailRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSQLReviewOptimizeDetailRequest : pub public: GetSQLReviewOptimizeDetailRequest(); ~GetSQLReviewOptimizeDetailRequest(); - std::string getSQLReviewQueryKey() const; - void setSQLReviewQueryKey(const std::string &sQLReviewQueryKey); long getTid() const; void setTid(long tid); + std::string getSQLReviewQueryKey() const; + void setSQLReviewQueryKey(const std::string &sQLReviewQueryKey); private: - std::string sQLReviewQueryKey_; long tid_; + std::string sQLReviewQueryKey_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDBTopologyRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDBTopologyRequest.h index 77d41a840..6121f0099 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDBTopologyRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableDBTopologyRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTableDBTopologyRequest : public RpcS public: GetTableDBTopologyRequest(); ~GetTableDBTopologyRequest(); - std::string getTableGuid() const; - void setTableGuid(const std::string &tableGuid); long getTid() const; void setTid(long tid); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); private: - std::string tableGuid_; long tid_; + std::string tableGuid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableTopologyRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableTopologyRequest.h index cbb02b180..15a49d217 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableTopologyRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTableTopologyRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTableTopologyRequest : public RpcSer public: GetTableTopologyRequest(); ~GetTableTopologyRequest(); - std::string getTableGuid() const; - void setTableGuid(const std::string &tableGuid); long getTid() const; void setTid(long tid); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); private: - std::string tableGuid_; long tid_; + std::string tableGuid_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowGraphRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowGraphRequest.h new file mode 100644 index 000000000..835c7112c --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowGraphRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWGRAPHREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWGRAPHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTaskFlowGraphRequest : public RpcServiceRequest { +public: + GetTaskFlowGraphRequest(); + ~GetTaskFlowGraphRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWGRAPHREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowGraphResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowGraphResult.h new file mode 100644 index 000000000..c0564a0e4 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowGraphResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWGRAPHRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWGRAPHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTaskFlowGraphResult : public ServiceResult + { + public: + struct TaskFlowGraph + { + struct Node + { + std::string nodeName; + std::string timeVariables; + long nodeType; + long nodeId; + long dagId; + std::string nodeContent; + std::string nodeConfig; + std::string graphParam; + }; + struct Edge + { + long nodeFrom; + long nodeEnd; + long id; + long dagId; + }; + long status; + std::string dagName; + bool canEdit; + std::vector edges; + std::vector nodes; + }; + + + GetTaskFlowGraphResult(); + explicit GetTaskFlowGraphResult(const std::string &payload); + ~GetTaskFlowGraphResult(); + TaskFlowGraph getTaskFlowGraph()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + TaskFlowGraph taskFlowGraph_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWGRAPHRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowNotificationRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowNotificationRequest.h new file mode 100644 index 000000000..9857bd4f7 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowNotificationRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWNOTIFICATIONREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWNOTIFICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTaskFlowNotificationRequest : public RpcServiceRequest { +public: + GetTaskFlowNotificationRequest(); + ~GetTaskFlowNotificationRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWNOTIFICATIONREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowNotificationResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowNotificationResult.h new file mode 100644 index 000000000..92ab91e87 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskFlowNotificationResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWNOTIFICATIONRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWNOTIFICATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTaskFlowNotificationResult : public ServiceResult + { + public: + struct Notification + { + bool dagNotificationSuccess; + bool dagNotificationSla; + bool dagNotificationFail; + }; + + + GetTaskFlowNotificationResult(); + explicit GetTaskFlowNotificationResult(const std::string &payload); + ~GetTaskFlowNotificationResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + Notification getNotification()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + Notification notification_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKFLOWNOTIFICATIONRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskRequest.h new file mode 100644 index 000000000..91765c828 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTaskRequest : public RpcServiceRequest { +public: + GetTaskRequest(); + ~GetTaskRequest(); + long getTid() const; + void setTid(long tid); + long getNodeId() const; + void setNodeId(long nodeId); + +private: + long tid_; + long nodeId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskResult.h new file mode 100644 index 000000000..aaffca57f --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/GetTaskResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetTaskResult : public ServiceResult + { + public: + struct Task + { + std::string nodeName; + std::string timeVariables; + std::string nodeType; + long dagId; + std::string nodeOutput; + std::string nodeContent; + std::string nodeConfig; + std::string graphParam; + }; + + + GetTaskResult(); + explicit GetTaskResult(const std::string &payload); + ~GetTaskResult(); + Task getTask()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Task task_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETTASKRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesRequest.h new file mode 100644 index 000000000..47e7b373a --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTCLASSIFICATIONTEMPLATESREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTCLASSIFICATIONTEMPLATESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListClassificationTemplatesRequest : public RpcServiceRequest { +public: + ListClassificationTemplatesRequest(); + ~ListClassificationTemplatesRequest(); + long getTid() const; + void setTid(long tid); + +private: + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTCLASSIFICATIONTEMPLATESREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesResult.h new file mode 100644 index 000000000..c38d176b5 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListClassificationTemplatesResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTCLASSIFICATIONTEMPLATESRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTCLASSIFICATIONTEMPLATESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListClassificationTemplatesResult : public ServiceResult + { + public: + struct TemplateListItem + { + std::string templateType; + long templateId; + std::string name; + std::string remark; + }; + + + ListClassificationTemplatesResult(); + explicit ListClassificationTemplatesResult(const std::string &payload); + ~ListClassificationTemplatesResult(); + std::vector getTemplateList()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector templateList_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTCLASSIFICATIONTEMPLATESRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDefaultSLARulesRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDefaultSLARulesRequest.h new file mode 100644 index 000000000..482b92824 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDefaultSLARulesRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDEFAULTSLARULESREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDEFAULTSLARULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDefaultSLARulesRequest : public RpcServiceRequest { +public: + ListDefaultSLARulesRequest(); + ~ListDefaultSLARulesRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDEFAULTSLARULESREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDefaultSLARulesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDefaultSLARulesResult.h new file mode 100644 index 000000000..df8972cc6 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListDefaultSLARulesResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDEFAULTSLARULESRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDEFAULTSLARULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListDefaultSLARulesResult : public ServiceResult + { + public: + struct SLARule + { + long nodeId; + int intervalMinutes; + int ruleType; + long id; + long dagId; + }; + + + ListDefaultSLARulesResult(); + explicit ListDefaultSLARulesResult(const std::string &payload); + ~ListDefaultSLARulesResult(); + std::vector getSLARuleList()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector sLARuleList_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTDEFAULTSLARULESRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListEffectiveOrdersRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListEffectiveOrdersRequest.h new file mode 100644 index 000000000..1ea29e041 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListEffectiveOrdersRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTEFFECTIVEORDERSREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTEFFECTIVEORDERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListEffectiveOrdersRequest : public RpcServiceRequest { +public: + ListEffectiveOrdersRequest(); + ~ListEffectiveOrdersRequest(); + long getTid() const; + void setTid(long tid); + +private: + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTEFFECTIVEORDERSREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListEffectiveOrdersResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListEffectiveOrdersResult.h new file mode 100644 index 000000000..ba1603d1c --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListEffectiveOrdersResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTEFFECTIVEORDERSRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTEFFECTIVEORDERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListEffectiveOrdersResult : public ServiceResult + { + public: + struct OrderSummaryItem + { + struct OrderListItem + { + std::string endTime; + std::string buyerId; + std::string instanceId; + std::string startTime; + std::string orderId; + std::string insNum; + }; + int totalQuota; + std::string commodityCode; + std::vector orderList; + std::string commodityType; + std::string versionType; + }; + + + ListEffectiveOrdersResult(); + explicit ListEffectiveOrdersResult(const std::string &payload); + ~ListEffectiveOrdersResult(); + std::vector getOrderSummary()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector orderSummary_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTEFFECTIVEORDERSRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListInstancesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListInstancesResult.h index 3a4a055f7..a66ebf095 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListInstancesResult.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListInstancesResult.h @@ -50,6 +50,7 @@ namespace AlibabaCloud int queryTimeout; std::string dataLinkName; std::string safeRuleId; + bool sellSitd; StandardGroup standardGroup; std::string instanceSource; std::string instanceId; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListLogicTableRouteConfigRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListLogicTableRouteConfigRequest.h index f2005d2c0..88a7009b8 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListLogicTableRouteConfigRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListLogicTableRouteConfigRequest.h @@ -30,14 +30,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListLogicTableRouteConfigRequest : publ public: ListLogicTableRouteConfigRequest(); ~ListLogicTableRouteConfigRequest(); - long getTableId() const; - void setTableId(long tableId); long getTid() const; void setTid(long tid); + long getTableId() const; + void setTableId(long tableId); private: - long tableId_; long tid_; + long tableId_; }; } // namespace Model } // namespace Dms_enterprise diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSLARulesRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSLARulesRequest.h new file mode 100644 index 000000000..0c0ef69d3 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSLARulesRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSLARULESREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSLARULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListSLARulesRequest : public RpcServiceRequest { +public: + ListSLARulesRequest(); + ~ListSLARulesRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSLARULESREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSLARulesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSLARulesResult.h new file mode 100644 index 000000000..7875a3dcd --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSLARulesResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSLARULESRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSLARULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListSLARulesResult : public ServiceResult + { + public: + struct SLARule + { + long nodeId; + int intervalMinutes; + int ruleType; + long id; + long dagId; + }; + + + ListSLARulesResult(); + explicit ListSLARulesResult(const std::string &payload); + ~ListSLARulesResult(); + std::vector getSLARuleList()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector sLARuleList_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSLARULESRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSQLReviewOriginSQLResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSQLReviewOriginSQLResult.h index 617195bfb..ab3f287e8 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSQLReviewOriginSQLResult.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSQLReviewOriginSQLResult.h @@ -40,6 +40,7 @@ namespace AlibabaCloud std::string checkedTime; std::string fileName; std::string checkStatus; + std::string sQLName; long fileId; std::string reviewSummary; long sQLId; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListScenariosRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListScenariosRequest.h new file mode 100644 index 000000000..69d458a95 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListScenariosRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSCENARIOSREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSCENARIOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListScenariosRequest : public RpcServiceRequest { +public: + ListScenariosRequest(); + ~ListScenariosRequest(); + long getTid() const; + void setTid(long tid); + +private: + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSCENARIOSREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListScenariosResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListScenariosResult.h new file mode 100644 index 000000000..507163217 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListScenariosResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSCENARIOSRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSCENARIOSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListScenariosResult : public ServiceResult + { + public: + struct Scenario + { + std::string description; + std::string creatorId; + std::string scenarioName; + long id; + }; + + + ListScenariosResult(); + explicit ListScenariosResult(const std::string &payload); + ~ListScenariosResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + std::vector getScenarioList()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + std::vector scenarioList_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSCENARIOSRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveDataAuditLogRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveDataAuditLogRequest.h new file mode 100644 index 000000000..9abb06006 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveDataAuditLogRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSENSITIVEDATAAUDITLOGREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSENSITIVEDATAAUDITLOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListSensitiveDataAuditLogRequest : public RpcServiceRequest { +public: + ListSensitiveDataAuditLogRequest(); + ~ListSensitiveDataAuditLogRequest(); + 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); + std::string getColumnName() const; + void setColumnName(const std::string &columnName); + int getPageNumber() const; + void setPageNumber(int pageNumber); + long getTid() const; + void setTid(long tid); + std::string getDbName() const; + void setDbName(const std::string &dbName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getModuleName() const; + void setModuleName(const std::string &moduleName); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string opUserName_; + std::string endTime_; + std::string startTime_; + std::string columnName_; + int pageNumber_; + long tid_; + std::string dbName_; + int pageSize_; + std::string moduleName_; + std::string tableName_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSENSITIVEDATAAUDITLOGREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveDataAuditLogResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveDataAuditLogResult.h new file mode 100644 index 000000000..4693ebc7f --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListSensitiveDataAuditLogResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSENSITIVEDATAAUDITLOGRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSENSITIVEDATAAUDITLOGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListSensitiveDataAuditLogResult : public ServiceResult + { + public: + struct SensitiveDataAuditLogListItem + { + struct SensitiveDataLogItem + { + std::string tableName; + std::string columnName; + std::string columnPermissionType; + std::string securityLevel; + std::string desensitizationRule; + }; + std::string userName; + std::vector sensitiveDataLog; + long instanceId; + long userId; + std::string moduleName; + std::string dbDisplayName; + std::string targetName; + std::string opTime; + }; + + + ListSensitiveDataAuditLogResult(); + explicit ListSensitiveDataAuditLogResult(const std::string &payload); + ~ListSensitiveDataAuditLogResult(); + long getTotalCount()const; + std::vector getSensitiveDataAuditLogList()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector sensitiveDataAuditLogList_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTSENSITIVEDATAAUDITLOGRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowConstantsRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowConstantsRequest.h new file mode 100644 index 000000000..4e854f781 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowConstantsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCONSTANTSREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCONSTANTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTaskFlowConstantsRequest : public RpcServiceRequest { +public: + ListTaskFlowConstantsRequest(); + ~ListTaskFlowConstantsRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCONSTANTSREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowConstantsResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowConstantsResult.h new file mode 100644 index 000000000..de2cb4d45 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowConstantsResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCONSTANTSRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCONSTANTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTaskFlowConstantsResult : public ServiceResult + { + public: + struct DagConstant + { + std::string value; + std::string key; + }; + + + ListTaskFlowConstantsResult(); + explicit ListTaskFlowConstantsResult(const std::string &payload); + ~ListTaskFlowConstantsResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + std::vector getDagConstants()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + bool success_; + std::vector dagConstants_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCONSTANTSRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowCooperatorsRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowCooperatorsRequest.h new file mode 100644 index 000000000..1956b1a3d --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowCooperatorsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCOOPERATORSREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCOOPERATORSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTaskFlowCooperatorsRequest : public RpcServiceRequest { +public: + ListTaskFlowCooperatorsRequest(); + ~ListTaskFlowCooperatorsRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCOOPERATORSREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowCooperatorsResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowCooperatorsResult.h new file mode 100644 index 000000000..7d67e3df2 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowCooperatorsResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCOOPERATORSRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCOOPERATORSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTaskFlowCooperatorsResult : public ServiceResult + { + public: + struct Cooperator + { + std::string loginName; + std::string email; + std::string realName; + std::string nickName; + }; + + + ListTaskFlowCooperatorsResult(); + explicit ListTaskFlowCooperatorsResult(const std::string &payload); + ~ListTaskFlowCooperatorsResult(); + std::vector getCooperatorList()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector cooperatorList_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWCOOPERATORSRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowEdgesByConditionRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowEdgesByConditionRequest.h new file mode 100644 index 000000000..e63987471 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowEdgesByConditionRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWEDGESBYCONDITIONREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWEDGESBYCONDITIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTaskFlowEdgesByConditionRequest : public RpcServiceRequest { +public: + ListTaskFlowEdgesByConditionRequest(); + ~ListTaskFlowEdgesByConditionRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + long getNodeEnd() const; + void setNodeEnd(long nodeEnd); + long getNodeFrom() const; + void setNodeFrom(long nodeFrom); + long getId() const; + void setId(long id); + +private: + long dagId_; + long tid_; + long nodeEnd_; + long nodeFrom_; + long id_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWEDGESBYCONDITIONREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowEdgesByConditionResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowEdgesByConditionResult.h new file mode 100644 index 000000000..5d595dde9 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowEdgesByConditionResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWEDGESBYCONDITIONRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWEDGESBYCONDITIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTaskFlowEdgesByConditionResult : public ServiceResult + { + public: + struct Edge + { + long nodeFrom; + long nodeEnd; + long id; + }; + + + ListTaskFlowEdgesByConditionResult(); + explicit ListTaskFlowEdgesByConditionResult(const std::string &payload); + ~ListTaskFlowEdgesByConditionResult(); + std::string getErrorCode()const; + std::string getErrorMessage()const; + std::vector getEdges()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorCode_; + std::string errorMessage_; + std::vector edges_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWEDGESBYCONDITIONRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowInstanceResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowInstanceResult.h index ab473ac00..d74783a75 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowInstanceResult.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowInstanceResult.h @@ -40,6 +40,7 @@ namespace AlibabaCloud std::string ownerName; std::string endTime; std::string message; + std::string dagVersion; long id; std::string dagName; std::string businessTime; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowTimeVariablesRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowTimeVariablesRequest.h new file mode 100644 index 000000000..f42fc168f --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowTimeVariablesRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWTIMEVARIABLESREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWTIMEVARIABLESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTaskFlowTimeVariablesRequest : public RpcServiceRequest { +public: + ListTaskFlowTimeVariablesRequest(); + ~ListTaskFlowTimeVariablesRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWTIMEVARIABLESREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowTimeVariablesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowTimeVariablesResult.h new file mode 100644 index 000000000..a811f41fb --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowTimeVariablesResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWTIMEVARIABLESRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWTIMEVARIABLESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTaskFlowTimeVariablesResult : public ServiceResult + { + public: + struct TimeVariable + { + std::string pattern; + std::string name; + }; + + + ListTaskFlowTimeVariablesResult(); + explicit ListTaskFlowTimeVariablesResult(const std::string &payload); + ~ListTaskFlowTimeVariablesResult(); + std::vector getTimeVariables()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector timeVariables_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWTIMEVARIABLESRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowsByPageRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowsByPageRequest.h new file mode 100644 index 000000000..6bdf90370 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowsByPageRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWSBYPAGEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWSBYPAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTaskFlowsByPageRequest : public RpcServiceRequest { +public: + ListTaskFlowsByPageRequest(); + ~ListTaskFlowsByPageRequest(); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + long getTid() const; + void setTid(long tid); + bool getNeedLastDagInstance() const; + void setNeedLastDagInstance(bool needLastDagInstance); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageIndex() const; + void setPageIndex(int pageIndex); + +private: + std::string searchKey_; + long tid_; + bool needLastDagInstance_; + int pageSize_; + int pageIndex_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWSBYPAGEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowsByPageResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowsByPageResult.h new file mode 100644 index 000000000..bc5a680a9 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTaskFlowsByPageResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWSBYPAGERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWSBYPAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTaskFlowsByPageResult : public ServiceResult + { + public: + struct TaskFlow + { + int status; + int latestInstanceStatus; + std::string latestInstanceTime; + std::string description; + std::string creatorId; + long deployId; + long id; + std::string dagName; + std::string creatorNickName; + std::string dagOwnerNickName; + }; + + + ListTaskFlowsByPageResult(); + explicit ListTaskFlowsByPageResult(const std::string &payload); + ~ListTaskFlowsByPageResult(); + int getTotalCount()const; + std::vector getTaskFlowList()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector taskFlowList_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKFLOWSBYPAGERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTasksInTaskFlowRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTasksInTaskFlowRequest.h new file mode 100644 index 000000000..83b35a3b7 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTasksInTaskFlowRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKSINTASKFLOWREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKSINTASKFLOWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTasksInTaskFlowRequest : public RpcServiceRequest { +public: + ListTasksInTaskFlowRequest(); + ~ListTasksInTaskFlowRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKSINTASKFLOWREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTasksInTaskFlowResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTasksInTaskFlowResult.h new file mode 100644 index 000000000..54c08ee2b --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ListTasksInTaskFlowResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKSINTASKFLOWRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKSINTASKFLOWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ListTasksInTaskFlowResult : public ServiceResult + { + public: + struct Task + { + std::string nodeName; + std::string timeVariables; + std::string nodeType; + std::string nodeId; + std::string nodeOutput; + std::string nodeContent; + std::string nodeConfig; + std::string graphParam; + }; + + + ListTasksInTaskFlowResult(); + explicit ListTasksInTaskFlowResult(const std::string &payload); + ~ListTasksInTaskFlowResult(); + std::vector getTasks()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector tasks_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_LISTTASKSINTASKFLOWRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/MakeTaskFlowInstanceSuccessRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/MakeTaskFlowInstanceSuccessRequest.h new file mode 100644 index 000000000..02ec8efe7 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/MakeTaskFlowInstanceSuccessRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MAKETASKFLOWINSTANCESUCCESSREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MAKETASKFLOWINSTANCESUCCESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT MakeTaskFlowInstanceSuccessRequest : public RpcServiceRequest { +public: + MakeTaskFlowInstanceSuccessRequest(); + ~MakeTaskFlowInstanceSuccessRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + long getDagInstanceId() const; + void setDagInstanceId(long dagInstanceId); + +private: + long dagId_; + long tid_; + long dagInstanceId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MAKETASKFLOWINSTANCESUCCESSREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/MakeTaskFlowInstanceSuccessResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/MakeTaskFlowInstanceSuccessResult.h new file mode 100644 index 000000000..9a72ace8f --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/MakeTaskFlowInstanceSuccessResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MAKETASKFLOWINSTANCESUCCESSRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MAKETASKFLOWINSTANCESUCCESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT MakeTaskFlowInstanceSuccessResult : public ServiceResult + { + public: + + + MakeTaskFlowInstanceSuccessResult(); + explicit MakeTaskFlowInstanceSuccessResult(const std::string &payload); + ~MakeTaskFlowInstanceSuccessResult(); + 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_MAKETASKFLOWINSTANCESUCCESSRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioRequest.h new file mode 100644 index 000000000..f2f6c8867 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MOVETASKFLOWTOSCENARIOREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MOVETASKFLOWTOSCENARIOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT MoveTaskFlowToScenarioRequest : public RpcServiceRequest { +public: + MoveTaskFlowToScenarioRequest(); + ~MoveTaskFlowToScenarioRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + long getScenarioId() const; + void setScenarioId(long scenarioId); + +private: + long dagId_; + long tid_; + long scenarioId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MOVETASKFLOWTOSCENARIOREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioResult.h new file mode 100644 index 000000000..0b0dfeb89 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/MoveTaskFlowToScenarioResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MOVETASKFLOWTOSCENARIORESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_MOVETASKFLOWTOSCENARIORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT MoveTaskFlowToScenarioResult : public ServiceResult + { + public: + + + MoveTaskFlowToScenarioResult(); + explicit MoveTaskFlowToScenarioResult(const std::string &payload); + ~MoveTaskFlowToScenarioResult(); + 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_MOVETASKFLOWTOSCENARIORESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowRequest.h new file mode 100644 index 000000000..5513f4f1e --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PUBLISHANDDEPLOYTASKFLOWREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PUBLISHANDDEPLOYTASKFLOWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT PublishAndDeployTaskFlowRequest : public RpcServiceRequest { +public: + PublishAndDeployTaskFlowRequest(); + ~PublishAndDeployTaskFlowRequest(); + std::string getVersionComments() const; + void setVersionComments(const std::string &versionComments); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + std::string versionComments_; + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PUBLISHANDDEPLOYTASKFLOWREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowResult.h new file mode 100644 index 000000000..b5c641868 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/PublishAndDeployTaskFlowResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PUBLISHANDDEPLOYTASKFLOWRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PUBLISHANDDEPLOYTASKFLOWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT PublishAndDeployTaskFlowResult : public ServiceResult + { + public: + + + PublishAndDeployTaskFlowResult(); + explicit PublishAndDeployTaskFlowResult(const std::string &payload); + ~PublishAndDeployTaskFlowResult(); + long getDeployId()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long deployId_; + std::string errorCode_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_PUBLISHANDDEPLOYTASKFLOWRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ReRunTaskFlowInstanceRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ReRunTaskFlowInstanceRequest.h new file mode 100644 index 000000000..890270ce4 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ReRunTaskFlowInstanceRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RERUNTASKFLOWINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RERUNTASKFLOWINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ReRunTaskFlowInstanceRequest : public RpcServiceRequest { +public: + ReRunTaskFlowInstanceRequest(); + ~ReRunTaskFlowInstanceRequest(); + std::string getDagVersion() const; + void setDagVersion(const std::string &dagVersion); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + long getDagInstanceId() const; + void setDagInstanceId(long dagInstanceId); + +private: + std::string dagVersion_; + long dagId_; + long tid_; + long dagInstanceId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RERUNTASKFLOWINSTANCEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ReRunTaskFlowInstanceResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ReRunTaskFlowInstanceResult.h new file mode 100644 index 000000000..c1df85145 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ReRunTaskFlowInstanceResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RERUNTASKFLOWINSTANCERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RERUNTASKFLOWINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ReRunTaskFlowInstanceResult : public ServiceResult + { + public: + + + ReRunTaskFlowInstanceResult(); + explicit ReRunTaskFlowInstanceResult(const std::string &payload); + ~ReRunTaskFlowInstanceResult(); + 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_RERUNTASKFLOWINSTANCERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/RefundPayAsYouGoOrderRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RefundPayAsYouGoOrderRequest.h new file mode 100644 index 000000000..b8279c21b --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RefundPayAsYouGoOrderRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_REFUNDPAYASYOUGOORDERREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_REFUNDPAYASYOUGOORDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT RefundPayAsYouGoOrderRequest : public RpcServiceRequest { +public: + RefundPayAsYouGoOrderRequest(); + ~RefundPayAsYouGoOrderRequest(); + std::string getOrderId() const; + void setOrderId(const std::string &orderId); + long getTid() const; + void setTid(long tid); + +private: + std::string orderId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_REFUNDPAYASYOUGOORDERREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/RefundPayAsYouGoOrderResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RefundPayAsYouGoOrderResult.h new file mode 100644 index 000000000..12c117edd --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RefundPayAsYouGoOrderResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_REFUNDPAYASYOUGOORDERRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_REFUNDPAYASYOUGOORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT RefundPayAsYouGoOrderResult : public ServiceResult + { + public: + + + RefundPayAsYouGoOrderResult(); + explicit RefundPayAsYouGoOrderResult(const std::string &payload); + ~RefundPayAsYouGoOrderResult(); + 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_REFUNDPAYASYOUGOORDERRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/RegisterInstanceRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RegisterInstanceRequest.h index daf782678..62ad9393d 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/RegisterInstanceRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/RegisterInstanceRequest.h @@ -42,8 +42,12 @@ public: void setTid(long tid); std::string getSid() const; void setSid(const std::string &sid); + std::string getEnableSellSitd() const; + void setEnableSellSitd(const std::string &enableSellSitd); std::string getDataLinkName() const; void setDataLinkName(const std::string &dataLinkName); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); std::string getInstanceSource() const; void setInstanceSource(const std::string &instanceSource); std::string getEnvType() const; @@ -62,6 +66,8 @@ public: void setDatabasePassword(const std::string &databasePassword); std::string getInstanceAlias() const; void setInstanceAlias(const std::string &instanceAlias); + long getTemplateId() const; + void setTemplateId(long templateId); std::string getDatabaseUser() const; void setDatabaseUser(const std::string &databaseUser); int getPort() const; @@ -82,7 +88,9 @@ private: std::string networkType_; long tid_; std::string sid_; + std::string enableSellSitd_; std::string dataLinkName_; + std::string templateType_; std::string instanceSource_; std::string envType_; std::string host_; @@ -92,6 +100,7 @@ private: int exportTimeout_; std::string databasePassword_; std::string instanceAlias_; + long templateId_; std::string databaseUser_; int port_; std::string vpcId_; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceRequest.h new file mode 100644 index 000000000..fa61083c2 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESUMETASKFLOWINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESUMETASKFLOWINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ResumeTaskFlowInstanceRequest : public RpcServiceRequest { +public: + ResumeTaskFlowInstanceRequest(); + ~ResumeTaskFlowInstanceRequest(); + std::string getDagVersion() const; + void setDagVersion(const std::string &dagVersion); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + long getDagInstanceId() const; + void setDagInstanceId(long dagInstanceId); + +private: + std::string dagVersion_; + long dagId_; + long tid_; + long dagInstanceId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESUMETASKFLOWINSTANCEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceResult.h new file mode 100644 index 000000000..bd3c1801a --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ResumeTaskFlowInstanceResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESUMETASKFLOWINSTANCERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_RESUMETASKFLOWINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ResumeTaskFlowInstanceResult : public ServiceResult + { + public: + + + ResumeTaskFlowInstanceResult(); + explicit ResumeTaskFlowInstanceResult(const std::string &payload); + ~ResumeTaskFlowInstanceResult(); + 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_RESUMETASKFLOWINSTANCERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceRequest.h new file mode 100644 index 000000000..bc8ed38e9 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_STOPTASKFLOWINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_STOPTASKFLOWINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT StopTaskFlowInstanceRequest : public RpcServiceRequest { +public: + StopTaskFlowInstanceRequest(); + ~StopTaskFlowInstanceRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + long getDagInstanceId() const; + void setDagInstanceId(long dagInstanceId); + +private: + long dagId_; + long tid_; + long dagInstanceId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_STOPTASKFLOWINSTANCEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceResult.h new file mode 100644 index 000000000..58b8feaf9 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/StopTaskFlowInstanceResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_STOPTASKFLOWINSTANCERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_STOPTASKFLOWINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT StopTaskFlowInstanceResult : public ServiceResult + { + public: + + + StopTaskFlowInstanceResult(); + explicit StopTaskFlowInstanceResult(const std::string &payload); + ~StopTaskFlowInstanceResult(); + 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_STOPTASKFLOWINSTANCERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceRequest.h new file mode 100644 index 000000000..48bfc3b1f --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUSPENDTASKFLOWINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUSPENDTASKFLOWINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT SuspendTaskFlowInstanceRequest : public RpcServiceRequest { +public: + SuspendTaskFlowInstanceRequest(); + ~SuspendTaskFlowInstanceRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + long getDagInstanceId() const; + void setDagInstanceId(long dagInstanceId); + +private: + long dagId_; + long tid_; + long dagInstanceId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUSPENDTASKFLOWINSTANCEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceResult.h new file mode 100644 index 000000000..23db5b6ac --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/SuspendTaskFlowInstanceResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUSPENDTASKFLOWINSTANCERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_SUSPENDTASKFLOWINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT SuspendTaskFlowInstanceResult : public ServiceResult + { + public: + + + SuspendTaskFlowInstanceResult(); + explicit SuspendTaskFlowInstanceResult(const std::string &payload); + ~SuspendTaskFlowInstanceResult(); + 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_SUSPENDTASKFLOWINSTANCERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateInstanceRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateInstanceRequest.h index 41e8e6664..516805a92 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateInstanceRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateInstanceRequest.h @@ -42,10 +42,14 @@ public: void setTid(long tid); std::string getSid() const; void setSid(const std::string &sid); + std::string getEnableSellSitd() const; + void setEnableSellSitd(const std::string &enableSellSitd); std::string getDbaId() const; void setDbaId(const std::string &dbaId); std::string getDataLinkName() const; void setDataLinkName(const std::string &dataLinkName); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); std::string getInstanceSource() const; void setInstanceSource(const std::string &instanceSource); std::string getEnvType() const; @@ -64,6 +68,8 @@ public: void setDatabasePassword(const std::string &databasePassword); std::string getInstanceAlias() const; void setInstanceAlias(const std::string &instanceAlias); + long getTemplateId() const; + void setTemplateId(long templateId); std::string getDatabaseUser() const; void setDatabaseUser(const std::string &databaseUser); std::string getInstanceId() const; @@ -82,8 +88,10 @@ private: int useDsql_; long tid_; std::string sid_; + std::string enableSellSitd_; std::string dbaId_; std::string dataLinkName_; + std::string templateType_; std::string instanceSource_; std::string envType_; std::string host_; @@ -93,6 +101,7 @@ private: int exportTimeout_; std::string databasePassword_; std::string instanceAlias_; + long templateId_; std::string databaseUser_; std::string instanceId_; int port_; diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateSLARulesRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateSLARulesRequest.h new file mode 100644 index 000000000..5849cf9e1 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateSLARulesRequest.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESLARULESREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESLARULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateSLARulesRequest : public RpcServiceRequest { +public: + struct SlaRuleList { + int intervalMinutes; + bool infoAction; + long dagId; + int type; + long nodeId; + }; + UpdateSLARulesRequest(); + ~UpdateSLARulesRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + std::vector getSlaRuleList() const; + void setSlaRuleList(const std::vector &slaRuleList); + +private: + long dagId_; + long tid_; + std::vector slaRuleList_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESLARULESREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateSLARulesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateSLARulesResult.h new file mode 100644 index 000000000..06bb32d56 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateSLARulesResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESLARULESRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESLARULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateSLARulesResult : public ServiceResult + { + public: + + + UpdateSLARulesResult(); + explicit UpdateSLARulesResult(const std::string &payload); + ~UpdateSLARulesResult(); + 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_UPDATESLARULESRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateScenarioRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateScenarioRequest.h new file mode 100644 index 000000000..90e35df01 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateScenarioRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESCENARIOREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESCENARIOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateScenarioRequest : public RpcServiceRequest { +public: + UpdateScenarioRequest(); + ~UpdateScenarioRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + long getTid() const; + void setTid(long tid); + std::string getScenarioName() const; + void setScenarioName(const std::string &scenarioName); + std::string getScenarioId() const; + void setScenarioId(const std::string &scenarioId); + +private: + std::string description_; + long tid_; + std::string scenarioName_; + std::string scenarioId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESCENARIOREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateScenarioResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateScenarioResult.h new file mode 100644 index 000000000..7d3d8bee7 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateScenarioResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESCENARIORESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATESCENARIORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateScenarioResult : public ServiceResult + { + public: + + + UpdateScenarioResult(); + explicit UpdateScenarioResult(const std::string &payload); + ~UpdateScenarioResult(); + 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_UPDATESCENARIORESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskConfigRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskConfigRequest.h new file mode 100644 index 000000000..9afbbf136 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskConfigRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKCONFIGREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskConfigRequest : public RpcServiceRequest { +public: + UpdateTaskConfigRequest(); + ~UpdateTaskConfigRequest(); + std::string getNodeConfig() const; + void setNodeConfig(const std::string &nodeConfig); + long getTid() const; + void setTid(long tid); + std::string getNodeId() const; + void setNodeId(const std::string &nodeId); + +private: + std::string nodeConfig_; + long tid_; + std::string nodeId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKCONFIGREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskConfigResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskConfigResult.h new file mode 100644 index 000000000..046e4b216 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskConfigResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKCONFIGRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskConfigResult : public ServiceResult + { + public: + + + UpdateTaskConfigResult(); + explicit UpdateTaskConfigResult(const std::string &payload); + ~UpdateTaskConfigResult(); + 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_UPDATETASKCONFIGRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskContentRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskContentRequest.h new file mode 100644 index 000000000..85097824c --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskContentRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKCONTENTREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKCONTENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskContentRequest : public RpcServiceRequest { +public: + UpdateTaskContentRequest(); + ~UpdateTaskContentRequest(); + long getTid() const; + void setTid(long tid); + std::string getNodeContent() const; + void setNodeContent(const std::string &nodeContent); + std::string getNodeId() const; + void setNodeId(const std::string &nodeId); + +private: + long tid_; + std::string nodeContent_; + std::string nodeId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKCONTENTREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskContentResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskContentResult.h new file mode 100644 index 000000000..ea22b61e4 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskContentResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKCONTENTRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKCONTENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskContentResult : public ServiceResult + { + public: + + + UpdateTaskContentResult(); + explicit UpdateTaskContentResult(const std::string &payload); + ~UpdateTaskContentResult(); + 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_UPDATETASKCONTENTRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowConstantsRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowConstantsRequest.h new file mode 100644 index 000000000..340dccf61 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowConstantsRequest.h @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWCONSTANTSREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWCONSTANTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowConstantsRequest : public RpcServiceRequest { +public: + struct DagConstants { + std::string value; + std::string key; + }; + UpdateTaskFlowConstantsRequest(); + ~UpdateTaskFlowConstantsRequest(); + std::vector getDagConstants() const; + void setDagConstants(const std::vector &dagConstants); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + std::vector dagConstants_; + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWCONSTANTSREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowConstantsResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowConstantsResult.h new file mode 100644 index 000000000..a93a3ce06 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowConstantsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWCONSTANTSRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWCONSTANTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowConstantsResult : public ServiceResult + { + public: + + + UpdateTaskFlowConstantsResult(); + explicit UpdateTaskFlowConstantsResult(const std::string &payload); + ~UpdateTaskFlowConstantsResult(); + 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_UPDATETASKFLOWCONSTANTSRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowCooperatorsRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowCooperatorsRequest.h new file mode 100644 index 000000000..25bf6e448 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowCooperatorsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWCOOPERATORSREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWCOOPERATORSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowCooperatorsRequest : public RpcServiceRequest { +public: + UpdateTaskFlowCooperatorsRequest(); + ~UpdateTaskFlowCooperatorsRequest(); + long getDagId() const; + void setDagId(long dagId); + std::vector getCooperatorIds() const; + void setCooperatorIds(const std::vector &cooperatorIds); + long getTid() const; + void setTid(long tid); + +private: + long dagId_; + std::vector cooperatorIds_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWCOOPERATORSREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowCooperatorsResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowCooperatorsResult.h new file mode 100644 index 000000000..b6d5c6ce3 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowCooperatorsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWCOOPERATORSRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWCOOPERATORSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowCooperatorsResult : public ServiceResult + { + public: + + + UpdateTaskFlowCooperatorsResult(); + explicit UpdateTaskFlowCooperatorsResult(const std::string &payload); + ~UpdateTaskFlowCooperatorsResult(); + 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_UPDATETASKFLOWCOOPERATORSRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowEdgesRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowEdgesRequest.h new file mode 100644 index 000000000..c01e17480 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowEdgesRequest.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_UPDATETASKFLOWEDGESREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWEDGESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowEdgesRequest : public RpcServiceRequest { +public: + struct Edges { + long nodeEnd; + long nodeFrom; + long id; + }; + UpdateTaskFlowEdgesRequest(); + ~UpdateTaskFlowEdgesRequest(); + std::vector getEdges() const; + void setEdges(const std::vector &edges); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + std::vector edges_; + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWEDGESREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowEdgesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowEdgesResult.h new file mode 100644 index 000000000..b787232bf --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowEdgesResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWEDGESRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWEDGESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowEdgesResult : public ServiceResult + { + public: + + + UpdateTaskFlowEdgesResult(); + explicit UpdateTaskFlowEdgesResult(const std::string &payload); + ~UpdateTaskFlowEdgesResult(); + 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_UPDATETASKFLOWEDGESRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNameAndDescRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNameAndDescRequest.h new file mode 100644 index 000000000..b7e744372 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNameAndDescRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWNAMEANDDESCREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWNAMEANDDESCREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowNameAndDescRequest : public RpcServiceRequest { +public: + UpdateTaskFlowNameAndDescRequest(); + ~UpdateTaskFlowNameAndDescRequest(); + std::string getDagName() const; + void setDagName(const std::string &dagName); + std::string getDescription() const; + void setDescription(const std::string &description); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + std::string dagName_; + std::string description_; + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWNAMEANDDESCREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNameAndDescResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNameAndDescResult.h new file mode 100644 index 000000000..9f2afb0ff --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNameAndDescResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWNAMEANDDESCRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWNAMEANDDESCRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowNameAndDescResult : public ServiceResult + { + public: + + + UpdateTaskFlowNameAndDescResult(); + explicit UpdateTaskFlowNameAndDescResult(const std::string &payload); + ~UpdateTaskFlowNameAndDescResult(); + 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_UPDATETASKFLOWNAMEANDDESCRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNotificationRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNotificationRequest.h new file mode 100644 index 000000000..9f1e57c19 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNotificationRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWNOTIFICATIONREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWNOTIFICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowNotificationRequest : public RpcServiceRequest { +public: + UpdateTaskFlowNotificationRequest(); + ~UpdateTaskFlowNotificationRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + bool getDagNotificationFail() const; + void setDagNotificationFail(bool dagNotificationFail); + bool getDagNotificationSuccess() const; + void setDagNotificationSuccess(bool dagNotificationSuccess); + bool getDagNotificationSla() const; + void setDagNotificationSla(bool dagNotificationSla); + +private: + long dagId_; + long tid_; + bool dagNotificationFail_; + bool dagNotificationSuccess_; + bool dagNotificationSla_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWNOTIFICATIONREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNotificationResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNotificationResult.h new file mode 100644 index 000000000..27ebb57e0 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowNotificationResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWNOTIFICATIONRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWNOTIFICATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowNotificationResult : public ServiceResult + { + public: + + + UpdateTaskFlowNotificationResult(); + explicit UpdateTaskFlowNotificationResult(const std::string &payload); + ~UpdateTaskFlowNotificationResult(); + 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_UPDATETASKFLOWNOTIFICATIONRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowOwnerRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowOwnerRequest.h new file mode 100644 index 000000000..b795c8edb --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowOwnerRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWOWNERREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWOWNERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowOwnerRequest : public RpcServiceRequest { +public: + UpdateTaskFlowOwnerRequest(); + ~UpdateTaskFlowOwnerRequest(); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + std::string getNewOwnerId() const; + void setNewOwnerId(const std::string &newOwnerId); + +private: + long dagId_; + long tid_; + std::string newOwnerId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWOWNERREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowOwnerResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowOwnerResult.h new file mode 100644 index 000000000..b2abb7044 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowOwnerResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWOWNERRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWOWNERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowOwnerResult : public ServiceResult + { + public: + + + UpdateTaskFlowOwnerResult(); + explicit UpdateTaskFlowOwnerResult(const std::string &payload); + ~UpdateTaskFlowOwnerResult(); + 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_UPDATETASKFLOWOWNERRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowRelationsRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowRelationsRequest.h new file mode 100644 index 000000000..afac7728d --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowRelationsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWRELATIONSREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWRELATIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowRelationsRequest : public RpcServiceRequest { +public: + struct Edges { + long nodeEnd; + long nodeFrom; + int edgeType; + long id; + }; + UpdateTaskFlowRelationsRequest(); + ~UpdateTaskFlowRelationsRequest(); + std::vector getEdges() const; + void setEdges(const std::vector &edges); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + std::vector edges_; + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWRELATIONSREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowRelationsResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowRelationsResult.h new file mode 100644 index 000000000..a51a51121 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowRelationsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWRELATIONSRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWRELATIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowRelationsResult : public ServiceResult + { + public: + + + UpdateTaskFlowRelationsResult(); + explicit UpdateTaskFlowRelationsResult(const std::string &payload); + ~UpdateTaskFlowRelationsResult(); + 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_UPDATETASKFLOWRELATIONSRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowScheduleRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowScheduleRequest.h new file mode 100644 index 000000000..30e4a222a --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowScheduleRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWSCHEDULEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWSCHEDULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowScheduleRequest : public RpcServiceRequest { +public: + UpdateTaskFlowScheduleRequest(); + ~UpdateTaskFlowScheduleRequest(); + std::string getCronType() const; + void setCronType(const std::string &cronType); + std::string getCronStr() const; + void setCronStr(const std::string &cronStr); + std::string getTriggerType() const; + void setTriggerType(const std::string &triggerType); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + bool getScheduleSwitch() const; + void setScheduleSwitch(bool scheduleSwitch); + std::string getCronEndDate() const; + void setCronEndDate(const std::string &cronEndDate); + std::string getTimeZoneId() const; + void setTimeZoneId(const std::string &timeZoneId); + std::string getCronBeginDate() const; + void setCronBeginDate(const std::string &cronBeginDate); + std::string getScheduleParam() const; + void setScheduleParam(const std::string &scheduleParam); + +private: + std::string cronType_; + std::string cronStr_; + std::string triggerType_; + long dagId_; + long tid_; + bool scheduleSwitch_; + std::string cronEndDate_; + std::string timeZoneId_; + std::string cronBeginDate_; + std::string scheduleParam_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWSCHEDULEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowScheduleResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowScheduleResult.h new file mode 100644 index 000000000..d831a6c7a --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowScheduleResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWSCHEDULERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWSCHEDULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowScheduleResult : public ServiceResult + { + public: + + + UpdateTaskFlowScheduleResult(); + explicit UpdateTaskFlowScheduleResult(const std::string &payload); + ~UpdateTaskFlowScheduleResult(); + 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_UPDATETASKFLOWSCHEDULERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowTimeVariablesRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowTimeVariablesRequest.h new file mode 100644 index 000000000..7b121c305 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowTimeVariablesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWTIMEVARIABLESREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWTIMEVARIABLESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowTimeVariablesRequest : public RpcServiceRequest { +public: + UpdateTaskFlowTimeVariablesRequest(); + ~UpdateTaskFlowTimeVariablesRequest(); + std::string getTimeVariables() const; + void setTimeVariables(const std::string &timeVariables); + long getDagId() const; + void setDagId(long dagId); + long getTid() const; + void setTid(long tid); + +private: + std::string timeVariables_; + long dagId_; + long tid_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWTIMEVARIABLESREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowTimeVariablesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowTimeVariablesResult.h new file mode 100644 index 000000000..489b717e8 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskFlowTimeVariablesResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWTIMEVARIABLESRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKFLOWTIMEVARIABLESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskFlowTimeVariablesResult : public ServiceResult + { + public: + + + UpdateTaskFlowTimeVariablesResult(); + explicit UpdateTaskFlowTimeVariablesResult(const std::string &payload); + ~UpdateTaskFlowTimeVariablesResult(); + 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_UPDATETASKFLOWTIMEVARIABLESRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskNameRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskNameRequest.h new file mode 100644 index 000000000..241d26b17 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskNameRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKNAMEREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKNAMEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskNameRequest : public RpcServiceRequest { +public: + UpdateTaskNameRequest(); + ~UpdateTaskNameRequest(); + long getTid() const; + void setTid(long tid); + std::string getNodeName() const; + void setNodeName(const std::string &nodeName); + std::string getNodeId() const; + void setNodeId(const std::string &nodeId); + +private: + long tid_; + std::string nodeName_; + std::string nodeId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKNAMEREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskNameResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskNameResult.h new file mode 100644 index 000000000..3d4fad1d7 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskNameResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKNAMERESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKNAMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskNameResult : public ServiceResult + { + public: + + + UpdateTaskNameResult(); + explicit UpdateTaskNameResult(const std::string &payload); + ~UpdateTaskNameResult(); + 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_UPDATETASKNAMERESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskOutputRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskOutputRequest.h new file mode 100644 index 000000000..c4fa3d782 --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskOutputRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKOUTPUTREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKOUTPUTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskOutputRequest : public RpcServiceRequest { +public: + UpdateTaskOutputRequest(); + ~UpdateTaskOutputRequest(); + long getTid() const; + void setTid(long tid); + std::string getNodeOutput() const; + void setNodeOutput(const std::string &nodeOutput); + std::string getNodeId() const; + void setNodeId(const std::string &nodeId); + +private: + long tid_; + std::string nodeOutput_; + std::string nodeId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKOUTPUTREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskOutputResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskOutputResult.h new file mode 100644 index 000000000..8f22c052b --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskOutputResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKOUTPUTRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKOUTPUTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskOutputResult : public ServiceResult + { + public: + + + UpdateTaskOutputResult(); + explicit UpdateTaskOutputResult(const std::string &payload); + ~UpdateTaskOutputResult(); + 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_UPDATETASKOUTPUTRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskTimeVariablesRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskTimeVariablesRequest.h new file mode 100644 index 000000000..c7763036b --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskTimeVariablesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKTIMEVARIABLESREQUEST_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKTIMEVARIABLESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dms_enterprise { +namespace Model { +class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskTimeVariablesRequest : public RpcServiceRequest { +public: + UpdateTaskTimeVariablesRequest(); + ~UpdateTaskTimeVariablesRequest(); + std::string getTimeVariables() const; + void setTimeVariables(const std::string &timeVariables); + long getTid() const; + void setTid(long tid); + std::string getNodeId() const; + void setNodeId(const std::string &nodeId); + +private: + std::string timeVariables_; + long tid_; + std::string nodeId_; +}; +} // namespace Model +} // namespace Dms_enterprise +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKTIMEVARIABLESREQUEST_H_ diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskTimeVariablesResult.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskTimeVariablesResult.h new file mode 100644 index 000000000..6294fd16c --- /dev/null +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/UpdateTaskTimeVariablesResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKTIMEVARIABLESRESULT_H_ +#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_UPDATETASKTIMEVARIABLESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dms_enterprise + { + namespace Model + { + class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT UpdateTaskTimeVariablesResult : public ServiceResult + { + public: + + + UpdateTaskTimeVariablesResult(); + explicit UpdateTaskTimeVariablesResult(const std::string &payload); + ~UpdateTaskTimeVariablesResult(); + 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_UPDATETASKTIMEVARIABLESRESULT_H_ \ No newline at end of file diff --git a/dms-enterprise/src/Dms-enterpriseClient.cc b/dms-enterprise/src/Dms-enterpriseClient.cc index a175cd60e..2abfd4b9b 100644 --- a/dms-enterprise/src/Dms-enterpriseClient.cc +++ b/dms-enterprise/src/Dms-enterpriseClient.cc @@ -159,6 +159,42 @@ Dms_enterpriseClient::AddLogicTableRouteConfigOutcomeCallable Dms_enterpriseClie return task->get_future(); } +Dms_enterpriseClient::AddTaskFlowEdgesOutcome Dms_enterpriseClient::addTaskFlowEdges(const AddTaskFlowEdgesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddTaskFlowEdgesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddTaskFlowEdgesOutcome(AddTaskFlowEdgesResult(outcome.result())); + else + return AddTaskFlowEdgesOutcome(outcome.error()); +} + +void Dms_enterpriseClient::addTaskFlowEdgesAsync(const AddTaskFlowEdgesRequest& request, const AddTaskFlowEdgesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addTaskFlowEdges(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::AddTaskFlowEdgesOutcomeCallable Dms_enterpriseClient::addTaskFlowEdgesCallable(const AddTaskFlowEdgesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addTaskFlowEdges(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ApproveOrderOutcome Dms_enterpriseClient::approveOrder(const ApproveOrderRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -195,6 +231,78 @@ Dms_enterpriseClient::ApproveOrderOutcomeCallable Dms_enterpriseClient::approveO return task->get_future(); } +Dms_enterpriseClient::BackFillOutcome Dms_enterpriseClient::backFill(const BackFillRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BackFillOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BackFillOutcome(BackFillResult(outcome.result())); + else + return BackFillOutcome(outcome.error()); +} + +void Dms_enterpriseClient::backFillAsync(const BackFillRequest& request, const BackFillAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, backFill(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::BackFillOutcomeCallable Dms_enterpriseClient::backFillCallable(const BackFillRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->backFill(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::BuyPayAsYouGoOrderOutcome Dms_enterpriseClient::buyPayAsYouGoOrder(const BuyPayAsYouGoOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BuyPayAsYouGoOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BuyPayAsYouGoOrderOutcome(BuyPayAsYouGoOrderResult(outcome.result())); + else + return BuyPayAsYouGoOrderOutcome(outcome.error()); +} + +void Dms_enterpriseClient::buyPayAsYouGoOrderAsync(const BuyPayAsYouGoOrderRequest& request, const BuyPayAsYouGoOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, buyPayAsYouGoOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::BuyPayAsYouGoOrderOutcomeCallable Dms_enterpriseClient::buyPayAsYouGoOrderCallable(const BuyPayAsYouGoOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->buyPayAsYouGoOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ChangeColumnSecLevelOutcome Dms_enterpriseClient::changeColumnSecLevel(const ChangeColumnSecLevelRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -699,6 +807,42 @@ Dms_enterpriseClient::CreateSQLReviewOrderOutcomeCallable Dms_enterpriseClient:: return task->get_future(); } +Dms_enterpriseClient::CreateScenarioOutcome Dms_enterpriseClient::createScenario(const CreateScenarioRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateScenarioOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateScenarioOutcome(CreateScenarioResult(outcome.result())); + else + return CreateScenarioOutcome(outcome.error()); +} + +void Dms_enterpriseClient::createScenarioAsync(const CreateScenarioRequest& request, const CreateScenarioAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createScenario(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::CreateScenarioOutcomeCallable Dms_enterpriseClient::createScenarioCallable(const CreateScenarioRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createScenario(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::CreateStandardGroupOutcome Dms_enterpriseClient::createStandardGroup(const CreateStandardGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -771,6 +915,78 @@ Dms_enterpriseClient::CreateStructSyncOrderOutcomeCallable Dms_enterpriseClient: return task->get_future(); } +Dms_enterpriseClient::CreateTaskOutcome Dms_enterpriseClient::createTask(const CreateTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateTaskOutcome(CreateTaskResult(outcome.result())); + else + return CreateTaskOutcome(outcome.error()); +} + +void Dms_enterpriseClient::createTaskAsync(const CreateTaskRequest& request, const CreateTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::CreateTaskOutcomeCallable Dms_enterpriseClient::createTaskCallable(const CreateTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::CreateTaskFlowOutcome Dms_enterpriseClient::createTaskFlow(const CreateTaskFlowRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateTaskFlowOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateTaskFlowOutcome(CreateTaskFlowResult(outcome.result())); + else + return CreateTaskFlowOutcome(outcome.error()); +} + +void Dms_enterpriseClient::createTaskFlowAsync(const CreateTaskFlowRequest& request, const CreateTaskFlowAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createTaskFlow(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::CreateTaskFlowOutcomeCallable Dms_enterpriseClient::createTaskFlowCallable(const CreateTaskFlowRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createTaskFlow(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::CreateUploadFileJobOutcome Dms_enterpriseClient::createUploadFileJob(const CreateUploadFileJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1095,6 +1311,78 @@ Dms_enterpriseClient::DeleteProxyAccessOutcomeCallable Dms_enterpriseClient::del return task->get_future(); } +Dms_enterpriseClient::DeleteScenarioOutcome Dms_enterpriseClient::deleteScenario(const DeleteScenarioRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteScenarioOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteScenarioOutcome(DeleteScenarioResult(outcome.result())); + else + return DeleteScenarioOutcome(outcome.error()); +} + +void Dms_enterpriseClient::deleteScenarioAsync(const DeleteScenarioRequest& request, const DeleteScenarioAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteScenario(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::DeleteScenarioOutcomeCallable Dms_enterpriseClient::deleteScenarioCallable(const DeleteScenarioRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteScenario(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::DeleteTaskOutcome Dms_enterpriseClient::deleteTask(const DeleteTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteTaskOutcome(DeleteTaskResult(outcome.result())); + else + return DeleteTaskOutcome(outcome.error()); +} + +void Dms_enterpriseClient::deleteTaskAsync(const DeleteTaskRequest& request, const DeleteTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::DeleteTaskOutcomeCallable Dms_enterpriseClient::deleteTaskCallable(const DeleteTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::DeleteTaskFlowOutcome Dms_enterpriseClient::deleteTaskFlow(const DeleteTaskFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1131,6 +1419,42 @@ Dms_enterpriseClient::DeleteTaskFlowOutcomeCallable Dms_enterpriseClient::delete return task->get_future(); } +Dms_enterpriseClient::DeleteTaskFlowEdgesByConditionOutcome Dms_enterpriseClient::deleteTaskFlowEdgesByCondition(const DeleteTaskFlowEdgesByConditionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteTaskFlowEdgesByConditionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteTaskFlowEdgesByConditionOutcome(DeleteTaskFlowEdgesByConditionResult(outcome.result())); + else + return DeleteTaskFlowEdgesByConditionOutcome(outcome.error()); +} + +void Dms_enterpriseClient::deleteTaskFlowEdgesByConditionAsync(const DeleteTaskFlowEdgesByConditionRequest& request, const DeleteTaskFlowEdgesByConditionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteTaskFlowEdgesByCondition(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::DeleteTaskFlowEdgesByConditionOutcomeCallable Dms_enterpriseClient::deleteTaskFlowEdgesByConditionCallable(const DeleteTaskFlowEdgesByConditionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteTaskFlowEdgesByCondition(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::DeleteUserOutcome Dms_enterpriseClient::deleteUser(const DeleteUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1851,6 +2175,42 @@ Dms_enterpriseClient::GetInstanceOutcomeCallable Dms_enterpriseClient::getInstan return task->get_future(); } +Dms_enterpriseClient::GetIntervalLimitOfSLAOutcome Dms_enterpriseClient::getIntervalLimitOfSLA(const GetIntervalLimitOfSLARequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetIntervalLimitOfSLAOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetIntervalLimitOfSLAOutcome(GetIntervalLimitOfSLAResult(outcome.result())); + else + return GetIntervalLimitOfSLAOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getIntervalLimitOfSLAAsync(const GetIntervalLimitOfSLARequest& request, const GetIntervalLimitOfSLAAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getIntervalLimitOfSLA(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetIntervalLimitOfSLAOutcomeCallable Dms_enterpriseClient::getIntervalLimitOfSLACallable(const GetIntervalLimitOfSLARequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getIntervalLimitOfSLA(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::GetLhSpaceByNameOutcome Dms_enterpriseClient::getLhSpaceByName(const GetLhSpaceByNameRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2211,6 +2571,42 @@ Dms_enterpriseClient::GetProxyOutcomeCallable Dms_enterpriseClient::getProxyCall return task->get_future(); } +Dms_enterpriseClient::GetRuleNumLimitOfSLAOutcome Dms_enterpriseClient::getRuleNumLimitOfSLA(const GetRuleNumLimitOfSLARequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetRuleNumLimitOfSLAOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetRuleNumLimitOfSLAOutcome(GetRuleNumLimitOfSLAResult(outcome.result())); + else + return GetRuleNumLimitOfSLAOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getRuleNumLimitOfSLAAsync(const GetRuleNumLimitOfSLARequest& request, const GetRuleNumLimitOfSLAAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getRuleNumLimitOfSLA(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetRuleNumLimitOfSLAOutcomeCallable Dms_enterpriseClient::getRuleNumLimitOfSLACallable(const GetRuleNumLimitOfSLARequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getRuleNumLimitOfSLA(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::GetSQLReviewCheckResultStatusOutcome Dms_enterpriseClient::getSQLReviewCheckResultStatus(const GetSQLReviewCheckResultStatusRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2499,6 +2895,114 @@ Dms_enterpriseClient::GetTableTopologyOutcomeCallable Dms_enterpriseClient::getT return task->get_future(); } +Dms_enterpriseClient::GetTaskOutcome Dms_enterpriseClient::getTask(const GetTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTaskOutcome(GetTaskResult(outcome.result())); + else + return GetTaskOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getTaskAsync(const GetTaskRequest& request, const GetTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetTaskOutcomeCallable Dms_enterpriseClient::getTaskCallable(const GetTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::GetTaskFlowGraphOutcome Dms_enterpriseClient::getTaskFlowGraph(const GetTaskFlowGraphRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetTaskFlowGraphOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTaskFlowGraphOutcome(GetTaskFlowGraphResult(outcome.result())); + else + return GetTaskFlowGraphOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getTaskFlowGraphAsync(const GetTaskFlowGraphRequest& request, const GetTaskFlowGraphAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getTaskFlowGraph(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetTaskFlowGraphOutcomeCallable Dms_enterpriseClient::getTaskFlowGraphCallable(const GetTaskFlowGraphRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getTaskFlowGraph(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::GetTaskFlowNotificationOutcome Dms_enterpriseClient::getTaskFlowNotification(const GetTaskFlowNotificationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetTaskFlowNotificationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTaskFlowNotificationOutcome(GetTaskFlowNotificationResult(outcome.result())); + else + return GetTaskFlowNotificationOutcome(outcome.error()); +} + +void Dms_enterpriseClient::getTaskFlowNotificationAsync(const GetTaskFlowNotificationRequest& request, const GetTaskFlowNotificationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getTaskFlowNotification(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::GetTaskFlowNotificationOutcomeCallable Dms_enterpriseClient::getTaskFlowNotificationCallable(const GetTaskFlowNotificationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getTaskFlowNotification(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::GetTaskInstanceRelationOutcome Dms_enterpriseClient::getTaskInstanceRelation(const GetTaskInstanceRelationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2715,6 +3219,42 @@ Dms_enterpriseClient::InspectProxyAccessSecretOutcomeCallable Dms_enterpriseClie return task->get_future(); } +Dms_enterpriseClient::ListClassificationTemplatesOutcome Dms_enterpriseClient::listClassificationTemplates(const ListClassificationTemplatesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListClassificationTemplatesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListClassificationTemplatesOutcome(ListClassificationTemplatesResult(outcome.result())); + else + return ListClassificationTemplatesOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listClassificationTemplatesAsync(const ListClassificationTemplatesRequest& request, const ListClassificationTemplatesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listClassificationTemplates(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListClassificationTemplatesOutcomeCallable Dms_enterpriseClient::listClassificationTemplatesCallable(const ListClassificationTemplatesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listClassificationTemplates(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListColumnsOutcome Dms_enterpriseClient::listColumns(const ListColumnsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3039,6 +3579,42 @@ Dms_enterpriseClient::ListDatabasesOutcomeCallable Dms_enterpriseClient::listDat return task->get_future(); } +Dms_enterpriseClient::ListDefaultSLARulesOutcome Dms_enterpriseClient::listDefaultSLARules(const ListDefaultSLARulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDefaultSLARulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDefaultSLARulesOutcome(ListDefaultSLARulesResult(outcome.result())); + else + return ListDefaultSLARulesOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listDefaultSLARulesAsync(const ListDefaultSLARulesRequest& request, const ListDefaultSLARulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDefaultSLARules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListDefaultSLARulesOutcomeCallable Dms_enterpriseClient::listDefaultSLARulesCallable(const ListDefaultSLARulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDefaultSLARules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListDesensitizationRuleOutcome Dms_enterpriseClient::listDesensitizationRule(const ListDesensitizationRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3075,6 +3651,42 @@ Dms_enterpriseClient::ListDesensitizationRuleOutcomeCallable Dms_enterpriseClien return task->get_future(); } +Dms_enterpriseClient::ListEffectiveOrdersOutcome Dms_enterpriseClient::listEffectiveOrders(const ListEffectiveOrdersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListEffectiveOrdersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListEffectiveOrdersOutcome(ListEffectiveOrdersResult(outcome.result())); + else + return ListEffectiveOrdersOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listEffectiveOrdersAsync(const ListEffectiveOrdersRequest& request, const ListEffectiveOrdersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listEffectiveOrders(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListEffectiveOrdersOutcomeCallable Dms_enterpriseClient::listEffectiveOrdersCallable(const ListEffectiveOrdersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listEffectiveOrders(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListIndexesOutcome Dms_enterpriseClient::listIndexes(const ListIndexesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3507,6 +4119,42 @@ Dms_enterpriseClient::ListProxySQLExecAuditLogOutcomeCallable Dms_enterpriseClie return task->get_future(); } +Dms_enterpriseClient::ListSLARulesOutcome Dms_enterpriseClient::listSLARules(const ListSLARulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSLARulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSLARulesOutcome(ListSLARulesResult(outcome.result())); + else + return ListSLARulesOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listSLARulesAsync(const ListSLARulesRequest& request, const ListSLARulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSLARules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListSLARulesOutcomeCallable Dms_enterpriseClient::listSLARulesCallable(const ListSLARulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSLARules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListSQLExecAuditLogOutcome Dms_enterpriseClient::listSQLExecAuditLog(const ListSQLExecAuditLogRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3579,6 +4227,42 @@ Dms_enterpriseClient::ListSQLReviewOriginSQLOutcomeCallable Dms_enterpriseClient return task->get_future(); } +Dms_enterpriseClient::ListScenariosOutcome Dms_enterpriseClient::listScenarios(const ListScenariosRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListScenariosOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListScenariosOutcome(ListScenariosResult(outcome.result())); + else + return ListScenariosOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listScenariosAsync(const ListScenariosRequest& request, const ListScenariosAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listScenarios(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListScenariosOutcomeCallable Dms_enterpriseClient::listScenariosCallable(const ListScenariosRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listScenarios(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListSensitiveColumnsOutcome Dms_enterpriseClient::listSensitiveColumns(const ListSensitiveColumnsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3651,6 +4335,42 @@ Dms_enterpriseClient::ListSensitiveColumnsDetailOutcomeCallable Dms_enterpriseCl return task->get_future(); } +Dms_enterpriseClient::ListSensitiveDataAuditLogOutcome Dms_enterpriseClient::listSensitiveDataAuditLog(const ListSensitiveDataAuditLogRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSensitiveDataAuditLogOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSensitiveDataAuditLogOutcome(ListSensitiveDataAuditLogResult(outcome.result())); + else + return ListSensitiveDataAuditLogOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listSensitiveDataAuditLogAsync(const ListSensitiveDataAuditLogRequest& request, const ListSensitiveDataAuditLogAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSensitiveDataAuditLog(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListSensitiveDataAuditLogOutcomeCallable Dms_enterpriseClient::listSensitiveDataAuditLogCallable(const ListSensitiveDataAuditLogRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSensitiveDataAuditLog(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListStandardGroupsOutcome Dms_enterpriseClient::listStandardGroups(const ListStandardGroupsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3759,6 +4479,114 @@ Dms_enterpriseClient::ListTaskFlowOutcomeCallable Dms_enterpriseClient::listTask return task->get_future(); } +Dms_enterpriseClient::ListTaskFlowConstantsOutcome Dms_enterpriseClient::listTaskFlowConstants(const ListTaskFlowConstantsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTaskFlowConstantsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTaskFlowConstantsOutcome(ListTaskFlowConstantsResult(outcome.result())); + else + return ListTaskFlowConstantsOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listTaskFlowConstantsAsync(const ListTaskFlowConstantsRequest& request, const ListTaskFlowConstantsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTaskFlowConstants(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListTaskFlowConstantsOutcomeCallable Dms_enterpriseClient::listTaskFlowConstantsCallable(const ListTaskFlowConstantsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTaskFlowConstants(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::ListTaskFlowCooperatorsOutcome Dms_enterpriseClient::listTaskFlowCooperators(const ListTaskFlowCooperatorsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTaskFlowCooperatorsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTaskFlowCooperatorsOutcome(ListTaskFlowCooperatorsResult(outcome.result())); + else + return ListTaskFlowCooperatorsOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listTaskFlowCooperatorsAsync(const ListTaskFlowCooperatorsRequest& request, const ListTaskFlowCooperatorsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTaskFlowCooperators(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListTaskFlowCooperatorsOutcomeCallable Dms_enterpriseClient::listTaskFlowCooperatorsCallable(const ListTaskFlowCooperatorsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTaskFlowCooperators(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::ListTaskFlowEdgesByConditionOutcome Dms_enterpriseClient::listTaskFlowEdgesByCondition(const ListTaskFlowEdgesByConditionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTaskFlowEdgesByConditionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTaskFlowEdgesByConditionOutcome(ListTaskFlowEdgesByConditionResult(outcome.result())); + else + return ListTaskFlowEdgesByConditionOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listTaskFlowEdgesByConditionAsync(const ListTaskFlowEdgesByConditionRequest& request, const ListTaskFlowEdgesByConditionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTaskFlowEdgesByCondition(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListTaskFlowEdgesByConditionOutcomeCallable Dms_enterpriseClient::listTaskFlowEdgesByConditionCallable(const ListTaskFlowEdgesByConditionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTaskFlowEdgesByCondition(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListTaskFlowInstanceOutcome Dms_enterpriseClient::listTaskFlowInstance(const ListTaskFlowInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3795,6 +4623,114 @@ Dms_enterpriseClient::ListTaskFlowInstanceOutcomeCallable Dms_enterpriseClient:: return task->get_future(); } +Dms_enterpriseClient::ListTaskFlowTimeVariablesOutcome Dms_enterpriseClient::listTaskFlowTimeVariables(const ListTaskFlowTimeVariablesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTaskFlowTimeVariablesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTaskFlowTimeVariablesOutcome(ListTaskFlowTimeVariablesResult(outcome.result())); + else + return ListTaskFlowTimeVariablesOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listTaskFlowTimeVariablesAsync(const ListTaskFlowTimeVariablesRequest& request, const ListTaskFlowTimeVariablesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTaskFlowTimeVariables(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListTaskFlowTimeVariablesOutcomeCallable Dms_enterpriseClient::listTaskFlowTimeVariablesCallable(const ListTaskFlowTimeVariablesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTaskFlowTimeVariables(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::ListTaskFlowsByPageOutcome Dms_enterpriseClient::listTaskFlowsByPage(const ListTaskFlowsByPageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTaskFlowsByPageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTaskFlowsByPageOutcome(ListTaskFlowsByPageResult(outcome.result())); + else + return ListTaskFlowsByPageOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listTaskFlowsByPageAsync(const ListTaskFlowsByPageRequest& request, const ListTaskFlowsByPageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTaskFlowsByPage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListTaskFlowsByPageOutcomeCallable Dms_enterpriseClient::listTaskFlowsByPageCallable(const ListTaskFlowsByPageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTaskFlowsByPage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::ListTasksInTaskFlowOutcome Dms_enterpriseClient::listTasksInTaskFlow(const ListTasksInTaskFlowRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTasksInTaskFlowOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTasksInTaskFlowOutcome(ListTasksInTaskFlowResult(outcome.result())); + else + return ListTasksInTaskFlowOutcome(outcome.error()); +} + +void Dms_enterpriseClient::listTasksInTaskFlowAsync(const ListTasksInTaskFlowRequest& request, const ListTasksInTaskFlowAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTasksInTaskFlow(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ListTasksInTaskFlowOutcomeCallable Dms_enterpriseClient::listTasksInTaskFlowCallable(const ListTasksInTaskFlowRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTasksInTaskFlow(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ListUserPermissionsOutcome Dms_enterpriseClient::listUserPermissions(const ListUserPermissionsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3975,6 +4911,42 @@ Dms_enterpriseClient::ListWorkFlowTemplatesOutcomeCallable Dms_enterpriseClient: return task->get_future(); } +Dms_enterpriseClient::MakeTaskFlowInstanceSuccessOutcome Dms_enterpriseClient::makeTaskFlowInstanceSuccess(const MakeTaskFlowInstanceSuccessRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MakeTaskFlowInstanceSuccessOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MakeTaskFlowInstanceSuccessOutcome(MakeTaskFlowInstanceSuccessResult(outcome.result())); + else + return MakeTaskFlowInstanceSuccessOutcome(outcome.error()); +} + +void Dms_enterpriseClient::makeTaskFlowInstanceSuccessAsync(const MakeTaskFlowInstanceSuccessRequest& request, const MakeTaskFlowInstanceSuccessAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, makeTaskFlowInstanceSuccess(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::MakeTaskFlowInstanceSuccessOutcomeCallable Dms_enterpriseClient::makeTaskFlowInstanceSuccessCallable(const MakeTaskFlowInstanceSuccessRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->makeTaskFlowInstanceSuccess(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ModifyDataCorrectExecSQLOutcome Dms_enterpriseClient::modifyDataCorrectExecSQL(const ModifyDataCorrectExecSQLRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4047,6 +5019,42 @@ Dms_enterpriseClient::ModifyDesensitizationStrategyOutcomeCallable Dms_enterpris return task->get_future(); } +Dms_enterpriseClient::MoveTaskFlowToScenarioOutcome Dms_enterpriseClient::moveTaskFlowToScenario(const MoveTaskFlowToScenarioRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MoveTaskFlowToScenarioOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MoveTaskFlowToScenarioOutcome(MoveTaskFlowToScenarioResult(outcome.result())); + else + return MoveTaskFlowToScenarioOutcome(outcome.error()); +} + +void Dms_enterpriseClient::moveTaskFlowToScenarioAsync(const MoveTaskFlowToScenarioRequest& request, const MoveTaskFlowToScenarioAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, moveTaskFlowToScenario(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::MoveTaskFlowToScenarioOutcomeCallable Dms_enterpriseClient::moveTaskFlowToScenarioCallable(const MoveTaskFlowToScenarioRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->moveTaskFlowToScenario(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::OfflineTaskFlowOutcome Dms_enterpriseClient::offlineTaskFlow(const OfflineTaskFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4119,6 +5127,42 @@ Dms_enterpriseClient::PauseDataCorrectSQLJobOutcomeCallable Dms_enterpriseClient return task->get_future(); } +Dms_enterpriseClient::PublishAndDeployTaskFlowOutcome Dms_enterpriseClient::publishAndDeployTaskFlow(const PublishAndDeployTaskFlowRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PublishAndDeployTaskFlowOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PublishAndDeployTaskFlowOutcome(PublishAndDeployTaskFlowResult(outcome.result())); + else + return PublishAndDeployTaskFlowOutcome(outcome.error()); +} + +void Dms_enterpriseClient::publishAndDeployTaskFlowAsync(const PublishAndDeployTaskFlowRequest& request, const PublishAndDeployTaskFlowAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, publishAndDeployTaskFlow(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::PublishAndDeployTaskFlowOutcomeCallable Dms_enterpriseClient::publishAndDeployTaskFlowCallable(const PublishAndDeployTaskFlowRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->publishAndDeployTaskFlow(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::ReDeployLhDagVersionOutcome Dms_enterpriseClient::reDeployLhDagVersion(const ReDeployLhDagVersionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4155,6 +5199,78 @@ Dms_enterpriseClient::ReDeployLhDagVersionOutcomeCallable Dms_enterpriseClient:: return task->get_future(); } +Dms_enterpriseClient::ReRunTaskFlowInstanceOutcome Dms_enterpriseClient::reRunTaskFlowInstance(const ReRunTaskFlowInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ReRunTaskFlowInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ReRunTaskFlowInstanceOutcome(ReRunTaskFlowInstanceResult(outcome.result())); + else + return ReRunTaskFlowInstanceOutcome(outcome.error()); +} + +void Dms_enterpriseClient::reRunTaskFlowInstanceAsync(const ReRunTaskFlowInstanceRequest& request, const ReRunTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, reRunTaskFlowInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ReRunTaskFlowInstanceOutcomeCallable Dms_enterpriseClient::reRunTaskFlowInstanceCallable(const ReRunTaskFlowInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->reRunTaskFlowInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::RefundPayAsYouGoOrderOutcome Dms_enterpriseClient::refundPayAsYouGoOrder(const RefundPayAsYouGoOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RefundPayAsYouGoOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RefundPayAsYouGoOrderOutcome(RefundPayAsYouGoOrderResult(outcome.result())); + else + return RefundPayAsYouGoOrderOutcome(outcome.error()); +} + +void Dms_enterpriseClient::refundPayAsYouGoOrderAsync(const RefundPayAsYouGoOrderRequest& request, const RefundPayAsYouGoOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, refundPayAsYouGoOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::RefundPayAsYouGoOrderOutcomeCallable Dms_enterpriseClient::refundPayAsYouGoOrderCallable(const RefundPayAsYouGoOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->refundPayAsYouGoOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::RegisterInstanceOutcome Dms_enterpriseClient::registerInstance(const RegisterInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4263,6 +5379,42 @@ Dms_enterpriseClient::RestartDataCorrectSQLJobOutcomeCallable Dms_enterpriseClie return task->get_future(); } +Dms_enterpriseClient::ResumeTaskFlowInstanceOutcome Dms_enterpriseClient::resumeTaskFlowInstance(const ResumeTaskFlowInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ResumeTaskFlowInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ResumeTaskFlowInstanceOutcome(ResumeTaskFlowInstanceResult(outcome.result())); + else + return ResumeTaskFlowInstanceOutcome(outcome.error()); +} + +void Dms_enterpriseClient::resumeTaskFlowInstanceAsync(const ResumeTaskFlowInstanceRequest& request, const ResumeTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, resumeTaskFlowInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::ResumeTaskFlowInstanceOutcomeCallable Dms_enterpriseClient::resumeTaskFlowInstanceCallable(const ResumeTaskFlowInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->resumeTaskFlowInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::RetryDataCorrectPreCheckOutcome Dms_enterpriseClient::retryDataCorrectPreCheck(const RetryDataCorrectPreCheckRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4443,6 +5595,42 @@ Dms_enterpriseClient::SetOwnersOutcomeCallable Dms_enterpriseClient::setOwnersCa return task->get_future(); } +Dms_enterpriseClient::StopTaskFlowInstanceOutcome Dms_enterpriseClient::stopTaskFlowInstance(const StopTaskFlowInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopTaskFlowInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopTaskFlowInstanceOutcome(StopTaskFlowInstanceResult(outcome.result())); + else + return StopTaskFlowInstanceOutcome(outcome.error()); +} + +void Dms_enterpriseClient::stopTaskFlowInstanceAsync(const StopTaskFlowInstanceRequest& request, const StopTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopTaskFlowInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::StopTaskFlowInstanceOutcomeCallable Dms_enterpriseClient::stopTaskFlowInstanceCallable(const StopTaskFlowInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopTaskFlowInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::SubmitOrderApprovalOutcome Dms_enterpriseClient::submitOrderApproval(const SubmitOrderApprovalRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4515,6 +5703,42 @@ Dms_enterpriseClient::SubmitStructSyncOrderApprovalOutcomeCallable Dms_enterpris return task->get_future(); } +Dms_enterpriseClient::SuspendTaskFlowInstanceOutcome Dms_enterpriseClient::suspendTaskFlowInstance(const SuspendTaskFlowInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SuspendTaskFlowInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SuspendTaskFlowInstanceOutcome(SuspendTaskFlowInstanceResult(outcome.result())); + else + return SuspendTaskFlowInstanceOutcome(outcome.error()); +} + +void Dms_enterpriseClient::suspendTaskFlowInstanceAsync(const SuspendTaskFlowInstanceRequest& request, const SuspendTaskFlowInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, suspendTaskFlowInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::SuspendTaskFlowInstanceOutcomeCallable Dms_enterpriseClient::suspendTaskFlowInstanceCallable(const SuspendTaskFlowInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->suspendTaskFlowInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::SyncDatabaseMetaOutcome Dms_enterpriseClient::syncDatabaseMeta(const SyncDatabaseMetaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4623,6 +5847,582 @@ Dms_enterpriseClient::UpdateInstanceOutcomeCallable Dms_enterpriseClient::update return task->get_future(); } +Dms_enterpriseClient::UpdateSLARulesOutcome Dms_enterpriseClient::updateSLARules(const UpdateSLARulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateSLARulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateSLARulesOutcome(UpdateSLARulesResult(outcome.result())); + else + return UpdateSLARulesOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateSLARulesAsync(const UpdateSLARulesRequest& request, const UpdateSLARulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateSLARules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateSLARulesOutcomeCallable Dms_enterpriseClient::updateSLARulesCallable(const UpdateSLARulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateSLARules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateScenarioOutcome Dms_enterpriseClient::updateScenario(const UpdateScenarioRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateScenarioOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateScenarioOutcome(UpdateScenarioResult(outcome.result())); + else + return UpdateScenarioOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateScenarioAsync(const UpdateScenarioRequest& request, const UpdateScenarioAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateScenario(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateScenarioOutcomeCallable Dms_enterpriseClient::updateScenarioCallable(const UpdateScenarioRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateScenario(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskConfigOutcome Dms_enterpriseClient::updateTaskConfig(const UpdateTaskConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskConfigOutcome(UpdateTaskConfigResult(outcome.result())); + else + return UpdateTaskConfigOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskConfigAsync(const UpdateTaskConfigRequest& request, const UpdateTaskConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskConfigOutcomeCallable Dms_enterpriseClient::updateTaskConfigCallable(const UpdateTaskConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskContentOutcome Dms_enterpriseClient::updateTaskContent(const UpdateTaskContentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskContentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskContentOutcome(UpdateTaskContentResult(outcome.result())); + else + return UpdateTaskContentOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskContentAsync(const UpdateTaskContentRequest& request, const UpdateTaskContentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskContent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskContentOutcomeCallable Dms_enterpriseClient::updateTaskContentCallable(const UpdateTaskContentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskContent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskFlowConstantsOutcome Dms_enterpriseClient::updateTaskFlowConstants(const UpdateTaskFlowConstantsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskFlowConstantsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskFlowConstantsOutcome(UpdateTaskFlowConstantsResult(outcome.result())); + else + return UpdateTaskFlowConstantsOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskFlowConstantsAsync(const UpdateTaskFlowConstantsRequest& request, const UpdateTaskFlowConstantsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskFlowConstants(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskFlowConstantsOutcomeCallable Dms_enterpriseClient::updateTaskFlowConstantsCallable(const UpdateTaskFlowConstantsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskFlowConstants(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskFlowCooperatorsOutcome Dms_enterpriseClient::updateTaskFlowCooperators(const UpdateTaskFlowCooperatorsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskFlowCooperatorsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskFlowCooperatorsOutcome(UpdateTaskFlowCooperatorsResult(outcome.result())); + else + return UpdateTaskFlowCooperatorsOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskFlowCooperatorsAsync(const UpdateTaskFlowCooperatorsRequest& request, const UpdateTaskFlowCooperatorsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskFlowCooperators(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskFlowCooperatorsOutcomeCallable Dms_enterpriseClient::updateTaskFlowCooperatorsCallable(const UpdateTaskFlowCooperatorsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskFlowCooperators(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskFlowEdgesOutcome Dms_enterpriseClient::updateTaskFlowEdges(const UpdateTaskFlowEdgesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskFlowEdgesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskFlowEdgesOutcome(UpdateTaskFlowEdgesResult(outcome.result())); + else + return UpdateTaskFlowEdgesOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskFlowEdgesAsync(const UpdateTaskFlowEdgesRequest& request, const UpdateTaskFlowEdgesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskFlowEdges(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskFlowEdgesOutcomeCallable Dms_enterpriseClient::updateTaskFlowEdgesCallable(const UpdateTaskFlowEdgesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskFlowEdges(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskFlowNameAndDescOutcome Dms_enterpriseClient::updateTaskFlowNameAndDesc(const UpdateTaskFlowNameAndDescRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskFlowNameAndDescOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskFlowNameAndDescOutcome(UpdateTaskFlowNameAndDescResult(outcome.result())); + else + return UpdateTaskFlowNameAndDescOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskFlowNameAndDescAsync(const UpdateTaskFlowNameAndDescRequest& request, const UpdateTaskFlowNameAndDescAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskFlowNameAndDesc(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskFlowNameAndDescOutcomeCallable Dms_enterpriseClient::updateTaskFlowNameAndDescCallable(const UpdateTaskFlowNameAndDescRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskFlowNameAndDesc(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskFlowNotificationOutcome Dms_enterpriseClient::updateTaskFlowNotification(const UpdateTaskFlowNotificationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskFlowNotificationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskFlowNotificationOutcome(UpdateTaskFlowNotificationResult(outcome.result())); + else + return UpdateTaskFlowNotificationOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskFlowNotificationAsync(const UpdateTaskFlowNotificationRequest& request, const UpdateTaskFlowNotificationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskFlowNotification(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskFlowNotificationOutcomeCallable Dms_enterpriseClient::updateTaskFlowNotificationCallable(const UpdateTaskFlowNotificationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskFlowNotification(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskFlowOwnerOutcome Dms_enterpriseClient::updateTaskFlowOwner(const UpdateTaskFlowOwnerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskFlowOwnerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskFlowOwnerOutcome(UpdateTaskFlowOwnerResult(outcome.result())); + else + return UpdateTaskFlowOwnerOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskFlowOwnerAsync(const UpdateTaskFlowOwnerRequest& request, const UpdateTaskFlowOwnerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskFlowOwner(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskFlowOwnerOutcomeCallable Dms_enterpriseClient::updateTaskFlowOwnerCallable(const UpdateTaskFlowOwnerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskFlowOwner(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskFlowRelationsOutcome Dms_enterpriseClient::updateTaskFlowRelations(const UpdateTaskFlowRelationsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskFlowRelationsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskFlowRelationsOutcome(UpdateTaskFlowRelationsResult(outcome.result())); + else + return UpdateTaskFlowRelationsOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskFlowRelationsAsync(const UpdateTaskFlowRelationsRequest& request, const UpdateTaskFlowRelationsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskFlowRelations(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskFlowRelationsOutcomeCallable Dms_enterpriseClient::updateTaskFlowRelationsCallable(const UpdateTaskFlowRelationsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskFlowRelations(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskFlowScheduleOutcome Dms_enterpriseClient::updateTaskFlowSchedule(const UpdateTaskFlowScheduleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskFlowScheduleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskFlowScheduleOutcome(UpdateTaskFlowScheduleResult(outcome.result())); + else + return UpdateTaskFlowScheduleOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskFlowScheduleAsync(const UpdateTaskFlowScheduleRequest& request, const UpdateTaskFlowScheduleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskFlowSchedule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskFlowScheduleOutcomeCallable Dms_enterpriseClient::updateTaskFlowScheduleCallable(const UpdateTaskFlowScheduleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskFlowSchedule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskFlowTimeVariablesOutcome Dms_enterpriseClient::updateTaskFlowTimeVariables(const UpdateTaskFlowTimeVariablesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskFlowTimeVariablesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskFlowTimeVariablesOutcome(UpdateTaskFlowTimeVariablesResult(outcome.result())); + else + return UpdateTaskFlowTimeVariablesOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskFlowTimeVariablesAsync(const UpdateTaskFlowTimeVariablesRequest& request, const UpdateTaskFlowTimeVariablesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskFlowTimeVariables(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskFlowTimeVariablesOutcomeCallable Dms_enterpriseClient::updateTaskFlowTimeVariablesCallable(const UpdateTaskFlowTimeVariablesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskFlowTimeVariables(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskNameOutcome Dms_enterpriseClient::updateTaskName(const UpdateTaskNameRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskNameOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskNameOutcome(UpdateTaskNameResult(outcome.result())); + else + return UpdateTaskNameOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskNameAsync(const UpdateTaskNameRequest& request, const UpdateTaskNameAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskName(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskNameOutcomeCallable Dms_enterpriseClient::updateTaskNameCallable(const UpdateTaskNameRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskName(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskOutputOutcome Dms_enterpriseClient::updateTaskOutput(const UpdateTaskOutputRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskOutputOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskOutputOutcome(UpdateTaskOutputResult(outcome.result())); + else + return UpdateTaskOutputOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskOutputAsync(const UpdateTaskOutputRequest& request, const UpdateTaskOutputAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskOutput(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskOutputOutcomeCallable Dms_enterpriseClient::updateTaskOutputCallable(const UpdateTaskOutputRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskOutput(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dms_enterpriseClient::UpdateTaskTimeVariablesOutcome Dms_enterpriseClient::updateTaskTimeVariables(const UpdateTaskTimeVariablesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskTimeVariablesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskTimeVariablesOutcome(UpdateTaskTimeVariablesResult(outcome.result())); + else + return UpdateTaskTimeVariablesOutcome(outcome.error()); +} + +void Dms_enterpriseClient::updateTaskTimeVariablesAsync(const UpdateTaskTimeVariablesRequest& request, const UpdateTaskTimeVariablesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskTimeVariables(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dms_enterpriseClient::UpdateTaskTimeVariablesOutcomeCallable Dms_enterpriseClient::updateTaskTimeVariablesCallable(const UpdateTaskTimeVariablesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskTimeVariables(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dms_enterpriseClient::UpdateUserOutcome Dms_enterpriseClient::updateUser(const UpdateUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dms-enterprise/src/model/AddTaskFlowEdgesRequest.cc b/dms-enterprise/src/model/AddTaskFlowEdgesRequest.cc new file mode 100644 index 000000000..23a00119e --- /dev/null +++ b/dms-enterprise/src/model/AddTaskFlowEdgesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::AddTaskFlowEdgesRequest; + +AddTaskFlowEdgesRequest::AddTaskFlowEdgesRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "AddTaskFlowEdges") { + setMethod(HttpRequest::Method::Post); +} + +AddTaskFlowEdgesRequest::~AddTaskFlowEdgesRequest() {} + +std::vector AddTaskFlowEdgesRequest::getEdges() const { + return edges_; +} + +void AddTaskFlowEdgesRequest::setEdges(const std::vector &edges) { + edges_ = edges; + for(int dep1 = 0; dep1 != edges.size(); dep1++) { + setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeEnd", std::to_string(edges[dep1].nodeEnd)); + setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeFrom", std::to_string(edges[dep1].nodeFrom)); + } +} + +long AddTaskFlowEdgesRequest::getDagId() const { + return dagId_; +} + +void AddTaskFlowEdgesRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long AddTaskFlowEdgesRequest::getTid() const { + return tid_; +} + +void AddTaskFlowEdgesRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/AddTaskFlowEdgesResult.cc b/dms-enterprise/src/model/AddTaskFlowEdgesResult.cc new file mode 100644 index 000000000..7444b279c --- /dev/null +++ b/dms-enterprise/src/model/AddTaskFlowEdgesResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +AddTaskFlowEdgesResult::AddTaskFlowEdgesResult() : + ServiceResult() +{} + +AddTaskFlowEdgesResult::AddTaskFlowEdgesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddTaskFlowEdgesResult::~AddTaskFlowEdgesResult() +{} + +void AddTaskFlowEdgesResult::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 AddTaskFlowEdgesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string AddTaskFlowEdgesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool AddTaskFlowEdgesResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/BackFillRequest.cc b/dms-enterprise/src/model/BackFillRequest.cc new file mode 100644 index 000000000..6c52b8375 --- /dev/null +++ b/dms-enterprise/src/model/BackFillRequest.cc @@ -0,0 +1,119 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::BackFillRequest; + +BackFillRequest::BackFillRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "BackFill") { + setMethod(HttpRequest::Method::Post); +} + +BackFillRequest::~BackFillRequest() {} + +std::string BackFillRequest::getBackFillDateBegin() const { + return backFillDateBegin_; +} + +void BackFillRequest::setBackFillDateBegin(const std::string &backFillDateBegin) { + backFillDateBegin_ = backFillDateBegin; + setParameter(std::string("BackFillDateBegin"), backFillDateBegin); +} + +std::string BackFillRequest::getBackFillDate() const { + return backFillDate_; +} + +void BackFillRequest::setBackFillDate(const std::string &backFillDate) { + backFillDate_ = backFillDate; + setParameter(std::string("BackFillDate"), backFillDate); +} + +long BackFillRequest::getDagId() const { + return dagId_; +} + +void BackFillRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long BackFillRequest::getTid() const { + return tid_; +} + +void BackFillRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +bool BackFillRequest::getIsTriggerSubTree() const { + return isTriggerSubTree_; +} + +void BackFillRequest::setIsTriggerSubTree(bool isTriggerSubTree) { + isTriggerSubTree_ = isTriggerSubTree; + setParameter(std::string("IsTriggerSubTree"), isTriggerSubTree ? "true" : "false"); +} + +bool BackFillRequest::getAsc() const { + return asc_; +} + +void BackFillRequest::setAsc(bool asc) { + asc_ = asc; + setParameter(std::string("Asc"), asc ? "true" : "false"); +} + +std::string BackFillRequest::getBackFillDateEnd() const { + return backFillDateEnd_; +} + +void BackFillRequest::setBackFillDateEnd(const std::string &backFillDateEnd) { + backFillDateEnd_ = backFillDateEnd; + setParameter(std::string("BackFillDateEnd"), backFillDateEnd); +} + +int BackFillRequest::getInterval() const { + return interval_; +} + +void BackFillRequest::setInterval(int interval) { + interval_ = interval; + setParameter(std::string("Interval"), std::to_string(interval)); +} + +long BackFillRequest::getHistoryDagId() const { + return historyDagId_; +} + +void BackFillRequest::setHistoryDagId(long historyDagId) { + historyDagId_ = historyDagId; + setParameter(std::string("HistoryDagId"), std::to_string(historyDagId)); +} + +std::vector BackFillRequest::getStartNodeIds() const { + return startNodeIds_; +} + +void BackFillRequest::setStartNodeIds(const std::vector &startNodeIds) { + startNodeIds_ = startNodeIds; + for(int dep1 = 0; dep1 != startNodeIds.size(); dep1++) { + setParameter(std::string("StartNodeIds") + "." + std::to_string(dep1 + 1), std::to_string(startNodeIds[dep1])); + } +} + diff --git a/dms-enterprise/src/model/BackFillResult.cc b/dms-enterprise/src/model/BackFillResult.cc new file mode 100644 index 000000000..6d93ce2b2 --- /dev/null +++ b/dms-enterprise/src/model/BackFillResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +BackFillResult::BackFillResult() : + ServiceResult() +{} + +BackFillResult::BackFillResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BackFillResult::~BackFillResult() +{} + +void BackFillResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["NodeId"].isNull()) + nodeId_ = std::stol(value["NodeId"].asString()); + +} + +long BackFillResult::getNodeId()const +{ + return nodeId_; +} + +std::string BackFillResult::getErrorCode()const +{ + return errorCode_; +} + +std::string BackFillResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool BackFillResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/BuyPayAsYouGoOrderRequest.cc b/dms-enterprise/src/model/BuyPayAsYouGoOrderRequest.cc new file mode 100644 index 000000000..7270901e2 --- /dev/null +++ b/dms-enterprise/src/model/BuyPayAsYouGoOrderRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::BuyPayAsYouGoOrderRequest; + +BuyPayAsYouGoOrderRequest::BuyPayAsYouGoOrderRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "BuyPayAsYouGoOrder") { + setMethod(HttpRequest::Method::Post); +} + +BuyPayAsYouGoOrderRequest::~BuyPayAsYouGoOrderRequest() {} + +int BuyPayAsYouGoOrderRequest::getInsNum() const { + return insNum_; +} + +void BuyPayAsYouGoOrderRequest::setInsNum(int insNum) { + insNum_ = insNum; + setParameter(std::string("InsNum"), std::to_string(insNum)); +} + +long BuyPayAsYouGoOrderRequest::getTid() const { + return tid_; +} + +void BuyPayAsYouGoOrderRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string BuyPayAsYouGoOrderRequest::getVersionType() const { + return versionType_; +} + +void BuyPayAsYouGoOrderRequest::setVersionType(const std::string &versionType) { + versionType_ = versionType; + setParameter(std::string("VersionType"), versionType); +} + +std::string BuyPayAsYouGoOrderRequest::getCommodityType() const { + return commodityType_; +} + +void BuyPayAsYouGoOrderRequest::setCommodityType(const std::string &commodityType) { + commodityType_ = commodityType; + setParameter(std::string("CommodityType"), commodityType); +} + diff --git a/dms-enterprise/src/model/BuyPayAsYouGoOrderResult.cc b/dms-enterprise/src/model/BuyPayAsYouGoOrderResult.cc new file mode 100644 index 000000000..db18601c1 --- /dev/null +++ b/dms-enterprise/src/model/BuyPayAsYouGoOrderResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +BuyPayAsYouGoOrderResult::BuyPayAsYouGoOrderResult() : + ServiceResult() +{} + +BuyPayAsYouGoOrderResult::BuyPayAsYouGoOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BuyPayAsYouGoOrderResult::~BuyPayAsYouGoOrderResult() +{} + +void BuyPayAsYouGoOrderResult::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["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + +} + +std::string BuyPayAsYouGoOrderResult::getInstanceId()const +{ + return instanceId_; +} + +std::string BuyPayAsYouGoOrderResult::getErrorCode()const +{ + return errorCode_; +} + +std::string BuyPayAsYouGoOrderResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool BuyPayAsYouGoOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/CreateScenarioRequest.cc b/dms-enterprise/src/model/CreateScenarioRequest.cc new file mode 100644 index 000000000..033094f9a --- /dev/null +++ b/dms-enterprise/src/model/CreateScenarioRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::CreateScenarioRequest; + +CreateScenarioRequest::CreateScenarioRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "CreateScenario") { + setMethod(HttpRequest::Method::Post); +} + +CreateScenarioRequest::~CreateScenarioRequest() {} + +std::string CreateScenarioRequest::getDescription() const { + return description_; +} + +void CreateScenarioRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +long CreateScenarioRequest::getTid() const { + return tid_; +} + +void CreateScenarioRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string CreateScenarioRequest::getScenarioName() const { + return scenarioName_; +} + +void CreateScenarioRequest::setScenarioName(const std::string &scenarioName) { + scenarioName_ = scenarioName; + setParameter(std::string("ScenarioName"), scenarioName); +} + diff --git a/dms-enterprise/src/model/CreateScenarioResult.cc b/dms-enterprise/src/model/CreateScenarioResult.cc new file mode 100644 index 000000000..ecfc86003 --- /dev/null +++ b/dms-enterprise/src/model/CreateScenarioResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +CreateScenarioResult::CreateScenarioResult() : + ServiceResult() +{} + +CreateScenarioResult::CreateScenarioResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateScenarioResult::~CreateScenarioResult() +{} + +void CreateScenarioResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ScenarioId"].isNull()) + scenarioId_ = std::stol(value["ScenarioId"].asString()); + +} + +long CreateScenarioResult::getScenarioId()const +{ + return scenarioId_; +} + +std::string CreateScenarioResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CreateScenarioResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool CreateScenarioResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/CreateTaskFlowRequest.cc b/dms-enterprise/src/model/CreateTaskFlowRequest.cc new file mode 100644 index 000000000..83276c180 --- /dev/null +++ b/dms-enterprise/src/model/CreateTaskFlowRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::CreateTaskFlowRequest; + +CreateTaskFlowRequest::CreateTaskFlowRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "CreateTaskFlow") { + setMethod(HttpRequest::Method::Post); +} + +CreateTaskFlowRequest::~CreateTaskFlowRequest() {} + +std::string CreateTaskFlowRequest::getDagName() const { + return dagName_; +} + +void CreateTaskFlowRequest::setDagName(const std::string &dagName) { + dagName_ = dagName; + setParameter(std::string("DagName"), dagName); +} + +std::string CreateTaskFlowRequest::getDescription() const { + return description_; +} + +void CreateTaskFlowRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +long CreateTaskFlowRequest::getTid() const { + return tid_; +} + +void CreateTaskFlowRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long CreateTaskFlowRequest::getScenarioId() const { + return scenarioId_; +} + +void CreateTaskFlowRequest::setScenarioId(long scenarioId) { + scenarioId_ = scenarioId; + setParameter(std::string("ScenarioId"), std::to_string(scenarioId)); +} + diff --git a/dms-enterprise/src/model/CreateTaskFlowResult.cc b/dms-enterprise/src/model/CreateTaskFlowResult.cc new file mode 100644 index 000000000..c91ec61b7 --- /dev/null +++ b/dms-enterprise/src/model/CreateTaskFlowResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +CreateTaskFlowResult::CreateTaskFlowResult() : + ServiceResult() +{} + +CreateTaskFlowResult::CreateTaskFlowResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateTaskFlowResult::~CreateTaskFlowResult() +{} + +void CreateTaskFlowResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["DagId"].isNull()) + dagId_ = std::stol(value["DagId"].asString()); + +} + +std::string CreateTaskFlowResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CreateTaskFlowResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool CreateTaskFlowResult::getSuccess()const +{ + return success_; +} + +long CreateTaskFlowResult::getDagId()const +{ + return dagId_; +} + diff --git a/dms-enterprise/src/model/CreateTaskRequest.cc b/dms-enterprise/src/model/CreateTaskRequest.cc new file mode 100644 index 000000000..e65d81ac8 --- /dev/null +++ b/dms-enterprise/src/model/CreateTaskRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::CreateTaskRequest; + +CreateTaskRequest::CreateTaskRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "CreateTask") { + setMethod(HttpRequest::Method::Post); +} + +CreateTaskRequest::~CreateTaskRequest() {} + +std::string CreateTaskRequest::getTimeVariables() const { + return timeVariables_; +} + +void CreateTaskRequest::setTimeVariables(const std::string &timeVariables) { + timeVariables_ = timeVariables; + setParameter(std::string("TimeVariables"), timeVariables); +} + +std::string CreateTaskRequest::getNodeType() const { + return nodeType_; +} + +void CreateTaskRequest::setNodeType(const std::string &nodeType) { + nodeType_ = nodeType; + setParameter(std::string("NodeType"), nodeType); +} + +long CreateTaskRequest::getDagId() const { + return dagId_; +} + +void CreateTaskRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long CreateTaskRequest::getTid() const { + return tid_; +} + +void CreateTaskRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string CreateTaskRequest::getNodeName() const { + return nodeName_; +} + +void CreateTaskRequest::setNodeName(const std::string &nodeName) { + nodeName_ = nodeName; + setParameter(std::string("NodeName"), nodeName); +} + +std::string CreateTaskRequest::getNodeContent() const { + return nodeContent_; +} + +void CreateTaskRequest::setNodeContent(const std::string &nodeContent) { + nodeContent_ = nodeContent; + setParameter(std::string("NodeContent"), nodeContent); +} + +std::string CreateTaskRequest::getNodeOutput() const { + return nodeOutput_; +} + +void CreateTaskRequest::setNodeOutput(const std::string &nodeOutput) { + nodeOutput_ = nodeOutput; + setParameter(std::string("NodeOutput"), nodeOutput); +} + +std::string CreateTaskRequest::getGraphParam() const { + return graphParam_; +} + +void CreateTaskRequest::setGraphParam(const std::string &graphParam) { + graphParam_ = graphParam; + setParameter(std::string("GraphParam"), graphParam); +} + diff --git a/dms-enterprise/src/model/CreateTaskResult.cc b/dms-enterprise/src/model/CreateTaskResult.cc new file mode 100644 index 000000000..650803b37 --- /dev/null +++ b/dms-enterprise/src/model/CreateTaskResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +CreateTaskResult::CreateTaskResult() : + ServiceResult() +{} + +CreateTaskResult::CreateTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateTaskResult::~CreateTaskResult() +{} + +void CreateTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["NodeId"].isNull()) + nodeId_ = std::stol(value["NodeId"].asString()); + +} + +long CreateTaskResult::getNodeId()const +{ + return nodeId_; +} + +std::string CreateTaskResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CreateTaskResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool CreateTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/DeleteLakeHouseSpaceRequest.cc b/dms-enterprise/src/model/DeleteLakeHouseSpaceRequest.cc index 223955dd3..174800e5e 100644 --- a/dms-enterprise/src/model/DeleteLakeHouseSpaceRequest.cc +++ b/dms-enterprise/src/model/DeleteLakeHouseSpaceRequest.cc @@ -25,15 +25,6 @@ DeleteLakeHouseSpaceRequest::DeleteLakeHouseSpaceRequest() DeleteLakeHouseSpaceRequest::~DeleteLakeHouseSpaceRequest() {} -long DeleteLakeHouseSpaceRequest::getSpaceId() const { - return spaceId_; -} - -void DeleteLakeHouseSpaceRequest::setSpaceId(long spaceId) { - spaceId_ = spaceId; - setParameter(std::string("SpaceId"), std::to_string(spaceId)); -} - long DeleteLakeHouseSpaceRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void DeleteLakeHouseSpaceRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +long DeleteLakeHouseSpaceRequest::getSpaceId() const { + return spaceId_; +} + +void DeleteLakeHouseSpaceRequest::setSpaceId(long spaceId) { + spaceId_ = spaceId; + setParameter(std::string("SpaceId"), std::to_string(spaceId)); +} + diff --git a/dms-enterprise/src/model/DeleteScenarioRequest.cc b/dms-enterprise/src/model/DeleteScenarioRequest.cc new file mode 100644 index 000000000..00a69cf5e --- /dev/null +++ b/dms-enterprise/src/model/DeleteScenarioRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::DeleteScenarioRequest; + +DeleteScenarioRequest::DeleteScenarioRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "DeleteScenario") { + setMethod(HttpRequest::Method::Post); +} + +DeleteScenarioRequest::~DeleteScenarioRequest() {} + +long DeleteScenarioRequest::getTid() const { + return tid_; +} + +void DeleteScenarioRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long DeleteScenarioRequest::getScenarioId() const { + return scenarioId_; +} + +void DeleteScenarioRequest::setScenarioId(long scenarioId) { + scenarioId_ = scenarioId; + setParameter(std::string("ScenarioId"), std::to_string(scenarioId)); +} + diff --git a/dms-enterprise/src/model/DeleteScenarioResult.cc b/dms-enterprise/src/model/DeleteScenarioResult.cc new file mode 100644 index 000000000..738ef58fb --- /dev/null +++ b/dms-enterprise/src/model/DeleteScenarioResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +DeleteScenarioResult::DeleteScenarioResult() : + ServiceResult() +{} + +DeleteScenarioResult::DeleteScenarioResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteScenarioResult::~DeleteScenarioResult() +{} + +void DeleteScenarioResult::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 DeleteScenarioResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteScenarioResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool DeleteScenarioResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/DeleteTaskFlowEdgesByConditionRequest.cc b/dms-enterprise/src/model/DeleteTaskFlowEdgesByConditionRequest.cc new file mode 100644 index 000000000..f4cd46b7e --- /dev/null +++ b/dms-enterprise/src/model/DeleteTaskFlowEdgesByConditionRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::DeleteTaskFlowEdgesByConditionRequest; + +DeleteTaskFlowEdgesByConditionRequest::DeleteTaskFlowEdgesByConditionRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "DeleteTaskFlowEdgesByCondition") { + setMethod(HttpRequest::Method::Post); +} + +DeleteTaskFlowEdgesByConditionRequest::~DeleteTaskFlowEdgesByConditionRequest() {} + +long DeleteTaskFlowEdgesByConditionRequest::getDagId() const { + return dagId_; +} + +void DeleteTaskFlowEdgesByConditionRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long DeleteTaskFlowEdgesByConditionRequest::getTid() const { + return tid_; +} + +void DeleteTaskFlowEdgesByConditionRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long DeleteTaskFlowEdgesByConditionRequest::getNodeEnd() const { + return nodeEnd_; +} + +void DeleteTaskFlowEdgesByConditionRequest::setNodeEnd(long nodeEnd) { + nodeEnd_ = nodeEnd; + setParameter(std::string("NodeEnd"), std::to_string(nodeEnd)); +} + +long DeleteTaskFlowEdgesByConditionRequest::getNodeFrom() const { + return nodeFrom_; +} + +void DeleteTaskFlowEdgesByConditionRequest::setNodeFrom(long nodeFrom) { + nodeFrom_ = nodeFrom; + setParameter(std::string("NodeFrom"), std::to_string(nodeFrom)); +} + +long DeleteTaskFlowEdgesByConditionRequest::getId() const { + return id_; +} + +void DeleteTaskFlowEdgesByConditionRequest::setId(long id) { + id_ = id; + setParameter(std::string("Id"), std::to_string(id)); +} + diff --git a/dms-enterprise/src/model/DeleteTaskFlowEdgesByConditionResult.cc b/dms-enterprise/src/model/DeleteTaskFlowEdgesByConditionResult.cc new file mode 100644 index 000000000..65a1076af --- /dev/null +++ b/dms-enterprise/src/model/DeleteTaskFlowEdgesByConditionResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +DeleteTaskFlowEdgesByConditionResult::DeleteTaskFlowEdgesByConditionResult() : + ServiceResult() +{} + +DeleteTaskFlowEdgesByConditionResult::DeleteTaskFlowEdgesByConditionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTaskFlowEdgesByConditionResult::~DeleteTaskFlowEdgesByConditionResult() +{} + +void DeleteTaskFlowEdgesByConditionResult::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 DeleteTaskFlowEdgesByConditionResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteTaskFlowEdgesByConditionResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool DeleteTaskFlowEdgesByConditionResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/DeleteTaskRequest.cc b/dms-enterprise/src/model/DeleteTaskRequest.cc new file mode 100644 index 000000000..f8d95b85f --- /dev/null +++ b/dms-enterprise/src/model/DeleteTaskRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::DeleteTaskRequest; + +DeleteTaskRequest::DeleteTaskRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "DeleteTask") { + setMethod(HttpRequest::Method::Post); +} + +DeleteTaskRequest::~DeleteTaskRequest() {} + +long DeleteTaskRequest::getTid() const { + return tid_; +} + +void DeleteTaskRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string DeleteTaskRequest::getNodeId() const { + return nodeId_; +} + +void DeleteTaskRequest::setNodeId(const std::string &nodeId) { + nodeId_ = nodeId; + setParameter(std::string("NodeId"), nodeId); +} + diff --git a/dms-enterprise/src/model/DeleteTaskResult.cc b/dms-enterprise/src/model/DeleteTaskResult.cc new file mode 100644 index 000000000..ef5a4eca1 --- /dev/null +++ b/dms-enterprise/src/model/DeleteTaskResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +DeleteTaskResult::DeleteTaskResult() : + ServiceResult() +{} + +DeleteTaskResult::DeleteTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTaskResult::~DeleteTaskResult() +{} + +void DeleteTaskResult::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 DeleteTaskResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteTaskResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool DeleteTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/DeleteUserRequest.cc b/dms-enterprise/src/model/DeleteUserRequest.cc index d771cb195..9d7db09a8 100644 --- a/dms-enterprise/src/model/DeleteUserRequest.cc +++ b/dms-enterprise/src/model/DeleteUserRequest.cc @@ -25,15 +25,6 @@ DeleteUserRequest::DeleteUserRequest() DeleteUserRequest::~DeleteUserRequest() {} -std::string DeleteUserRequest::getUid() const { - return uid_; -} - -void DeleteUserRequest::setUid(const std::string &uid) { - uid_ = uid; - setParameter(std::string("Uid"), uid); -} - long DeleteUserRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void DeleteUserRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +std::string DeleteUserRequest::getUid() const { + return uid_; +} + +void DeleteUserRequest::setUid(const std::string &uid) { + uid_ = uid; + setParameter(std::string("Uid"), uid); +} + diff --git a/dms-enterprise/src/model/DisableUserRequest.cc b/dms-enterprise/src/model/DisableUserRequest.cc index b9723ba24..1086b6960 100644 --- a/dms-enterprise/src/model/DisableUserRequest.cc +++ b/dms-enterprise/src/model/DisableUserRequest.cc @@ -25,15 +25,6 @@ DisableUserRequest::DisableUserRequest() DisableUserRequest::~DisableUserRequest() {} -std::string DisableUserRequest::getUid() const { - return uid_; -} - -void DisableUserRequest::setUid(const std::string &uid) { - uid_ = uid; - setParameter(std::string("Uid"), uid); -} - long DisableUserRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void DisableUserRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +std::string DisableUserRequest::getUid() const { + return uid_; +} + +void DisableUserRequest::setUid(const std::string &uid) { + uid_ = uid; + setParameter(std::string("Uid"), uid); +} + diff --git a/dms-enterprise/src/model/EnableUserRequest.cc b/dms-enterprise/src/model/EnableUserRequest.cc index cbd20d6c9..cc89fe5ae 100644 --- a/dms-enterprise/src/model/EnableUserRequest.cc +++ b/dms-enterprise/src/model/EnableUserRequest.cc @@ -25,15 +25,6 @@ EnableUserRequest::EnableUserRequest() EnableUserRequest::~EnableUserRequest() {} -std::string EnableUserRequest::getUid() const { - return uid_; -} - -void EnableUserRequest::setUid(const std::string &uid) { - uid_ = uid; - setParameter(std::string("Uid"), uid); -} - long EnableUserRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void EnableUserRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +std::string EnableUserRequest::getUid() const { + return uid_; +} + +void EnableUserRequest::setUid(const std::string &uid) { + uid_ = uid; + setParameter(std::string("Uid"), uid); +} + diff --git a/dms-enterprise/src/model/GetApprovalDetailResult.cc b/dms-enterprise/src/model/GetApprovalDetailResult.cc index 44d4ce976..34bca5159 100644 --- a/dms-enterprise/src/model/GetApprovalDetailResult.cc +++ b/dms-enterprise/src/model/GetApprovalDetailResult.cc @@ -54,6 +54,8 @@ void GetApprovalDetailResult::parse(const std::string &payload) approvalDetail_.orderId = std::stol(approvalDetailNode["OrderId"].asString()); if(!approvalDetailNode["WorkflowInsCode"].isNull()) approvalDetail_.workflowInsCode = approvalDetailNode["WorkflowInsCode"].asString(); + if(!approvalDetailNode["TemplateId"].isNull()) + approvalDetail_.templateId = std::stol(approvalDetailNode["TemplateId"].asString()); auto allWorkflowNodesNode = approvalDetailNode["WorkflowNodes"]["WorkflowNode"]; for (auto approvalDetailNodeWorkflowNodesWorkflowNode : allWorkflowNodesNode) { diff --git a/dms-enterprise/src/model/GetDBTaskSQLJobLogRequest.cc b/dms-enterprise/src/model/GetDBTaskSQLJobLogRequest.cc index 9551aa0e4..3fae308fc 100644 --- a/dms-enterprise/src/model/GetDBTaskSQLJobLogRequest.cc +++ b/dms-enterprise/src/model/GetDBTaskSQLJobLogRequest.cc @@ -25,15 +25,6 @@ GetDBTaskSQLJobLogRequest::GetDBTaskSQLJobLogRequest() GetDBTaskSQLJobLogRequest::~GetDBTaskSQLJobLogRequest() {} -long GetDBTaskSQLJobLogRequest::getJobId() const { - return jobId_; -} - -void GetDBTaskSQLJobLogRequest::setJobId(long jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), std::to_string(jobId)); -} - long GetDBTaskSQLJobLogRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void GetDBTaskSQLJobLogRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +long GetDBTaskSQLJobLogRequest::getJobId() const { + return jobId_; +} + +void GetDBTaskSQLJobLogRequest::setJobId(long jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), std::to_string(jobId)); +} + diff --git a/dms-enterprise/src/model/GetInstanceResult.cc b/dms-enterprise/src/model/GetInstanceResult.cc index 38bc913eb..77e2fa2ac 100644 --- a/dms-enterprise/src/model/GetInstanceResult.cc +++ b/dms-enterprise/src/model/GetInstanceResult.cc @@ -84,6 +84,8 @@ void GetInstanceResult::parse(const std::string &payload) instance_.ddlOnline = std::stoi(instanceNode["DdlOnline"].asString()); if(!instanceNode["EcsRegion"].isNull()) instance_.ecsRegion = instanceNode["EcsRegion"].asString(); + if(!instanceNode["SellSitd"].isNull()) + instance_.sellSitd = instanceNode["SellSitd"].asString(); auto standardGroupNode = instanceNode["StandardGroup"]; if(!standardGroupNode["GroupName"].isNull()) instance_.standardGroup.groupName = standardGroupNode["GroupName"].asString(); diff --git a/dms-enterprise/src/model/GetIntervalLimitOfSLARequest.cc b/dms-enterprise/src/model/GetIntervalLimitOfSLARequest.cc new file mode 100644 index 000000000..e071a4237 --- /dev/null +++ b/dms-enterprise/src/model/GetIntervalLimitOfSLARequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetIntervalLimitOfSLARequest; + +GetIntervalLimitOfSLARequest::GetIntervalLimitOfSLARequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetIntervalLimitOfSLA") { + setMethod(HttpRequest::Method::Post); +} + +GetIntervalLimitOfSLARequest::~GetIntervalLimitOfSLARequest() {} + +long GetIntervalLimitOfSLARequest::getDagId() const { + return dagId_; +} + +void GetIntervalLimitOfSLARequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long GetIntervalLimitOfSLARequest::getTid() const { + return tid_; +} + +void GetIntervalLimitOfSLARequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/GetIntervalLimitOfSLAResult.cc b/dms-enterprise/src/model/GetIntervalLimitOfSLAResult.cc new file mode 100644 index 000000000..f61e5c237 --- /dev/null +++ b/dms-enterprise/src/model/GetIntervalLimitOfSLAResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetIntervalLimitOfSLAResult::GetIntervalLimitOfSLAResult() : + ServiceResult() +{} + +GetIntervalLimitOfSLAResult::GetIntervalLimitOfSLAResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetIntervalLimitOfSLAResult::~GetIntervalLimitOfSLAResult() +{} + +void GetIntervalLimitOfSLAResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["IntervalLimit"].isNull()) + intervalLimit_ = std::stoi(value["IntervalLimit"].asString()); + +} + +std::string GetIntervalLimitOfSLAResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetIntervalLimitOfSLAResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool GetIntervalLimitOfSLAResult::getSuccess()const +{ + return success_; +} + +int GetIntervalLimitOfSLAResult::getIntervalLimit()const +{ + return intervalLimit_; +} + diff --git a/dms-enterprise/src/model/GetLogicDatabaseRequest.cc b/dms-enterprise/src/model/GetLogicDatabaseRequest.cc index 5c403193d..8aefc65bb 100644 --- a/dms-enterprise/src/model/GetLogicDatabaseRequest.cc +++ b/dms-enterprise/src/model/GetLogicDatabaseRequest.cc @@ -25,15 +25,6 @@ GetLogicDatabaseRequest::GetLogicDatabaseRequest() GetLogicDatabaseRequest::~GetLogicDatabaseRequest() {} -std::string GetLogicDatabaseRequest::getDbId() const { - return dbId_; -} - -void GetLogicDatabaseRequest::setDbId(const std::string &dbId) { - dbId_ = dbId; - setParameter(std::string("DbId"), dbId); -} - long GetLogicDatabaseRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void GetLogicDatabaseRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +std::string GetLogicDatabaseRequest::getDbId() const { + return dbId_; +} + +void GetLogicDatabaseRequest::setDbId(const std::string &dbId) { + dbId_ = dbId; + setParameter(std::string("DbId"), dbId); +} + diff --git a/dms-enterprise/src/model/GetMetaTableColumnRequest.cc b/dms-enterprise/src/model/GetMetaTableColumnRequest.cc index 9e2932341..f524eb586 100644 --- a/dms-enterprise/src/model/GetMetaTableColumnRequest.cc +++ b/dms-enterprise/src/model/GetMetaTableColumnRequest.cc @@ -25,15 +25,6 @@ GetMetaTableColumnRequest::GetMetaTableColumnRequest() GetMetaTableColumnRequest::~GetMetaTableColumnRequest() {} -std::string GetMetaTableColumnRequest::getTableGuid() const { - return tableGuid_; -} - -void GetMetaTableColumnRequest::setTableGuid(const std::string &tableGuid) { - tableGuid_ = tableGuid; - setParameter(std::string("TableGuid"), tableGuid); -} - long GetMetaTableColumnRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void GetMetaTableColumnRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +std::string GetMetaTableColumnRequest::getTableGuid() const { + return tableGuid_; +} + +void GetMetaTableColumnRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); +} + diff --git a/dms-enterprise/src/model/GetMetaTableDetailInfoRequest.cc b/dms-enterprise/src/model/GetMetaTableDetailInfoRequest.cc index bc10b5e47..9eb51b6b8 100644 --- a/dms-enterprise/src/model/GetMetaTableDetailInfoRequest.cc +++ b/dms-enterprise/src/model/GetMetaTableDetailInfoRequest.cc @@ -25,15 +25,6 @@ GetMetaTableDetailInfoRequest::GetMetaTableDetailInfoRequest() GetMetaTableDetailInfoRequest::~GetMetaTableDetailInfoRequest() {} -std::string GetMetaTableDetailInfoRequest::getTableGuid() const { - return tableGuid_; -} - -void GetMetaTableDetailInfoRequest::setTableGuid(const std::string &tableGuid) { - tableGuid_ = tableGuid; - setParameter(std::string("TableGuid"), tableGuid); -} - long GetMetaTableDetailInfoRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void GetMetaTableDetailInfoRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +std::string GetMetaTableDetailInfoRequest::getTableGuid() const { + return tableGuid_; +} + +void GetMetaTableDetailInfoRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); +} + diff --git a/dms-enterprise/src/model/GetPhysicalDatabaseRequest.cc b/dms-enterprise/src/model/GetPhysicalDatabaseRequest.cc index ddde177e9..f944c7b76 100644 --- a/dms-enterprise/src/model/GetPhysicalDatabaseRequest.cc +++ b/dms-enterprise/src/model/GetPhysicalDatabaseRequest.cc @@ -25,15 +25,6 @@ GetPhysicalDatabaseRequest::GetPhysicalDatabaseRequest() GetPhysicalDatabaseRequest::~GetPhysicalDatabaseRequest() {} -long GetPhysicalDatabaseRequest::getDbId() const { - return dbId_; -} - -void GetPhysicalDatabaseRequest::setDbId(long dbId) { - dbId_ = dbId; - setParameter(std::string("DbId"), std::to_string(dbId)); -} - long GetPhysicalDatabaseRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void GetPhysicalDatabaseRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +long GetPhysicalDatabaseRequest::getDbId() const { + return dbId_; +} + +void GetPhysicalDatabaseRequest::setDbId(long dbId) { + dbId_ = dbId; + setParameter(std::string("DbId"), std::to_string(dbId)); +} + diff --git a/dms-enterprise/src/model/GetRuleNumLimitOfSLARequest.cc b/dms-enterprise/src/model/GetRuleNumLimitOfSLARequest.cc new file mode 100644 index 000000000..6ae26b81c --- /dev/null +++ b/dms-enterprise/src/model/GetRuleNumLimitOfSLARequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetRuleNumLimitOfSLARequest; + +GetRuleNumLimitOfSLARequest::GetRuleNumLimitOfSLARequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetRuleNumLimitOfSLA") { + setMethod(HttpRequest::Method::Post); +} + +GetRuleNumLimitOfSLARequest::~GetRuleNumLimitOfSLARequest() {} + +long GetRuleNumLimitOfSLARequest::getDagId() const { + return dagId_; +} + +void GetRuleNumLimitOfSLARequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long GetRuleNumLimitOfSLARequest::getTid() const { + return tid_; +} + +void GetRuleNumLimitOfSLARequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/GetRuleNumLimitOfSLAResult.cc b/dms-enterprise/src/model/GetRuleNumLimitOfSLAResult.cc new file mode 100644 index 000000000..5fea73045 --- /dev/null +++ b/dms-enterprise/src/model/GetRuleNumLimitOfSLAResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetRuleNumLimitOfSLAResult::GetRuleNumLimitOfSLAResult() : + ServiceResult() +{} + +GetRuleNumLimitOfSLAResult::GetRuleNumLimitOfSLAResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetRuleNumLimitOfSLAResult::~GetRuleNumLimitOfSLAResult() +{} + +void GetRuleNumLimitOfSLAResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["RuleNumLimit"].isNull()) + ruleNumLimit_ = std::stoi(value["RuleNumLimit"].asString()); + +} + +std::string GetRuleNumLimitOfSLAResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetRuleNumLimitOfSLAResult::getErrorMessage()const +{ + return errorMessage_; +} + +int GetRuleNumLimitOfSLAResult::getRuleNumLimit()const +{ + return ruleNumLimit_; +} + +bool GetRuleNumLimitOfSLAResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/GetSQLReviewOptimizeDetailRequest.cc b/dms-enterprise/src/model/GetSQLReviewOptimizeDetailRequest.cc index 8c29ee2bb..0c49ec710 100644 --- a/dms-enterprise/src/model/GetSQLReviewOptimizeDetailRequest.cc +++ b/dms-enterprise/src/model/GetSQLReviewOptimizeDetailRequest.cc @@ -25,15 +25,6 @@ GetSQLReviewOptimizeDetailRequest::GetSQLReviewOptimizeDetailRequest() GetSQLReviewOptimizeDetailRequest::~GetSQLReviewOptimizeDetailRequest() {} -std::string GetSQLReviewOptimizeDetailRequest::getSQLReviewQueryKey() const { - return sQLReviewQueryKey_; -} - -void GetSQLReviewOptimizeDetailRequest::setSQLReviewQueryKey(const std::string &sQLReviewQueryKey) { - sQLReviewQueryKey_ = sQLReviewQueryKey; - setParameter(std::string("SQLReviewQueryKey"), sQLReviewQueryKey); -} - long GetSQLReviewOptimizeDetailRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void GetSQLReviewOptimizeDetailRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +std::string GetSQLReviewOptimizeDetailRequest::getSQLReviewQueryKey() const { + return sQLReviewQueryKey_; +} + +void GetSQLReviewOptimizeDetailRequest::setSQLReviewQueryKey(const std::string &sQLReviewQueryKey) { + sQLReviewQueryKey_ = sQLReviewQueryKey; + setParameter(std::string("SQLReviewQueryKey"), sQLReviewQueryKey); +} + diff --git a/dms-enterprise/src/model/GetTableDBTopologyRequest.cc b/dms-enterprise/src/model/GetTableDBTopologyRequest.cc index 4216fe51c..b4b9f3150 100644 --- a/dms-enterprise/src/model/GetTableDBTopologyRequest.cc +++ b/dms-enterprise/src/model/GetTableDBTopologyRequest.cc @@ -25,15 +25,6 @@ GetTableDBTopologyRequest::GetTableDBTopologyRequest() GetTableDBTopologyRequest::~GetTableDBTopologyRequest() {} -std::string GetTableDBTopologyRequest::getTableGuid() const { - return tableGuid_; -} - -void GetTableDBTopologyRequest::setTableGuid(const std::string &tableGuid) { - tableGuid_ = tableGuid; - setParameter(std::string("TableGuid"), tableGuid); -} - long GetTableDBTopologyRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void GetTableDBTopologyRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +std::string GetTableDBTopologyRequest::getTableGuid() const { + return tableGuid_; +} + +void GetTableDBTopologyRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); +} + diff --git a/dms-enterprise/src/model/GetTableTopologyRequest.cc b/dms-enterprise/src/model/GetTableTopologyRequest.cc index 620f4d235..2952ebb60 100644 --- a/dms-enterprise/src/model/GetTableTopologyRequest.cc +++ b/dms-enterprise/src/model/GetTableTopologyRequest.cc @@ -25,15 +25,6 @@ GetTableTopologyRequest::GetTableTopologyRequest() GetTableTopologyRequest::~GetTableTopologyRequest() {} -std::string GetTableTopologyRequest::getTableGuid() const { - return tableGuid_; -} - -void GetTableTopologyRequest::setTableGuid(const std::string &tableGuid) { - tableGuid_ = tableGuid; - setParameter(std::string("TableGuid"), tableGuid); -} - long GetTableTopologyRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void GetTableTopologyRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +std::string GetTableTopologyRequest::getTableGuid() const { + return tableGuid_; +} + +void GetTableTopologyRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); +} + diff --git a/dms-enterprise/src/model/GetTaskFlowGraphRequest.cc b/dms-enterprise/src/model/GetTaskFlowGraphRequest.cc new file mode 100644 index 000000000..87780da13 --- /dev/null +++ b/dms-enterprise/src/model/GetTaskFlowGraphRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetTaskFlowGraphRequest; + +GetTaskFlowGraphRequest::GetTaskFlowGraphRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetTaskFlowGraph") { + setMethod(HttpRequest::Method::Post); +} + +GetTaskFlowGraphRequest::~GetTaskFlowGraphRequest() {} + +long GetTaskFlowGraphRequest::getDagId() const { + return dagId_; +} + +void GetTaskFlowGraphRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long GetTaskFlowGraphRequest::getTid() const { + return tid_; +} + +void GetTaskFlowGraphRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/GetTaskFlowGraphResult.cc b/dms-enterprise/src/model/GetTaskFlowGraphResult.cc new file mode 100644 index 000000000..c658660e2 --- /dev/null +++ b/dms-enterprise/src/model/GetTaskFlowGraphResult.cc @@ -0,0 +1,113 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetTaskFlowGraphResult::GetTaskFlowGraphResult() : + ServiceResult() +{} + +GetTaskFlowGraphResult::GetTaskFlowGraphResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTaskFlowGraphResult::~GetTaskFlowGraphResult() +{} + +void GetTaskFlowGraphResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto taskFlowGraphNode = value["TaskFlowGraph"]; + if(!taskFlowGraphNode["DagName"].isNull()) + taskFlowGraph_.dagName = taskFlowGraphNode["DagName"].asString(); + if(!taskFlowGraphNode["Status"].isNull()) + taskFlowGraph_.status = std::stol(taskFlowGraphNode["Status"].asString()); + if(!taskFlowGraphNode["CanEdit"].isNull()) + taskFlowGraph_.canEdit = taskFlowGraphNode["CanEdit"].asString() == "true"; + auto allNodesNode = taskFlowGraphNode["Nodes"]["Node"]; + for (auto taskFlowGraphNodeNodesNode : allNodesNode) + { + TaskFlowGraph::Node nodeObject; + if(!taskFlowGraphNodeNodesNode["DagId"].isNull()) + nodeObject.dagId = std::stol(taskFlowGraphNodeNodesNode["DagId"].asString()); + if(!taskFlowGraphNodeNodesNode["NodeId"].isNull()) + nodeObject.nodeId = std::stol(taskFlowGraphNodeNodesNode["NodeId"].asString()); + if(!taskFlowGraphNodeNodesNode["NodeName"].isNull()) + nodeObject.nodeName = taskFlowGraphNodeNodesNode["NodeName"].asString(); + if(!taskFlowGraphNodeNodesNode["NodeType"].isNull()) + nodeObject.nodeType = std::stol(taskFlowGraphNodeNodesNode["NodeType"].asString()); + if(!taskFlowGraphNodeNodesNode["NodeContent"].isNull()) + nodeObject.nodeContent = taskFlowGraphNodeNodesNode["NodeContent"].asString(); + if(!taskFlowGraphNodeNodesNode["TimeVariables"].isNull()) + nodeObject.timeVariables = taskFlowGraphNodeNodesNode["TimeVariables"].asString(); + if(!taskFlowGraphNodeNodesNode["NodeConfig"].isNull()) + nodeObject.nodeConfig = taskFlowGraphNodeNodesNode["NodeConfig"].asString(); + if(!taskFlowGraphNodeNodesNode["GraphParam"].isNull()) + nodeObject.graphParam = taskFlowGraphNodeNodesNode["GraphParam"].asString(); + taskFlowGraph_.nodes.push_back(nodeObject); + } + auto allEdgesNode = taskFlowGraphNode["Edges"]["Edge"]; + for (auto taskFlowGraphNodeEdgesEdge : allEdgesNode) + { + TaskFlowGraph::Edge edgeObject; + if(!taskFlowGraphNodeEdgesEdge["DagId"].isNull()) + edgeObject.dagId = std::stol(taskFlowGraphNodeEdgesEdge["DagId"].asString()); + if(!taskFlowGraphNodeEdgesEdge["Id"].isNull()) + edgeObject.id = std::stol(taskFlowGraphNodeEdgesEdge["Id"].asString()); + if(!taskFlowGraphNodeEdgesEdge["NodeEnd"].isNull()) + edgeObject.nodeEnd = std::stol(taskFlowGraphNodeEdgesEdge["NodeEnd"].asString()); + if(!taskFlowGraphNodeEdgesEdge["NodeFrom"].isNull()) + edgeObject.nodeFrom = std::stol(taskFlowGraphNodeEdgesEdge["NodeFrom"].asString()); + taskFlowGraph_.edges.push_back(edgeObject); + } + 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"; + +} + +GetTaskFlowGraphResult::TaskFlowGraph GetTaskFlowGraphResult::getTaskFlowGraph()const +{ + return taskFlowGraph_; +} + +std::string GetTaskFlowGraphResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetTaskFlowGraphResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool GetTaskFlowGraphResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/GetTaskFlowNotificationRequest.cc b/dms-enterprise/src/model/GetTaskFlowNotificationRequest.cc new file mode 100644 index 000000000..9fc1e74f0 --- /dev/null +++ b/dms-enterprise/src/model/GetTaskFlowNotificationRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetTaskFlowNotificationRequest; + +GetTaskFlowNotificationRequest::GetTaskFlowNotificationRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetTaskFlowNotification") { + setMethod(HttpRequest::Method::Post); +} + +GetTaskFlowNotificationRequest::~GetTaskFlowNotificationRequest() {} + +long GetTaskFlowNotificationRequest::getDagId() const { + return dagId_; +} + +void GetTaskFlowNotificationRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long GetTaskFlowNotificationRequest::getTid() const { + return tid_; +} + +void GetTaskFlowNotificationRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/GetTaskFlowNotificationResult.cc b/dms-enterprise/src/model/GetTaskFlowNotificationResult.cc new file mode 100644 index 000000000..75b0bbf88 --- /dev/null +++ b/dms-enterprise/src/model/GetTaskFlowNotificationResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetTaskFlowNotificationResult::GetTaskFlowNotificationResult() : + ServiceResult() +{} + +GetTaskFlowNotificationResult::GetTaskFlowNotificationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTaskFlowNotificationResult::~GetTaskFlowNotificationResult() +{} + +void GetTaskFlowNotificationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto notificationNode = value["Notification"]; + if(!notificationNode["DagNotificationFail"].isNull()) + notification_.dagNotificationFail = notificationNode["DagNotificationFail"].asString() == "true"; + if(!notificationNode["DagNotificationSuccess"].isNull()) + notification_.dagNotificationSuccess = notificationNode["DagNotificationSuccess"].asString() == "true"; + if(!notificationNode["DagNotificationSla"].isNull()) + notification_.dagNotificationSla = notificationNode["DagNotificationSla"].asString() == "true"; + 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 GetTaskFlowNotificationResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetTaskFlowNotificationResult::getErrorMessage()const +{ + return errorMessage_; +} + +GetTaskFlowNotificationResult::Notification GetTaskFlowNotificationResult::getNotification()const +{ + return notification_; +} + +bool GetTaskFlowNotificationResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/GetTaskRequest.cc b/dms-enterprise/src/model/GetTaskRequest.cc new file mode 100644 index 000000000..264c8afe5 --- /dev/null +++ b/dms-enterprise/src/model/GetTaskRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::GetTaskRequest; + +GetTaskRequest::GetTaskRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "GetTask") { + setMethod(HttpRequest::Method::Post); +} + +GetTaskRequest::~GetTaskRequest() {} + +long GetTaskRequest::getTid() const { + return tid_; +} + +void GetTaskRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long GetTaskRequest::getNodeId() const { + return nodeId_; +} + +void GetTaskRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setParameter(std::string("NodeId"), std::to_string(nodeId)); +} + diff --git a/dms-enterprise/src/model/GetTaskResult.cc b/dms-enterprise/src/model/GetTaskResult.cc new file mode 100644 index 000000000..1da382da1 --- /dev/null +++ b/dms-enterprise/src/model/GetTaskResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +GetTaskResult::GetTaskResult() : + ServiceResult() +{} + +GetTaskResult::GetTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTaskResult::~GetTaskResult() +{} + +void GetTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto taskNode = value["Task"]; + if(!taskNode["DagId"].isNull()) + task_.dagId = std::stol(taskNode["DagId"].asString()); + if(!taskNode["NodeName"].isNull()) + task_.nodeName = taskNode["NodeName"].asString(); + if(!taskNode["NodeType"].isNull()) + task_.nodeType = taskNode["NodeType"].asString(); + if(!taskNode["NodeContent"].isNull()) + task_.nodeContent = taskNode["NodeContent"].asString(); + if(!taskNode["TimeVariables"].isNull()) + task_.timeVariables = taskNode["TimeVariables"].asString(); + if(!taskNode["NodeConfig"].isNull()) + task_.nodeConfig = taskNode["NodeConfig"].asString(); + if(!taskNode["NodeOutput"].isNull()) + task_.nodeOutput = taskNode["NodeOutput"].asString(); + if(!taskNode["GraphParam"].isNull()) + task_.graphParam = taskNode["GraphParam"].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"; + +} + +GetTaskResult::Task GetTaskResult::getTask()const +{ + return task_; +} + +std::string GetTaskResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetTaskResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool GetTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListClassificationTemplatesRequest.cc b/dms-enterprise/src/model/ListClassificationTemplatesRequest.cc new file mode 100644 index 000000000..89622c2bf --- /dev/null +++ b/dms-enterprise/src/model/ListClassificationTemplatesRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListClassificationTemplatesRequest; + +ListClassificationTemplatesRequest::ListClassificationTemplatesRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListClassificationTemplates") { + setMethod(HttpRequest::Method::Post); +} + +ListClassificationTemplatesRequest::~ListClassificationTemplatesRequest() {} + +long ListClassificationTemplatesRequest::getTid() const { + return tid_; +} + +void ListClassificationTemplatesRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/ListClassificationTemplatesResult.cc b/dms-enterprise/src/model/ListClassificationTemplatesResult.cc new file mode 100644 index 000000000..1bb7dde96 --- /dev/null +++ b/dms-enterprise/src/model/ListClassificationTemplatesResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListClassificationTemplatesResult::ListClassificationTemplatesResult() : + ServiceResult() +{} + +ListClassificationTemplatesResult::ListClassificationTemplatesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListClassificationTemplatesResult::~ListClassificationTemplatesResult() +{} + +void ListClassificationTemplatesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTemplateListNode = value["TemplateList"]["TemplateListItem"]; + for (auto valueTemplateListTemplateListItem : allTemplateListNode) + { + TemplateListItem templateListObject; + if(!valueTemplateListTemplateListItem["TemplateId"].isNull()) + templateListObject.templateId = std::stol(valueTemplateListTemplateListItem["TemplateId"].asString()); + if(!valueTemplateListTemplateListItem["Name"].isNull()) + templateListObject.name = valueTemplateListTemplateListItem["Name"].asString(); + if(!valueTemplateListTemplateListItem["TemplateType"].isNull()) + templateListObject.templateType = valueTemplateListTemplateListItem["TemplateType"].asString(); + if(!valueTemplateListTemplateListItem["Remark"].isNull()) + templateListObject.remark = valueTemplateListTemplateListItem["Remark"].asString(); + templateList_.push_back(templateListObject); + } + 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::vector ListClassificationTemplatesResult::getTemplateList()const +{ + return templateList_; +} + +std::string ListClassificationTemplatesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListClassificationTemplatesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListClassificationTemplatesResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListDefaultSLARulesRequest.cc b/dms-enterprise/src/model/ListDefaultSLARulesRequest.cc new file mode 100644 index 000000000..0a203e7f2 --- /dev/null +++ b/dms-enterprise/src/model/ListDefaultSLARulesRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListDefaultSLARulesRequest; + +ListDefaultSLARulesRequest::ListDefaultSLARulesRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListDefaultSLARules") { + setMethod(HttpRequest::Method::Post); +} + +ListDefaultSLARulesRequest::~ListDefaultSLARulesRequest() {} + +long ListDefaultSLARulesRequest::getDagId() const { + return dagId_; +} + +void ListDefaultSLARulesRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long ListDefaultSLARulesRequest::getTid() const { + return tid_; +} + +void ListDefaultSLARulesRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/ListDefaultSLARulesResult.cc b/dms-enterprise/src/model/ListDefaultSLARulesResult.cc new file mode 100644 index 000000000..8c815cffe --- /dev/null +++ b/dms-enterprise/src/model/ListDefaultSLARulesResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListDefaultSLARulesResult::ListDefaultSLARulesResult() : + ServiceResult() +{} + +ListDefaultSLARulesResult::ListDefaultSLARulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDefaultSLARulesResult::~ListDefaultSLARulesResult() +{} + +void ListDefaultSLARulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSLARuleListNode = value["SLARuleList"]["SLARule"]; + for (auto valueSLARuleListSLARule : allSLARuleListNode) + { + SLARule sLARuleListObject; + if(!valueSLARuleListSLARule["Id"].isNull()) + sLARuleListObject.id = std::stol(valueSLARuleListSLARule["Id"].asString()); + if(!valueSLARuleListSLARule["DagId"].isNull()) + sLARuleListObject.dagId = std::stol(valueSLARuleListSLARule["DagId"].asString()); + if(!valueSLARuleListSLARule["NodeId"].isNull()) + sLARuleListObject.nodeId = std::stol(valueSLARuleListSLARule["NodeId"].asString()); + if(!valueSLARuleListSLARule["RuleType"].isNull()) + sLARuleListObject.ruleType = std::stoi(valueSLARuleListSLARule["RuleType"].asString()); + if(!valueSLARuleListSLARule["IntervalMinutes"].isNull()) + sLARuleListObject.intervalMinutes = std::stoi(valueSLARuleListSLARule["IntervalMinutes"].asString()); + sLARuleList_.push_back(sLARuleListObject); + } + 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::vector ListDefaultSLARulesResult::getSLARuleList()const +{ + return sLARuleList_; +} + +std::string ListDefaultSLARulesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListDefaultSLARulesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListDefaultSLARulesResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListEffectiveOrdersRequest.cc b/dms-enterprise/src/model/ListEffectiveOrdersRequest.cc new file mode 100644 index 000000000..3de340f1e --- /dev/null +++ b/dms-enterprise/src/model/ListEffectiveOrdersRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListEffectiveOrdersRequest; + +ListEffectiveOrdersRequest::ListEffectiveOrdersRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListEffectiveOrders") { + setMethod(HttpRequest::Method::Post); +} + +ListEffectiveOrdersRequest::~ListEffectiveOrdersRequest() {} + +long ListEffectiveOrdersRequest::getTid() const { + return tid_; +} + +void ListEffectiveOrdersRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/ListEffectiveOrdersResult.cc b/dms-enterprise/src/model/ListEffectiveOrdersResult.cc new file mode 100644 index 000000000..656b9f5a9 --- /dev/null +++ b/dms-enterprise/src/model/ListEffectiveOrdersResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListEffectiveOrdersResult::ListEffectiveOrdersResult() : + ServiceResult() +{} + +ListEffectiveOrdersResult::ListEffectiveOrdersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListEffectiveOrdersResult::~ListEffectiveOrdersResult() +{} + +void ListEffectiveOrdersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allOrderSummaryNode = value["OrderSummary"]["OrderSummaryItem"]; + for (auto valueOrderSummaryOrderSummaryItem : allOrderSummaryNode) + { + OrderSummaryItem orderSummaryObject; + if(!valueOrderSummaryOrderSummaryItem["CommodityCode"].isNull()) + orderSummaryObject.commodityCode = valueOrderSummaryOrderSummaryItem["CommodityCode"].asString(); + if(!valueOrderSummaryOrderSummaryItem["CommodityType"].isNull()) + orderSummaryObject.commodityType = valueOrderSummaryOrderSummaryItem["CommodityType"].asString(); + if(!valueOrderSummaryOrderSummaryItem["VersionType"].isNull()) + orderSummaryObject.versionType = valueOrderSummaryOrderSummaryItem["VersionType"].asString(); + if(!valueOrderSummaryOrderSummaryItem["TotalQuota"].isNull()) + orderSummaryObject.totalQuota = std::stoi(valueOrderSummaryOrderSummaryItem["TotalQuota"].asString()); + auto allOrderListNode = valueOrderSummaryOrderSummaryItem["OrderList"]["OrderListItem"]; + for (auto valueOrderSummaryOrderSummaryItemOrderListOrderListItem : allOrderListNode) + { + OrderSummaryItem::OrderListItem orderListObject; + if(!valueOrderSummaryOrderSummaryItemOrderListOrderListItem["OrderId"].isNull()) + orderListObject.orderId = valueOrderSummaryOrderSummaryItemOrderListOrderListItem["OrderId"].asString(); + if(!valueOrderSummaryOrderSummaryItemOrderListOrderListItem["BuyerId"].isNull()) + orderListObject.buyerId = valueOrderSummaryOrderSummaryItemOrderListOrderListItem["BuyerId"].asString(); + if(!valueOrderSummaryOrderSummaryItemOrderListOrderListItem["InstanceId"].isNull()) + orderListObject.instanceId = valueOrderSummaryOrderSummaryItemOrderListOrderListItem["InstanceId"].asString(); + if(!valueOrderSummaryOrderSummaryItemOrderListOrderListItem["StartTime"].isNull()) + orderListObject.startTime = valueOrderSummaryOrderSummaryItemOrderListOrderListItem["StartTime"].asString(); + if(!valueOrderSummaryOrderSummaryItemOrderListOrderListItem["EndTime"].isNull()) + orderListObject.endTime = valueOrderSummaryOrderSummaryItemOrderListOrderListItem["EndTime"].asString(); + if(!valueOrderSummaryOrderSummaryItemOrderListOrderListItem["InsNum"].isNull()) + orderListObject.insNum = valueOrderSummaryOrderSummaryItemOrderListOrderListItem["InsNum"].asString(); + orderSummaryObject.orderList.push_back(orderListObject); + } + orderSummary_.push_back(orderSummaryObject); + } + 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::vector ListEffectiveOrdersResult::getOrderSummary()const +{ + return orderSummary_; +} + +std::string ListEffectiveOrdersResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListEffectiveOrdersResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListEffectiveOrdersResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListInstancesResult.cc b/dms-enterprise/src/model/ListInstancesResult.cc index 18635e83f..f7761bae9 100644 --- a/dms-enterprise/src/model/ListInstancesResult.cc +++ b/dms-enterprise/src/model/ListInstancesResult.cc @@ -87,6 +87,8 @@ void ListInstancesResult::parse(const std::string &payload) instanceListObject.ddlOnline = std::stoi(valueInstanceListInstance["DdlOnline"].asString()); if(!valueInstanceListInstance["EcsRegion"].isNull()) instanceListObject.ecsRegion = valueInstanceListInstance["EcsRegion"].asString(); + if(!valueInstanceListInstance["SellSitd"].isNull()) + instanceListObject.sellSitd = valueInstanceListInstance["SellSitd"].asString() == "true"; auto standardGroupNode = value["StandardGroup"]; if(!standardGroupNode["GroupName"].isNull()) instanceListObject.standardGroup.groupName = standardGroupNode["GroupName"].asString(); diff --git a/dms-enterprise/src/model/ListLogicTableRouteConfigRequest.cc b/dms-enterprise/src/model/ListLogicTableRouteConfigRequest.cc index 811056b27..fa6a7d16c 100644 --- a/dms-enterprise/src/model/ListLogicTableRouteConfigRequest.cc +++ b/dms-enterprise/src/model/ListLogicTableRouteConfigRequest.cc @@ -25,15 +25,6 @@ ListLogicTableRouteConfigRequest::ListLogicTableRouteConfigRequest() ListLogicTableRouteConfigRequest::~ListLogicTableRouteConfigRequest() {} -long ListLogicTableRouteConfigRequest::getTableId() const { - return tableId_; -} - -void ListLogicTableRouteConfigRequest::setTableId(long tableId) { - tableId_ = tableId; - setParameter(std::string("TableId"), std::to_string(tableId)); -} - long ListLogicTableRouteConfigRequest::getTid() const { return tid_; } @@ -43,3 +34,12 @@ void ListLogicTableRouteConfigRequest::setTid(long tid) { setParameter(std::string("Tid"), std::to_string(tid)); } +long ListLogicTableRouteConfigRequest::getTableId() const { + return tableId_; +} + +void ListLogicTableRouteConfigRequest::setTableId(long tableId) { + tableId_ = tableId; + setParameter(std::string("TableId"), std::to_string(tableId)); +} + diff --git a/dms-enterprise/src/model/ListSLARulesRequest.cc b/dms-enterprise/src/model/ListSLARulesRequest.cc new file mode 100644 index 000000000..adb9e90f7 --- /dev/null +++ b/dms-enterprise/src/model/ListSLARulesRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListSLARulesRequest; + +ListSLARulesRequest::ListSLARulesRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListSLARules") { + setMethod(HttpRequest::Method::Post); +} + +ListSLARulesRequest::~ListSLARulesRequest() {} + +long ListSLARulesRequest::getDagId() const { + return dagId_; +} + +void ListSLARulesRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long ListSLARulesRequest::getTid() const { + return tid_; +} + +void ListSLARulesRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/ListSLARulesResult.cc b/dms-enterprise/src/model/ListSLARulesResult.cc new file mode 100644 index 000000000..6f2ae4ad3 --- /dev/null +++ b/dms-enterprise/src/model/ListSLARulesResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListSLARulesResult::ListSLARulesResult() : + ServiceResult() +{} + +ListSLARulesResult::ListSLARulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSLARulesResult::~ListSLARulesResult() +{} + +void ListSLARulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSLARuleListNode = value["SLARuleList"]["SLARule"]; + for (auto valueSLARuleListSLARule : allSLARuleListNode) + { + SLARule sLARuleListObject; + if(!valueSLARuleListSLARule["Id"].isNull()) + sLARuleListObject.id = std::stol(valueSLARuleListSLARule["Id"].asString()); + if(!valueSLARuleListSLARule["DagId"].isNull()) + sLARuleListObject.dagId = std::stol(valueSLARuleListSLARule["DagId"].asString()); + if(!valueSLARuleListSLARule["NodeId"].isNull()) + sLARuleListObject.nodeId = std::stol(valueSLARuleListSLARule["NodeId"].asString()); + if(!valueSLARuleListSLARule["RuleType"].isNull()) + sLARuleListObject.ruleType = std::stoi(valueSLARuleListSLARule["RuleType"].asString()); + if(!valueSLARuleListSLARule["IntervalMinutes"].isNull()) + sLARuleListObject.intervalMinutes = std::stoi(valueSLARuleListSLARule["IntervalMinutes"].asString()); + sLARuleList_.push_back(sLARuleListObject); + } + 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::vector ListSLARulesResult::getSLARuleList()const +{ + return sLARuleList_; +} + +std::string ListSLARulesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListSLARulesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListSLARulesResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListSQLReviewOriginSQLResult.cc b/dms-enterprise/src/model/ListSQLReviewOriginSQLResult.cc index df4196fbc..b393bd5b0 100644 --- a/dms-enterprise/src/model/ListSQLReviewOriginSQLResult.cc +++ b/dms-enterprise/src/model/ListSQLReviewOriginSQLResult.cc @@ -63,6 +63,8 @@ void ListSQLReviewOriginSQLResult::parse(const std::string &payload) originSQLListObject.reviewSummary = valueOriginSQLListOriginSQLListItem["ReviewSummary"].asString(); if(!valueOriginSQLListOriginSQLListItem["SQLReviewQueryKey"].isNull()) originSQLListObject.sQLReviewQueryKey = valueOriginSQLListOriginSQLListItem["SQLReviewQueryKey"].asString(); + if(!valueOriginSQLListOriginSQLListItem["SQLName"].isNull()) + originSQLListObject.sQLName = valueOriginSQLListOriginSQLListItem["SQLName"].asString(); originSQLList_.push_back(originSQLListObject); } if(!value["ErrorCode"].isNull()) diff --git a/dms-enterprise/src/model/ListScenariosRequest.cc b/dms-enterprise/src/model/ListScenariosRequest.cc new file mode 100644 index 000000000..c92c0dd2e --- /dev/null +++ b/dms-enterprise/src/model/ListScenariosRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListScenariosRequest; + +ListScenariosRequest::ListScenariosRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListScenarios") { + setMethod(HttpRequest::Method::Post); +} + +ListScenariosRequest::~ListScenariosRequest() {} + +long ListScenariosRequest::getTid() const { + return tid_; +} + +void ListScenariosRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/ListScenariosResult.cc b/dms-enterprise/src/model/ListScenariosResult.cc new file mode 100644 index 000000000..e31a26e06 --- /dev/null +++ b/dms-enterprise/src/model/ListScenariosResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListScenariosResult::ListScenariosResult() : + ServiceResult() +{} + +ListScenariosResult::ListScenariosResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListScenariosResult::~ListScenariosResult() +{} + +void ListScenariosResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allScenarioListNode = value["ScenarioList"]["Scenario"]; + for (auto valueScenarioListScenario : allScenarioListNode) + { + Scenario scenarioListObject; + if(!valueScenarioListScenario["Id"].isNull()) + scenarioListObject.id = std::stol(valueScenarioListScenario["Id"].asString()); + if(!valueScenarioListScenario["ScenarioName"].isNull()) + scenarioListObject.scenarioName = valueScenarioListScenario["ScenarioName"].asString(); + if(!valueScenarioListScenario["CreatorId"].isNull()) + scenarioListObject.creatorId = valueScenarioListScenario["CreatorId"].asString(); + if(!valueScenarioListScenario["Description"].isNull()) + scenarioListObject.description = valueScenarioListScenario["Description"].asString(); + scenarioList_.push_back(scenarioListObject); + } + 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 ListScenariosResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListScenariosResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::vector ListScenariosResult::getScenarioList()const +{ + return scenarioList_; +} + +bool ListScenariosResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListSensitiveDataAuditLogRequest.cc b/dms-enterprise/src/model/ListSensitiveDataAuditLogRequest.cc new file mode 100644 index 000000000..2f7e30bea --- /dev/null +++ b/dms-enterprise/src/model/ListSensitiveDataAuditLogRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListSensitiveDataAuditLogRequest; + +ListSensitiveDataAuditLogRequest::ListSensitiveDataAuditLogRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListSensitiveDataAuditLog") { + setMethod(HttpRequest::Method::Post); +} + +ListSensitiveDataAuditLogRequest::~ListSensitiveDataAuditLogRequest() {} + +std::string ListSensitiveDataAuditLogRequest::getOpUserName() const { + return opUserName_; +} + +void ListSensitiveDataAuditLogRequest::setOpUserName(const std::string &opUserName) { + opUserName_ = opUserName; + setParameter(std::string("OpUserName"), opUserName); +} + +std::string ListSensitiveDataAuditLogRequest::getEndTime() const { + return endTime_; +} + +void ListSensitiveDataAuditLogRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string ListSensitiveDataAuditLogRequest::getStartTime() const { + return startTime_; +} + +void ListSensitiveDataAuditLogRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string ListSensitiveDataAuditLogRequest::getColumnName() const { + return columnName_; +} + +void ListSensitiveDataAuditLogRequest::setColumnName(const std::string &columnName) { + columnName_ = columnName; + setParameter(std::string("ColumnName"), columnName); +} + +int ListSensitiveDataAuditLogRequest::getPageNumber() const { + return pageNumber_; +} + +void ListSensitiveDataAuditLogRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +long ListSensitiveDataAuditLogRequest::getTid() const { + return tid_; +} + +void ListSensitiveDataAuditLogRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string ListSensitiveDataAuditLogRequest::getDbName() const { + return dbName_; +} + +void ListSensitiveDataAuditLogRequest::setDbName(const std::string &dbName) { + dbName_ = dbName; + setParameter(std::string("DbName"), dbName); +} + +int ListSensitiveDataAuditLogRequest::getPageSize() const { + return pageSize_; +} + +void ListSensitiveDataAuditLogRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListSensitiveDataAuditLogRequest::getModuleName() const { + return moduleName_; +} + +void ListSensitiveDataAuditLogRequest::setModuleName(const std::string &moduleName) { + moduleName_ = moduleName; + setParameter(std::string("ModuleName"), moduleName); +} + +std::string ListSensitiveDataAuditLogRequest::getTableName() const { + return tableName_; +} + +void ListSensitiveDataAuditLogRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); +} + diff --git a/dms-enterprise/src/model/ListSensitiveDataAuditLogResult.cc b/dms-enterprise/src/model/ListSensitiveDataAuditLogResult.cc new file mode 100644 index 000000000..7f03c57e9 --- /dev/null +++ b/dms-enterprise/src/model/ListSensitiveDataAuditLogResult.cc @@ -0,0 +1,113 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListSensitiveDataAuditLogResult::ListSensitiveDataAuditLogResult() : + ServiceResult() +{} + +ListSensitiveDataAuditLogResult::ListSensitiveDataAuditLogResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSensitiveDataAuditLogResult::~ListSensitiveDataAuditLogResult() +{} + +void ListSensitiveDataAuditLogResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSensitiveDataAuditLogListNode = value["SensitiveDataAuditLogList"]["SensitiveDataAuditLogListItem"]; + for (auto valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem : allSensitiveDataAuditLogListNode) + { + SensitiveDataAuditLogListItem sensitiveDataAuditLogListObject; + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["UserName"].isNull()) + sensitiveDataAuditLogListObject.userName = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["UserName"].asString(); + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["UserId"].isNull()) + sensitiveDataAuditLogListObject.userId = std::stol(valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["UserId"].asString()); + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["ModuleName"].isNull()) + sensitiveDataAuditLogListObject.moduleName = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["ModuleName"].asString(); + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["DbDisplayName"].isNull()) + sensitiveDataAuditLogListObject.dbDisplayName = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["DbDisplayName"].asString(); + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["OpTime"].isNull()) + sensitiveDataAuditLogListObject.opTime = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["OpTime"].asString(); + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["InstanceId"].isNull()) + sensitiveDataAuditLogListObject.instanceId = std::stol(valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["InstanceId"].asString()); + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["TargetName"].isNull()) + sensitiveDataAuditLogListObject.targetName = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["TargetName"].asString(); + auto allSensitiveDataLogNode = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItem["SensitiveDataLog"]["SensitiveDataLogItem"]; + for (auto valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem : allSensitiveDataLogNode) + { + SensitiveDataAuditLogListItem::SensitiveDataLogItem sensitiveDataLogObject; + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem["TableName"].isNull()) + sensitiveDataLogObject.tableName = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem["TableName"].asString(); + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem["ColumnName"].isNull()) + sensitiveDataLogObject.columnName = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem["ColumnName"].asString(); + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem["SecurityLevel"].isNull()) + sensitiveDataLogObject.securityLevel = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem["SecurityLevel"].asString(); + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem["ColumnPermissionType"].isNull()) + sensitiveDataLogObject.columnPermissionType = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem["ColumnPermissionType"].asString(); + if(!valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem["DesensitizationRule"].isNull()) + sensitiveDataLogObject.desensitizationRule = valueSensitiveDataAuditLogListSensitiveDataAuditLogListItemSensitiveDataLogSensitiveDataLogItem["DesensitizationRule"].asString(); + sensitiveDataAuditLogListObject.sensitiveDataLog.push_back(sensitiveDataLogObject); + } + sensitiveDataAuditLogList_.push_back(sensitiveDataAuditLogListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].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"; + +} + +long ListSensitiveDataAuditLogResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListSensitiveDataAuditLogResult::getSensitiveDataAuditLogList()const +{ + return sensitiveDataAuditLogList_; +} + +std::string ListSensitiveDataAuditLogResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListSensitiveDataAuditLogResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListSensitiveDataAuditLogResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListTaskFlowConstantsRequest.cc b/dms-enterprise/src/model/ListTaskFlowConstantsRequest.cc new file mode 100644 index 000000000..5bbc381bb --- /dev/null +++ b/dms-enterprise/src/model/ListTaskFlowConstantsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListTaskFlowConstantsRequest; + +ListTaskFlowConstantsRequest::ListTaskFlowConstantsRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListTaskFlowConstants") { + setMethod(HttpRequest::Method::Post); +} + +ListTaskFlowConstantsRequest::~ListTaskFlowConstantsRequest() {} + +long ListTaskFlowConstantsRequest::getDagId() const { + return dagId_; +} + +void ListTaskFlowConstantsRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long ListTaskFlowConstantsRequest::getTid() const { + return tid_; +} + +void ListTaskFlowConstantsRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/ListTaskFlowConstantsResult.cc b/dms-enterprise/src/model/ListTaskFlowConstantsResult.cc new file mode 100644 index 000000000..bf86f65aa --- /dev/null +++ b/dms-enterprise/src/model/ListTaskFlowConstantsResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListTaskFlowConstantsResult::ListTaskFlowConstantsResult() : + ServiceResult() +{} + +ListTaskFlowConstantsResult::ListTaskFlowConstantsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTaskFlowConstantsResult::~ListTaskFlowConstantsResult() +{} + +void ListTaskFlowConstantsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDagConstantsNode = value["DagConstants"]["DagConstant"]; + for (auto valueDagConstantsDagConstant : allDagConstantsNode) + { + DagConstant dagConstantsObject; + if(!valueDagConstantsDagConstant["Key"].isNull()) + dagConstantsObject.key = valueDagConstantsDagConstant["Key"].asString(); + if(!valueDagConstantsDagConstant["Value"].isNull()) + dagConstantsObject.value = valueDagConstantsDagConstant["Value"].asString(); + dagConstants_.push_back(dagConstantsObject); + } + 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 ListTaskFlowConstantsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListTaskFlowConstantsResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListTaskFlowConstantsResult::getSuccess()const +{ + return success_; +} + +std::vector ListTaskFlowConstantsResult::getDagConstants()const +{ + return dagConstants_; +} + diff --git a/dms-enterprise/src/model/ListTaskFlowCooperatorsRequest.cc b/dms-enterprise/src/model/ListTaskFlowCooperatorsRequest.cc new file mode 100644 index 000000000..f735f949d --- /dev/null +++ b/dms-enterprise/src/model/ListTaskFlowCooperatorsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListTaskFlowCooperatorsRequest; + +ListTaskFlowCooperatorsRequest::ListTaskFlowCooperatorsRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListTaskFlowCooperators") { + setMethod(HttpRequest::Method::Post); +} + +ListTaskFlowCooperatorsRequest::~ListTaskFlowCooperatorsRequest() {} + +long ListTaskFlowCooperatorsRequest::getDagId() const { + return dagId_; +} + +void ListTaskFlowCooperatorsRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long ListTaskFlowCooperatorsRequest::getTid() const { + return tid_; +} + +void ListTaskFlowCooperatorsRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/ListTaskFlowCooperatorsResult.cc b/dms-enterprise/src/model/ListTaskFlowCooperatorsResult.cc new file mode 100644 index 000000000..e99170ff4 --- /dev/null +++ b/dms-enterprise/src/model/ListTaskFlowCooperatorsResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListTaskFlowCooperatorsResult::ListTaskFlowCooperatorsResult() : + ServiceResult() +{} + +ListTaskFlowCooperatorsResult::ListTaskFlowCooperatorsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTaskFlowCooperatorsResult::~ListTaskFlowCooperatorsResult() +{} + +void ListTaskFlowCooperatorsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCooperatorListNode = value["CooperatorList"]["Cooperator"]; + for (auto valueCooperatorListCooperator : allCooperatorListNode) + { + Cooperator cooperatorListObject; + if(!valueCooperatorListCooperator["NickName"].isNull()) + cooperatorListObject.nickName = valueCooperatorListCooperator["NickName"].asString(); + if(!valueCooperatorListCooperator["Email"].isNull()) + cooperatorListObject.email = valueCooperatorListCooperator["Email"].asString(); + if(!valueCooperatorListCooperator["LoginName"].isNull()) + cooperatorListObject.loginName = valueCooperatorListCooperator["LoginName"].asString(); + if(!valueCooperatorListCooperator["RealName"].isNull()) + cooperatorListObject.realName = valueCooperatorListCooperator["RealName"].asString(); + cooperatorList_.push_back(cooperatorListObject); + } + 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::vector ListTaskFlowCooperatorsResult::getCooperatorList()const +{ + return cooperatorList_; +} + +std::string ListTaskFlowCooperatorsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListTaskFlowCooperatorsResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListTaskFlowCooperatorsResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListTaskFlowEdgesByConditionRequest.cc b/dms-enterprise/src/model/ListTaskFlowEdgesByConditionRequest.cc new file mode 100644 index 000000000..f0b84be6d --- /dev/null +++ b/dms-enterprise/src/model/ListTaskFlowEdgesByConditionRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListTaskFlowEdgesByConditionRequest; + +ListTaskFlowEdgesByConditionRequest::ListTaskFlowEdgesByConditionRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListTaskFlowEdgesByCondition") { + setMethod(HttpRequest::Method::Post); +} + +ListTaskFlowEdgesByConditionRequest::~ListTaskFlowEdgesByConditionRequest() {} + +long ListTaskFlowEdgesByConditionRequest::getDagId() const { + return dagId_; +} + +void ListTaskFlowEdgesByConditionRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long ListTaskFlowEdgesByConditionRequest::getTid() const { + return tid_; +} + +void ListTaskFlowEdgesByConditionRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long ListTaskFlowEdgesByConditionRequest::getNodeEnd() const { + return nodeEnd_; +} + +void ListTaskFlowEdgesByConditionRequest::setNodeEnd(long nodeEnd) { + nodeEnd_ = nodeEnd; + setParameter(std::string("NodeEnd"), std::to_string(nodeEnd)); +} + +long ListTaskFlowEdgesByConditionRequest::getNodeFrom() const { + return nodeFrom_; +} + +void ListTaskFlowEdgesByConditionRequest::setNodeFrom(long nodeFrom) { + nodeFrom_ = nodeFrom; + setParameter(std::string("NodeFrom"), std::to_string(nodeFrom)); +} + +long ListTaskFlowEdgesByConditionRequest::getId() const { + return id_; +} + +void ListTaskFlowEdgesByConditionRequest::setId(long id) { + id_ = id; + setParameter(std::string("Id"), std::to_string(id)); +} + diff --git a/dms-enterprise/src/model/ListTaskFlowEdgesByConditionResult.cc b/dms-enterprise/src/model/ListTaskFlowEdgesByConditionResult.cc new file mode 100644 index 000000000..f9a120415 --- /dev/null +++ b/dms-enterprise/src/model/ListTaskFlowEdgesByConditionResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListTaskFlowEdgesByConditionResult::ListTaskFlowEdgesByConditionResult() : + ServiceResult() +{} + +ListTaskFlowEdgesByConditionResult::ListTaskFlowEdgesByConditionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTaskFlowEdgesByConditionResult::~ListTaskFlowEdgesByConditionResult() +{} + +void ListTaskFlowEdgesByConditionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allEdgesNode = value["Edges"]["Edge"]; + for (auto valueEdgesEdge : allEdgesNode) + { + Edge edgesObject; + if(!valueEdgesEdge["Id"].isNull()) + edgesObject.id = std::stol(valueEdgesEdge["Id"].asString()); + if(!valueEdgesEdge["NodeEnd"].isNull()) + edgesObject.nodeEnd = std::stol(valueEdgesEdge["NodeEnd"].asString()); + if(!valueEdgesEdge["NodeFrom"].isNull()) + edgesObject.nodeFrom = std::stol(valueEdgesEdge["NodeFrom"].asString()); + edges_.push_back(edgesObject); + } + 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 ListTaskFlowEdgesByConditionResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListTaskFlowEdgesByConditionResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::vector ListTaskFlowEdgesByConditionResult::getEdges()const +{ + return edges_; +} + +bool ListTaskFlowEdgesByConditionResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListTaskFlowInstanceResult.cc b/dms-enterprise/src/model/ListTaskFlowInstanceResult.cc index bd90a788d..790254a73 100644 --- a/dms-enterprise/src/model/ListTaskFlowInstanceResult.cc +++ b/dms-enterprise/src/model/ListTaskFlowInstanceResult.cc @@ -63,6 +63,8 @@ void ListTaskFlowInstanceResult::parse(const std::string &payload) dAGInstanceListObject.dagName = valueDAGInstanceListDAGInstance["DagName"].asString(); if(!valueDAGInstanceListDAGInstance["OwnerName"].isNull()) dAGInstanceListObject.ownerName = valueDAGInstanceListDAGInstance["OwnerName"].asString(); + if(!valueDAGInstanceListDAGInstance["DagVersion"].isNull()) + dAGInstanceListObject.dagVersion = valueDAGInstanceListDAGInstance["DagVersion"].asString(); dAGInstanceList_.push_back(dAGInstanceListObject); } if(!value["ErrorCode"].isNull()) diff --git a/dms-enterprise/src/model/ListTaskFlowTimeVariablesRequest.cc b/dms-enterprise/src/model/ListTaskFlowTimeVariablesRequest.cc new file mode 100644 index 000000000..b3afb73c8 --- /dev/null +++ b/dms-enterprise/src/model/ListTaskFlowTimeVariablesRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListTaskFlowTimeVariablesRequest; + +ListTaskFlowTimeVariablesRequest::ListTaskFlowTimeVariablesRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListTaskFlowTimeVariables") { + setMethod(HttpRequest::Method::Post); +} + +ListTaskFlowTimeVariablesRequest::~ListTaskFlowTimeVariablesRequest() {} + +long ListTaskFlowTimeVariablesRequest::getDagId() const { + return dagId_; +} + +void ListTaskFlowTimeVariablesRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long ListTaskFlowTimeVariablesRequest::getTid() const { + return tid_; +} + +void ListTaskFlowTimeVariablesRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/ListTaskFlowTimeVariablesResult.cc b/dms-enterprise/src/model/ListTaskFlowTimeVariablesResult.cc new file mode 100644 index 000000000..ff647418c --- /dev/null +++ b/dms-enterprise/src/model/ListTaskFlowTimeVariablesResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListTaskFlowTimeVariablesResult::ListTaskFlowTimeVariablesResult() : + ServiceResult() +{} + +ListTaskFlowTimeVariablesResult::ListTaskFlowTimeVariablesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTaskFlowTimeVariablesResult::~ListTaskFlowTimeVariablesResult() +{} + +void ListTaskFlowTimeVariablesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTimeVariablesNode = value["TimeVariables"]["TimeVariable"]; + for (auto valueTimeVariablesTimeVariable : allTimeVariablesNode) + { + TimeVariable timeVariablesObject; + if(!valueTimeVariablesTimeVariable["Name"].isNull()) + timeVariablesObject.name = valueTimeVariablesTimeVariable["Name"].asString(); + if(!valueTimeVariablesTimeVariable["Pattern"].isNull()) + timeVariablesObject.pattern = valueTimeVariablesTimeVariable["Pattern"].asString(); + timeVariables_.push_back(timeVariablesObject); + } + 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::vector ListTaskFlowTimeVariablesResult::getTimeVariables()const +{ + return timeVariables_; +} + +std::string ListTaskFlowTimeVariablesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListTaskFlowTimeVariablesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListTaskFlowTimeVariablesResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListTaskFlowsByPageRequest.cc b/dms-enterprise/src/model/ListTaskFlowsByPageRequest.cc new file mode 100644 index 000000000..a04b7c52f --- /dev/null +++ b/dms-enterprise/src/model/ListTaskFlowsByPageRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListTaskFlowsByPageRequest; + +ListTaskFlowsByPageRequest::ListTaskFlowsByPageRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListTaskFlowsByPage") { + setMethod(HttpRequest::Method::Post); +} + +ListTaskFlowsByPageRequest::~ListTaskFlowsByPageRequest() {} + +std::string ListTaskFlowsByPageRequest::getSearchKey() const { + return searchKey_; +} + +void ListTaskFlowsByPageRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setParameter(std::string("SearchKey"), searchKey); +} + +long ListTaskFlowsByPageRequest::getTid() const { + return tid_; +} + +void ListTaskFlowsByPageRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +bool ListTaskFlowsByPageRequest::getNeedLastDagInstance() const { + return needLastDagInstance_; +} + +void ListTaskFlowsByPageRequest::setNeedLastDagInstance(bool needLastDagInstance) { + needLastDagInstance_ = needLastDagInstance; + setParameter(std::string("NeedLastDagInstance"), needLastDagInstance ? "true" : "false"); +} + +int ListTaskFlowsByPageRequest::getPageSize() const { + return pageSize_; +} + +void ListTaskFlowsByPageRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int ListTaskFlowsByPageRequest::getPageIndex() const { + return pageIndex_; +} + +void ListTaskFlowsByPageRequest::setPageIndex(int pageIndex) { + pageIndex_ = pageIndex; + setParameter(std::string("PageIndex"), std::to_string(pageIndex)); +} + diff --git a/dms-enterprise/src/model/ListTaskFlowsByPageResult.cc b/dms-enterprise/src/model/ListTaskFlowsByPageResult.cc new file mode 100644 index 000000000..10909c93b --- /dev/null +++ b/dms-enterprise/src/model/ListTaskFlowsByPageResult.cc @@ -0,0 +1,103 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListTaskFlowsByPageResult::ListTaskFlowsByPageResult() : + ServiceResult() +{} + +ListTaskFlowsByPageResult::ListTaskFlowsByPageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTaskFlowsByPageResult::~ListTaskFlowsByPageResult() +{} + +void ListTaskFlowsByPageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTaskFlowListNode = value["TaskFlowList"]["TaskFlow"]; + for (auto valueTaskFlowListTaskFlow : allTaskFlowListNode) + { + TaskFlow taskFlowListObject; + if(!valueTaskFlowListTaskFlow["Id"].isNull()) + taskFlowListObject.id = std::stol(valueTaskFlowListTaskFlow["Id"].asString()); + if(!valueTaskFlowListTaskFlow["DagName"].isNull()) + taskFlowListObject.dagName = valueTaskFlowListTaskFlow["DagName"].asString(); + if(!valueTaskFlowListTaskFlow["Description"].isNull()) + taskFlowListObject.description = valueTaskFlowListTaskFlow["Description"].asString(); + if(!valueTaskFlowListTaskFlow["CreatorId"].isNull()) + taskFlowListObject.creatorId = valueTaskFlowListTaskFlow["CreatorId"].asString(); + if(!valueTaskFlowListTaskFlow["CreatorNickName"].isNull()) + taskFlowListObject.creatorNickName = valueTaskFlowListTaskFlow["CreatorNickName"].asString(); + if(!valueTaskFlowListTaskFlow["DagOwnerNickName"].isNull()) + taskFlowListObject.dagOwnerNickName = valueTaskFlowListTaskFlow["DagOwnerNickName"].asString(); + if(!valueTaskFlowListTaskFlow["DeployId"].isNull()) + taskFlowListObject.deployId = std::stol(valueTaskFlowListTaskFlow["DeployId"].asString()); + if(!valueTaskFlowListTaskFlow["Status"].isNull()) + taskFlowListObject.status = std::stoi(valueTaskFlowListTaskFlow["Status"].asString()); + if(!valueTaskFlowListTaskFlow["LatestInstanceStatus"].isNull()) + taskFlowListObject.latestInstanceStatus = std::stoi(valueTaskFlowListTaskFlow["LatestInstanceStatus"].asString()); + if(!valueTaskFlowListTaskFlow["LatestInstanceTime"].isNull()) + taskFlowListObject.latestInstanceTime = valueTaskFlowListTaskFlow["LatestInstanceTime"].asString(); + taskFlowList_.push_back(taskFlowListObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int ListTaskFlowsByPageResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListTaskFlowsByPageResult::getTaskFlowList()const +{ + return taskFlowList_; +} + +std::string ListTaskFlowsByPageResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListTaskFlowsByPageResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListTaskFlowsByPageResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ListTasksInTaskFlowRequest.cc b/dms-enterprise/src/model/ListTasksInTaskFlowRequest.cc new file mode 100644 index 000000000..e7ef39cf2 --- /dev/null +++ b/dms-enterprise/src/model/ListTasksInTaskFlowRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ListTasksInTaskFlowRequest; + +ListTasksInTaskFlowRequest::ListTasksInTaskFlowRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListTasksInTaskFlow") { + setMethod(HttpRequest::Method::Post); +} + +ListTasksInTaskFlowRequest::~ListTasksInTaskFlowRequest() {} + +long ListTasksInTaskFlowRequest::getDagId() const { + return dagId_; +} + +void ListTasksInTaskFlowRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long ListTasksInTaskFlowRequest::getTid() const { + return tid_; +} + +void ListTasksInTaskFlowRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/ListTasksInTaskFlowResult.cc b/dms-enterprise/src/model/ListTasksInTaskFlowResult.cc new file mode 100644 index 000000000..d5dd652ff --- /dev/null +++ b/dms-enterprise/src/model/ListTasksInTaskFlowResult.cc @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ListTasksInTaskFlowResult::ListTasksInTaskFlowResult() : + ServiceResult() +{} + +ListTasksInTaskFlowResult::ListTasksInTaskFlowResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTasksInTaskFlowResult::~ListTasksInTaskFlowResult() +{} + +void ListTasksInTaskFlowResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTasksNode = value["Tasks"]["Task"]; + for (auto valueTasksTask : allTasksNode) + { + Task tasksObject; + if(!valueTasksTask["NodeName"].isNull()) + tasksObject.nodeName = valueTasksTask["NodeName"].asString(); + if(!valueTasksTask["NodeType"].isNull()) + tasksObject.nodeType = valueTasksTask["NodeType"].asString(); + if(!valueTasksTask["NodeContent"].isNull()) + tasksObject.nodeContent = valueTasksTask["NodeContent"].asString(); + if(!valueTasksTask["TimeVariables"].isNull()) + tasksObject.timeVariables = valueTasksTask["TimeVariables"].asString(); + if(!valueTasksTask["NodeConfig"].isNull()) + tasksObject.nodeConfig = valueTasksTask["NodeConfig"].asString(); + if(!valueTasksTask["NodeOutput"].isNull()) + tasksObject.nodeOutput = valueTasksTask["NodeOutput"].asString(); + if(!valueTasksTask["GraphParam"].isNull()) + tasksObject.graphParam = valueTasksTask["GraphParam"].asString(); + if(!valueTasksTask["NodeId"].isNull()) + tasksObject.nodeId = valueTasksTask["NodeId"].asString(); + tasks_.push_back(tasksObject); + } + 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::vector ListTasksInTaskFlowResult::getTasks()const +{ + return tasks_; +} + +std::string ListTasksInTaskFlowResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListTasksInTaskFlowResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListTasksInTaskFlowResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/MakeTaskFlowInstanceSuccessRequest.cc b/dms-enterprise/src/model/MakeTaskFlowInstanceSuccessRequest.cc new file mode 100644 index 000000000..76b6e41ed --- /dev/null +++ b/dms-enterprise/src/model/MakeTaskFlowInstanceSuccessRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::MakeTaskFlowInstanceSuccessRequest; + +MakeTaskFlowInstanceSuccessRequest::MakeTaskFlowInstanceSuccessRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "MakeTaskFlowInstanceSuccess") { + setMethod(HttpRequest::Method::Post); +} + +MakeTaskFlowInstanceSuccessRequest::~MakeTaskFlowInstanceSuccessRequest() {} + +long MakeTaskFlowInstanceSuccessRequest::getDagId() const { + return dagId_; +} + +void MakeTaskFlowInstanceSuccessRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long MakeTaskFlowInstanceSuccessRequest::getTid() const { + return tid_; +} + +void MakeTaskFlowInstanceSuccessRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long MakeTaskFlowInstanceSuccessRequest::getDagInstanceId() const { + return dagInstanceId_; +} + +void MakeTaskFlowInstanceSuccessRequest::setDagInstanceId(long dagInstanceId) { + dagInstanceId_ = dagInstanceId; + setParameter(std::string("DagInstanceId"), std::to_string(dagInstanceId)); +} + diff --git a/dms-enterprise/src/model/MakeTaskFlowInstanceSuccessResult.cc b/dms-enterprise/src/model/MakeTaskFlowInstanceSuccessResult.cc new file mode 100644 index 000000000..85a621dcd --- /dev/null +++ b/dms-enterprise/src/model/MakeTaskFlowInstanceSuccessResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +MakeTaskFlowInstanceSuccessResult::MakeTaskFlowInstanceSuccessResult() : + ServiceResult() +{} + +MakeTaskFlowInstanceSuccessResult::MakeTaskFlowInstanceSuccessResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MakeTaskFlowInstanceSuccessResult::~MakeTaskFlowInstanceSuccessResult() +{} + +void MakeTaskFlowInstanceSuccessResult::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 MakeTaskFlowInstanceSuccessResult::getErrorCode()const +{ + return errorCode_; +} + +std::string MakeTaskFlowInstanceSuccessResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool MakeTaskFlowInstanceSuccessResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/MoveTaskFlowToScenarioRequest.cc b/dms-enterprise/src/model/MoveTaskFlowToScenarioRequest.cc new file mode 100644 index 000000000..82cc8976e --- /dev/null +++ b/dms-enterprise/src/model/MoveTaskFlowToScenarioRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::MoveTaskFlowToScenarioRequest; + +MoveTaskFlowToScenarioRequest::MoveTaskFlowToScenarioRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "MoveTaskFlowToScenario") { + setMethod(HttpRequest::Method::Post); +} + +MoveTaskFlowToScenarioRequest::~MoveTaskFlowToScenarioRequest() {} + +long MoveTaskFlowToScenarioRequest::getDagId() const { + return dagId_; +} + +void MoveTaskFlowToScenarioRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long MoveTaskFlowToScenarioRequest::getTid() const { + return tid_; +} + +void MoveTaskFlowToScenarioRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long MoveTaskFlowToScenarioRequest::getScenarioId() const { + return scenarioId_; +} + +void MoveTaskFlowToScenarioRequest::setScenarioId(long scenarioId) { + scenarioId_ = scenarioId; + setParameter(std::string("ScenarioId"), std::to_string(scenarioId)); +} + diff --git a/dms-enterprise/src/model/MoveTaskFlowToScenarioResult.cc b/dms-enterprise/src/model/MoveTaskFlowToScenarioResult.cc new file mode 100644 index 000000000..4b5ef8716 --- /dev/null +++ b/dms-enterprise/src/model/MoveTaskFlowToScenarioResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +MoveTaskFlowToScenarioResult::MoveTaskFlowToScenarioResult() : + ServiceResult() +{} + +MoveTaskFlowToScenarioResult::MoveTaskFlowToScenarioResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MoveTaskFlowToScenarioResult::~MoveTaskFlowToScenarioResult() +{} + +void MoveTaskFlowToScenarioResult::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 MoveTaskFlowToScenarioResult::getErrorCode()const +{ + return errorCode_; +} + +std::string MoveTaskFlowToScenarioResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool MoveTaskFlowToScenarioResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/PublishAndDeployTaskFlowRequest.cc b/dms-enterprise/src/model/PublishAndDeployTaskFlowRequest.cc new file mode 100644 index 000000000..52b750b2f --- /dev/null +++ b/dms-enterprise/src/model/PublishAndDeployTaskFlowRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::PublishAndDeployTaskFlowRequest; + +PublishAndDeployTaskFlowRequest::PublishAndDeployTaskFlowRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "PublishAndDeployTaskFlow") { + setMethod(HttpRequest::Method::Post); +} + +PublishAndDeployTaskFlowRequest::~PublishAndDeployTaskFlowRequest() {} + +std::string PublishAndDeployTaskFlowRequest::getVersionComments() const { + return versionComments_; +} + +void PublishAndDeployTaskFlowRequest::setVersionComments(const std::string &versionComments) { + versionComments_ = versionComments; + setParameter(std::string("VersionComments"), versionComments); +} + +long PublishAndDeployTaskFlowRequest::getDagId() const { + return dagId_; +} + +void PublishAndDeployTaskFlowRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long PublishAndDeployTaskFlowRequest::getTid() const { + return tid_; +} + +void PublishAndDeployTaskFlowRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/PublishAndDeployTaskFlowResult.cc b/dms-enterprise/src/model/PublishAndDeployTaskFlowResult.cc new file mode 100644 index 000000000..8e1466c7b --- /dev/null +++ b/dms-enterprise/src/model/PublishAndDeployTaskFlowResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +PublishAndDeployTaskFlowResult::PublishAndDeployTaskFlowResult() : + ServiceResult() +{} + +PublishAndDeployTaskFlowResult::PublishAndDeployTaskFlowResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PublishAndDeployTaskFlowResult::~PublishAndDeployTaskFlowResult() +{} + +void PublishAndDeployTaskFlowResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["DeployId"].isNull()) + deployId_ = std::stol(value["DeployId"].asString()); + +} + +long PublishAndDeployTaskFlowResult::getDeployId()const +{ + return deployId_; +} + +std::string PublishAndDeployTaskFlowResult::getErrorCode()const +{ + return errorCode_; +} + +std::string PublishAndDeployTaskFlowResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool PublishAndDeployTaskFlowResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/ReRunTaskFlowInstanceRequest.cc b/dms-enterprise/src/model/ReRunTaskFlowInstanceRequest.cc new file mode 100644 index 000000000..b9f1970d7 --- /dev/null +++ b/dms-enterprise/src/model/ReRunTaskFlowInstanceRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ReRunTaskFlowInstanceRequest; + +ReRunTaskFlowInstanceRequest::ReRunTaskFlowInstanceRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ReRunTaskFlowInstance") { + setMethod(HttpRequest::Method::Post); +} + +ReRunTaskFlowInstanceRequest::~ReRunTaskFlowInstanceRequest() {} + +std::string ReRunTaskFlowInstanceRequest::getDagVersion() const { + return dagVersion_; +} + +void ReRunTaskFlowInstanceRequest::setDagVersion(const std::string &dagVersion) { + dagVersion_ = dagVersion; + setParameter(std::string("DagVersion"), dagVersion); +} + +long ReRunTaskFlowInstanceRequest::getDagId() const { + return dagId_; +} + +void ReRunTaskFlowInstanceRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long ReRunTaskFlowInstanceRequest::getTid() const { + return tid_; +} + +void ReRunTaskFlowInstanceRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long ReRunTaskFlowInstanceRequest::getDagInstanceId() const { + return dagInstanceId_; +} + +void ReRunTaskFlowInstanceRequest::setDagInstanceId(long dagInstanceId) { + dagInstanceId_ = dagInstanceId; + setParameter(std::string("DagInstanceId"), std::to_string(dagInstanceId)); +} + diff --git a/dms-enterprise/src/model/ReRunTaskFlowInstanceResult.cc b/dms-enterprise/src/model/ReRunTaskFlowInstanceResult.cc new file mode 100644 index 000000000..27ff8eceb --- /dev/null +++ b/dms-enterprise/src/model/ReRunTaskFlowInstanceResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ReRunTaskFlowInstanceResult::ReRunTaskFlowInstanceResult() : + ServiceResult() +{} + +ReRunTaskFlowInstanceResult::ReRunTaskFlowInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ReRunTaskFlowInstanceResult::~ReRunTaskFlowInstanceResult() +{} + +void ReRunTaskFlowInstanceResult::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 ReRunTaskFlowInstanceResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ReRunTaskFlowInstanceResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ReRunTaskFlowInstanceResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/RefundPayAsYouGoOrderRequest.cc b/dms-enterprise/src/model/RefundPayAsYouGoOrderRequest.cc new file mode 100644 index 000000000..14449a66d --- /dev/null +++ b/dms-enterprise/src/model/RefundPayAsYouGoOrderRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::RefundPayAsYouGoOrderRequest; + +RefundPayAsYouGoOrderRequest::RefundPayAsYouGoOrderRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "RefundPayAsYouGoOrder") { + setMethod(HttpRequest::Method::Post); +} + +RefundPayAsYouGoOrderRequest::~RefundPayAsYouGoOrderRequest() {} + +std::string RefundPayAsYouGoOrderRequest::getOrderId() const { + return orderId_; +} + +void RefundPayAsYouGoOrderRequest::setOrderId(const std::string &orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), orderId); +} + +long RefundPayAsYouGoOrderRequest::getTid() const { + return tid_; +} + +void RefundPayAsYouGoOrderRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/RefundPayAsYouGoOrderResult.cc b/dms-enterprise/src/model/RefundPayAsYouGoOrderResult.cc new file mode 100644 index 000000000..a398b7a9c --- /dev/null +++ b/dms-enterprise/src/model/RefundPayAsYouGoOrderResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +RefundPayAsYouGoOrderResult::RefundPayAsYouGoOrderResult() : + ServiceResult() +{} + +RefundPayAsYouGoOrderResult::RefundPayAsYouGoOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RefundPayAsYouGoOrderResult::~RefundPayAsYouGoOrderResult() +{} + +void RefundPayAsYouGoOrderResult::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 RefundPayAsYouGoOrderResult::getErrorCode()const +{ + return errorCode_; +} + +std::string RefundPayAsYouGoOrderResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool RefundPayAsYouGoOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/RegisterInstanceRequest.cc b/dms-enterprise/src/model/RegisterInstanceRequest.cc index a3c1508b3..1b3396b51 100644 --- a/dms-enterprise/src/model/RegisterInstanceRequest.cc +++ b/dms-enterprise/src/model/RegisterInstanceRequest.cc @@ -79,6 +79,15 @@ void RegisterInstanceRequest::setSid(const std::string &sid) { setParameter(std::string("Sid"), sid); } +std::string RegisterInstanceRequest::getEnableSellSitd() const { + return enableSellSitd_; +} + +void RegisterInstanceRequest::setEnableSellSitd(const std::string &enableSellSitd) { + enableSellSitd_ = enableSellSitd; + setParameter(std::string("EnableSellSitd"), enableSellSitd); +} + std::string RegisterInstanceRequest::getDataLinkName() const { return dataLinkName_; } @@ -88,6 +97,15 @@ void RegisterInstanceRequest::setDataLinkName(const std::string &dataLinkName) { setParameter(std::string("DataLinkName"), dataLinkName); } +std::string RegisterInstanceRequest::getTemplateType() const { + return templateType_; +} + +void RegisterInstanceRequest::setTemplateType(const std::string &templateType) { + templateType_ = templateType; + setParameter(std::string("TemplateType"), templateType); +} + std::string RegisterInstanceRequest::getInstanceSource() const { return instanceSource_; } @@ -169,6 +187,15 @@ void RegisterInstanceRequest::setInstanceAlias(const std::string &instanceAlias) setParameter(std::string("InstanceAlias"), instanceAlias); } +long RegisterInstanceRequest::getTemplateId() const { + return templateId_; +} + +void RegisterInstanceRequest::setTemplateId(long templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), std::to_string(templateId)); +} + std::string RegisterInstanceRequest::getDatabaseUser() const { return databaseUser_; } diff --git a/dms-enterprise/src/model/ResumeTaskFlowInstanceRequest.cc b/dms-enterprise/src/model/ResumeTaskFlowInstanceRequest.cc new file mode 100644 index 000000000..ede6695f7 --- /dev/null +++ b/dms-enterprise/src/model/ResumeTaskFlowInstanceRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::ResumeTaskFlowInstanceRequest; + +ResumeTaskFlowInstanceRequest::ResumeTaskFlowInstanceRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "ResumeTaskFlowInstance") { + setMethod(HttpRequest::Method::Post); +} + +ResumeTaskFlowInstanceRequest::~ResumeTaskFlowInstanceRequest() {} + +std::string ResumeTaskFlowInstanceRequest::getDagVersion() const { + return dagVersion_; +} + +void ResumeTaskFlowInstanceRequest::setDagVersion(const std::string &dagVersion) { + dagVersion_ = dagVersion; + setParameter(std::string("DagVersion"), dagVersion); +} + +long ResumeTaskFlowInstanceRequest::getDagId() const { + return dagId_; +} + +void ResumeTaskFlowInstanceRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long ResumeTaskFlowInstanceRequest::getTid() const { + return tid_; +} + +void ResumeTaskFlowInstanceRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long ResumeTaskFlowInstanceRequest::getDagInstanceId() const { + return dagInstanceId_; +} + +void ResumeTaskFlowInstanceRequest::setDagInstanceId(long dagInstanceId) { + dagInstanceId_ = dagInstanceId; + setParameter(std::string("DagInstanceId"), std::to_string(dagInstanceId)); +} + diff --git a/dms-enterprise/src/model/ResumeTaskFlowInstanceResult.cc b/dms-enterprise/src/model/ResumeTaskFlowInstanceResult.cc new file mode 100644 index 000000000..024c70052 --- /dev/null +++ b/dms-enterprise/src/model/ResumeTaskFlowInstanceResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +ResumeTaskFlowInstanceResult::ResumeTaskFlowInstanceResult() : + ServiceResult() +{} + +ResumeTaskFlowInstanceResult::ResumeTaskFlowInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ResumeTaskFlowInstanceResult::~ResumeTaskFlowInstanceResult() +{} + +void ResumeTaskFlowInstanceResult::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 ResumeTaskFlowInstanceResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ResumeTaskFlowInstanceResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ResumeTaskFlowInstanceResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/StopTaskFlowInstanceRequest.cc b/dms-enterprise/src/model/StopTaskFlowInstanceRequest.cc new file mode 100644 index 000000000..2587e7481 --- /dev/null +++ b/dms-enterprise/src/model/StopTaskFlowInstanceRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::StopTaskFlowInstanceRequest; + +StopTaskFlowInstanceRequest::StopTaskFlowInstanceRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "StopTaskFlowInstance") { + setMethod(HttpRequest::Method::Post); +} + +StopTaskFlowInstanceRequest::~StopTaskFlowInstanceRequest() {} + +long StopTaskFlowInstanceRequest::getDagId() const { + return dagId_; +} + +void StopTaskFlowInstanceRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long StopTaskFlowInstanceRequest::getTid() const { + return tid_; +} + +void StopTaskFlowInstanceRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long StopTaskFlowInstanceRequest::getDagInstanceId() const { + return dagInstanceId_; +} + +void StopTaskFlowInstanceRequest::setDagInstanceId(long dagInstanceId) { + dagInstanceId_ = dagInstanceId; + setParameter(std::string("DagInstanceId"), std::to_string(dagInstanceId)); +} + diff --git a/dms-enterprise/src/model/StopTaskFlowInstanceResult.cc b/dms-enterprise/src/model/StopTaskFlowInstanceResult.cc new file mode 100644 index 000000000..849716b22 --- /dev/null +++ b/dms-enterprise/src/model/StopTaskFlowInstanceResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +StopTaskFlowInstanceResult::StopTaskFlowInstanceResult() : + ServiceResult() +{} + +StopTaskFlowInstanceResult::StopTaskFlowInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopTaskFlowInstanceResult::~StopTaskFlowInstanceResult() +{} + +void StopTaskFlowInstanceResult::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 StopTaskFlowInstanceResult::getErrorCode()const +{ + return errorCode_; +} + +std::string StopTaskFlowInstanceResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool StopTaskFlowInstanceResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/SuspendTaskFlowInstanceRequest.cc b/dms-enterprise/src/model/SuspendTaskFlowInstanceRequest.cc new file mode 100644 index 000000000..246535601 --- /dev/null +++ b/dms-enterprise/src/model/SuspendTaskFlowInstanceRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::SuspendTaskFlowInstanceRequest; + +SuspendTaskFlowInstanceRequest::SuspendTaskFlowInstanceRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "SuspendTaskFlowInstance") { + setMethod(HttpRequest::Method::Post); +} + +SuspendTaskFlowInstanceRequest::~SuspendTaskFlowInstanceRequest() {} + +long SuspendTaskFlowInstanceRequest::getDagId() const { + return dagId_; +} + +void SuspendTaskFlowInstanceRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long SuspendTaskFlowInstanceRequest::getTid() const { + return tid_; +} + +void SuspendTaskFlowInstanceRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +long SuspendTaskFlowInstanceRequest::getDagInstanceId() const { + return dagInstanceId_; +} + +void SuspendTaskFlowInstanceRequest::setDagInstanceId(long dagInstanceId) { + dagInstanceId_ = dagInstanceId; + setParameter(std::string("DagInstanceId"), std::to_string(dagInstanceId)); +} + diff --git a/dms-enterprise/src/model/SuspendTaskFlowInstanceResult.cc b/dms-enterprise/src/model/SuspendTaskFlowInstanceResult.cc new file mode 100644 index 000000000..eaf0fc3b8 --- /dev/null +++ b/dms-enterprise/src/model/SuspendTaskFlowInstanceResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +SuspendTaskFlowInstanceResult::SuspendTaskFlowInstanceResult() : + ServiceResult() +{} + +SuspendTaskFlowInstanceResult::SuspendTaskFlowInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SuspendTaskFlowInstanceResult::~SuspendTaskFlowInstanceResult() +{} + +void SuspendTaskFlowInstanceResult::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 SuspendTaskFlowInstanceResult::getErrorCode()const +{ + return errorCode_; +} + +std::string SuspendTaskFlowInstanceResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool SuspendTaskFlowInstanceResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateInstanceRequest.cc b/dms-enterprise/src/model/UpdateInstanceRequest.cc index dbd69b212..89436f7ca 100644 --- a/dms-enterprise/src/model/UpdateInstanceRequest.cc +++ b/dms-enterprise/src/model/UpdateInstanceRequest.cc @@ -79,6 +79,15 @@ void UpdateInstanceRequest::setSid(const std::string &sid) { setParameter(std::string("Sid"), sid); } +std::string UpdateInstanceRequest::getEnableSellSitd() const { + return enableSellSitd_; +} + +void UpdateInstanceRequest::setEnableSellSitd(const std::string &enableSellSitd) { + enableSellSitd_ = enableSellSitd; + setParameter(std::string("EnableSellSitd"), enableSellSitd); +} + std::string UpdateInstanceRequest::getDbaId() const { return dbaId_; } @@ -97,6 +106,15 @@ void UpdateInstanceRequest::setDataLinkName(const std::string &dataLinkName) { setParameter(std::string("DataLinkName"), dataLinkName); } +std::string UpdateInstanceRequest::getTemplateType() const { + return templateType_; +} + +void UpdateInstanceRequest::setTemplateType(const std::string &templateType) { + templateType_ = templateType; + setParameter(std::string("TemplateType"), templateType); +} + std::string UpdateInstanceRequest::getInstanceSource() const { return instanceSource_; } @@ -178,6 +196,15 @@ void UpdateInstanceRequest::setInstanceAlias(const std::string &instanceAlias) { setParameter(std::string("InstanceAlias"), instanceAlias); } +long UpdateInstanceRequest::getTemplateId() const { + return templateId_; +} + +void UpdateInstanceRequest::setTemplateId(long templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), std::to_string(templateId)); +} + std::string UpdateInstanceRequest::getDatabaseUser() const { return databaseUser_; } diff --git a/dms-enterprise/src/model/UpdateSLARulesRequest.cc b/dms-enterprise/src/model/UpdateSLARulesRequest.cc new file mode 100644 index 000000000..f323e2a2c --- /dev/null +++ b/dms-enterprise/src/model/UpdateSLARulesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateSLARulesRequest; + +UpdateSLARulesRequest::UpdateSLARulesRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateSLARules") { + setMethod(HttpRequest::Method::Post); +} + +UpdateSLARulesRequest::~UpdateSLARulesRequest() {} + +long UpdateSLARulesRequest::getDagId() const { + return dagId_; +} + +void UpdateSLARulesRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long UpdateSLARulesRequest::getTid() const { + return tid_; +} + +void UpdateSLARulesRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::vector UpdateSLARulesRequest::getSlaRuleList() const { + return slaRuleList_; +} + +void UpdateSLARulesRequest::setSlaRuleList(const std::vector &slaRuleList) { + slaRuleList_ = slaRuleList; + for(int dep1 = 0; dep1 != slaRuleList.size(); dep1++) { + setParameter(std::string("SlaRuleList") + "." + std::to_string(dep1 + 1) + ".IntervalMinutes", std::to_string(slaRuleList[dep1].intervalMinutes)); + setParameter(std::string("SlaRuleList") + "." + std::to_string(dep1 + 1) + ".InfoAction", slaRuleList[dep1].infoAction ? "true" : "false"); + setParameter(std::string("SlaRuleList") + "." + std::to_string(dep1 + 1) + ".DagId", std::to_string(slaRuleList[dep1].dagId)); + setParameter(std::string("SlaRuleList") + "." + std::to_string(dep1 + 1) + ".Type", std::to_string(slaRuleList[dep1].type)); + setParameter(std::string("SlaRuleList") + "." + std::to_string(dep1 + 1) + ".NodeId", std::to_string(slaRuleList[dep1].nodeId)); + } +} + diff --git a/dms-enterprise/src/model/UpdateSLARulesResult.cc b/dms-enterprise/src/model/UpdateSLARulesResult.cc new file mode 100644 index 000000000..cb1d4098e --- /dev/null +++ b/dms-enterprise/src/model/UpdateSLARulesResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateSLARulesResult::UpdateSLARulesResult() : + ServiceResult() +{} + +UpdateSLARulesResult::UpdateSLARulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateSLARulesResult::~UpdateSLARulesResult() +{} + +void UpdateSLARulesResult::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 UpdateSLARulesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateSLARulesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateSLARulesResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateScenarioRequest.cc b/dms-enterprise/src/model/UpdateScenarioRequest.cc new file mode 100644 index 000000000..18c4a1afa --- /dev/null +++ b/dms-enterprise/src/model/UpdateScenarioRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateScenarioRequest; + +UpdateScenarioRequest::UpdateScenarioRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateScenario") { + setMethod(HttpRequest::Method::Post); +} + +UpdateScenarioRequest::~UpdateScenarioRequest() {} + +std::string UpdateScenarioRequest::getDescription() const { + return description_; +} + +void UpdateScenarioRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +long UpdateScenarioRequest::getTid() const { + return tid_; +} + +void UpdateScenarioRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string UpdateScenarioRequest::getScenarioName() const { + return scenarioName_; +} + +void UpdateScenarioRequest::setScenarioName(const std::string &scenarioName) { + scenarioName_ = scenarioName; + setParameter(std::string("ScenarioName"), scenarioName); +} + +std::string UpdateScenarioRequest::getScenarioId() const { + return scenarioId_; +} + +void UpdateScenarioRequest::setScenarioId(const std::string &scenarioId) { + scenarioId_ = scenarioId; + setParameter(std::string("ScenarioId"), scenarioId); +} + diff --git a/dms-enterprise/src/model/UpdateScenarioResult.cc b/dms-enterprise/src/model/UpdateScenarioResult.cc new file mode 100644 index 000000000..6f9496ac6 --- /dev/null +++ b/dms-enterprise/src/model/UpdateScenarioResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateScenarioResult::UpdateScenarioResult() : + ServiceResult() +{} + +UpdateScenarioResult::UpdateScenarioResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateScenarioResult::~UpdateScenarioResult() +{} + +void UpdateScenarioResult::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 UpdateScenarioResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateScenarioResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateScenarioResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskConfigRequest.cc b/dms-enterprise/src/model/UpdateTaskConfigRequest.cc new file mode 100644 index 000000000..485115c0d --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskConfigRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskConfigRequest; + +UpdateTaskConfigRequest::UpdateTaskConfigRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskConfig") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskConfigRequest::~UpdateTaskConfigRequest() {} + +std::string UpdateTaskConfigRequest::getNodeConfig() const { + return nodeConfig_; +} + +void UpdateTaskConfigRequest::setNodeConfig(const std::string &nodeConfig) { + nodeConfig_ = nodeConfig; + setParameter(std::string("NodeConfig"), nodeConfig); +} + +long UpdateTaskConfigRequest::getTid() const { + return tid_; +} + +void UpdateTaskConfigRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string UpdateTaskConfigRequest::getNodeId() const { + return nodeId_; +} + +void UpdateTaskConfigRequest::setNodeId(const std::string &nodeId) { + nodeId_ = nodeId; + setParameter(std::string("NodeId"), nodeId); +} + diff --git a/dms-enterprise/src/model/UpdateTaskConfigResult.cc b/dms-enterprise/src/model/UpdateTaskConfigResult.cc new file mode 100644 index 000000000..096edea16 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskConfigResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskConfigResult::UpdateTaskConfigResult() : + ServiceResult() +{} + +UpdateTaskConfigResult::UpdateTaskConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskConfigResult::~UpdateTaskConfigResult() +{} + +void UpdateTaskConfigResult::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 UpdateTaskConfigResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskConfigResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskContentRequest.cc b/dms-enterprise/src/model/UpdateTaskContentRequest.cc new file mode 100644 index 000000000..166ce9e4e --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskContentRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskContentRequest; + +UpdateTaskContentRequest::UpdateTaskContentRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskContent") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskContentRequest::~UpdateTaskContentRequest() {} + +long UpdateTaskContentRequest::getTid() const { + return tid_; +} + +void UpdateTaskContentRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string UpdateTaskContentRequest::getNodeContent() const { + return nodeContent_; +} + +void UpdateTaskContentRequest::setNodeContent(const std::string &nodeContent) { + nodeContent_ = nodeContent; + setParameter(std::string("NodeContent"), nodeContent); +} + +std::string UpdateTaskContentRequest::getNodeId() const { + return nodeId_; +} + +void UpdateTaskContentRequest::setNodeId(const std::string &nodeId) { + nodeId_ = nodeId; + setParameter(std::string("NodeId"), nodeId); +} + diff --git a/dms-enterprise/src/model/UpdateTaskContentResult.cc b/dms-enterprise/src/model/UpdateTaskContentResult.cc new file mode 100644 index 000000000..0a5295bf4 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskContentResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskContentResult::UpdateTaskContentResult() : + ServiceResult() +{} + +UpdateTaskContentResult::UpdateTaskContentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskContentResult::~UpdateTaskContentResult() +{} + +void UpdateTaskContentResult::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 UpdateTaskContentResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskContentResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskContentResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowConstantsRequest.cc b/dms-enterprise/src/model/UpdateTaskFlowConstantsRequest.cc new file mode 100644 index 000000000..8a9b3a6e9 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowConstantsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskFlowConstantsRequest; + +UpdateTaskFlowConstantsRequest::UpdateTaskFlowConstantsRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskFlowConstants") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskFlowConstantsRequest::~UpdateTaskFlowConstantsRequest() {} + +std::vector UpdateTaskFlowConstantsRequest::getDagConstants() const { + return dagConstants_; +} + +void UpdateTaskFlowConstantsRequest::setDagConstants(const std::vector &dagConstants) { + dagConstants_ = dagConstants; + for(int dep1 = 0; dep1 != dagConstants.size(); dep1++) { + setParameter(std::string("DagConstants") + "." + std::to_string(dep1 + 1) + ".Value", dagConstants[dep1].value); + setParameter(std::string("DagConstants") + "." + std::to_string(dep1 + 1) + ".Key", dagConstants[dep1].key); + } +} + +long UpdateTaskFlowConstantsRequest::getDagId() const { + return dagId_; +} + +void UpdateTaskFlowConstantsRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long UpdateTaskFlowConstantsRequest::getTid() const { + return tid_; +} + +void UpdateTaskFlowConstantsRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowConstantsResult.cc b/dms-enterprise/src/model/UpdateTaskFlowConstantsResult.cc new file mode 100644 index 000000000..aba0f35c4 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowConstantsResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskFlowConstantsResult::UpdateTaskFlowConstantsResult() : + ServiceResult() +{} + +UpdateTaskFlowConstantsResult::UpdateTaskFlowConstantsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskFlowConstantsResult::~UpdateTaskFlowConstantsResult() +{} + +void UpdateTaskFlowConstantsResult::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 UpdateTaskFlowConstantsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskFlowConstantsResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskFlowConstantsResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowCooperatorsRequest.cc b/dms-enterprise/src/model/UpdateTaskFlowCooperatorsRequest.cc new file mode 100644 index 000000000..9edae6e1d --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowCooperatorsRequest.cc @@ -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 + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskFlowCooperatorsRequest; + +UpdateTaskFlowCooperatorsRequest::UpdateTaskFlowCooperatorsRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskFlowCooperators") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskFlowCooperatorsRequest::~UpdateTaskFlowCooperatorsRequest() {} + +long UpdateTaskFlowCooperatorsRequest::getDagId() const { + return dagId_; +} + +void UpdateTaskFlowCooperatorsRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +std::vector UpdateTaskFlowCooperatorsRequest::getCooperatorIds() const { + return cooperatorIds_; +} + +void UpdateTaskFlowCooperatorsRequest::setCooperatorIds(const std::vector &cooperatorIds) { + cooperatorIds_ = cooperatorIds; + for(int dep1 = 0; dep1 != cooperatorIds.size(); dep1++) { + setParameter(std::string("CooperatorIds") + "." + std::to_string(dep1 + 1), cooperatorIds[dep1]); + } +} + +long UpdateTaskFlowCooperatorsRequest::getTid() const { + return tid_; +} + +void UpdateTaskFlowCooperatorsRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowCooperatorsResult.cc b/dms-enterprise/src/model/UpdateTaskFlowCooperatorsResult.cc new file mode 100644 index 000000000..0f4f75bed --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowCooperatorsResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskFlowCooperatorsResult::UpdateTaskFlowCooperatorsResult() : + ServiceResult() +{} + +UpdateTaskFlowCooperatorsResult::UpdateTaskFlowCooperatorsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskFlowCooperatorsResult::~UpdateTaskFlowCooperatorsResult() +{} + +void UpdateTaskFlowCooperatorsResult::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 UpdateTaskFlowCooperatorsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskFlowCooperatorsResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskFlowCooperatorsResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowEdgesRequest.cc b/dms-enterprise/src/model/UpdateTaskFlowEdgesRequest.cc new file mode 100644 index 000000000..56f0321d4 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowEdgesRequest.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskFlowEdgesRequest; + +UpdateTaskFlowEdgesRequest::UpdateTaskFlowEdgesRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskFlowEdges") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskFlowEdgesRequest::~UpdateTaskFlowEdgesRequest() {} + +std::vector UpdateTaskFlowEdgesRequest::getEdges() const { + return edges_; +} + +void UpdateTaskFlowEdgesRequest::setEdges(const std::vector &edges) { + edges_ = edges; + for(int dep1 = 0; dep1 != edges.size(); dep1++) { + setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeEnd", std::to_string(edges[dep1].nodeEnd)); + setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeFrom", std::to_string(edges[dep1].nodeFrom)); + setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".Id", std::to_string(edges[dep1].id)); + } +} + +long UpdateTaskFlowEdgesRequest::getDagId() const { + return dagId_; +} + +void UpdateTaskFlowEdgesRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long UpdateTaskFlowEdgesRequest::getTid() const { + return tid_; +} + +void UpdateTaskFlowEdgesRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowEdgesResult.cc b/dms-enterprise/src/model/UpdateTaskFlowEdgesResult.cc new file mode 100644 index 000000000..7727874ee --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowEdgesResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskFlowEdgesResult::UpdateTaskFlowEdgesResult() : + ServiceResult() +{} + +UpdateTaskFlowEdgesResult::UpdateTaskFlowEdgesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskFlowEdgesResult::~UpdateTaskFlowEdgesResult() +{} + +void UpdateTaskFlowEdgesResult::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 UpdateTaskFlowEdgesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskFlowEdgesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskFlowEdgesResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowNameAndDescRequest.cc b/dms-enterprise/src/model/UpdateTaskFlowNameAndDescRequest.cc new file mode 100644 index 000000000..11eaa4185 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowNameAndDescRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskFlowNameAndDescRequest; + +UpdateTaskFlowNameAndDescRequest::UpdateTaskFlowNameAndDescRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskFlowNameAndDesc") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskFlowNameAndDescRequest::~UpdateTaskFlowNameAndDescRequest() {} + +std::string UpdateTaskFlowNameAndDescRequest::getDagName() const { + return dagName_; +} + +void UpdateTaskFlowNameAndDescRequest::setDagName(const std::string &dagName) { + dagName_ = dagName; + setParameter(std::string("DagName"), dagName); +} + +std::string UpdateTaskFlowNameAndDescRequest::getDescription() const { + return description_; +} + +void UpdateTaskFlowNameAndDescRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +long UpdateTaskFlowNameAndDescRequest::getDagId() const { + return dagId_; +} + +void UpdateTaskFlowNameAndDescRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long UpdateTaskFlowNameAndDescRequest::getTid() const { + return tid_; +} + +void UpdateTaskFlowNameAndDescRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowNameAndDescResult.cc b/dms-enterprise/src/model/UpdateTaskFlowNameAndDescResult.cc new file mode 100644 index 000000000..2cb0d54e1 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowNameAndDescResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskFlowNameAndDescResult::UpdateTaskFlowNameAndDescResult() : + ServiceResult() +{} + +UpdateTaskFlowNameAndDescResult::UpdateTaskFlowNameAndDescResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskFlowNameAndDescResult::~UpdateTaskFlowNameAndDescResult() +{} + +void UpdateTaskFlowNameAndDescResult::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 UpdateTaskFlowNameAndDescResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskFlowNameAndDescResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskFlowNameAndDescResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowNotificationRequest.cc b/dms-enterprise/src/model/UpdateTaskFlowNotificationRequest.cc new file mode 100644 index 000000000..574d10a08 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowNotificationRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskFlowNotificationRequest; + +UpdateTaskFlowNotificationRequest::UpdateTaskFlowNotificationRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskFlowNotification") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskFlowNotificationRequest::~UpdateTaskFlowNotificationRequest() {} + +long UpdateTaskFlowNotificationRequest::getDagId() const { + return dagId_; +} + +void UpdateTaskFlowNotificationRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long UpdateTaskFlowNotificationRequest::getTid() const { + return tid_; +} + +void UpdateTaskFlowNotificationRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +bool UpdateTaskFlowNotificationRequest::getDagNotificationFail() const { + return dagNotificationFail_; +} + +void UpdateTaskFlowNotificationRequest::setDagNotificationFail(bool dagNotificationFail) { + dagNotificationFail_ = dagNotificationFail; + setParameter(std::string("DagNotificationFail"), dagNotificationFail ? "true" : "false"); +} + +bool UpdateTaskFlowNotificationRequest::getDagNotificationSuccess() const { + return dagNotificationSuccess_; +} + +void UpdateTaskFlowNotificationRequest::setDagNotificationSuccess(bool dagNotificationSuccess) { + dagNotificationSuccess_ = dagNotificationSuccess; + setParameter(std::string("DagNotificationSuccess"), dagNotificationSuccess ? "true" : "false"); +} + +bool UpdateTaskFlowNotificationRequest::getDagNotificationSla() const { + return dagNotificationSla_; +} + +void UpdateTaskFlowNotificationRequest::setDagNotificationSla(bool dagNotificationSla) { + dagNotificationSla_ = dagNotificationSla; + setParameter(std::string("DagNotificationSla"), dagNotificationSla ? "true" : "false"); +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowNotificationResult.cc b/dms-enterprise/src/model/UpdateTaskFlowNotificationResult.cc new file mode 100644 index 000000000..6b97445b4 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowNotificationResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskFlowNotificationResult::UpdateTaskFlowNotificationResult() : + ServiceResult() +{} + +UpdateTaskFlowNotificationResult::UpdateTaskFlowNotificationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskFlowNotificationResult::~UpdateTaskFlowNotificationResult() +{} + +void UpdateTaskFlowNotificationResult::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 UpdateTaskFlowNotificationResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskFlowNotificationResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskFlowNotificationResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowOwnerRequest.cc b/dms-enterprise/src/model/UpdateTaskFlowOwnerRequest.cc new file mode 100644 index 000000000..107d3d1ce --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowOwnerRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskFlowOwnerRequest; + +UpdateTaskFlowOwnerRequest::UpdateTaskFlowOwnerRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskFlowOwner") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskFlowOwnerRequest::~UpdateTaskFlowOwnerRequest() {} + +long UpdateTaskFlowOwnerRequest::getDagId() const { + return dagId_; +} + +void UpdateTaskFlowOwnerRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long UpdateTaskFlowOwnerRequest::getTid() const { + return tid_; +} + +void UpdateTaskFlowOwnerRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string UpdateTaskFlowOwnerRequest::getNewOwnerId() const { + return newOwnerId_; +} + +void UpdateTaskFlowOwnerRequest::setNewOwnerId(const std::string &newOwnerId) { + newOwnerId_ = newOwnerId; + setParameter(std::string("NewOwnerId"), newOwnerId); +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowOwnerResult.cc b/dms-enterprise/src/model/UpdateTaskFlowOwnerResult.cc new file mode 100644 index 000000000..608c3296e --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowOwnerResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskFlowOwnerResult::UpdateTaskFlowOwnerResult() : + ServiceResult() +{} + +UpdateTaskFlowOwnerResult::UpdateTaskFlowOwnerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskFlowOwnerResult::~UpdateTaskFlowOwnerResult() +{} + +void UpdateTaskFlowOwnerResult::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 UpdateTaskFlowOwnerResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskFlowOwnerResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskFlowOwnerResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowRelationsRequest.cc b/dms-enterprise/src/model/UpdateTaskFlowRelationsRequest.cc new file mode 100644 index 000000000..88a132d58 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowRelationsRequest.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskFlowRelationsRequest; + +UpdateTaskFlowRelationsRequest::UpdateTaskFlowRelationsRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskFlowRelations") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskFlowRelationsRequest::~UpdateTaskFlowRelationsRequest() {} + +std::vector UpdateTaskFlowRelationsRequest::getEdges() const { + return edges_; +} + +void UpdateTaskFlowRelationsRequest::setEdges(const std::vector &edges) { + edges_ = edges; + for(int dep1 = 0; dep1 != edges.size(); dep1++) { + setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeEnd", std::to_string(edges[dep1].nodeEnd)); + setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeFrom", std::to_string(edges[dep1].nodeFrom)); + setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".EdgeType", std::to_string(edges[dep1].edgeType)); + setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".Id", std::to_string(edges[dep1].id)); + } +} + +long UpdateTaskFlowRelationsRequest::getDagId() const { + return dagId_; +} + +void UpdateTaskFlowRelationsRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long UpdateTaskFlowRelationsRequest::getTid() const { + return tid_; +} + +void UpdateTaskFlowRelationsRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowRelationsResult.cc b/dms-enterprise/src/model/UpdateTaskFlowRelationsResult.cc new file mode 100644 index 000000000..51ffee309 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowRelationsResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskFlowRelationsResult::UpdateTaskFlowRelationsResult() : + ServiceResult() +{} + +UpdateTaskFlowRelationsResult::UpdateTaskFlowRelationsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskFlowRelationsResult::~UpdateTaskFlowRelationsResult() +{} + +void UpdateTaskFlowRelationsResult::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 UpdateTaskFlowRelationsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskFlowRelationsResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskFlowRelationsResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowScheduleRequest.cc b/dms-enterprise/src/model/UpdateTaskFlowScheduleRequest.cc new file mode 100644 index 000000000..805223676 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowScheduleRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskFlowScheduleRequest; + +UpdateTaskFlowScheduleRequest::UpdateTaskFlowScheduleRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskFlowSchedule") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskFlowScheduleRequest::~UpdateTaskFlowScheduleRequest() {} + +std::string UpdateTaskFlowScheduleRequest::getCronType() const { + return cronType_; +} + +void UpdateTaskFlowScheduleRequest::setCronType(const std::string &cronType) { + cronType_ = cronType; + setParameter(std::string("CronType"), cronType); +} + +std::string UpdateTaskFlowScheduleRequest::getCronStr() const { + return cronStr_; +} + +void UpdateTaskFlowScheduleRequest::setCronStr(const std::string &cronStr) { + cronStr_ = cronStr; + setParameter(std::string("CronStr"), cronStr); +} + +std::string UpdateTaskFlowScheduleRequest::getTriggerType() const { + return triggerType_; +} + +void UpdateTaskFlowScheduleRequest::setTriggerType(const std::string &triggerType) { + triggerType_ = triggerType; + setParameter(std::string("TriggerType"), triggerType); +} + +long UpdateTaskFlowScheduleRequest::getDagId() const { + return dagId_; +} + +void UpdateTaskFlowScheduleRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long UpdateTaskFlowScheduleRequest::getTid() const { + return tid_; +} + +void UpdateTaskFlowScheduleRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +bool UpdateTaskFlowScheduleRequest::getScheduleSwitch() const { + return scheduleSwitch_; +} + +void UpdateTaskFlowScheduleRequest::setScheduleSwitch(bool scheduleSwitch) { + scheduleSwitch_ = scheduleSwitch; + setParameter(std::string("ScheduleSwitch"), scheduleSwitch ? "true" : "false"); +} + +std::string UpdateTaskFlowScheduleRequest::getCronEndDate() const { + return cronEndDate_; +} + +void UpdateTaskFlowScheduleRequest::setCronEndDate(const std::string &cronEndDate) { + cronEndDate_ = cronEndDate; + setParameter(std::string("CronEndDate"), cronEndDate); +} + +std::string UpdateTaskFlowScheduleRequest::getTimeZoneId() const { + return timeZoneId_; +} + +void UpdateTaskFlowScheduleRequest::setTimeZoneId(const std::string &timeZoneId) { + timeZoneId_ = timeZoneId; + setParameter(std::string("TimeZoneId"), timeZoneId); +} + +std::string UpdateTaskFlowScheduleRequest::getCronBeginDate() const { + return cronBeginDate_; +} + +void UpdateTaskFlowScheduleRequest::setCronBeginDate(const std::string &cronBeginDate) { + cronBeginDate_ = cronBeginDate; + setParameter(std::string("CronBeginDate"), cronBeginDate); +} + +std::string UpdateTaskFlowScheduleRequest::getScheduleParam() const { + return scheduleParam_; +} + +void UpdateTaskFlowScheduleRequest::setScheduleParam(const std::string &scheduleParam) { + scheduleParam_ = scheduleParam; + setParameter(std::string("ScheduleParam"), scheduleParam); +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowScheduleResult.cc b/dms-enterprise/src/model/UpdateTaskFlowScheduleResult.cc new file mode 100644 index 000000000..95da7cf04 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowScheduleResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskFlowScheduleResult::UpdateTaskFlowScheduleResult() : + ServiceResult() +{} + +UpdateTaskFlowScheduleResult::UpdateTaskFlowScheduleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskFlowScheduleResult::~UpdateTaskFlowScheduleResult() +{} + +void UpdateTaskFlowScheduleResult::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 UpdateTaskFlowScheduleResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskFlowScheduleResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskFlowScheduleResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowTimeVariablesRequest.cc b/dms-enterprise/src/model/UpdateTaskFlowTimeVariablesRequest.cc new file mode 100644 index 000000000..b6d3e91ca --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowTimeVariablesRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskFlowTimeVariablesRequest; + +UpdateTaskFlowTimeVariablesRequest::UpdateTaskFlowTimeVariablesRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskFlowTimeVariables") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskFlowTimeVariablesRequest::~UpdateTaskFlowTimeVariablesRequest() {} + +std::string UpdateTaskFlowTimeVariablesRequest::getTimeVariables() const { + return timeVariables_; +} + +void UpdateTaskFlowTimeVariablesRequest::setTimeVariables(const std::string &timeVariables) { + timeVariables_ = timeVariables; + setParameter(std::string("TimeVariables"), timeVariables); +} + +long UpdateTaskFlowTimeVariablesRequest::getDagId() const { + return dagId_; +} + +void UpdateTaskFlowTimeVariablesRequest::setDagId(long dagId) { + dagId_ = dagId; + setParameter(std::string("DagId"), std::to_string(dagId)); +} + +long UpdateTaskFlowTimeVariablesRequest::getTid() const { + return tid_; +} + +void UpdateTaskFlowTimeVariablesRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + diff --git a/dms-enterprise/src/model/UpdateTaskFlowTimeVariablesResult.cc b/dms-enterprise/src/model/UpdateTaskFlowTimeVariablesResult.cc new file mode 100644 index 000000000..f75fc8436 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskFlowTimeVariablesResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskFlowTimeVariablesResult::UpdateTaskFlowTimeVariablesResult() : + ServiceResult() +{} + +UpdateTaskFlowTimeVariablesResult::UpdateTaskFlowTimeVariablesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskFlowTimeVariablesResult::~UpdateTaskFlowTimeVariablesResult() +{} + +void UpdateTaskFlowTimeVariablesResult::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 UpdateTaskFlowTimeVariablesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskFlowTimeVariablesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskFlowTimeVariablesResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskNameRequest.cc b/dms-enterprise/src/model/UpdateTaskNameRequest.cc new file mode 100644 index 000000000..8a64cfdf9 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskNameRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskNameRequest; + +UpdateTaskNameRequest::UpdateTaskNameRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskName") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskNameRequest::~UpdateTaskNameRequest() {} + +long UpdateTaskNameRequest::getTid() const { + return tid_; +} + +void UpdateTaskNameRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string UpdateTaskNameRequest::getNodeName() const { + return nodeName_; +} + +void UpdateTaskNameRequest::setNodeName(const std::string &nodeName) { + nodeName_ = nodeName; + setParameter(std::string("NodeName"), nodeName); +} + +std::string UpdateTaskNameRequest::getNodeId() const { + return nodeId_; +} + +void UpdateTaskNameRequest::setNodeId(const std::string &nodeId) { + nodeId_ = nodeId; + setParameter(std::string("NodeId"), nodeId); +} + diff --git a/dms-enterprise/src/model/UpdateTaskNameResult.cc b/dms-enterprise/src/model/UpdateTaskNameResult.cc new file mode 100644 index 000000000..6645ba447 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskNameResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskNameResult::UpdateTaskNameResult() : + ServiceResult() +{} + +UpdateTaskNameResult::UpdateTaskNameResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskNameResult::~UpdateTaskNameResult() +{} + +void UpdateTaskNameResult::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 UpdateTaskNameResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskNameResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskNameResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskOutputRequest.cc b/dms-enterprise/src/model/UpdateTaskOutputRequest.cc new file mode 100644 index 000000000..e63003691 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskOutputRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskOutputRequest; + +UpdateTaskOutputRequest::UpdateTaskOutputRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskOutput") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskOutputRequest::~UpdateTaskOutputRequest() {} + +long UpdateTaskOutputRequest::getTid() const { + return tid_; +} + +void UpdateTaskOutputRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string UpdateTaskOutputRequest::getNodeOutput() const { + return nodeOutput_; +} + +void UpdateTaskOutputRequest::setNodeOutput(const std::string &nodeOutput) { + nodeOutput_ = nodeOutput; + setParameter(std::string("NodeOutput"), nodeOutput); +} + +std::string UpdateTaskOutputRequest::getNodeId() const { + return nodeId_; +} + +void UpdateTaskOutputRequest::setNodeId(const std::string &nodeId) { + nodeId_ = nodeId; + setParameter(std::string("NodeId"), nodeId); +} + diff --git a/dms-enterprise/src/model/UpdateTaskOutputResult.cc b/dms-enterprise/src/model/UpdateTaskOutputResult.cc new file mode 100644 index 000000000..c9c8a1870 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskOutputResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskOutputResult::UpdateTaskOutputResult() : + ServiceResult() +{} + +UpdateTaskOutputResult::UpdateTaskOutputResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskOutputResult::~UpdateTaskOutputResult() +{} + +void UpdateTaskOutputResult::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 UpdateTaskOutputResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskOutputResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskOutputResult::getSuccess()const +{ + return success_; +} + diff --git a/dms-enterprise/src/model/UpdateTaskTimeVariablesRequest.cc b/dms-enterprise/src/model/UpdateTaskTimeVariablesRequest.cc new file mode 100644 index 000000000..ba8c4e766 --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskTimeVariablesRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dms_enterprise::Model::UpdateTaskTimeVariablesRequest; + +UpdateTaskTimeVariablesRequest::UpdateTaskTimeVariablesRequest() + : RpcServiceRequest("dms-enterprise", "2018-11-01", "UpdateTaskTimeVariables") { + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskTimeVariablesRequest::~UpdateTaskTimeVariablesRequest() {} + +std::string UpdateTaskTimeVariablesRequest::getTimeVariables() const { + return timeVariables_; +} + +void UpdateTaskTimeVariablesRequest::setTimeVariables(const std::string &timeVariables) { + timeVariables_ = timeVariables; + setParameter(std::string("TimeVariables"), timeVariables); +} + +long UpdateTaskTimeVariablesRequest::getTid() const { + return tid_; +} + +void UpdateTaskTimeVariablesRequest::setTid(long tid) { + tid_ = tid; + setParameter(std::string("Tid"), std::to_string(tid)); +} + +std::string UpdateTaskTimeVariablesRequest::getNodeId() const { + return nodeId_; +} + +void UpdateTaskTimeVariablesRequest::setNodeId(const std::string &nodeId) { + nodeId_ = nodeId; + setParameter(std::string("NodeId"), nodeId); +} + diff --git a/dms-enterprise/src/model/UpdateTaskTimeVariablesResult.cc b/dms-enterprise/src/model/UpdateTaskTimeVariablesResult.cc new file mode 100644 index 000000000..cc370854c --- /dev/null +++ b/dms-enterprise/src/model/UpdateTaskTimeVariablesResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dms_enterprise; +using namespace AlibabaCloud::Dms_enterprise::Model; + +UpdateTaskTimeVariablesResult::UpdateTaskTimeVariablesResult() : + ServiceResult() +{} + +UpdateTaskTimeVariablesResult::UpdateTaskTimeVariablesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskTimeVariablesResult::~UpdateTaskTimeVariablesResult() +{} + +void UpdateTaskTimeVariablesResult::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 UpdateTaskTimeVariablesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateTaskTimeVariablesResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateTaskTimeVariablesResult::getSuccess()const +{ + return success_; +} +