Support DIJob and DIAlarmRule related APIs.
This commit is contained in:
@@ -31,6 +31,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderResult.h
|
||||
include/alibabacloud/dataworks-public/model/CallbackExtensionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CallbackExtensionResult.h
|
||||
include/alibabacloud/dataworks-public/model/ChangeResourceManagerResourceGroupRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ChangeResourceManagerResourceGroupResult.h
|
||||
include/alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h
|
||||
@@ -45,6 +47,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/CreateBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateConnectionResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDIAlarmRuleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDIAlarmRuleResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDIJobRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDIJobResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDISyncTaskRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDISyncTaskResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h
|
||||
@@ -105,6 +111,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDIAlarmRuleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDIAlarmRuleResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDIJobRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDIJobResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDISyncTaskRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDISyncTaskResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h
|
||||
@@ -171,6 +181,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/GetBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDDLJobStatusResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDIAlarmRuleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDIAlarmRuleResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDIJobRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDIJobResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDISyncInstanceInfoRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDISyncInstanceInfoResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDISyncTaskRequest.h
|
||||
@@ -313,6 +327,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListConnectionsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDIAlarmRulesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDIAlarmRulesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDIJobsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDIJobsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDIProjectConfigRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDIProjectConfigResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDagsRequest.h
|
||||
@@ -339,6 +357,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListDeploymentsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListEnabledExtensionsForProjectRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListEnabledExtensionsForProjectResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListEntitiesByTagsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListEntitiesByTagsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListEntityTagsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListEntityTagsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListExtensionsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListExtensionsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h
|
||||
@@ -427,6 +449,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/QueryPublicModelEngineResult.h
|
||||
include/alibabacloud/dataworks-public/model/RegisterLineageRelationRequest.h
|
||||
include/alibabacloud/dataworks-public/model/RegisterLineageRelationResult.h
|
||||
include/alibabacloud/dataworks-public/model/RemoveEntityTagsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/RemoveEntityTagsResult.h
|
||||
include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h
|
||||
include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h
|
||||
@@ -455,12 +479,18 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/SearchNodesByOutputResult.h
|
||||
include/alibabacloud/dataworks-public/model/SetDataSourceShareRequest.h
|
||||
include/alibabacloud/dataworks-public/model/SetDataSourceShareResult.h
|
||||
include/alibabacloud/dataworks-public/model/SetEntityTagsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/SetEntityTagsResult.h
|
||||
include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/StartDIJobRequest.h
|
||||
include/alibabacloud/dataworks-public/model/StartDIJobResult.h
|
||||
include/alibabacloud/dataworks-public/model/StartDISyncInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/StartDISyncInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/StartMigrationRequest.h
|
||||
include/alibabacloud/dataworks-public/model/StartMigrationResult.h
|
||||
include/alibabacloud/dataworks-public/model/StopDIJobRequest.h
|
||||
include/alibabacloud/dataworks-public/model/StopDIJobResult.h
|
||||
include/alibabacloud/dataworks-public/model/StopDISyncInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/StopDISyncInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/StopInstanceRequest.h
|
||||
@@ -489,6 +519,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateDIAlarmRuleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateDIAlarmRuleResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateDIJobRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateDIJobResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateDIProjectConfigRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateDIProjectConfigResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateDISyncTaskRequest.h
|
||||
@@ -548,6 +582,8 @@ set(dataworks-public_src
|
||||
src/model/AddToMetaCategoryResult.cc
|
||||
src/model/ApprovePermissionApplyOrderRequest.cc
|
||||
src/model/ApprovePermissionApplyOrderResult.cc
|
||||
src/model/CallbackExtensionRequest.cc
|
||||
src/model/CallbackExtensionResult.cc
|
||||
src/model/ChangeResourceManagerResourceGroupRequest.cc
|
||||
src/model/ChangeResourceManagerResourceGroupResult.cc
|
||||
src/model/CheckFileDeploymentRequest.cc
|
||||
@@ -562,6 +598,10 @@ set(dataworks-public_src
|
||||
src/model/CreateBusinessResult.cc
|
||||
src/model/CreateConnectionRequest.cc
|
||||
src/model/CreateConnectionResult.cc
|
||||
src/model/CreateDIAlarmRuleRequest.cc
|
||||
src/model/CreateDIAlarmRuleResult.cc
|
||||
src/model/CreateDIJobRequest.cc
|
||||
src/model/CreateDIJobResult.cc
|
||||
src/model/CreateDISyncTaskRequest.cc
|
||||
src/model/CreateDISyncTaskResult.cc
|
||||
src/model/CreateDagComplementRequest.cc
|
||||
@@ -622,6 +662,10 @@ set(dataworks-public_src
|
||||
src/model/DeleteBusinessResult.cc
|
||||
src/model/DeleteConnectionRequest.cc
|
||||
src/model/DeleteConnectionResult.cc
|
||||
src/model/DeleteDIAlarmRuleRequest.cc
|
||||
src/model/DeleteDIAlarmRuleResult.cc
|
||||
src/model/DeleteDIJobRequest.cc
|
||||
src/model/DeleteDIJobResult.cc
|
||||
src/model/DeleteDISyncTaskRequest.cc
|
||||
src/model/DeleteDISyncTaskResult.cc
|
||||
src/model/DeleteDataServiceApiRequest.cc
|
||||
@@ -688,6 +732,10 @@ set(dataworks-public_src
|
||||
src/model/GetBusinessResult.cc
|
||||
src/model/GetDDLJobStatusRequest.cc
|
||||
src/model/GetDDLJobStatusResult.cc
|
||||
src/model/GetDIAlarmRuleRequest.cc
|
||||
src/model/GetDIAlarmRuleResult.cc
|
||||
src/model/GetDIJobRequest.cc
|
||||
src/model/GetDIJobResult.cc
|
||||
src/model/GetDISyncInstanceInfoRequest.cc
|
||||
src/model/GetDISyncInstanceInfoResult.cc
|
||||
src/model/GetDISyncTaskRequest.cc
|
||||
@@ -830,6 +878,10 @@ set(dataworks-public_src
|
||||
src/model/ListCalcEnginesResult.cc
|
||||
src/model/ListConnectionsRequest.cc
|
||||
src/model/ListConnectionsResult.cc
|
||||
src/model/ListDIAlarmRulesRequest.cc
|
||||
src/model/ListDIAlarmRulesResult.cc
|
||||
src/model/ListDIJobsRequest.cc
|
||||
src/model/ListDIJobsResult.cc
|
||||
src/model/ListDIProjectConfigRequest.cc
|
||||
src/model/ListDIProjectConfigResult.cc
|
||||
src/model/ListDagsRequest.cc
|
||||
@@ -856,6 +908,10 @@ set(dataworks-public_src
|
||||
src/model/ListDeploymentsResult.cc
|
||||
src/model/ListEnabledExtensionsForProjectRequest.cc
|
||||
src/model/ListEnabledExtensionsForProjectResult.cc
|
||||
src/model/ListEntitiesByTagsRequest.cc
|
||||
src/model/ListEntitiesByTagsResult.cc
|
||||
src/model/ListEntityTagsRequest.cc
|
||||
src/model/ListEntityTagsResult.cc
|
||||
src/model/ListExtensionsRequest.cc
|
||||
src/model/ListExtensionsResult.cc
|
||||
src/model/ListFileTypeRequest.cc
|
||||
@@ -944,6 +1000,8 @@ set(dataworks-public_src
|
||||
src/model/QueryPublicModelEngineResult.cc
|
||||
src/model/RegisterLineageRelationRequest.cc
|
||||
src/model/RegisterLineageRelationResult.cc
|
||||
src/model/RemoveEntityTagsRequest.cc
|
||||
src/model/RemoveEntityTagsResult.cc
|
||||
src/model/RemoveProjectMemberFromRoleRequest.cc
|
||||
src/model/RemoveProjectMemberFromRoleResult.cc
|
||||
src/model/RestartInstanceRequest.cc
|
||||
@@ -972,12 +1030,18 @@ set(dataworks-public_src
|
||||
src/model/SearchNodesByOutputResult.cc
|
||||
src/model/SetDataSourceShareRequest.cc
|
||||
src/model/SetDataSourceShareResult.cc
|
||||
src/model/SetEntityTagsRequest.cc
|
||||
src/model/SetEntityTagsResult.cc
|
||||
src/model/SetSuccessInstanceRequest.cc
|
||||
src/model/SetSuccessInstanceResult.cc
|
||||
src/model/StartDIJobRequest.cc
|
||||
src/model/StartDIJobResult.cc
|
||||
src/model/StartDISyncInstanceRequest.cc
|
||||
src/model/StartDISyncInstanceResult.cc
|
||||
src/model/StartMigrationRequest.cc
|
||||
src/model/StartMigrationResult.cc
|
||||
src/model/StopDIJobRequest.cc
|
||||
src/model/StopDIJobResult.cc
|
||||
src/model/StopDISyncInstanceRequest.cc
|
||||
src/model/StopDISyncInstanceResult.cc
|
||||
src/model/StopInstanceRequest.cc
|
||||
@@ -1006,6 +1070,10 @@ set(dataworks-public_src
|
||||
src/model/UpdateBusinessResult.cc
|
||||
src/model/UpdateConnectionRequest.cc
|
||||
src/model/UpdateConnectionResult.cc
|
||||
src/model/UpdateDIAlarmRuleRequest.cc
|
||||
src/model/UpdateDIAlarmRuleResult.cc
|
||||
src/model/UpdateDIJobRequest.cc
|
||||
src/model/UpdateDIJobResult.cc
|
||||
src/model/UpdateDIProjectConfigRequest.cc
|
||||
src/model/UpdateDIProjectConfigResult.cc
|
||||
src/model/UpdateDISyncTaskRequest.cc
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
#include "model/AddToMetaCategoryResult.h"
|
||||
#include "model/ApprovePermissionApplyOrderRequest.h"
|
||||
#include "model/ApprovePermissionApplyOrderResult.h"
|
||||
#include "model/CallbackExtensionRequest.h"
|
||||
#include "model/CallbackExtensionResult.h"
|
||||
#include "model/ChangeResourceManagerResourceGroupRequest.h"
|
||||
#include "model/ChangeResourceManagerResourceGroupResult.h"
|
||||
#include "model/CheckFileDeploymentRequest.h"
|
||||
@@ -46,6 +48,10 @@
|
||||
#include "model/CreateBusinessResult.h"
|
||||
#include "model/CreateConnectionRequest.h"
|
||||
#include "model/CreateConnectionResult.h"
|
||||
#include "model/CreateDIAlarmRuleRequest.h"
|
||||
#include "model/CreateDIAlarmRuleResult.h"
|
||||
#include "model/CreateDIJobRequest.h"
|
||||
#include "model/CreateDIJobResult.h"
|
||||
#include "model/CreateDISyncTaskRequest.h"
|
||||
#include "model/CreateDISyncTaskResult.h"
|
||||
#include "model/CreateDagComplementRequest.h"
|
||||
@@ -106,6 +112,10 @@
|
||||
#include "model/DeleteBusinessResult.h"
|
||||
#include "model/DeleteConnectionRequest.h"
|
||||
#include "model/DeleteConnectionResult.h"
|
||||
#include "model/DeleteDIAlarmRuleRequest.h"
|
||||
#include "model/DeleteDIAlarmRuleResult.h"
|
||||
#include "model/DeleteDIJobRequest.h"
|
||||
#include "model/DeleteDIJobResult.h"
|
||||
#include "model/DeleteDISyncTaskRequest.h"
|
||||
#include "model/DeleteDISyncTaskResult.h"
|
||||
#include "model/DeleteDataServiceApiRequest.h"
|
||||
@@ -172,6 +182,10 @@
|
||||
#include "model/GetBusinessResult.h"
|
||||
#include "model/GetDDLJobStatusRequest.h"
|
||||
#include "model/GetDDLJobStatusResult.h"
|
||||
#include "model/GetDIAlarmRuleRequest.h"
|
||||
#include "model/GetDIAlarmRuleResult.h"
|
||||
#include "model/GetDIJobRequest.h"
|
||||
#include "model/GetDIJobResult.h"
|
||||
#include "model/GetDISyncInstanceInfoRequest.h"
|
||||
#include "model/GetDISyncInstanceInfoResult.h"
|
||||
#include "model/GetDISyncTaskRequest.h"
|
||||
@@ -314,6 +328,10 @@
|
||||
#include "model/ListCalcEnginesResult.h"
|
||||
#include "model/ListConnectionsRequest.h"
|
||||
#include "model/ListConnectionsResult.h"
|
||||
#include "model/ListDIAlarmRulesRequest.h"
|
||||
#include "model/ListDIAlarmRulesResult.h"
|
||||
#include "model/ListDIJobsRequest.h"
|
||||
#include "model/ListDIJobsResult.h"
|
||||
#include "model/ListDIProjectConfigRequest.h"
|
||||
#include "model/ListDIProjectConfigResult.h"
|
||||
#include "model/ListDagsRequest.h"
|
||||
@@ -340,6 +358,10 @@
|
||||
#include "model/ListDeploymentsResult.h"
|
||||
#include "model/ListEnabledExtensionsForProjectRequest.h"
|
||||
#include "model/ListEnabledExtensionsForProjectResult.h"
|
||||
#include "model/ListEntitiesByTagsRequest.h"
|
||||
#include "model/ListEntitiesByTagsResult.h"
|
||||
#include "model/ListEntityTagsRequest.h"
|
||||
#include "model/ListEntityTagsResult.h"
|
||||
#include "model/ListExtensionsRequest.h"
|
||||
#include "model/ListExtensionsResult.h"
|
||||
#include "model/ListFileTypeRequest.h"
|
||||
@@ -428,6 +450,8 @@
|
||||
#include "model/QueryPublicModelEngineResult.h"
|
||||
#include "model/RegisterLineageRelationRequest.h"
|
||||
#include "model/RegisterLineageRelationResult.h"
|
||||
#include "model/RemoveEntityTagsRequest.h"
|
||||
#include "model/RemoveEntityTagsResult.h"
|
||||
#include "model/RemoveProjectMemberFromRoleRequest.h"
|
||||
#include "model/RemoveProjectMemberFromRoleResult.h"
|
||||
#include "model/RestartInstanceRequest.h"
|
||||
@@ -456,12 +480,18 @@
|
||||
#include "model/SearchNodesByOutputResult.h"
|
||||
#include "model/SetDataSourceShareRequest.h"
|
||||
#include "model/SetDataSourceShareResult.h"
|
||||
#include "model/SetEntityTagsRequest.h"
|
||||
#include "model/SetEntityTagsResult.h"
|
||||
#include "model/SetSuccessInstanceRequest.h"
|
||||
#include "model/SetSuccessInstanceResult.h"
|
||||
#include "model/StartDIJobRequest.h"
|
||||
#include "model/StartDIJobResult.h"
|
||||
#include "model/StartDISyncInstanceRequest.h"
|
||||
#include "model/StartDISyncInstanceResult.h"
|
||||
#include "model/StartMigrationRequest.h"
|
||||
#include "model/StartMigrationResult.h"
|
||||
#include "model/StopDIJobRequest.h"
|
||||
#include "model/StopDIJobResult.h"
|
||||
#include "model/StopDISyncInstanceRequest.h"
|
||||
#include "model/StopDISyncInstanceResult.h"
|
||||
#include "model/StopInstanceRequest.h"
|
||||
@@ -490,6 +520,10 @@
|
||||
#include "model/UpdateBusinessResult.h"
|
||||
#include "model/UpdateConnectionRequest.h"
|
||||
#include "model/UpdateConnectionResult.h"
|
||||
#include "model/UpdateDIAlarmRuleRequest.h"
|
||||
#include "model/UpdateDIAlarmRuleResult.h"
|
||||
#include "model/UpdateDIJobRequest.h"
|
||||
#include "model/UpdateDIJobResult.h"
|
||||
#include "model/UpdateDIProjectConfigRequest.h"
|
||||
#include "model/UpdateDIProjectConfigResult.h"
|
||||
#include "model/UpdateDISyncTaskRequest.h"
|
||||
@@ -560,6 +594,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ApprovePermissionApplyOrderResult> ApprovePermissionApplyOrderOutcome;
|
||||
typedef std::future<ApprovePermissionApplyOrderOutcome> ApprovePermissionApplyOrderOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ApprovePermissionApplyOrderRequest&, const ApprovePermissionApplyOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApprovePermissionApplyOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::CallbackExtensionResult> CallbackExtensionOutcome;
|
||||
typedef std::future<CallbackExtensionOutcome> CallbackExtensionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CallbackExtensionRequest&, const CallbackExtensionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CallbackExtensionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeResourceManagerResourceGroupResult> ChangeResourceManagerResourceGroupOutcome;
|
||||
typedef std::future<ChangeResourceManagerResourceGroupOutcome> ChangeResourceManagerResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ChangeResourceManagerResourceGroupRequest&, const ChangeResourceManagerResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResourceManagerResourceGroupAsyncHandler;
|
||||
@@ -581,6 +618,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateConnectionResult> CreateConnectionOutcome;
|
||||
typedef std::future<CreateConnectionOutcome> CreateConnectionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateConnectionRequest&, const CreateConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDIAlarmRuleResult> CreateDIAlarmRuleOutcome;
|
||||
typedef std::future<CreateDIAlarmRuleOutcome> CreateDIAlarmRuleOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateDIAlarmRuleRequest&, const CreateDIAlarmRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDIAlarmRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDIJobResult> CreateDIJobOutcome;
|
||||
typedef std::future<CreateDIJobOutcome> CreateDIJobOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateDIJobRequest&, const CreateDIJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDIJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDISyncTaskResult> CreateDISyncTaskOutcome;
|
||||
typedef std::future<CreateDISyncTaskOutcome> CreateDISyncTaskOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateDISyncTaskRequest&, const CreateDISyncTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDISyncTaskAsyncHandler;
|
||||
@@ -671,6 +714,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteConnectionResult> DeleteConnectionOutcome;
|
||||
typedef std::future<DeleteConnectionOutcome> DeleteConnectionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteConnectionRequest&, const DeleteConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDIAlarmRuleResult> DeleteDIAlarmRuleOutcome;
|
||||
typedef std::future<DeleteDIAlarmRuleOutcome> DeleteDIAlarmRuleOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteDIAlarmRuleRequest&, const DeleteDIAlarmRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDIAlarmRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDIJobResult> DeleteDIJobOutcome;
|
||||
typedef std::future<DeleteDIJobOutcome> DeleteDIJobOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteDIJobRequest&, const DeleteDIJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDIJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDISyncTaskResult> DeleteDISyncTaskOutcome;
|
||||
typedef std::future<DeleteDISyncTaskOutcome> DeleteDISyncTaskOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteDISyncTaskRequest&, const DeleteDISyncTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDISyncTaskAsyncHandler;
|
||||
@@ -770,6 +819,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetDDLJobStatusResult> GetDDLJobStatusOutcome;
|
||||
typedef std::future<GetDDLJobStatusOutcome> GetDDLJobStatusOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetDDLJobStatusRequest&, const GetDDLJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDDLJobStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDIAlarmRuleResult> GetDIAlarmRuleOutcome;
|
||||
typedef std::future<GetDIAlarmRuleOutcome> GetDIAlarmRuleOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetDIAlarmRuleRequest&, const GetDIAlarmRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDIAlarmRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDIJobResult> GetDIJobOutcome;
|
||||
typedef std::future<GetDIJobOutcome> GetDIJobOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetDIJobRequest&, const GetDIJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDIJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDISyncInstanceInfoResult> GetDISyncInstanceInfoOutcome;
|
||||
typedef std::future<GetDISyncInstanceInfoOutcome> GetDISyncInstanceInfoOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetDISyncInstanceInfoRequest&, const GetDISyncInstanceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDISyncInstanceInfoAsyncHandler;
|
||||
@@ -983,6 +1038,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListConnectionsResult> ListConnectionsOutcome;
|
||||
typedef std::future<ListConnectionsOutcome> ListConnectionsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListConnectionsRequest&, const ListConnectionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConnectionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDIAlarmRulesResult> ListDIAlarmRulesOutcome;
|
||||
typedef std::future<ListDIAlarmRulesOutcome> ListDIAlarmRulesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListDIAlarmRulesRequest&, const ListDIAlarmRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDIAlarmRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDIJobsResult> ListDIJobsOutcome;
|
||||
typedef std::future<ListDIJobsOutcome> ListDIJobsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListDIJobsRequest&, const ListDIJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDIJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDIProjectConfigResult> ListDIProjectConfigOutcome;
|
||||
typedef std::future<ListDIProjectConfigOutcome> ListDIProjectConfigOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListDIProjectConfigRequest&, const ListDIProjectConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDIProjectConfigAsyncHandler;
|
||||
@@ -1022,6 +1083,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListEnabledExtensionsForProjectResult> ListEnabledExtensionsForProjectOutcome;
|
||||
typedef std::future<ListEnabledExtensionsForProjectOutcome> ListEnabledExtensionsForProjectOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListEnabledExtensionsForProjectRequest&, const ListEnabledExtensionsForProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEnabledExtensionsForProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListEntitiesByTagsResult> ListEntitiesByTagsOutcome;
|
||||
typedef std::future<ListEntitiesByTagsOutcome> ListEntitiesByTagsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListEntitiesByTagsRequest&, const ListEntitiesByTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEntitiesByTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListEntityTagsResult> ListEntityTagsOutcome;
|
||||
typedef std::future<ListEntityTagsOutcome> ListEntityTagsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListEntityTagsRequest&, const ListEntityTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEntityTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListExtensionsResult> ListExtensionsOutcome;
|
||||
typedef std::future<ListExtensionsOutcome> ListExtensionsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListExtensionsRequest&, const ListExtensionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListExtensionsAsyncHandler;
|
||||
@@ -1154,6 +1221,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RegisterLineageRelationResult> RegisterLineageRelationOutcome;
|
||||
typedef std::future<RegisterLineageRelationOutcome> RegisterLineageRelationOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::RegisterLineageRelationRequest&, const RegisterLineageRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterLineageRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveEntityTagsResult> RemoveEntityTagsOutcome;
|
||||
typedef std::future<RemoveEntityTagsOutcome> RemoveEntityTagsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::RemoveEntityTagsRequest&, const RemoveEntityTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveEntityTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveProjectMemberFromRoleResult> RemoveProjectMemberFromRoleOutcome;
|
||||
typedef std::future<RemoveProjectMemberFromRoleOutcome> RemoveProjectMemberFromRoleOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::RemoveProjectMemberFromRoleRequest&, const RemoveProjectMemberFromRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveProjectMemberFromRoleAsyncHandler;
|
||||
@@ -1196,15 +1266,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetDataSourceShareResult> SetDataSourceShareOutcome;
|
||||
typedef std::future<SetDataSourceShareOutcome> SetDataSourceShareOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::SetDataSourceShareRequest&, const SetDataSourceShareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDataSourceShareAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetEntityTagsResult> SetEntityTagsOutcome;
|
||||
typedef std::future<SetEntityTagsOutcome> SetEntityTagsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::SetEntityTagsRequest&, const SetEntityTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetEntityTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetSuccessInstanceResult> SetSuccessInstanceOutcome;
|
||||
typedef std::future<SetSuccessInstanceOutcome> SetSuccessInstanceOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::SetSuccessInstanceRequest&, const SetSuccessInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetSuccessInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartDIJobResult> StartDIJobOutcome;
|
||||
typedef std::future<StartDIJobOutcome> StartDIJobOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::StartDIJobRequest&, const StartDIJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartDIJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartDISyncInstanceResult> StartDISyncInstanceOutcome;
|
||||
typedef std::future<StartDISyncInstanceOutcome> StartDISyncInstanceOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::StartDISyncInstanceRequest&, const StartDISyncInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartDISyncInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartMigrationResult> StartMigrationOutcome;
|
||||
typedef std::future<StartMigrationOutcome> StartMigrationOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::StartMigrationRequest&, const StartMigrationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMigrationAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopDIJobResult> StopDIJobOutcome;
|
||||
typedef std::future<StopDIJobOutcome> StopDIJobOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::StopDIJobRequest&, const StopDIJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopDIJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopDISyncInstanceResult> StopDISyncInstanceOutcome;
|
||||
typedef std::future<StopDISyncInstanceOutcome> StopDISyncInstanceOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::StopDISyncInstanceRequest&, const StopDISyncInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopDISyncInstanceAsyncHandler;
|
||||
@@ -1247,6 +1326,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateConnectionResult> UpdateConnectionOutcome;
|
||||
typedef std::future<UpdateConnectionOutcome> UpdateConnectionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateConnectionRequest&, const UpdateConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDIAlarmRuleResult> UpdateDIAlarmRuleOutcome;
|
||||
typedef std::future<UpdateDIAlarmRuleOutcome> UpdateDIAlarmRuleOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateDIAlarmRuleRequest&, const UpdateDIAlarmRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDIAlarmRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDIJobResult> UpdateDIJobOutcome;
|
||||
typedef std::future<UpdateDIJobOutcome> UpdateDIJobOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateDIJobRequest&, const UpdateDIJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDIJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDIProjectConfigResult> UpdateDIProjectConfigOutcome;
|
||||
typedef std::future<UpdateDIProjectConfigOutcome> UpdateDIProjectConfigOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateDIProjectConfigRequest&, const UpdateDIProjectConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDIProjectConfigAsyncHandler;
|
||||
@@ -1336,6 +1421,9 @@ namespace AlibabaCloud
|
||||
ApprovePermissionApplyOrderOutcome approvePermissionApplyOrder(const Model::ApprovePermissionApplyOrderRequest &request)const;
|
||||
void approvePermissionApplyOrderAsync(const Model::ApprovePermissionApplyOrderRequest& request, const ApprovePermissionApplyOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ApprovePermissionApplyOrderOutcomeCallable approvePermissionApplyOrderCallable(const Model::ApprovePermissionApplyOrderRequest& request) const;
|
||||
CallbackExtensionOutcome callbackExtension(const Model::CallbackExtensionRequest &request)const;
|
||||
void callbackExtensionAsync(const Model::CallbackExtensionRequest& request, const CallbackExtensionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CallbackExtensionOutcomeCallable callbackExtensionCallable(const Model::CallbackExtensionRequest& request) const;
|
||||
ChangeResourceManagerResourceGroupOutcome changeResourceManagerResourceGroup(const Model::ChangeResourceManagerResourceGroupRequest &request)const;
|
||||
void changeResourceManagerResourceGroupAsync(const Model::ChangeResourceManagerResourceGroupRequest& request, const ChangeResourceManagerResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeResourceManagerResourceGroupOutcomeCallable changeResourceManagerResourceGroupCallable(const Model::ChangeResourceManagerResourceGroupRequest& request) const;
|
||||
@@ -1357,6 +1445,12 @@ namespace AlibabaCloud
|
||||
CreateConnectionOutcome createConnection(const Model::CreateConnectionRequest &request)const;
|
||||
void createConnectionAsync(const Model::CreateConnectionRequest& request, const CreateConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConnectionOutcomeCallable createConnectionCallable(const Model::CreateConnectionRequest& request) const;
|
||||
CreateDIAlarmRuleOutcome createDIAlarmRule(const Model::CreateDIAlarmRuleRequest &request)const;
|
||||
void createDIAlarmRuleAsync(const Model::CreateDIAlarmRuleRequest& request, const CreateDIAlarmRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDIAlarmRuleOutcomeCallable createDIAlarmRuleCallable(const Model::CreateDIAlarmRuleRequest& request) const;
|
||||
CreateDIJobOutcome createDIJob(const Model::CreateDIJobRequest &request)const;
|
||||
void createDIJobAsync(const Model::CreateDIJobRequest& request, const CreateDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDIJobOutcomeCallable createDIJobCallable(const Model::CreateDIJobRequest& request) const;
|
||||
CreateDISyncTaskOutcome createDISyncTask(const Model::CreateDISyncTaskRequest &request)const;
|
||||
void createDISyncTaskAsync(const Model::CreateDISyncTaskRequest& request, const CreateDISyncTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDISyncTaskOutcomeCallable createDISyncTaskCallable(const Model::CreateDISyncTaskRequest& request) const;
|
||||
@@ -1447,6 +1541,12 @@ namespace AlibabaCloud
|
||||
DeleteConnectionOutcome deleteConnection(const Model::DeleteConnectionRequest &request)const;
|
||||
void deleteConnectionAsync(const Model::DeleteConnectionRequest& request, const DeleteConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConnectionOutcomeCallable deleteConnectionCallable(const Model::DeleteConnectionRequest& request) const;
|
||||
DeleteDIAlarmRuleOutcome deleteDIAlarmRule(const Model::DeleteDIAlarmRuleRequest &request)const;
|
||||
void deleteDIAlarmRuleAsync(const Model::DeleteDIAlarmRuleRequest& request, const DeleteDIAlarmRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDIAlarmRuleOutcomeCallable deleteDIAlarmRuleCallable(const Model::DeleteDIAlarmRuleRequest& request) const;
|
||||
DeleteDIJobOutcome deleteDIJob(const Model::DeleteDIJobRequest &request)const;
|
||||
void deleteDIJobAsync(const Model::DeleteDIJobRequest& request, const DeleteDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDIJobOutcomeCallable deleteDIJobCallable(const Model::DeleteDIJobRequest& request) const;
|
||||
DeleteDISyncTaskOutcome deleteDISyncTask(const Model::DeleteDISyncTaskRequest &request)const;
|
||||
void deleteDISyncTaskAsync(const Model::DeleteDISyncTaskRequest& request, const DeleteDISyncTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDISyncTaskOutcomeCallable deleteDISyncTaskCallable(const Model::DeleteDISyncTaskRequest& request) const;
|
||||
@@ -1546,6 +1646,12 @@ namespace AlibabaCloud
|
||||
GetDDLJobStatusOutcome getDDLJobStatus(const Model::GetDDLJobStatusRequest &request)const;
|
||||
void getDDLJobStatusAsync(const Model::GetDDLJobStatusRequest& request, const GetDDLJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDDLJobStatusOutcomeCallable getDDLJobStatusCallable(const Model::GetDDLJobStatusRequest& request) const;
|
||||
GetDIAlarmRuleOutcome getDIAlarmRule(const Model::GetDIAlarmRuleRequest &request)const;
|
||||
void getDIAlarmRuleAsync(const Model::GetDIAlarmRuleRequest& request, const GetDIAlarmRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDIAlarmRuleOutcomeCallable getDIAlarmRuleCallable(const Model::GetDIAlarmRuleRequest& request) const;
|
||||
GetDIJobOutcome getDIJob(const Model::GetDIJobRequest &request)const;
|
||||
void getDIJobAsync(const Model::GetDIJobRequest& request, const GetDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDIJobOutcomeCallable getDIJobCallable(const Model::GetDIJobRequest& request) const;
|
||||
GetDISyncInstanceInfoOutcome getDISyncInstanceInfo(const Model::GetDISyncInstanceInfoRequest &request)const;
|
||||
void getDISyncInstanceInfoAsync(const Model::GetDISyncInstanceInfoRequest& request, const GetDISyncInstanceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDISyncInstanceInfoOutcomeCallable getDISyncInstanceInfoCallable(const Model::GetDISyncInstanceInfoRequest& request) const;
|
||||
@@ -1759,6 +1865,12 @@ namespace AlibabaCloud
|
||||
ListConnectionsOutcome listConnections(const Model::ListConnectionsRequest &request)const;
|
||||
void listConnectionsAsync(const Model::ListConnectionsRequest& request, const ListConnectionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConnectionsOutcomeCallable listConnectionsCallable(const Model::ListConnectionsRequest& request) const;
|
||||
ListDIAlarmRulesOutcome listDIAlarmRules(const Model::ListDIAlarmRulesRequest &request)const;
|
||||
void listDIAlarmRulesAsync(const Model::ListDIAlarmRulesRequest& request, const ListDIAlarmRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDIAlarmRulesOutcomeCallable listDIAlarmRulesCallable(const Model::ListDIAlarmRulesRequest& request) const;
|
||||
ListDIJobsOutcome listDIJobs(const Model::ListDIJobsRequest &request)const;
|
||||
void listDIJobsAsync(const Model::ListDIJobsRequest& request, const ListDIJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDIJobsOutcomeCallable listDIJobsCallable(const Model::ListDIJobsRequest& request) const;
|
||||
ListDIProjectConfigOutcome listDIProjectConfig(const Model::ListDIProjectConfigRequest &request)const;
|
||||
void listDIProjectConfigAsync(const Model::ListDIProjectConfigRequest& request, const ListDIProjectConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDIProjectConfigOutcomeCallable listDIProjectConfigCallable(const Model::ListDIProjectConfigRequest& request) const;
|
||||
@@ -1798,6 +1910,12 @@ namespace AlibabaCloud
|
||||
ListEnabledExtensionsForProjectOutcome listEnabledExtensionsForProject(const Model::ListEnabledExtensionsForProjectRequest &request)const;
|
||||
void listEnabledExtensionsForProjectAsync(const Model::ListEnabledExtensionsForProjectRequest& request, const ListEnabledExtensionsForProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListEnabledExtensionsForProjectOutcomeCallable listEnabledExtensionsForProjectCallable(const Model::ListEnabledExtensionsForProjectRequest& request) const;
|
||||
ListEntitiesByTagsOutcome listEntitiesByTags(const Model::ListEntitiesByTagsRequest &request)const;
|
||||
void listEntitiesByTagsAsync(const Model::ListEntitiesByTagsRequest& request, const ListEntitiesByTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListEntitiesByTagsOutcomeCallable listEntitiesByTagsCallable(const Model::ListEntitiesByTagsRequest& request) const;
|
||||
ListEntityTagsOutcome listEntityTags(const Model::ListEntityTagsRequest &request)const;
|
||||
void listEntityTagsAsync(const Model::ListEntityTagsRequest& request, const ListEntityTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListEntityTagsOutcomeCallable listEntityTagsCallable(const Model::ListEntityTagsRequest& request) const;
|
||||
ListExtensionsOutcome listExtensions(const Model::ListExtensionsRequest &request)const;
|
||||
void listExtensionsAsync(const Model::ListExtensionsRequest& request, const ListExtensionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListExtensionsOutcomeCallable listExtensionsCallable(const Model::ListExtensionsRequest& request) const;
|
||||
@@ -1930,6 +2048,9 @@ namespace AlibabaCloud
|
||||
RegisterLineageRelationOutcome registerLineageRelation(const Model::RegisterLineageRelationRequest &request)const;
|
||||
void registerLineageRelationAsync(const Model::RegisterLineageRelationRequest& request, const RegisterLineageRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterLineageRelationOutcomeCallable registerLineageRelationCallable(const Model::RegisterLineageRelationRequest& request) const;
|
||||
RemoveEntityTagsOutcome removeEntityTags(const Model::RemoveEntityTagsRequest &request)const;
|
||||
void removeEntityTagsAsync(const Model::RemoveEntityTagsRequest& request, const RemoveEntityTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveEntityTagsOutcomeCallable removeEntityTagsCallable(const Model::RemoveEntityTagsRequest& request) const;
|
||||
RemoveProjectMemberFromRoleOutcome removeProjectMemberFromRole(const Model::RemoveProjectMemberFromRoleRequest &request)const;
|
||||
void removeProjectMemberFromRoleAsync(const Model::RemoveProjectMemberFromRoleRequest& request, const RemoveProjectMemberFromRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveProjectMemberFromRoleOutcomeCallable removeProjectMemberFromRoleCallable(const Model::RemoveProjectMemberFromRoleRequest& request) const;
|
||||
@@ -1972,15 +2093,24 @@ namespace AlibabaCloud
|
||||
SetDataSourceShareOutcome setDataSourceShare(const Model::SetDataSourceShareRequest &request)const;
|
||||
void setDataSourceShareAsync(const Model::SetDataSourceShareRequest& request, const SetDataSourceShareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDataSourceShareOutcomeCallable setDataSourceShareCallable(const Model::SetDataSourceShareRequest& request) const;
|
||||
SetEntityTagsOutcome setEntityTags(const Model::SetEntityTagsRequest &request)const;
|
||||
void setEntityTagsAsync(const Model::SetEntityTagsRequest& request, const SetEntityTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetEntityTagsOutcomeCallable setEntityTagsCallable(const Model::SetEntityTagsRequest& request) const;
|
||||
SetSuccessInstanceOutcome setSuccessInstance(const Model::SetSuccessInstanceRequest &request)const;
|
||||
void setSuccessInstanceAsync(const Model::SetSuccessInstanceRequest& request, const SetSuccessInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetSuccessInstanceOutcomeCallable setSuccessInstanceCallable(const Model::SetSuccessInstanceRequest& request) const;
|
||||
StartDIJobOutcome startDIJob(const Model::StartDIJobRequest &request)const;
|
||||
void startDIJobAsync(const Model::StartDIJobRequest& request, const StartDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartDIJobOutcomeCallable startDIJobCallable(const Model::StartDIJobRequest& request) const;
|
||||
StartDISyncInstanceOutcome startDISyncInstance(const Model::StartDISyncInstanceRequest &request)const;
|
||||
void startDISyncInstanceAsync(const Model::StartDISyncInstanceRequest& request, const StartDISyncInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartDISyncInstanceOutcomeCallable startDISyncInstanceCallable(const Model::StartDISyncInstanceRequest& request) const;
|
||||
StartMigrationOutcome startMigration(const Model::StartMigrationRequest &request)const;
|
||||
void startMigrationAsync(const Model::StartMigrationRequest& request, const StartMigrationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartMigrationOutcomeCallable startMigrationCallable(const Model::StartMigrationRequest& request) const;
|
||||
StopDIJobOutcome stopDIJob(const Model::StopDIJobRequest &request)const;
|
||||
void stopDIJobAsync(const Model::StopDIJobRequest& request, const StopDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopDIJobOutcomeCallable stopDIJobCallable(const Model::StopDIJobRequest& request) const;
|
||||
StopDISyncInstanceOutcome stopDISyncInstance(const Model::StopDISyncInstanceRequest &request)const;
|
||||
void stopDISyncInstanceAsync(const Model::StopDISyncInstanceRequest& request, const StopDISyncInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopDISyncInstanceOutcomeCallable stopDISyncInstanceCallable(const Model::StopDISyncInstanceRequest& request) const;
|
||||
@@ -2023,6 +2153,12 @@ namespace AlibabaCloud
|
||||
UpdateConnectionOutcome updateConnection(const Model::UpdateConnectionRequest &request)const;
|
||||
void updateConnectionAsync(const Model::UpdateConnectionRequest& request, const UpdateConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateConnectionOutcomeCallable updateConnectionCallable(const Model::UpdateConnectionRequest& request) const;
|
||||
UpdateDIAlarmRuleOutcome updateDIAlarmRule(const Model::UpdateDIAlarmRuleRequest &request)const;
|
||||
void updateDIAlarmRuleAsync(const Model::UpdateDIAlarmRuleRequest& request, const UpdateDIAlarmRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDIAlarmRuleOutcomeCallable updateDIAlarmRuleCallable(const Model::UpdateDIAlarmRuleRequest& request) const;
|
||||
UpdateDIJobOutcome updateDIJob(const Model::UpdateDIJobRequest &request)const;
|
||||
void updateDIJobAsync(const Model::UpdateDIJobRequest& request, const UpdateDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDIJobOutcomeCallable updateDIJobCallable(const Model::UpdateDIJobRequest& request) const;
|
||||
UpdateDIProjectConfigOutcome updateDIProjectConfig(const Model::UpdateDIProjectConfigRequest &request)const;
|
||||
void updateDIProjectConfigAsync(const Model::UpdateDIProjectConfigRequest& request, const UpdateDIProjectConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDIProjectConfigOutcomeCallable updateDIProjectConfigCallable(const Model::UpdateDIProjectConfigRequest& request) const;
|
||||
|
||||
@@ -32,11 +32,14 @@ public:
|
||||
~AddMetaCollectionEntityRequest();
|
||||
std::string getEntityQualifiedName() const;
|
||||
void setEntityQualifiedName(const std::string &entityQualifiedName);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getCollectionQualifiedName() const;
|
||||
void setCollectionQualifiedName(const std::string &collectionQualifiedName);
|
||||
|
||||
private:
|
||||
std::string entityQualifiedName_;
|
||||
std::string remark_;
|
||||
std::string collectionQualifiedName_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CALLBACKEXTENSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CALLBACKEXTENSIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CallbackExtensionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CallbackExtensionRequest();
|
||||
~CallbackExtensionRequest();
|
||||
std::string getCheckResult() const;
|
||||
void setCheckResult(const std::string &checkResult);
|
||||
std::string getMessageId() const;
|
||||
void setMessageId(const std::string &messageId);
|
||||
std::string getCheckMessage() const;
|
||||
void setCheckMessage(const std::string &checkMessage);
|
||||
std::string getExtensionCode() const;
|
||||
void setExtensionCode(const std::string &extensionCode);
|
||||
|
||||
private:
|
||||
std::string checkResult_;
|
||||
std::string messageId_;
|
||||
std::string checkMessage_;
|
||||
std::string extensionCode_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CALLBACKEXTENSIONREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CALLBACKEXTENSIONRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CALLBACKEXTENSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CallbackExtensionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CallbackExtensionResult();
|
||||
explicit CallbackExtensionResult(const std::string &payload);
|
||||
~CallbackExtensionResult();
|
||||
std::string getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CALLBACKEXTENSIONRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIALARMRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIALARMRULEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDIAlarmRuleRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateDIAlarmRuleRequest();
|
||||
~CreateDIAlarmRuleRequest();
|
||||
std::string getMetricType() const;
|
||||
void setMetricType(const std::string &metricType);
|
||||
std::string getTriggerConditions() const;
|
||||
void setTriggerConditions(const std::string &triggerConditions);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getNotificationSettings() const;
|
||||
void setNotificationSettings(const std::string ¬ificationSettings);
|
||||
bool getEnabled() const;
|
||||
void setEnabled(bool enabled);
|
||||
long getDIJobId() const;
|
||||
void setDIJobId(long dIJobId);
|
||||
|
||||
private:
|
||||
std::string metricType_;
|
||||
std::string triggerConditions_;
|
||||
std::string description_;
|
||||
std::string notificationSettings_;
|
||||
bool enabled_;
|
||||
long dIJobId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIALARMRULEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIALARMRULERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIALARMRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDIAlarmRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDIAlarmRuleResult();
|
||||
explicit CreateDIAlarmRuleResult(const std::string &payload);
|
||||
~CreateDIAlarmRuleResult();
|
||||
long getDIAlarmRuleId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long dIAlarmRuleId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIALARMRULERESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDIJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateDIJobRequest();
|
||||
~CreateDIJobRequest();
|
||||
std::string getSourceDataSourceType() const;
|
||||
void setSourceDataSourceType(const std::string &sourceDataSourceType);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getTransformationRules() const;
|
||||
void setTransformationRules(const std::string &transformationRules);
|
||||
std::string getDestinationDataSourceType() const;
|
||||
void setDestinationDataSourceType(const std::string &destinationDataSourceType);
|
||||
std::string getDestinationDataSourceSettings() const;
|
||||
void setDestinationDataSourceSettings(const std::string &destinationDataSourceSettings);
|
||||
std::string getSourceDataSourceSettings() const;
|
||||
void setSourceDataSourceSettings(const std::string &sourceDataSourceSettings);
|
||||
std::string getResourceSettings() const;
|
||||
void setResourceSettings(const std::string &resourceSettings);
|
||||
std::string getMigrationType() const;
|
||||
void setMigrationType(const std::string &migrationType);
|
||||
std::string getSystemDebug() const;
|
||||
void setSystemDebug(const std::string &systemDebug);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getJobName() const;
|
||||
void setJobName(const std::string &jobName);
|
||||
std::string getTableMappings() const;
|
||||
void setTableMappings(const std::string &tableMappings);
|
||||
std::string getJobSettings() const;
|
||||
void setJobSettings(const std::string &jobSettings);
|
||||
|
||||
private:
|
||||
std::string sourceDataSourceType_;
|
||||
std::string description_;
|
||||
std::string transformationRules_;
|
||||
std::string destinationDataSourceType_;
|
||||
std::string destinationDataSourceSettings_;
|
||||
std::string sourceDataSourceSettings_;
|
||||
std::string resourceSettings_;
|
||||
std::string migrationType_;
|
||||
std::string systemDebug_;
|
||||
long projectId_;
|
||||
std::string jobName_;
|
||||
std::string tableMappings_;
|
||||
std::string jobSettings_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIJOBREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDIJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDIJobResult();
|
||||
explicit CreateDIJobResult(const std::string &payload);
|
||||
~CreateDIJobResult();
|
||||
long getDIJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long dIJobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDIJOBRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIALARMRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIALARMRULEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDIAlarmRuleRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteDIAlarmRuleRequest();
|
||||
~DeleteDIAlarmRuleRequest();
|
||||
long getDIAlarmRuleId() const;
|
||||
void setDIAlarmRuleId(long dIAlarmRuleId);
|
||||
|
||||
private:
|
||||
long dIAlarmRuleId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIALARMRULEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIALARMRULERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIALARMRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDIAlarmRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDIAlarmRuleResult();
|
||||
explicit DeleteDIAlarmRuleResult(const std::string &payload);
|
||||
~DeleteDIAlarmRuleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIALARMRULERESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDIJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteDIJobRequest();
|
||||
~DeleteDIJobRequest();
|
||||
long getDIJobId() const;
|
||||
void setDIJobId(long dIJobId);
|
||||
|
||||
private:
|
||||
long dIJobId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIJOBREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDIJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDIJobResult();
|
||||
explicit DeleteDIJobResult(const std::string &payload);
|
||||
~DeleteDIJobResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDIJOBRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIALARMRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIALARMRULEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDIAlarmRuleRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetDIAlarmRuleRequest();
|
||||
~GetDIAlarmRuleRequest();
|
||||
long getDIAlarmRuleId() const;
|
||||
void setDIAlarmRuleId(long dIAlarmRuleId);
|
||||
|
||||
private:
|
||||
long dIAlarmRuleId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIALARMRULEREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIALARMRULERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIALARMRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDIAlarmRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DIAlarmRule
|
||||
{
|
||||
struct NotificationSettings
|
||||
{
|
||||
struct NotificationChannel
|
||||
{
|
||||
std::string severity;
|
||||
std::vector<std::string> channels;
|
||||
};
|
||||
struct NotificationReceiver
|
||||
{
|
||||
std::string receiverType;
|
||||
std::vector<std::string> receiverValues;
|
||||
};
|
||||
std::vector<NotificationChannel> notificationChannels;
|
||||
int inhibitionInterval;
|
||||
std::vector<NotificationReceiver> notificationReceivers;
|
||||
};
|
||||
struct TriggerCondition
|
||||
{
|
||||
std::string severity;
|
||||
long duration;
|
||||
long threshold;
|
||||
};
|
||||
std::string updatedUid;
|
||||
long dIJobId;
|
||||
std::string description;
|
||||
long createdTime;
|
||||
std::vector<TriggerCondition> triggerConditions;
|
||||
std::string metricType;
|
||||
NotificationSettings notificationSettings;
|
||||
bool enabled;
|
||||
long updatedTime;
|
||||
long dIAlarmRuleId;
|
||||
std::string createdUid;
|
||||
};
|
||||
|
||||
|
||||
GetDIAlarmRuleResult();
|
||||
explicit GetDIAlarmRuleResult(const std::string &payload);
|
||||
~GetDIAlarmRuleResult();
|
||||
DIAlarmRule getDIAlarmRule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DIAlarmRule dIAlarmRule_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIALARMRULERESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDIJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetDIJobRequest();
|
||||
~GetDIJobRequest();
|
||||
long getDIJobId() const;
|
||||
void setDIJobId(long dIJobId);
|
||||
bool getWithDetails() const;
|
||||
void setWithDetails(bool withDetails);
|
||||
|
||||
private:
|
||||
long dIJobId_;
|
||||
bool withDetails_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIJOBREQUEST_H_
|
||||
@@ -0,0 +1,143 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDIJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ResourceSettings
|
||||
{
|
||||
struct OfflineResourceSettings
|
||||
{
|
||||
std::string resourceGroupIdentifier;
|
||||
};
|
||||
struct RealtimeResourceSettings
|
||||
{
|
||||
std::string resourceGroupIdentifier;
|
||||
};
|
||||
RealtimeResourceSettings realtimeResourceSettings;
|
||||
OfflineResourceSettings offlineResourceSettings;
|
||||
};
|
||||
struct JobSettings
|
||||
{
|
||||
struct ColumnDataTypeSetting
|
||||
{
|
||||
std::string destinationDataType;
|
||||
std::string sourceDataType;
|
||||
};
|
||||
struct DdlHandlingSetting
|
||||
{
|
||||
std::string action;
|
||||
std::string type;
|
||||
};
|
||||
struct RuntimeSetting
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<DdlHandlingSetting> ddlHandlingSettings;
|
||||
std::vector<ColumnDataTypeSetting> columnDataTypeSettings;
|
||||
std::vector<RuntimeSetting> runtimeSettings;
|
||||
};
|
||||
struct SourceDataSourceSetting
|
||||
{
|
||||
std::string dataSourceName;
|
||||
std::string dataSourceProperties;
|
||||
};
|
||||
struct DestinationDataSourceSetting
|
||||
{
|
||||
std::string dataSourceName;
|
||||
std::string dataSourceProperties;
|
||||
};
|
||||
struct TransformationRule
|
||||
{
|
||||
std::string ruleActionType;
|
||||
std::string ruleExpression;
|
||||
std::string ruleTargetType;
|
||||
std::string ruleName;
|
||||
};
|
||||
struct TableMapping
|
||||
{
|
||||
struct SourceObjectSelectionRule
|
||||
{
|
||||
std::string objectType;
|
||||
std::string expression;
|
||||
};
|
||||
struct TransformationRule2
|
||||
{
|
||||
std::string ruleActionType;
|
||||
std::string ruleTargetType;
|
||||
std::string ruleName;
|
||||
};
|
||||
std::vector<TableMapping::SourceObjectSelectionRule> sourceObjectSelectionRules;
|
||||
std::vector<TableMapping::TransformationRule2> transformationRules1;
|
||||
};
|
||||
std::string updatedUid;
|
||||
std::string runStats;
|
||||
JobSettings jobSettings;
|
||||
std::string description;
|
||||
long createdTime;
|
||||
long projectId;
|
||||
std::string jobName;
|
||||
std::vector<SourceDataSourceSetting> sourceDataSourceSettings;
|
||||
std::string migrationType;
|
||||
std::string destinationDataSourceType;
|
||||
std::string jobStatus;
|
||||
long dIJobId;
|
||||
std::vector<TableMapping> tableMappings;
|
||||
std::string startedUid;
|
||||
ResourceSettings resourceSettings;
|
||||
std::vector<TransformationRule> transformationRules;
|
||||
std::string sourceDataSourceType;
|
||||
long startedTime;
|
||||
std::vector<DestinationDataSourceSetting> destinationDataSourceSettings;
|
||||
long updatedTime;
|
||||
std::string errorMessage;
|
||||
std::string createdUid;
|
||||
};
|
||||
|
||||
|
||||
GetDIJobResult();
|
||||
explicit GetDIJobResult(const std::string &payload);
|
||||
~GetDIJobResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDIJOBRESULT_H_
|
||||
@@ -55,6 +55,7 @@ namespace AlibabaCloud
|
||||
std::string deletedStatus;
|
||||
long nodeId;
|
||||
bool autoParsing;
|
||||
long fileId;
|
||||
std::string fileFolderId;
|
||||
long bizId;
|
||||
long businessId;
|
||||
|
||||
@@ -30,10 +30,13 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetProjectRequest : public RpcService
|
||||
public:
|
||||
GetProjectRequest();
|
||||
~GetProjectRequest();
|
||||
std::string getProjectIdentifier() const;
|
||||
void setProjectIdentifier(const std::string &projectIdentifier);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string projectIdentifier_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIALARMRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIALARMRULESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDIAlarmRulesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListDIAlarmRulesRequest();
|
||||
~ListDIAlarmRulesRequest();
|
||||
long getPageNumber() const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getDIJobId() const;
|
||||
void setDIJobId(long dIJobId);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
|
||||
private:
|
||||
long pageNumber_;
|
||||
long dIJobId_;
|
||||
long pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIALARMRULESREQUEST_H_
|
||||
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIALARMRULESRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIALARMRULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDIAlarmRulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DIAlarmRulePaging
|
||||
{
|
||||
struct DIJobAlarmRule
|
||||
{
|
||||
struct NotificationSettings
|
||||
{
|
||||
struct NotificationChannel
|
||||
{
|
||||
std::string severity;
|
||||
std::vector<std::string> channels;
|
||||
};
|
||||
struct NotificationReceiver
|
||||
{
|
||||
std::string receiverType;
|
||||
std::vector<std::string> receiverValues;
|
||||
};
|
||||
std::vector<NotificationChannel> notificationChannels;
|
||||
int inhibitionInterval;
|
||||
std::vector<NotificationReceiver> notificationReceivers;
|
||||
};
|
||||
struct TriggerCondition
|
||||
{
|
||||
std::string severity;
|
||||
long duration;
|
||||
long threshold;
|
||||
};
|
||||
long dIJobId;
|
||||
std::string description;
|
||||
std::vector<DIJobAlarmRule::TriggerCondition> triggerConditions;
|
||||
std::string metricType;
|
||||
NotificationSettings notificationSettings;
|
||||
bool enabled;
|
||||
long dIAlarmRuleId;
|
||||
};
|
||||
long totalCount;
|
||||
long pageSize;
|
||||
long pageNumber;
|
||||
std::vector<DIJobAlarmRule> dIJobAlarmRules;
|
||||
};
|
||||
|
||||
|
||||
ListDIAlarmRulesResult();
|
||||
explicit ListDIAlarmRulesResult(const std::string &payload);
|
||||
~ListDIAlarmRulesResult();
|
||||
DIAlarmRulePaging getDIAlarmRulePaging()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DIAlarmRulePaging dIAlarmRulePaging_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIALARMRULESRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIJOBSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDIJobsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListDIJobsRequest();
|
||||
~ListDIJobsRequest();
|
||||
std::string getSourceDataSourceType() const;
|
||||
void setSourceDataSourceType(const std::string &sourceDataSourceType);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getDestinationDataSourceType() const;
|
||||
void setDestinationDataSourceType(const std::string &destinationDataSourceType);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getJobName() const;
|
||||
void setJobName(const std::string &jobName);
|
||||
|
||||
private:
|
||||
std::string sourceDataSourceType_;
|
||||
int pageNumber_;
|
||||
std::string destinationDataSourceType_;
|
||||
int pageSize_;
|
||||
long projectId_;
|
||||
std::string jobName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIJOBSREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIJOBSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDIJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DIJobPaging
|
||||
{
|
||||
struct DIJob
|
||||
{
|
||||
std::string destinationDataSourceType;
|
||||
std::string jobStatus;
|
||||
long dIJobId;
|
||||
std::string sourceDataSourceType;
|
||||
long projectId;
|
||||
std::string jobName;
|
||||
std::string migrationType;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<DIJob> dIJobs;
|
||||
};
|
||||
|
||||
|
||||
ListDIJobsResult();
|
||||
explicit ListDIJobsResult(const std::string &payload);
|
||||
~ListDIJobsResult();
|
||||
DIJobPaging getDIJobPaging()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DIJobPaging dIJobPaging_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIJOBSRESULT_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITIESBYTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITIESBYTAGSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEntitiesByTagsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string tagValue;
|
||||
std::string tagKey;
|
||||
};
|
||||
ListEntitiesByTagsRequest();
|
||||
~ListEntitiesByTagsRequest();
|
||||
std::string getEntityType() const;
|
||||
void setEntityType(const std::string &entityType);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
|
||||
private:
|
||||
std::string entityType_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
std::vector<Tags> tags_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITIESBYTAGSREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITIESBYTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITIESBYTAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEntitiesByTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct EntityListItem
|
||||
{
|
||||
std::string entityContent;
|
||||
long tenantId;
|
||||
std::string qualifiedName;
|
||||
};
|
||||
std::string nextToken;
|
||||
std::vector<EntityListItem> entityList;
|
||||
};
|
||||
|
||||
|
||||
ListEntitiesByTagsResult();
|
||||
explicit ListEntitiesByTagsResult(const std::string &payload);
|
||||
~ListEntitiesByTagsResult();
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITIESBYTAGSRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITYTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITYTAGSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEntityTagsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListEntityTagsRequest();
|
||||
~ListEntityTagsRequest();
|
||||
std::string getQualifiedName() const;
|
||||
void setQualifiedName(const std::string &qualifiedName);
|
||||
|
||||
private:
|
||||
std::string qualifiedName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITYTAGSREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITYTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITYTAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEntityTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
|
||||
ListEntityTagsResult();
|
||||
explicit ListEntityTagsResult(const std::string &payload);
|
||||
~ListEntityTagsResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::vector<DataItem> data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENTITYTAGSRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEENTITYTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEENTITYTAGSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RemoveEntityTagsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RemoveEntityTagsRequest();
|
||||
~RemoveEntityTagsRequest();
|
||||
std::string getQualifiedName() const;
|
||||
void setQualifiedName(const std::string &qualifiedName);
|
||||
std::vector<std::string> getTagKeys() const;
|
||||
void setTagKeys(const std::vector<std::string> &tagKeys);
|
||||
|
||||
private:
|
||||
std::string qualifiedName_;
|
||||
std::vector<std::string> tagKeys_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEENTITYTAGSREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEENTITYTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEENTITYTAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RemoveEntityTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveEntityTagsResult();
|
||||
explicit RemoveEntityTagsResult(const std::string &payload);
|
||||
~RemoveEntityTagsResult();
|
||||
int getHttpStatusCode()const;
|
||||
bool getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
bool data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEENTITYTAGSRESULT_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETENTITYTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETENTITYTAGSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SetEntityTagsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string tagValue;
|
||||
std::string tagKey;
|
||||
};
|
||||
SetEntityTagsRequest();
|
||||
~SetEntityTagsRequest();
|
||||
std::string getQualifiedName() const;
|
||||
void setQualifiedName(const std::string &qualifiedName);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
|
||||
private:
|
||||
std::string qualifiedName_;
|
||||
std::vector<Tags> tags_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETENTITYTAGSREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETENTITYTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETENTITYTAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SetEntityTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetEntityTagsResult();
|
||||
explicit SetEntityTagsResult(const std::string &payload);
|
||||
~SetEntityTagsResult();
|
||||
int getHttpStatusCode()const;
|
||||
bool getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
bool data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETENTITYTAGSRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDIJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDIJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StartDIJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StartDIJobRequest();
|
||||
~StartDIJobRequest();
|
||||
bool getForceToRerun() const;
|
||||
void setForceToRerun(bool forceToRerun);
|
||||
long getDIJobId() const;
|
||||
void setDIJobId(long dIJobId);
|
||||
std::string getRealtimeStartSettings() const;
|
||||
void setRealtimeStartSettings(const std::string &realtimeStartSettings);
|
||||
|
||||
private:
|
||||
bool forceToRerun_;
|
||||
long dIJobId_;
|
||||
std::string realtimeStartSettings_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDIJOBREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDIJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDIJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StartDIJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartDIJobResult();
|
||||
explicit StartDIJobResult(const std::string &payload);
|
||||
~StartDIJobResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDIJOBRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDIJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDIJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StopDIJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StopDIJobRequest();
|
||||
~StopDIJobRequest();
|
||||
long getDIJobId() const;
|
||||
void setDIJobId(long dIJobId);
|
||||
|
||||
private:
|
||||
long dIJobId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDIJOBREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDIJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDIJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StopDIJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopDIJobResult();
|
||||
explicit StopDIJobResult(const std::string &payload);
|
||||
~StopDIJobResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDIJOBRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIALARMRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIALARMRULEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDIAlarmRuleRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateDIAlarmRuleRequest();
|
||||
~UpdateDIAlarmRuleRequest();
|
||||
std::string getMetricType() const;
|
||||
void setMetricType(const std::string &metricType);
|
||||
std::string getTriggerConditions() const;
|
||||
void setTriggerConditions(const std::string &triggerConditions);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getNotificationSettings() const;
|
||||
void setNotificationSettings(const std::string ¬ificationSettings);
|
||||
bool getEnabled() const;
|
||||
void setEnabled(bool enabled);
|
||||
long getDIAlarmRuleId() const;
|
||||
void setDIAlarmRuleId(long dIAlarmRuleId);
|
||||
|
||||
private:
|
||||
std::string metricType_;
|
||||
std::string triggerConditions_;
|
||||
std::string description_;
|
||||
std::string notificationSettings_;
|
||||
bool enabled_;
|
||||
long dIAlarmRuleId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIALARMRULEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIALARMRULERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIALARMRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDIAlarmRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateDIAlarmRuleResult();
|
||||
explicit UpdateDIAlarmRuleResult(const std::string &payload);
|
||||
~UpdateDIAlarmRuleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIALARMRULERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDIJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateDIJobRequest();
|
||||
~UpdateDIJobRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getTransformationRules() const;
|
||||
void setTransformationRules(const std::string &transformationRules);
|
||||
long getDIJobId() const;
|
||||
void setDIJobId(long dIJobId);
|
||||
std::string getResourceSettings() const;
|
||||
void setResourceSettings(const std::string &resourceSettings);
|
||||
std::string getTableMappings() const;
|
||||
void setTableMappings(const std::string &tableMappings);
|
||||
std::string getJobSettings() const;
|
||||
void setJobSettings(const std::string &jobSettings);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string transformationRules_;
|
||||
long dIJobId_;
|
||||
std::string resourceSettings_;
|
||||
std::string tableMappings_;
|
||||
std::string jobSettings_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIJOBREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDIJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateDIJobResult();
|
||||
explicit UpdateDIJobResult(const std::string &payload);
|
||||
~UpdateDIJobResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIJOBRESULT_H_
|
||||
@@ -231,6 +231,42 @@ Dataworks_publicClient::ApprovePermissionApplyOrderOutcomeCallable Dataworks_pub
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CallbackExtensionOutcome Dataworks_publicClient::callbackExtension(const CallbackExtensionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CallbackExtensionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CallbackExtensionOutcome(CallbackExtensionResult(outcome.result()));
|
||||
else
|
||||
return CallbackExtensionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::callbackExtensionAsync(const CallbackExtensionRequest& request, const CallbackExtensionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, callbackExtension(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CallbackExtensionOutcomeCallable Dataworks_publicClient::callbackExtensionCallable(const CallbackExtensionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CallbackExtensionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->callbackExtension(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ChangeResourceManagerResourceGroupOutcome Dataworks_publicClient::changeResourceManagerResourceGroup(const ChangeResourceManagerResourceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,6 +519,78 @@ Dataworks_publicClient::CreateConnectionOutcomeCallable Dataworks_publicClient::
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateDIAlarmRuleOutcome Dataworks_publicClient::createDIAlarmRule(const CreateDIAlarmRuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateDIAlarmRuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateDIAlarmRuleOutcome(CreateDIAlarmRuleResult(outcome.result()));
|
||||
else
|
||||
return CreateDIAlarmRuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::createDIAlarmRuleAsync(const CreateDIAlarmRuleRequest& request, const CreateDIAlarmRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createDIAlarmRule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateDIAlarmRuleOutcomeCallable Dataworks_publicClient::createDIAlarmRuleCallable(const CreateDIAlarmRuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateDIAlarmRuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createDIAlarmRule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateDIJobOutcome Dataworks_publicClient::createDIJob(const CreateDIJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateDIJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateDIJobOutcome(CreateDIJobResult(outcome.result()));
|
||||
else
|
||||
return CreateDIJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::createDIJobAsync(const CreateDIJobRequest& request, const CreateDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createDIJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateDIJobOutcomeCallable Dataworks_publicClient::createDIJobCallable(const CreateDIJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateDIJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createDIJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateDISyncTaskOutcome Dataworks_publicClient::createDISyncTask(const CreateDISyncTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1563,6 +1671,78 @@ Dataworks_publicClient::DeleteConnectionOutcomeCallable Dataworks_publicClient::
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteDIAlarmRuleOutcome Dataworks_publicClient::deleteDIAlarmRule(const DeleteDIAlarmRuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteDIAlarmRuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteDIAlarmRuleOutcome(DeleteDIAlarmRuleResult(outcome.result()));
|
||||
else
|
||||
return DeleteDIAlarmRuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::deleteDIAlarmRuleAsync(const DeleteDIAlarmRuleRequest& request, const DeleteDIAlarmRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteDIAlarmRule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteDIAlarmRuleOutcomeCallable Dataworks_publicClient::deleteDIAlarmRuleCallable(const DeleteDIAlarmRuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteDIAlarmRuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteDIAlarmRule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteDIJobOutcome Dataworks_publicClient::deleteDIJob(const DeleteDIJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteDIJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteDIJobOutcome(DeleteDIJobResult(outcome.result()));
|
||||
else
|
||||
return DeleteDIJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::deleteDIJobAsync(const DeleteDIJobRequest& request, const DeleteDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteDIJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteDIJobOutcomeCallable Dataworks_publicClient::deleteDIJobCallable(const DeleteDIJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteDIJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteDIJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteDISyncTaskOutcome Dataworks_publicClient::deleteDISyncTask(const DeleteDISyncTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2751,6 +2931,78 @@ Dataworks_publicClient::GetDDLJobStatusOutcomeCallable Dataworks_publicClient::g
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetDIAlarmRuleOutcome Dataworks_publicClient::getDIAlarmRule(const GetDIAlarmRuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDIAlarmRuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDIAlarmRuleOutcome(GetDIAlarmRuleResult(outcome.result()));
|
||||
else
|
||||
return GetDIAlarmRuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::getDIAlarmRuleAsync(const GetDIAlarmRuleRequest& request, const GetDIAlarmRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDIAlarmRule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetDIAlarmRuleOutcomeCallable Dataworks_publicClient::getDIAlarmRuleCallable(const GetDIAlarmRuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDIAlarmRuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDIAlarmRule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetDIJobOutcome Dataworks_publicClient::getDIJob(const GetDIJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDIJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDIJobOutcome(GetDIJobResult(outcome.result()));
|
||||
else
|
||||
return GetDIJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::getDIJobAsync(const GetDIJobRequest& request, const GetDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDIJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetDIJobOutcomeCallable Dataworks_publicClient::getDIJobCallable(const GetDIJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDIJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDIJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetDISyncInstanceInfoOutcome Dataworks_publicClient::getDISyncInstanceInfo(const GetDISyncInstanceInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5307,6 +5559,78 @@ Dataworks_publicClient::ListConnectionsOutcomeCallable Dataworks_publicClient::l
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListDIAlarmRulesOutcome Dataworks_publicClient::listDIAlarmRules(const ListDIAlarmRulesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListDIAlarmRulesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListDIAlarmRulesOutcome(ListDIAlarmRulesResult(outcome.result()));
|
||||
else
|
||||
return ListDIAlarmRulesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listDIAlarmRulesAsync(const ListDIAlarmRulesRequest& request, const ListDIAlarmRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listDIAlarmRules(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListDIAlarmRulesOutcomeCallable Dataworks_publicClient::listDIAlarmRulesCallable(const ListDIAlarmRulesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListDIAlarmRulesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listDIAlarmRules(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListDIJobsOutcome Dataworks_publicClient::listDIJobs(const ListDIJobsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListDIJobsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListDIJobsOutcome(ListDIJobsResult(outcome.result()));
|
||||
else
|
||||
return ListDIJobsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listDIJobsAsync(const ListDIJobsRequest& request, const ListDIJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listDIJobs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListDIJobsOutcomeCallable Dataworks_publicClient::listDIJobsCallable(const ListDIJobsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListDIJobsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listDIJobs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListDIProjectConfigOutcome Dataworks_publicClient::listDIProjectConfig(const ListDIProjectConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5775,6 +6099,78 @@ Dataworks_publicClient::ListEnabledExtensionsForProjectOutcomeCallable Dataworks
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListEntitiesByTagsOutcome Dataworks_publicClient::listEntitiesByTags(const ListEntitiesByTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListEntitiesByTagsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListEntitiesByTagsOutcome(ListEntitiesByTagsResult(outcome.result()));
|
||||
else
|
||||
return ListEntitiesByTagsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listEntitiesByTagsAsync(const ListEntitiesByTagsRequest& request, const ListEntitiesByTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listEntitiesByTags(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListEntitiesByTagsOutcomeCallable Dataworks_publicClient::listEntitiesByTagsCallable(const ListEntitiesByTagsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListEntitiesByTagsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listEntitiesByTags(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListEntityTagsOutcome Dataworks_publicClient::listEntityTags(const ListEntityTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListEntityTagsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListEntityTagsOutcome(ListEntityTagsResult(outcome.result()));
|
||||
else
|
||||
return ListEntityTagsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listEntityTagsAsync(const ListEntityTagsRequest& request, const ListEntityTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listEntityTags(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListEntityTagsOutcomeCallable Dataworks_publicClient::listEntityTagsCallable(const ListEntityTagsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListEntityTagsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listEntityTags(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListExtensionsOutcome Dataworks_publicClient::listExtensions(const ListExtensionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7359,6 +7755,42 @@ Dataworks_publicClient::RegisterLineageRelationOutcomeCallable Dataworks_publicC
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::RemoveEntityTagsOutcome Dataworks_publicClient::removeEntityTags(const RemoveEntityTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveEntityTagsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveEntityTagsOutcome(RemoveEntityTagsResult(outcome.result()));
|
||||
else
|
||||
return RemoveEntityTagsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::removeEntityTagsAsync(const RemoveEntityTagsRequest& request, const RemoveEntityTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeEntityTags(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::RemoveEntityTagsOutcomeCallable Dataworks_publicClient::removeEntityTagsCallable(const RemoveEntityTagsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveEntityTagsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeEntityTags(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::RemoveProjectMemberFromRoleOutcome Dataworks_publicClient::removeProjectMemberFromRole(const RemoveProjectMemberFromRoleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7863,6 +8295,42 @@ Dataworks_publicClient::SetDataSourceShareOutcomeCallable Dataworks_publicClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::SetEntityTagsOutcome Dataworks_publicClient::setEntityTags(const SetEntityTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetEntityTagsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetEntityTagsOutcome(SetEntityTagsResult(outcome.result()));
|
||||
else
|
||||
return SetEntityTagsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::setEntityTagsAsync(const SetEntityTagsRequest& request, const SetEntityTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setEntityTags(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::SetEntityTagsOutcomeCallable Dataworks_publicClient::setEntityTagsCallable(const SetEntityTagsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetEntityTagsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setEntityTags(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::SetSuccessInstanceOutcome Dataworks_publicClient::setSuccessInstance(const SetSuccessInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7899,6 +8367,42 @@ Dataworks_publicClient::SetSuccessInstanceOutcomeCallable Dataworks_publicClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::StartDIJobOutcome Dataworks_publicClient::startDIJob(const StartDIJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartDIJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartDIJobOutcome(StartDIJobResult(outcome.result()));
|
||||
else
|
||||
return StartDIJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::startDIJobAsync(const StartDIJobRequest& request, const StartDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startDIJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::StartDIJobOutcomeCallable Dataworks_publicClient::startDIJobCallable(const StartDIJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartDIJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startDIJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::StartDISyncInstanceOutcome Dataworks_publicClient::startDISyncInstance(const StartDISyncInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7971,6 +8475,42 @@ Dataworks_publicClient::StartMigrationOutcomeCallable Dataworks_publicClient::st
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::StopDIJobOutcome Dataworks_publicClient::stopDIJob(const StopDIJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopDIJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopDIJobOutcome(StopDIJobResult(outcome.result()));
|
||||
else
|
||||
return StopDIJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::stopDIJobAsync(const StopDIJobRequest& request, const StopDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopDIJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::StopDIJobOutcomeCallable Dataworks_publicClient::stopDIJobCallable(const StopDIJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopDIJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopDIJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::StopDISyncInstanceOutcome Dataworks_publicClient::stopDISyncInstance(const StopDISyncInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -8475,6 +9015,78 @@ Dataworks_publicClient::UpdateConnectionOutcomeCallable Dataworks_publicClient::
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateDIAlarmRuleOutcome Dataworks_publicClient::updateDIAlarmRule(const UpdateDIAlarmRuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateDIAlarmRuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateDIAlarmRuleOutcome(UpdateDIAlarmRuleResult(outcome.result()));
|
||||
else
|
||||
return UpdateDIAlarmRuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::updateDIAlarmRuleAsync(const UpdateDIAlarmRuleRequest& request, const UpdateDIAlarmRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateDIAlarmRule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateDIAlarmRuleOutcomeCallable Dataworks_publicClient::updateDIAlarmRuleCallable(const UpdateDIAlarmRuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateDIAlarmRuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateDIAlarmRule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateDIJobOutcome Dataworks_publicClient::updateDIJob(const UpdateDIJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateDIJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateDIJobOutcome(UpdateDIJobResult(outcome.result()));
|
||||
else
|
||||
return UpdateDIJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::updateDIJobAsync(const UpdateDIJobRequest& request, const UpdateDIJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateDIJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateDIJobOutcomeCallable Dataworks_publicClient::updateDIJobCallable(const UpdateDIJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateDIJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateDIJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateDIProjectConfigOutcome Dataworks_publicClient::updateDIProjectConfig(const UpdateDIProjectConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -34,6 +34,15 @@ void AddMetaCollectionEntityRequest::setEntityQualifiedName(const std::string &e
|
||||
setParameter(std::string("EntityQualifiedName"), entityQualifiedName);
|
||||
}
|
||||
|
||||
std::string AddMetaCollectionEntityRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void AddMetaCollectionEntityRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
std::string AddMetaCollectionEntityRequest::getCollectionQualifiedName() const {
|
||||
return collectionQualifiedName_;
|
||||
}
|
||||
|
||||
63
dataworks-public/src/model/CallbackExtensionRequest.cc
Normal file
63
dataworks-public/src/model/CallbackExtensionRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CallbackExtensionRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::CallbackExtensionRequest;
|
||||
|
||||
CallbackExtensionRequest::CallbackExtensionRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "CallbackExtension") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CallbackExtensionRequest::~CallbackExtensionRequest() {}
|
||||
|
||||
std::string CallbackExtensionRequest::getCheckResult() const {
|
||||
return checkResult_;
|
||||
}
|
||||
|
||||
void CallbackExtensionRequest::setCheckResult(const std::string &checkResult) {
|
||||
checkResult_ = checkResult;
|
||||
setBodyParameter(std::string("CheckResult"), checkResult);
|
||||
}
|
||||
|
||||
std::string CallbackExtensionRequest::getMessageId() const {
|
||||
return messageId_;
|
||||
}
|
||||
|
||||
void CallbackExtensionRequest::setMessageId(const std::string &messageId) {
|
||||
messageId_ = messageId;
|
||||
setBodyParameter(std::string("MessageId"), messageId);
|
||||
}
|
||||
|
||||
std::string CallbackExtensionRequest::getCheckMessage() const {
|
||||
return checkMessage_;
|
||||
}
|
||||
|
||||
void CallbackExtensionRequest::setCheckMessage(const std::string &checkMessage) {
|
||||
checkMessage_ = checkMessage;
|
||||
setBodyParameter(std::string("CheckMessage"), checkMessage);
|
||||
}
|
||||
|
||||
std::string CallbackExtensionRequest::getExtensionCode() const {
|
||||
return extensionCode_;
|
||||
}
|
||||
|
||||
void CallbackExtensionRequest::setExtensionCode(const std::string &extensionCode) {
|
||||
extensionCode_ = extensionCode;
|
||||
setBodyParameter(std::string("ExtensionCode"), extensionCode);
|
||||
}
|
||||
|
||||
51
dataworks-public/src/model/CallbackExtensionResult.cc
Normal file
51
dataworks-public/src/model/CallbackExtensionResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CallbackExtensionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CallbackExtensionResult::CallbackExtensionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CallbackExtensionResult::CallbackExtensionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CallbackExtensionResult::~CallbackExtensionResult()
|
||||
{}
|
||||
|
||||
void CallbackExtensionResult::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();
|
||||
|
||||
}
|
||||
|
||||
std::string CallbackExtensionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
81
dataworks-public/src/model/CreateDIAlarmRuleRequest.cc
Normal file
81
dataworks-public/src/model/CreateDIAlarmRuleRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateDIAlarmRuleRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::CreateDIAlarmRuleRequest;
|
||||
|
||||
CreateDIAlarmRuleRequest::CreateDIAlarmRuleRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDIAlarmRule") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDIAlarmRuleRequest::~CreateDIAlarmRuleRequest() {}
|
||||
|
||||
std::string CreateDIAlarmRuleRequest::getMetricType() const {
|
||||
return metricType_;
|
||||
}
|
||||
|
||||
void CreateDIAlarmRuleRequest::setMetricType(const std::string &metricType) {
|
||||
metricType_ = metricType;
|
||||
setBodyParameter(std::string("MetricType"), metricType);
|
||||
}
|
||||
|
||||
std::string CreateDIAlarmRuleRequest::getTriggerConditions() const {
|
||||
return triggerConditions_;
|
||||
}
|
||||
|
||||
void CreateDIAlarmRuleRequest::setTriggerConditions(const std::string &triggerConditions) {
|
||||
triggerConditions_ = triggerConditions;
|
||||
setBodyParameter(std::string("TriggerConditions"), triggerConditions);
|
||||
}
|
||||
|
||||
std::string CreateDIAlarmRuleRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateDIAlarmRuleRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setBodyParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string CreateDIAlarmRuleRequest::getNotificationSettings() const {
|
||||
return notificationSettings_;
|
||||
}
|
||||
|
||||
void CreateDIAlarmRuleRequest::setNotificationSettings(const std::string ¬ificationSettings) {
|
||||
notificationSettings_ = notificationSettings;
|
||||
setBodyParameter(std::string("NotificationSettings"), notificationSettings);
|
||||
}
|
||||
|
||||
bool CreateDIAlarmRuleRequest::getEnabled() const {
|
||||
return enabled_;
|
||||
}
|
||||
|
||||
void CreateDIAlarmRuleRequest::setEnabled(bool enabled) {
|
||||
enabled_ = enabled;
|
||||
setBodyParameter(std::string("Enabled"), enabled ? "true" : "false");
|
||||
}
|
||||
|
||||
long CreateDIAlarmRuleRequest::getDIJobId() const {
|
||||
return dIJobId_;
|
||||
}
|
||||
|
||||
void CreateDIAlarmRuleRequest::setDIJobId(long dIJobId) {
|
||||
dIJobId_ = dIJobId;
|
||||
setBodyParameter(std::string("DIJobId"), std::to_string(dIJobId));
|
||||
}
|
||||
|
||||
51
dataworks-public/src/model/CreateDIAlarmRuleResult.cc
Normal file
51
dataworks-public/src/model/CreateDIAlarmRuleResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateDIAlarmRuleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateDIAlarmRuleResult::CreateDIAlarmRuleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDIAlarmRuleResult::CreateDIAlarmRuleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDIAlarmRuleResult::~CreateDIAlarmRuleResult()
|
||||
{}
|
||||
|
||||
void CreateDIAlarmRuleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DIAlarmRuleId"].isNull())
|
||||
dIAlarmRuleId_ = std::stol(value["DIAlarmRuleId"].asString());
|
||||
|
||||
}
|
||||
|
||||
long CreateDIAlarmRuleResult::getDIAlarmRuleId()const
|
||||
{
|
||||
return dIAlarmRuleId_;
|
||||
}
|
||||
|
||||
144
dataworks-public/src/model/CreateDIJobRequest.cc
Normal file
144
dataworks-public/src/model/CreateDIJobRequest.cc
Normal file
@@ -0,0 +1,144 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateDIJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::CreateDIJobRequest;
|
||||
|
||||
CreateDIJobRequest::CreateDIJobRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDIJob") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDIJobRequest::~CreateDIJobRequest() {}
|
||||
|
||||
std::string CreateDIJobRequest::getSourceDataSourceType() const {
|
||||
return sourceDataSourceType_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setSourceDataSourceType(const std::string &sourceDataSourceType) {
|
||||
sourceDataSourceType_ = sourceDataSourceType;
|
||||
setBodyParameter(std::string("SourceDataSourceType"), sourceDataSourceType);
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setBodyParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getTransformationRules() const {
|
||||
return transformationRules_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setTransformationRules(const std::string &transformationRules) {
|
||||
transformationRules_ = transformationRules;
|
||||
setBodyParameter(std::string("TransformationRules"), transformationRules);
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getDestinationDataSourceType() const {
|
||||
return destinationDataSourceType_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setDestinationDataSourceType(const std::string &destinationDataSourceType) {
|
||||
destinationDataSourceType_ = destinationDataSourceType;
|
||||
setBodyParameter(std::string("DestinationDataSourceType"), destinationDataSourceType);
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getDestinationDataSourceSettings() const {
|
||||
return destinationDataSourceSettings_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setDestinationDataSourceSettings(const std::string &destinationDataSourceSettings) {
|
||||
destinationDataSourceSettings_ = destinationDataSourceSettings;
|
||||
setBodyParameter(std::string("DestinationDataSourceSettings"), destinationDataSourceSettings);
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getSourceDataSourceSettings() const {
|
||||
return sourceDataSourceSettings_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setSourceDataSourceSettings(const std::string &sourceDataSourceSettings) {
|
||||
sourceDataSourceSettings_ = sourceDataSourceSettings;
|
||||
setBodyParameter(std::string("SourceDataSourceSettings"), sourceDataSourceSettings);
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getResourceSettings() const {
|
||||
return resourceSettings_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setResourceSettings(const std::string &resourceSettings) {
|
||||
resourceSettings_ = resourceSettings;
|
||||
setBodyParameter(std::string("ResourceSettings"), resourceSettings);
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getMigrationType() const {
|
||||
return migrationType_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setMigrationType(const std::string &migrationType) {
|
||||
migrationType_ = migrationType;
|
||||
setBodyParameter(std::string("MigrationType"), migrationType);
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getSystemDebug() const {
|
||||
return systemDebug_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setSystemDebug(const std::string &systemDebug) {
|
||||
systemDebug_ = systemDebug;
|
||||
setParameter(std::string("SystemDebug"), systemDebug);
|
||||
}
|
||||
|
||||
long CreateDIJobRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getJobName() const {
|
||||
return jobName_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setJobName(const std::string &jobName) {
|
||||
jobName_ = jobName;
|
||||
setBodyParameter(std::string("JobName"), jobName);
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getTableMappings() const {
|
||||
return tableMappings_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setTableMappings(const std::string &tableMappings) {
|
||||
tableMappings_ = tableMappings;
|
||||
setBodyParameter(std::string("TableMappings"), tableMappings);
|
||||
}
|
||||
|
||||
std::string CreateDIJobRequest::getJobSettings() const {
|
||||
return jobSettings_;
|
||||
}
|
||||
|
||||
void CreateDIJobRequest::setJobSettings(const std::string &jobSettings) {
|
||||
jobSettings_ = jobSettings;
|
||||
setBodyParameter(std::string("JobSettings"), jobSettings);
|
||||
}
|
||||
|
||||
51
dataworks-public/src/model/CreateDIJobResult.cc
Normal file
51
dataworks-public/src/model/CreateDIJobResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateDIJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateDIJobResult::CreateDIJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDIJobResult::CreateDIJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDIJobResult::~CreateDIJobResult()
|
||||
{}
|
||||
|
||||
void CreateDIJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DIJobId"].isNull())
|
||||
dIJobId_ = std::stol(value["DIJobId"].asString());
|
||||
|
||||
}
|
||||
|
||||
long CreateDIJobResult::getDIJobId()const
|
||||
{
|
||||
return dIJobId_;
|
||||
}
|
||||
|
||||
36
dataworks-public/src/model/DeleteDIAlarmRuleRequest.cc
Normal file
36
dataworks-public/src/model/DeleteDIAlarmRuleRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteDIAlarmRuleRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::DeleteDIAlarmRuleRequest;
|
||||
|
||||
DeleteDIAlarmRuleRequest::DeleteDIAlarmRuleRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDIAlarmRule") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDIAlarmRuleRequest::~DeleteDIAlarmRuleRequest() {}
|
||||
|
||||
long DeleteDIAlarmRuleRequest::getDIAlarmRuleId() const {
|
||||
return dIAlarmRuleId_;
|
||||
}
|
||||
|
||||
void DeleteDIAlarmRuleRequest::setDIAlarmRuleId(long dIAlarmRuleId) {
|
||||
dIAlarmRuleId_ = dIAlarmRuleId;
|
||||
setBodyParameter(std::string("DIAlarmRuleId"), std::to_string(dIAlarmRuleId));
|
||||
}
|
||||
|
||||
44
dataworks-public/src/model/DeleteDIAlarmRuleResult.cc
Normal file
44
dataworks-public/src/model/DeleteDIAlarmRuleResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteDIAlarmRuleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteDIAlarmRuleResult::DeleteDIAlarmRuleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDIAlarmRuleResult::DeleteDIAlarmRuleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDIAlarmRuleResult::~DeleteDIAlarmRuleResult()
|
||||
{}
|
||||
|
||||
void DeleteDIAlarmRuleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
36
dataworks-public/src/model/DeleteDIJobRequest.cc
Normal file
36
dataworks-public/src/model/DeleteDIJobRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteDIJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::DeleteDIJobRequest;
|
||||
|
||||
DeleteDIJobRequest::DeleteDIJobRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDIJob") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDIJobRequest::~DeleteDIJobRequest() {}
|
||||
|
||||
long DeleteDIJobRequest::getDIJobId() const {
|
||||
return dIJobId_;
|
||||
}
|
||||
|
||||
void DeleteDIJobRequest::setDIJobId(long dIJobId) {
|
||||
dIJobId_ = dIJobId;
|
||||
setBodyParameter(std::string("DIJobId"), std::to_string(dIJobId));
|
||||
}
|
||||
|
||||
44
dataworks-public/src/model/DeleteDIJobResult.cc
Normal file
44
dataworks-public/src/model/DeleteDIJobResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteDIJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteDIJobResult::DeleteDIJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDIJobResult::DeleteDIJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDIJobResult::~DeleteDIJobResult()
|
||||
{}
|
||||
|
||||
void DeleteDIJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
36
dataworks-public/src/model/GetDIAlarmRuleRequest.cc
Normal file
36
dataworks-public/src/model/GetDIAlarmRuleRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetDIAlarmRuleRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::GetDIAlarmRuleRequest;
|
||||
|
||||
GetDIAlarmRuleRequest::GetDIAlarmRuleRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDIAlarmRule") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDIAlarmRuleRequest::~GetDIAlarmRuleRequest() {}
|
||||
|
||||
long GetDIAlarmRuleRequest::getDIAlarmRuleId() const {
|
||||
return dIAlarmRuleId_;
|
||||
}
|
||||
|
||||
void GetDIAlarmRuleRequest::setDIAlarmRuleId(long dIAlarmRuleId) {
|
||||
dIAlarmRuleId_ = dIAlarmRuleId;
|
||||
setBodyParameter(std::string("DIAlarmRuleId"), std::to_string(dIAlarmRuleId));
|
||||
}
|
||||
|
||||
105
dataworks-public/src/model/GetDIAlarmRuleResult.cc
Normal file
105
dataworks-public/src/model/GetDIAlarmRuleResult.cc
Normal file
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetDIAlarmRuleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
GetDIAlarmRuleResult::GetDIAlarmRuleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDIAlarmRuleResult::GetDIAlarmRuleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDIAlarmRuleResult::~GetDIAlarmRuleResult()
|
||||
{}
|
||||
|
||||
void GetDIAlarmRuleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dIAlarmRuleNode = value["DIAlarmRule"];
|
||||
if(!dIAlarmRuleNode["DIAlarmRuleId"].isNull())
|
||||
dIAlarmRule_.dIAlarmRuleId = std::stol(dIAlarmRuleNode["DIAlarmRuleId"].asString());
|
||||
if(!dIAlarmRuleNode["DIJobId"].isNull())
|
||||
dIAlarmRule_.dIJobId = std::stol(dIAlarmRuleNode["DIJobId"].asString());
|
||||
if(!dIAlarmRuleNode["Description"].isNull())
|
||||
dIAlarmRule_.description = dIAlarmRuleNode["Description"].asString();
|
||||
if(!dIAlarmRuleNode["MetricType"].isNull())
|
||||
dIAlarmRule_.metricType = dIAlarmRuleNode["MetricType"].asString();
|
||||
if(!dIAlarmRuleNode["Enabled"].isNull())
|
||||
dIAlarmRule_.enabled = dIAlarmRuleNode["Enabled"].asString() == "true";
|
||||
if(!dIAlarmRuleNode["CreatedUid"].isNull())
|
||||
dIAlarmRule_.createdUid = dIAlarmRuleNode["CreatedUid"].asString();
|
||||
if(!dIAlarmRuleNode["CreatedTime"].isNull())
|
||||
dIAlarmRule_.createdTime = std::stol(dIAlarmRuleNode["CreatedTime"].asString());
|
||||
if(!dIAlarmRuleNode["UpdatedUid"].isNull())
|
||||
dIAlarmRule_.updatedUid = dIAlarmRuleNode["UpdatedUid"].asString();
|
||||
if(!dIAlarmRuleNode["UpdatedTime"].isNull())
|
||||
dIAlarmRule_.updatedTime = std::stol(dIAlarmRuleNode["UpdatedTime"].asString());
|
||||
auto allTriggerConditionsNode = dIAlarmRuleNode["TriggerConditions"]["TriggerCondition"];
|
||||
for (auto dIAlarmRuleNodeTriggerConditionsTriggerCondition : allTriggerConditionsNode)
|
||||
{
|
||||
DIAlarmRule::TriggerCondition triggerConditionObject;
|
||||
if(!dIAlarmRuleNodeTriggerConditionsTriggerCondition["Severity"].isNull())
|
||||
triggerConditionObject.severity = dIAlarmRuleNodeTriggerConditionsTriggerCondition["Severity"].asString();
|
||||
if(!dIAlarmRuleNodeTriggerConditionsTriggerCondition["Duration"].isNull())
|
||||
triggerConditionObject.duration = std::stol(dIAlarmRuleNodeTriggerConditionsTriggerCondition["Duration"].asString());
|
||||
if(!dIAlarmRuleNodeTriggerConditionsTriggerCondition["Threshold"].isNull())
|
||||
triggerConditionObject.threshold = std::stol(dIAlarmRuleNodeTriggerConditionsTriggerCondition["Threshold"].asString());
|
||||
dIAlarmRule_.triggerConditions.push_back(triggerConditionObject);
|
||||
}
|
||||
auto notificationSettingsNode = dIAlarmRuleNode["NotificationSettings"];
|
||||
if(!notificationSettingsNode["InhibitionInterval"].isNull())
|
||||
dIAlarmRule_.notificationSettings.inhibitionInterval = std::stoi(notificationSettingsNode["InhibitionInterval"].asString());
|
||||
auto allNotificationChannelsNode = notificationSettingsNode["NotificationChannels"]["NotificationChannel"];
|
||||
for (auto notificationSettingsNodeNotificationChannelsNotificationChannel : allNotificationChannelsNode)
|
||||
{
|
||||
DIAlarmRule::NotificationSettings::NotificationChannel notificationChannelObject;
|
||||
if(!notificationSettingsNodeNotificationChannelsNotificationChannel["Severity"].isNull())
|
||||
notificationChannelObject.severity = notificationSettingsNodeNotificationChannelsNotificationChannel["Severity"].asString();
|
||||
auto allChannels = value["Channels"]["Channel"];
|
||||
for (auto value : allChannels)
|
||||
notificationChannelObject.channels.push_back(value.asString());
|
||||
dIAlarmRule_.notificationSettings.notificationChannels.push_back(notificationChannelObject);
|
||||
}
|
||||
auto allNotificationReceiversNode = notificationSettingsNode["NotificationReceivers"]["NotificationReceiver"];
|
||||
for (auto notificationSettingsNodeNotificationReceiversNotificationReceiver : allNotificationReceiversNode)
|
||||
{
|
||||
DIAlarmRule::NotificationSettings::NotificationReceiver notificationReceiverObject;
|
||||
if(!notificationSettingsNodeNotificationReceiversNotificationReceiver["ReceiverType"].isNull())
|
||||
notificationReceiverObject.receiverType = notificationSettingsNodeNotificationReceiversNotificationReceiver["ReceiverType"].asString();
|
||||
auto allReceiverValues = value["ReceiverValues"]["ReceiverValue"];
|
||||
for (auto value : allReceiverValues)
|
||||
notificationReceiverObject.receiverValues.push_back(value.asString());
|
||||
dIAlarmRule_.notificationSettings.notificationReceivers.push_back(notificationReceiverObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
GetDIAlarmRuleResult::DIAlarmRule GetDIAlarmRuleResult::getDIAlarmRule()const
|
||||
{
|
||||
return dIAlarmRule_;
|
||||
}
|
||||
|
||||
45
dataworks-public/src/model/GetDIJobRequest.cc
Normal file
45
dataworks-public/src/model/GetDIJobRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetDIJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::GetDIJobRequest;
|
||||
|
||||
GetDIJobRequest::GetDIJobRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDIJob") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDIJobRequest::~GetDIJobRequest() {}
|
||||
|
||||
long GetDIJobRequest::getDIJobId() const {
|
||||
return dIJobId_;
|
||||
}
|
||||
|
||||
void GetDIJobRequest::setDIJobId(long dIJobId) {
|
||||
dIJobId_ = dIJobId;
|
||||
setBodyParameter(std::string("DIJobId"), std::to_string(dIJobId));
|
||||
}
|
||||
|
||||
bool GetDIJobRequest::getWithDetails() const {
|
||||
return withDetails_;
|
||||
}
|
||||
|
||||
void GetDIJobRequest::setWithDetails(bool withDetails) {
|
||||
withDetails_ = withDetails;
|
||||
setBodyParameter(std::string("WithDetails"), withDetails ? "true" : "false");
|
||||
}
|
||||
|
||||
182
dataworks-public/src/model/GetDIJobResult.cc
Normal file
182
dataworks-public/src/model/GetDIJobResult.cc
Normal file
@@ -0,0 +1,182 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetDIJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
GetDIJobResult::GetDIJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDIJobResult::GetDIJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDIJobResult::~GetDIJobResult()
|
||||
{}
|
||||
|
||||
void GetDIJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["ProjectId"].isNull())
|
||||
data_.projectId = std::stol(dataNode["ProjectId"].asString());
|
||||
if(!dataNode["DIJobId"].isNull())
|
||||
data_.dIJobId = std::stol(dataNode["DIJobId"].asString());
|
||||
if(!dataNode["JobName"].isNull())
|
||||
data_.jobName = dataNode["JobName"].asString();
|
||||
if(!dataNode["Description"].isNull())
|
||||
data_.description = dataNode["Description"].asString();
|
||||
if(!dataNode["MigrationType"].isNull())
|
||||
data_.migrationType = dataNode["MigrationType"].asString();
|
||||
if(!dataNode["SourceDataSourceType"].isNull())
|
||||
data_.sourceDataSourceType = dataNode["SourceDataSourceType"].asString();
|
||||
if(!dataNode["DestinationDataSourceType"].isNull())
|
||||
data_.destinationDataSourceType = dataNode["DestinationDataSourceType"].asString();
|
||||
if(!dataNode["CreatedTime"].isNull())
|
||||
data_.createdTime = std::stol(dataNode["CreatedTime"].asString());
|
||||
if(!dataNode["CreatedUid"].isNull())
|
||||
data_.createdUid = dataNode["CreatedUid"].asString();
|
||||
if(!dataNode["UpdatedTime"].isNull())
|
||||
data_.updatedTime = std::stol(dataNode["UpdatedTime"].asString());
|
||||
if(!dataNode["UpdatedUid"].isNull())
|
||||
data_.updatedUid = dataNode["UpdatedUid"].asString();
|
||||
if(!dataNode["StartedTime"].isNull())
|
||||
data_.startedTime = std::stol(dataNode["StartedTime"].asString());
|
||||
if(!dataNode["StartedUid"].isNull())
|
||||
data_.startedUid = dataNode["StartedUid"].asString();
|
||||
if(!dataNode["JobStatus"].isNull())
|
||||
data_.jobStatus = dataNode["JobStatus"].asString();
|
||||
if(!dataNode["ErrorMessage"].isNull())
|
||||
data_.errorMessage = dataNode["ErrorMessage"].asString();
|
||||
if(!dataNode["RunStats"].isNull())
|
||||
data_.runStats = dataNode["RunStats"].asString();
|
||||
auto allSourceDataSourceSettingsNode = dataNode["SourceDataSourceSettings"]["SourceDataSourceSetting"];
|
||||
for (auto dataNodeSourceDataSourceSettingsSourceDataSourceSetting : allSourceDataSourceSettingsNode)
|
||||
{
|
||||
Data::SourceDataSourceSetting sourceDataSourceSettingObject;
|
||||
if(!dataNodeSourceDataSourceSettingsSourceDataSourceSetting["DataSourceName"].isNull())
|
||||
sourceDataSourceSettingObject.dataSourceName = dataNodeSourceDataSourceSettingsSourceDataSourceSetting["DataSourceName"].asString();
|
||||
if(!dataNodeSourceDataSourceSettingsSourceDataSourceSetting["DataSourceProperties"].isNull())
|
||||
sourceDataSourceSettingObject.dataSourceProperties = dataNodeSourceDataSourceSettingsSourceDataSourceSetting["DataSourceProperties"].asString();
|
||||
data_.sourceDataSourceSettings.push_back(sourceDataSourceSettingObject);
|
||||
}
|
||||
auto allDestinationDataSourceSettingsNode = dataNode["DestinationDataSourceSettings"]["DestinationDataSourceSetting"];
|
||||
for (auto dataNodeDestinationDataSourceSettingsDestinationDataSourceSetting : allDestinationDataSourceSettingsNode)
|
||||
{
|
||||
Data::DestinationDataSourceSetting destinationDataSourceSettingObject;
|
||||
if(!dataNodeDestinationDataSourceSettingsDestinationDataSourceSetting["DataSourceName"].isNull())
|
||||
destinationDataSourceSettingObject.dataSourceName = dataNodeDestinationDataSourceSettingsDestinationDataSourceSetting["DataSourceName"].asString();
|
||||
if(!dataNodeDestinationDataSourceSettingsDestinationDataSourceSetting["DataSourceProperties"].isNull())
|
||||
destinationDataSourceSettingObject.dataSourceProperties = dataNodeDestinationDataSourceSettingsDestinationDataSourceSetting["DataSourceProperties"].asString();
|
||||
data_.destinationDataSourceSettings.push_back(destinationDataSourceSettingObject);
|
||||
}
|
||||
auto allTransformationRulesNode = dataNode["TransformationRules"]["TransformationRule"];
|
||||
for (auto dataNodeTransformationRulesTransformationRule : allTransformationRulesNode)
|
||||
{
|
||||
Data::TransformationRule transformationRuleObject;
|
||||
if(!dataNodeTransformationRulesTransformationRule["RuleActionType"].isNull())
|
||||
transformationRuleObject.ruleActionType = dataNodeTransformationRulesTransformationRule["RuleActionType"].asString();
|
||||
if(!dataNodeTransformationRulesTransformationRule["RuleExpression"].isNull())
|
||||
transformationRuleObject.ruleExpression = dataNodeTransformationRulesTransformationRule["RuleExpression"].asString();
|
||||
if(!dataNodeTransformationRulesTransformationRule["RuleName"].isNull())
|
||||
transformationRuleObject.ruleName = dataNodeTransformationRulesTransformationRule["RuleName"].asString();
|
||||
if(!dataNodeTransformationRulesTransformationRule["RuleTargetType"].isNull())
|
||||
transformationRuleObject.ruleTargetType = dataNodeTransformationRulesTransformationRule["RuleTargetType"].asString();
|
||||
data_.transformationRules.push_back(transformationRuleObject);
|
||||
}
|
||||
auto allTableMappingsNode = dataNode["TableMappings"]["TableMapping"];
|
||||
for (auto dataNodeTableMappingsTableMapping : allTableMappingsNode)
|
||||
{
|
||||
Data::TableMapping tableMappingObject;
|
||||
auto allSourceObjectSelectionRulesNode = dataNodeTableMappingsTableMapping["SourceObjectSelectionRules"]["SourceObjectSelectionRule"];
|
||||
for (auto dataNodeTableMappingsTableMappingSourceObjectSelectionRulesSourceObjectSelectionRule : allSourceObjectSelectionRulesNode)
|
||||
{
|
||||
Data::TableMapping::SourceObjectSelectionRule sourceObjectSelectionRulesObject;
|
||||
if(!dataNodeTableMappingsTableMappingSourceObjectSelectionRulesSourceObjectSelectionRule["Expression"].isNull())
|
||||
sourceObjectSelectionRulesObject.expression = dataNodeTableMappingsTableMappingSourceObjectSelectionRulesSourceObjectSelectionRule["Expression"].asString();
|
||||
if(!dataNodeTableMappingsTableMappingSourceObjectSelectionRulesSourceObjectSelectionRule["ObjectType"].isNull())
|
||||
sourceObjectSelectionRulesObject.objectType = dataNodeTableMappingsTableMappingSourceObjectSelectionRulesSourceObjectSelectionRule["ObjectType"].asString();
|
||||
tableMappingObject.sourceObjectSelectionRules.push_back(sourceObjectSelectionRulesObject);
|
||||
}
|
||||
auto allTransformationRules1Node = dataNodeTableMappingsTableMapping["TransformationRules"]["TransformationRule"];
|
||||
for (auto dataNodeTableMappingsTableMappingTransformationRulesTransformationRule : allTransformationRules1Node)
|
||||
{
|
||||
Data::TableMapping::TransformationRule2 transformationRules1Object;
|
||||
if(!dataNodeTableMappingsTableMappingTransformationRulesTransformationRule["RuleActionType"].isNull())
|
||||
transformationRules1Object.ruleActionType = dataNodeTableMappingsTableMappingTransformationRulesTransformationRule["RuleActionType"].asString();
|
||||
if(!dataNodeTableMappingsTableMappingTransformationRulesTransformationRule["RuleName"].isNull())
|
||||
transformationRules1Object.ruleName = dataNodeTableMappingsTableMappingTransformationRulesTransformationRule["RuleName"].asString();
|
||||
if(!dataNodeTableMappingsTableMappingTransformationRulesTransformationRule["RuleTargetType"].isNull())
|
||||
transformationRules1Object.ruleTargetType = dataNodeTableMappingsTableMappingTransformationRulesTransformationRule["RuleTargetType"].asString();
|
||||
tableMappingObject.transformationRules1.push_back(transformationRules1Object);
|
||||
}
|
||||
data_.tableMappings.push_back(tableMappingObject);
|
||||
}
|
||||
auto resourceSettingsNode = dataNode["ResourceSettings"];
|
||||
auto offlineResourceSettingsNode = resourceSettingsNode["OfflineResourceSettings"];
|
||||
if(!offlineResourceSettingsNode["ResourceGroupIdentifier"].isNull())
|
||||
data_.resourceSettings.offlineResourceSettings.resourceGroupIdentifier = offlineResourceSettingsNode["ResourceGroupIdentifier"].asString();
|
||||
auto realtimeResourceSettingsNode = resourceSettingsNode["RealtimeResourceSettings"];
|
||||
if(!realtimeResourceSettingsNode["ResourceGroupIdentifier"].isNull())
|
||||
data_.resourceSettings.realtimeResourceSettings.resourceGroupIdentifier = realtimeResourceSettingsNode["ResourceGroupIdentifier"].asString();
|
||||
auto jobSettingsNode = dataNode["JobSettings"];
|
||||
auto allColumnDataTypeSettingsNode = jobSettingsNode["ColumnDataTypeSettings"]["ColumnDataTypeSetting"];
|
||||
for (auto jobSettingsNodeColumnDataTypeSettingsColumnDataTypeSetting : allColumnDataTypeSettingsNode)
|
||||
{
|
||||
Data::JobSettings::ColumnDataTypeSetting columnDataTypeSettingObject;
|
||||
if(!jobSettingsNodeColumnDataTypeSettingsColumnDataTypeSetting["SourceDataType"].isNull())
|
||||
columnDataTypeSettingObject.sourceDataType = jobSettingsNodeColumnDataTypeSettingsColumnDataTypeSetting["SourceDataType"].asString();
|
||||
if(!jobSettingsNodeColumnDataTypeSettingsColumnDataTypeSetting["DestinationDataType"].isNull())
|
||||
columnDataTypeSettingObject.destinationDataType = jobSettingsNodeColumnDataTypeSettingsColumnDataTypeSetting["DestinationDataType"].asString();
|
||||
data_.jobSettings.columnDataTypeSettings.push_back(columnDataTypeSettingObject);
|
||||
}
|
||||
auto allDdlHandlingSettingsNode = jobSettingsNode["DdlHandlingSettings"]["DdlHandlingSetting"];
|
||||
for (auto jobSettingsNodeDdlHandlingSettingsDdlHandlingSetting : allDdlHandlingSettingsNode)
|
||||
{
|
||||
Data::JobSettings::DdlHandlingSetting ddlHandlingSettingObject;
|
||||
if(!jobSettingsNodeDdlHandlingSettingsDdlHandlingSetting["Action"].isNull())
|
||||
ddlHandlingSettingObject.action = jobSettingsNodeDdlHandlingSettingsDdlHandlingSetting["Action"].asString();
|
||||
if(!jobSettingsNodeDdlHandlingSettingsDdlHandlingSetting["Type"].isNull())
|
||||
ddlHandlingSettingObject.type = jobSettingsNodeDdlHandlingSettingsDdlHandlingSetting["Type"].asString();
|
||||
data_.jobSettings.ddlHandlingSettings.push_back(ddlHandlingSettingObject);
|
||||
}
|
||||
auto allRuntimeSettingsNode = jobSettingsNode["RuntimeSettings"]["RuntimeSetting"];
|
||||
for (auto jobSettingsNodeRuntimeSettingsRuntimeSetting : allRuntimeSettingsNode)
|
||||
{
|
||||
Data::JobSettings::RuntimeSetting runtimeSettingObject;
|
||||
if(!jobSettingsNodeRuntimeSettingsRuntimeSetting["Name"].isNull())
|
||||
runtimeSettingObject.name = jobSettingsNodeRuntimeSettingsRuntimeSetting["Name"].asString();
|
||||
if(!jobSettingsNodeRuntimeSettingsRuntimeSetting["Value"].isNull())
|
||||
runtimeSettingObject.value = jobSettingsNodeRuntimeSettingsRuntimeSetting["Value"].asString();
|
||||
data_.jobSettings.runtimeSettings.push_back(runtimeSettingObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
GetDIJobResult::Data GetDIJobResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -85,6 +85,8 @@ void GetFileResult::parse(const std::string &payload)
|
||||
data_.file.nodeId = std::stol(fileNode["NodeId"].asString());
|
||||
if(!fileNode["AdvancedSettings"].isNull())
|
||||
data_.file.advancedSettings = fileNode["AdvancedSettings"].asString();
|
||||
if(!fileNode["FileId"].isNull())
|
||||
data_.file.fileId = std::stol(fileNode["FileId"].asString());
|
||||
auto nodeConfigurationNode = dataNode["NodeConfiguration"];
|
||||
if(!nodeConfigurationNode["RerunMode"].isNull())
|
||||
data_.nodeConfiguration.rerunMode = nodeConfigurationNode["RerunMode"].asString();
|
||||
|
||||
@@ -25,6 +25,15 @@ GetProjectRequest::GetProjectRequest()
|
||||
|
||||
GetProjectRequest::~GetProjectRequest() {}
|
||||
|
||||
std::string GetProjectRequest::getProjectIdentifier() const {
|
||||
return projectIdentifier_;
|
||||
}
|
||||
|
||||
void GetProjectRequest::setProjectIdentifier(const std::string &projectIdentifier) {
|
||||
projectIdentifier_ = projectIdentifier;
|
||||
setParameter(std::string("ProjectIdentifier"), projectIdentifier);
|
||||
}
|
||||
|
||||
long GetProjectRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
54
dataworks-public/src/model/ListDIAlarmRulesRequest.cc
Normal file
54
dataworks-public/src/model/ListDIAlarmRulesRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListDIAlarmRulesRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListDIAlarmRulesRequest;
|
||||
|
||||
ListDIAlarmRulesRequest::ListDIAlarmRulesRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListDIAlarmRules") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDIAlarmRulesRequest::~ListDIAlarmRulesRequest() {}
|
||||
|
||||
long ListDIAlarmRulesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListDIAlarmRulesRequest::setPageNumber(long pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long ListDIAlarmRulesRequest::getDIJobId() const {
|
||||
return dIJobId_;
|
||||
}
|
||||
|
||||
void ListDIAlarmRulesRequest::setDIJobId(long dIJobId) {
|
||||
dIJobId_ = dIJobId;
|
||||
setBodyParameter(std::string("DIJobId"), std::to_string(dIJobId));
|
||||
}
|
||||
|
||||
long ListDIAlarmRulesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListDIAlarmRulesRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
109
dataworks-public/src/model/ListDIAlarmRulesResult.cc
Normal file
109
dataworks-public/src/model/ListDIAlarmRulesResult.cc
Normal file
@@ -0,0 +1,109 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListDIAlarmRulesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListDIAlarmRulesResult::ListDIAlarmRulesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDIAlarmRulesResult::ListDIAlarmRulesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDIAlarmRulesResult::~ListDIAlarmRulesResult()
|
||||
{}
|
||||
|
||||
void ListDIAlarmRulesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dIAlarmRulePagingNode = value["DIAlarmRulePaging"];
|
||||
if(!dIAlarmRulePagingNode["TotalCount"].isNull())
|
||||
dIAlarmRulePaging_.totalCount = std::stol(dIAlarmRulePagingNode["TotalCount"].asString());
|
||||
if(!dIAlarmRulePagingNode["PageNumber"].isNull())
|
||||
dIAlarmRulePaging_.pageNumber = std::stol(dIAlarmRulePagingNode["PageNumber"].asString());
|
||||
if(!dIAlarmRulePagingNode["PageSize"].isNull())
|
||||
dIAlarmRulePaging_.pageSize = std::stol(dIAlarmRulePagingNode["PageSize"].asString());
|
||||
auto allDIJobAlarmRulesNode = dIAlarmRulePagingNode["DIJobAlarmRules"]["DIJobAlarmRule"];
|
||||
for (auto dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule : allDIJobAlarmRulesNode)
|
||||
{
|
||||
DIAlarmRulePaging::DIJobAlarmRule dIJobAlarmRuleObject;
|
||||
if(!dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["DIAlarmRuleId"].isNull())
|
||||
dIJobAlarmRuleObject.dIAlarmRuleId = std::stol(dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["DIAlarmRuleId"].asString());
|
||||
if(!dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["DIJobId"].isNull())
|
||||
dIJobAlarmRuleObject.dIJobId = std::stol(dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["DIJobId"].asString());
|
||||
if(!dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["Description"].isNull())
|
||||
dIJobAlarmRuleObject.description = dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["Description"].asString();
|
||||
if(!dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["MetricType"].isNull())
|
||||
dIJobAlarmRuleObject.metricType = dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["MetricType"].asString();
|
||||
if(!dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["Enabled"].isNull())
|
||||
dIJobAlarmRuleObject.enabled = dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["Enabled"].asString() == "true";
|
||||
auto allTriggerConditionsNode = dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRule["TriggerConditions"]["TriggerCondition"];
|
||||
for (auto dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRuleTriggerConditionsTriggerCondition : allTriggerConditionsNode)
|
||||
{
|
||||
DIAlarmRulePaging::DIJobAlarmRule::TriggerCondition triggerConditionsObject;
|
||||
if(!dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRuleTriggerConditionsTriggerCondition["Severity"].isNull())
|
||||
triggerConditionsObject.severity = dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRuleTriggerConditionsTriggerCondition["Severity"].asString();
|
||||
if(!dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRuleTriggerConditionsTriggerCondition["Duration"].isNull())
|
||||
triggerConditionsObject.duration = std::stol(dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRuleTriggerConditionsTriggerCondition["Duration"].asString());
|
||||
if(!dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRuleTriggerConditionsTriggerCondition["Threshold"].isNull())
|
||||
triggerConditionsObject.threshold = std::stol(dIAlarmRulePagingNodeDIJobAlarmRulesDIJobAlarmRuleTriggerConditionsTriggerCondition["Threshold"].asString());
|
||||
dIJobAlarmRuleObject.triggerConditions.push_back(triggerConditionsObject);
|
||||
}
|
||||
auto notificationSettingsNode = value["NotificationSettings"];
|
||||
if(!notificationSettingsNode["InhibitionInterval"].isNull())
|
||||
dIJobAlarmRuleObject.notificationSettings.inhibitionInterval = std::stoi(notificationSettingsNode["InhibitionInterval"].asString());
|
||||
auto allNotificationChannelsNode = notificationSettingsNode["NotificationChannels"]["NotificationChannel"];
|
||||
for (auto notificationSettingsNodeNotificationChannelsNotificationChannel : allNotificationChannelsNode)
|
||||
{
|
||||
DIAlarmRulePaging::DIJobAlarmRule::NotificationSettings::NotificationChannel notificationChannelObject;
|
||||
if(!notificationSettingsNodeNotificationChannelsNotificationChannel["Severity"].isNull())
|
||||
notificationChannelObject.severity = notificationSettingsNodeNotificationChannelsNotificationChannel["Severity"].asString();
|
||||
auto allChannels = value["Channels"]["Channel"];
|
||||
for (auto value : allChannels)
|
||||
notificationChannelObject.channels.push_back(value.asString());
|
||||
dIJobAlarmRuleObject.notificationSettings.notificationChannels.push_back(notificationChannelObject);
|
||||
}
|
||||
auto allNotificationReceiversNode = notificationSettingsNode["NotificationReceivers"]["NotificationReceiver"];
|
||||
for (auto notificationSettingsNodeNotificationReceiversNotificationReceiver : allNotificationReceiversNode)
|
||||
{
|
||||
DIAlarmRulePaging::DIJobAlarmRule::NotificationSettings::NotificationReceiver notificationReceiverObject;
|
||||
if(!notificationSettingsNodeNotificationReceiversNotificationReceiver["ReceiverType"].isNull())
|
||||
notificationReceiverObject.receiverType = notificationSettingsNodeNotificationReceiversNotificationReceiver["ReceiverType"].asString();
|
||||
auto allReceiverValues = value["ReceiverValues"]["ReceiverValue"];
|
||||
for (auto value : allReceiverValues)
|
||||
notificationReceiverObject.receiverValues.push_back(value.asString());
|
||||
dIJobAlarmRuleObject.notificationSettings.notificationReceivers.push_back(notificationReceiverObject);
|
||||
}
|
||||
dIAlarmRulePaging_.dIJobAlarmRules.push_back(dIJobAlarmRuleObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ListDIAlarmRulesResult::DIAlarmRulePaging ListDIAlarmRulesResult::getDIAlarmRulePaging()const
|
||||
{
|
||||
return dIAlarmRulePaging_;
|
||||
}
|
||||
|
||||
81
dataworks-public/src/model/ListDIJobsRequest.cc
Normal file
81
dataworks-public/src/model/ListDIJobsRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListDIJobsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListDIJobsRequest;
|
||||
|
||||
ListDIJobsRequest::ListDIJobsRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListDIJobs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDIJobsRequest::~ListDIJobsRequest() {}
|
||||
|
||||
std::string ListDIJobsRequest::getSourceDataSourceType() const {
|
||||
return sourceDataSourceType_;
|
||||
}
|
||||
|
||||
void ListDIJobsRequest::setSourceDataSourceType(const std::string &sourceDataSourceType) {
|
||||
sourceDataSourceType_ = sourceDataSourceType;
|
||||
setBodyParameter(std::string("SourceDataSourceType"), sourceDataSourceType);
|
||||
}
|
||||
|
||||
int ListDIJobsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListDIJobsRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListDIJobsRequest::getDestinationDataSourceType() const {
|
||||
return destinationDataSourceType_;
|
||||
}
|
||||
|
||||
void ListDIJobsRequest::setDestinationDataSourceType(const std::string &destinationDataSourceType) {
|
||||
destinationDataSourceType_ = destinationDataSourceType;
|
||||
setBodyParameter(std::string("DestinationDataSourceType"), destinationDataSourceType);
|
||||
}
|
||||
|
||||
int ListDIJobsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListDIJobsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long ListDIJobsRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListDIJobsRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string ListDIJobsRequest::getJobName() const {
|
||||
return jobName_;
|
||||
}
|
||||
|
||||
void ListDIJobsRequest::setJobName(const std::string &jobName) {
|
||||
jobName_ = jobName;
|
||||
setBodyParameter(std::string("JobName"), jobName);
|
||||
}
|
||||
|
||||
76
dataworks-public/src/model/ListDIJobsResult.cc
Normal file
76
dataworks-public/src/model/ListDIJobsResult.cc
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListDIJobsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListDIJobsResult::ListDIJobsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDIJobsResult::ListDIJobsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDIJobsResult::~ListDIJobsResult()
|
||||
{}
|
||||
|
||||
void ListDIJobsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dIJobPagingNode = value["DIJobPaging"];
|
||||
if(!dIJobPagingNode["TotalCount"].isNull())
|
||||
dIJobPaging_.totalCount = std::stoi(dIJobPagingNode["TotalCount"].asString());
|
||||
if(!dIJobPagingNode["PageNumber"].isNull())
|
||||
dIJobPaging_.pageNumber = std::stoi(dIJobPagingNode["PageNumber"].asString());
|
||||
if(!dIJobPagingNode["PageSize"].isNull())
|
||||
dIJobPaging_.pageSize = std::stoi(dIJobPagingNode["PageSize"].asString());
|
||||
auto allDIJobsNode = dIJobPagingNode["DIJobs"]["DIJob"];
|
||||
for (auto dIJobPagingNodeDIJobsDIJob : allDIJobsNode)
|
||||
{
|
||||
DIJobPaging::DIJob dIJobObject;
|
||||
if(!dIJobPagingNodeDIJobsDIJob["DIJobId"].isNull())
|
||||
dIJobObject.dIJobId = std::stol(dIJobPagingNodeDIJobsDIJob["DIJobId"].asString());
|
||||
if(!dIJobPagingNodeDIJobsDIJob["ProjectId"].isNull())
|
||||
dIJobObject.projectId = std::stol(dIJobPagingNodeDIJobsDIJob["ProjectId"].asString());
|
||||
if(!dIJobPagingNodeDIJobsDIJob["JobName"].isNull())
|
||||
dIJobObject.jobName = dIJobPagingNodeDIJobsDIJob["JobName"].asString();
|
||||
if(!dIJobPagingNodeDIJobsDIJob["MigrationType"].isNull())
|
||||
dIJobObject.migrationType = dIJobPagingNodeDIJobsDIJob["MigrationType"].asString();
|
||||
if(!dIJobPagingNodeDIJobsDIJob["SourceDataSourceType"].isNull())
|
||||
dIJobObject.sourceDataSourceType = dIJobPagingNodeDIJobsDIJob["SourceDataSourceType"].asString();
|
||||
if(!dIJobPagingNodeDIJobsDIJob["DestinationDataSourceType"].isNull())
|
||||
dIJobObject.destinationDataSourceType = dIJobPagingNodeDIJobsDIJob["DestinationDataSourceType"].asString();
|
||||
if(!dIJobPagingNodeDIJobsDIJob["JobStatus"].isNull())
|
||||
dIJobObject.jobStatus = dIJobPagingNodeDIJobsDIJob["JobStatus"].asString();
|
||||
dIJobPaging_.dIJobs.push_back(dIJobObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ListDIJobsResult::DIJobPaging ListDIJobsResult::getDIJobPaging()const
|
||||
{
|
||||
return dIJobPaging_;
|
||||
}
|
||||
|
||||
66
dataworks-public/src/model/ListEntitiesByTagsRequest.cc
Normal file
66
dataworks-public/src/model/ListEntitiesByTagsRequest.cc
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListEntitiesByTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListEntitiesByTagsRequest;
|
||||
|
||||
ListEntitiesByTagsRequest::ListEntitiesByTagsRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListEntitiesByTags") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListEntitiesByTagsRequest::~ListEntitiesByTagsRequest() {}
|
||||
|
||||
std::string ListEntitiesByTagsRequest::getEntityType() const {
|
||||
return entityType_;
|
||||
}
|
||||
|
||||
void ListEntitiesByTagsRequest::setEntityType(const std::string &entityType) {
|
||||
entityType_ = entityType;
|
||||
setParameter(std::string("EntityType"), entityType);
|
||||
}
|
||||
|
||||
std::string ListEntitiesByTagsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListEntitiesByTagsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
int ListEntitiesByTagsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListEntitiesByTagsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::vector<ListEntitiesByTagsRequest::Tags> ListEntitiesByTagsRequest::getTags() const {
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void ListEntitiesByTagsRequest::setTags(const std::vector<ListEntitiesByTagsRequest::Tags> &tags) {
|
||||
tags_ = tags;
|
||||
for(int dep1 = 0; dep1 != tags.size(); dep1++) {
|
||||
setParameter(std::string("Tags") + "." + std::to_string(dep1 + 1) + ".TagValue", tags[dep1].tagValue);
|
||||
setParameter(std::string("Tags") + "." + std::to_string(dep1 + 1) + ".TagKey", tags[dep1].tagKey);
|
||||
}
|
||||
}
|
||||
|
||||
92
dataworks-public/src/model/ListEntitiesByTagsResult.cc
Normal file
92
dataworks-public/src/model/ListEntitiesByTagsResult.cc
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListEntitiesByTagsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListEntitiesByTagsResult::ListEntitiesByTagsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListEntitiesByTagsResult::ListEntitiesByTagsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListEntitiesByTagsResult::~ListEntitiesByTagsResult()
|
||||
{}
|
||||
|
||||
void ListEntitiesByTagsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["NextToken"].isNull())
|
||||
data_.nextToken = dataNode["NextToken"].asString();
|
||||
auto allEntityListNode = dataNode["EntityList"]["EntityListItem"];
|
||||
for (auto dataNodeEntityListEntityListItem : allEntityListNode)
|
||||
{
|
||||
Data::EntityListItem entityListItemObject;
|
||||
if(!dataNodeEntityListEntityListItem["QualifiedName"].isNull())
|
||||
entityListItemObject.qualifiedName = dataNodeEntityListEntityListItem["QualifiedName"].asString();
|
||||
if(!dataNodeEntityListEntityListItem["TenantId"].isNull())
|
||||
entityListItemObject.tenantId = std::stol(dataNodeEntityListEntityListItem["TenantId"].asString());
|
||||
if(!dataNodeEntityListEntityListItem["EntityContent"].isNull())
|
||||
entityListItemObject.entityContent = dataNodeEntityListEntityListItem["EntityContent"].asString();
|
||||
data_.entityList.push_back(entityListItemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int ListEntitiesByTagsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListEntitiesByTagsResult::Data ListEntitiesByTagsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListEntitiesByTagsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListEntitiesByTagsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListEntitiesByTagsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
36
dataworks-public/src/model/ListEntityTagsRequest.cc
Normal file
36
dataworks-public/src/model/ListEntityTagsRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListEntityTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListEntityTagsRequest;
|
||||
|
||||
ListEntityTagsRequest::ListEntityTagsRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListEntityTags") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListEntityTagsRequest::~ListEntityTagsRequest() {}
|
||||
|
||||
std::string ListEntityTagsRequest::getQualifiedName() const {
|
||||
return qualifiedName_;
|
||||
}
|
||||
|
||||
void ListEntityTagsRequest::setQualifiedName(const std::string &qualifiedName) {
|
||||
qualifiedName_ = qualifiedName;
|
||||
setParameter(std::string("QualifiedName"), qualifiedName);
|
||||
}
|
||||
|
||||
87
dataworks-public/src/model/ListEntityTagsResult.cc
Normal file
87
dataworks-public/src/model/ListEntityTagsResult.cc
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListEntityTagsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListEntityTagsResult::ListEntityTagsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListEntityTagsResult::ListEntityTagsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListEntityTagsResult::~ListEntityTagsResult()
|
||||
{}
|
||||
|
||||
void ListEntityTagsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["dataItem"];
|
||||
for (auto valueDatadataItem : allDataNode)
|
||||
{
|
||||
DataItem dataObject;
|
||||
if(!valueDatadataItem["TagKey"].isNull())
|
||||
dataObject.tagKey = valueDatadataItem["TagKey"].asString();
|
||||
if(!valueDatadataItem["TagValue"].isNull())
|
||||
dataObject.tagValue = valueDatadataItem["TagValue"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int ListEntityTagsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<ListEntityTagsResult::DataItem> ListEntityTagsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListEntityTagsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListEntityTagsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListEntityTagsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
47
dataworks-public/src/model/RemoveEntityTagsRequest.cc
Normal file
47
dataworks-public/src/model/RemoveEntityTagsRequest.cc
Normal file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/RemoveEntityTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::RemoveEntityTagsRequest;
|
||||
|
||||
RemoveEntityTagsRequest::RemoveEntityTagsRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "RemoveEntityTags") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveEntityTagsRequest::~RemoveEntityTagsRequest() {}
|
||||
|
||||
std::string RemoveEntityTagsRequest::getQualifiedName() const {
|
||||
return qualifiedName_;
|
||||
}
|
||||
|
||||
void RemoveEntityTagsRequest::setQualifiedName(const std::string &qualifiedName) {
|
||||
qualifiedName_ = qualifiedName;
|
||||
setParameter(std::string("QualifiedName"), qualifiedName);
|
||||
}
|
||||
|
||||
std::vector<RemoveEntityTagsRequest::std::string> RemoveEntityTagsRequest::getTagKeys() const {
|
||||
return tagKeys_;
|
||||
}
|
||||
|
||||
void RemoveEntityTagsRequest::setTagKeys(const std::vector<RemoveEntityTagsRequest::std::string> &tagKeys) {
|
||||
tagKeys_ = tagKeys;
|
||||
for(int dep1 = 0; dep1 != tagKeys.size(); dep1++) {
|
||||
setBodyParameter(std::string("TagKeys") + "." + std::to_string(dep1 + 1), tagKeys[dep1]);
|
||||
}
|
||||
}
|
||||
|
||||
79
dataworks-public/src/model/RemoveEntityTagsResult.cc
Normal file
79
dataworks-public/src/model/RemoveEntityTagsResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/RemoveEntityTagsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
RemoveEntityTagsResult::RemoveEntityTagsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RemoveEntityTagsResult::RemoveEntityTagsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RemoveEntityTagsResult::~RemoveEntityTagsResult()
|
||||
{}
|
||||
|
||||
void RemoveEntityTagsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int RemoveEntityTagsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool RemoveEntityTagsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string RemoveEntityTagsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string RemoveEntityTagsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool RemoveEntityTagsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
48
dataworks-public/src/model/SetEntityTagsRequest.cc
Normal file
48
dataworks-public/src/model/SetEntityTagsRequest.cc
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/SetEntityTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::SetEntityTagsRequest;
|
||||
|
||||
SetEntityTagsRequest::SetEntityTagsRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "SetEntityTags") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetEntityTagsRequest::~SetEntityTagsRequest() {}
|
||||
|
||||
std::string SetEntityTagsRequest::getQualifiedName() const {
|
||||
return qualifiedName_;
|
||||
}
|
||||
|
||||
void SetEntityTagsRequest::setQualifiedName(const std::string &qualifiedName) {
|
||||
qualifiedName_ = qualifiedName;
|
||||
setParameter(std::string("QualifiedName"), qualifiedName);
|
||||
}
|
||||
|
||||
std::vector<SetEntityTagsRequest::Tags> SetEntityTagsRequest::getTags() const {
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void SetEntityTagsRequest::setTags(const std::vector<SetEntityTagsRequest::Tags> &tags) {
|
||||
tags_ = tags;
|
||||
for(int dep1 = 0; dep1 != tags.size(); dep1++) {
|
||||
setBodyParameter(std::string("Tags") + "." + std::to_string(dep1 + 1) + ".TagValue", tags[dep1].tagValue);
|
||||
setBodyParameter(std::string("Tags") + "." + std::to_string(dep1 + 1) + ".TagKey", tags[dep1].tagKey);
|
||||
}
|
||||
}
|
||||
|
||||
79
dataworks-public/src/model/SetEntityTagsResult.cc
Normal file
79
dataworks-public/src/model/SetEntityTagsResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/SetEntityTagsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
SetEntityTagsResult::SetEntityTagsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SetEntityTagsResult::SetEntityTagsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SetEntityTagsResult::~SetEntityTagsResult()
|
||||
{}
|
||||
|
||||
void SetEntityTagsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int SetEntityTagsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool SetEntityTagsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string SetEntityTagsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string SetEntityTagsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool SetEntityTagsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
54
dataworks-public/src/model/StartDIJobRequest.cc
Normal file
54
dataworks-public/src/model/StartDIJobRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/StartDIJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::StartDIJobRequest;
|
||||
|
||||
StartDIJobRequest::StartDIJobRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "StartDIJob") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StartDIJobRequest::~StartDIJobRequest() {}
|
||||
|
||||
bool StartDIJobRequest::getForceToRerun() const {
|
||||
return forceToRerun_;
|
||||
}
|
||||
|
||||
void StartDIJobRequest::setForceToRerun(bool forceToRerun) {
|
||||
forceToRerun_ = forceToRerun;
|
||||
setBodyParameter(std::string("ForceToRerun"), forceToRerun ? "true" : "false");
|
||||
}
|
||||
|
||||
long StartDIJobRequest::getDIJobId() const {
|
||||
return dIJobId_;
|
||||
}
|
||||
|
||||
void StartDIJobRequest::setDIJobId(long dIJobId) {
|
||||
dIJobId_ = dIJobId;
|
||||
setBodyParameter(std::string("DIJobId"), std::to_string(dIJobId));
|
||||
}
|
||||
|
||||
std::string StartDIJobRequest::getRealtimeStartSettings() const {
|
||||
return realtimeStartSettings_;
|
||||
}
|
||||
|
||||
void StartDIJobRequest::setRealtimeStartSettings(const std::string &realtimeStartSettings) {
|
||||
realtimeStartSettings_ = realtimeStartSettings;
|
||||
setBodyParameter(std::string("RealtimeStartSettings"), realtimeStartSettings);
|
||||
}
|
||||
|
||||
44
dataworks-public/src/model/StartDIJobResult.cc
Normal file
44
dataworks-public/src/model/StartDIJobResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/StartDIJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
StartDIJobResult::StartDIJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StartDIJobResult::StartDIJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StartDIJobResult::~StartDIJobResult()
|
||||
{}
|
||||
|
||||
void StartDIJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
36
dataworks-public/src/model/StopDIJobRequest.cc
Normal file
36
dataworks-public/src/model/StopDIJobRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/StopDIJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::StopDIJobRequest;
|
||||
|
||||
StopDIJobRequest::StopDIJobRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "StopDIJob") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StopDIJobRequest::~StopDIJobRequest() {}
|
||||
|
||||
long StopDIJobRequest::getDIJobId() const {
|
||||
return dIJobId_;
|
||||
}
|
||||
|
||||
void StopDIJobRequest::setDIJobId(long dIJobId) {
|
||||
dIJobId_ = dIJobId;
|
||||
setBodyParameter(std::string("DIJobId"), std::to_string(dIJobId));
|
||||
}
|
||||
|
||||
44
dataworks-public/src/model/StopDIJobResult.cc
Normal file
44
dataworks-public/src/model/StopDIJobResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/StopDIJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
StopDIJobResult::StopDIJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StopDIJobResult::StopDIJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StopDIJobResult::~StopDIJobResult()
|
||||
{}
|
||||
|
||||
void StopDIJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
81
dataworks-public/src/model/UpdateDIAlarmRuleRequest.cc
Normal file
81
dataworks-public/src/model/UpdateDIAlarmRuleRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/UpdateDIAlarmRuleRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::UpdateDIAlarmRuleRequest;
|
||||
|
||||
UpdateDIAlarmRuleRequest::UpdateDIAlarmRuleRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDIAlarmRule") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateDIAlarmRuleRequest::~UpdateDIAlarmRuleRequest() {}
|
||||
|
||||
std::string UpdateDIAlarmRuleRequest::getMetricType() const {
|
||||
return metricType_;
|
||||
}
|
||||
|
||||
void UpdateDIAlarmRuleRequest::setMetricType(const std::string &metricType) {
|
||||
metricType_ = metricType;
|
||||
setBodyParameter(std::string("MetricType"), metricType);
|
||||
}
|
||||
|
||||
std::string UpdateDIAlarmRuleRequest::getTriggerConditions() const {
|
||||
return triggerConditions_;
|
||||
}
|
||||
|
||||
void UpdateDIAlarmRuleRequest::setTriggerConditions(const std::string &triggerConditions) {
|
||||
triggerConditions_ = triggerConditions;
|
||||
setBodyParameter(std::string("TriggerConditions"), triggerConditions);
|
||||
}
|
||||
|
||||
std::string UpdateDIAlarmRuleRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void UpdateDIAlarmRuleRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setBodyParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string UpdateDIAlarmRuleRequest::getNotificationSettings() const {
|
||||
return notificationSettings_;
|
||||
}
|
||||
|
||||
void UpdateDIAlarmRuleRequest::setNotificationSettings(const std::string ¬ificationSettings) {
|
||||
notificationSettings_ = notificationSettings;
|
||||
setBodyParameter(std::string("NotificationSettings"), notificationSettings);
|
||||
}
|
||||
|
||||
bool UpdateDIAlarmRuleRequest::getEnabled() const {
|
||||
return enabled_;
|
||||
}
|
||||
|
||||
void UpdateDIAlarmRuleRequest::setEnabled(bool enabled) {
|
||||
enabled_ = enabled;
|
||||
setBodyParameter(std::string("Enabled"), enabled ? "true" : "false");
|
||||
}
|
||||
|
||||
long UpdateDIAlarmRuleRequest::getDIAlarmRuleId() const {
|
||||
return dIAlarmRuleId_;
|
||||
}
|
||||
|
||||
void UpdateDIAlarmRuleRequest::setDIAlarmRuleId(long dIAlarmRuleId) {
|
||||
dIAlarmRuleId_ = dIAlarmRuleId;
|
||||
setBodyParameter(std::string("DIAlarmRuleId"), std::to_string(dIAlarmRuleId));
|
||||
}
|
||||
|
||||
44
dataworks-public/src/model/UpdateDIAlarmRuleResult.cc
Normal file
44
dataworks-public/src/model/UpdateDIAlarmRuleResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/UpdateDIAlarmRuleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
UpdateDIAlarmRuleResult::UpdateDIAlarmRuleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateDIAlarmRuleResult::UpdateDIAlarmRuleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateDIAlarmRuleResult::~UpdateDIAlarmRuleResult()
|
||||
{}
|
||||
|
||||
void UpdateDIAlarmRuleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
81
dataworks-public/src/model/UpdateDIJobRequest.cc
Normal file
81
dataworks-public/src/model/UpdateDIJobRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/UpdateDIJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::UpdateDIJobRequest;
|
||||
|
||||
UpdateDIJobRequest::UpdateDIJobRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDIJob") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateDIJobRequest::~UpdateDIJobRequest() {}
|
||||
|
||||
std::string UpdateDIJobRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void UpdateDIJobRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setBodyParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string UpdateDIJobRequest::getTransformationRules() const {
|
||||
return transformationRules_;
|
||||
}
|
||||
|
||||
void UpdateDIJobRequest::setTransformationRules(const std::string &transformationRules) {
|
||||
transformationRules_ = transformationRules;
|
||||
setBodyParameter(std::string("TransformationRules"), transformationRules);
|
||||
}
|
||||
|
||||
long UpdateDIJobRequest::getDIJobId() const {
|
||||
return dIJobId_;
|
||||
}
|
||||
|
||||
void UpdateDIJobRequest::setDIJobId(long dIJobId) {
|
||||
dIJobId_ = dIJobId;
|
||||
setBodyParameter(std::string("DIJobId"), std::to_string(dIJobId));
|
||||
}
|
||||
|
||||
std::string UpdateDIJobRequest::getResourceSettings() const {
|
||||
return resourceSettings_;
|
||||
}
|
||||
|
||||
void UpdateDIJobRequest::setResourceSettings(const std::string &resourceSettings) {
|
||||
resourceSettings_ = resourceSettings;
|
||||
setBodyParameter(std::string("ResourceSettings"), resourceSettings);
|
||||
}
|
||||
|
||||
std::string UpdateDIJobRequest::getTableMappings() const {
|
||||
return tableMappings_;
|
||||
}
|
||||
|
||||
void UpdateDIJobRequest::setTableMappings(const std::string &tableMappings) {
|
||||
tableMappings_ = tableMappings;
|
||||
setBodyParameter(std::string("TableMappings"), tableMappings);
|
||||
}
|
||||
|
||||
std::string UpdateDIJobRequest::getJobSettings() const {
|
||||
return jobSettings_;
|
||||
}
|
||||
|
||||
void UpdateDIJobRequest::setJobSettings(const std::string &jobSettings) {
|
||||
jobSettings_ = jobSettings;
|
||||
setBodyParameter(std::string("JobSettings"), jobSettings);
|
||||
}
|
||||
|
||||
44
dataworks-public/src/model/UpdateDIJobResult.cc
Normal file
44
dataworks-public/src/model/UpdateDIJobResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/UpdateDIJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
UpdateDIJobResult::UpdateDIJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateDIJobResult::UpdateDIJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateDIJobResult::~UpdateDIJobResult()
|
||||
{}
|
||||
|
||||
void UpdateDIJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user