diff --git a/CHANGELOG b/CHANGELOG index ed3eac5d7..badecf026 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-03-03 Version: patch +- Generated 2018-06-01 for `dataworks-public`. + 2021-03-03 Version: patch - Update ScreenChestCT. diff --git a/dataworks-public/2018-06-01/CheckCallback.xml b/dataworks-public/2018-06-01/CheckCallback.xml index 2cedbd338..d81a6b95e 100644 --- a/dataworks-public/2018-06-01/CheckCallback.xml +++ b/dataworks-public/2018-06-01/CheckCallback.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/CreateDag.xml b/dataworks-public/2018-06-01/CreateDag.xml index 66dcd76ad..6983db033 100644 --- a/dataworks-public/2018-06-01/CreateDag.xml +++ b/dataworks-public/2018-06-01/CreateDag.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/CreateManualDag.xml b/dataworks-public/2018-06-01/CreateManualDag.xml index f22cb08e3..be138575d 100644 --- a/dataworks-public/2018-06-01/CreateManualDag.xml +++ b/dataworks-public/2018-06-01/CreateManualDag.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/CreateRealTimeProcess.xml b/dataworks-public/2018-06-01/CreateRealTimeProcess.xml index 140603e55..a0f3aa153 100644 --- a/dataworks-public/2018-06-01/CreateRealTimeProcess.xml +++ b/dataworks-public/2018-06-01/CreateRealTimeProcess.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/DeleteFile.xml b/dataworks-public/2018-06-01/DeleteFile.xml index 048d0a353..1e49f4c6d 100644 --- a/dataworks-public/2018-06-01/DeleteFile.xml +++ b/dataworks-public/2018-06-01/DeleteFile.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/DescribeEmrHiveTable.xml b/dataworks-public/2018-06-01/DescribeEmrHiveTable.xml index 35307d596..65e0eb0e9 100644 --- a/dataworks-public/2018-06-01/DescribeEmrHiveTable.xml +++ b/dataworks-public/2018-06-01/DescribeEmrHiveTable.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/GetInstance.xml b/dataworks-public/2018-06-01/GetInstance.xml index 2424b97ba..eaf5bbb1c 100644 --- a/dataworks-public/2018-06-01/GetInstance.xml +++ b/dataworks-public/2018-06-01/GetInstance.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/GetNode.xml b/dataworks-public/2018-06-01/GetNode.xml index 8bd332abb..514672f61 100644 --- a/dataworks-public/2018-06-01/GetNode.xml +++ b/dataworks-public/2018-06-01/GetNode.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/ListEmrHiveAuditLogs.xml b/dataworks-public/2018-06-01/ListEmrHiveAuditLogs.xml index cf01c0c9c..3cc4487e3 100644 --- a/dataworks-public/2018-06-01/ListEmrHiveAuditLogs.xml +++ b/dataworks-public/2018-06-01/ListEmrHiveAuditLogs.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/ListEmrHiveDatabases.xml b/dataworks-public/2018-06-01/ListEmrHiveDatabases.xml index 5c8e7fcd0..6234aa938 100644 --- a/dataworks-public/2018-06-01/ListEmrHiveDatabases.xml +++ b/dataworks-public/2018-06-01/ListEmrHiveDatabases.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/ListEmrHiveTables.xml b/dataworks-public/2018-06-01/ListEmrHiveTables.xml index 2369511e5..f6bcfae17 100644 --- a/dataworks-public/2018-06-01/ListEmrHiveTables.xml +++ b/dataworks-public/2018-06-01/ListEmrHiveTables.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/ListHiveColumnLineages.xml b/dataworks-public/2018-06-01/ListHiveColumnLineages.xml index d05a6def1..77ad651f7 100644 --- a/dataworks-public/2018-06-01/ListHiveColumnLineages.xml +++ b/dataworks-public/2018-06-01/ListHiveColumnLineages.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/ListHiveTableLineages.xml b/dataworks-public/2018-06-01/ListHiveTableLineages.xml index c95eda08a..a68299b8b 100644 --- a/dataworks-public/2018-06-01/ListHiveTableLineages.xml +++ b/dataworks-public/2018-06-01/ListHiveTableLineages.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/ListTablePartitions.xml b/dataworks-public/2018-06-01/ListTablePartitions.xml index 694af9dd4..856b9b765 100644 --- a/dataworks-public/2018-06-01/ListTablePartitions.xml +++ b/dataworks-public/2018-06-01/ListTablePartitions.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/OpenDataWorksStandardService.xml b/dataworks-public/2018-06-01/OpenDataWorksStandardService.xml new file mode 100644 index 000000000..977d0b368 --- /dev/null +++ b/dataworks-public/2018-06-01/OpenDataWorksStandardService.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/QueryInstances.xml b/dataworks-public/2018-06-01/QueryInstances.xml index 3805d1867..8d628f5dd 100644 --- a/dataworks-public/2018-06-01/QueryInstances.xml +++ b/dataworks-public/2018-06-01/QueryInstances.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/QueryNode.xml b/dataworks-public/2018-06-01/QueryNode.xml index 9ffc60ca5..1313ec268 100644 --- a/dataworks-public/2018-06-01/QueryNode.xml +++ b/dataworks-public/2018-06-01/QueryNode.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/QueryRealTimeProcessStatus.xml b/dataworks-public/2018-06-01/QueryRealTimeProcessStatus.xml index f27dab355..debae2e72 100644 --- a/dataworks-public/2018-06-01/QueryRealTimeProcessStatus.xml +++ b/dataworks-public/2018-06-01/QueryRealTimeProcessStatus.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/SearchManualDagNodeInstance.xml b/dataworks-public/2018-06-01/SearchManualDagNodeInstance.xml index 69fb2afe6..294e75edc 100644 --- a/dataworks-public/2018-06-01/SearchManualDagNodeInstance.xml +++ b/dataworks-public/2018-06-01/SearchManualDagNodeInstance.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/SearchNodeInstanceList.xml b/dataworks-public/2018-06-01/SearchNodeInstanceList.xml index 94b97ef63..13adcecf1 100644 --- a/dataworks-public/2018-06-01/SearchNodeInstanceList.xml +++ b/dataworks-public/2018-06-01/SearchNodeInstanceList.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/SendTaskMetaCallback.xml b/dataworks-public/2018-06-01/SendTaskMetaCallback.xml index 8d04b21ed..a2e052e67 100644 --- a/dataworks-public/2018-06-01/SendTaskMetaCallback.xml +++ b/dataworks-public/2018-06-01/SendTaskMetaCallback.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/2018-06-01/TestDemo.xml b/dataworks-public/2018-06-01/TestDemo.xml index c73a07e70..5aa67c2f3 100644 --- a/dataworks-public/2018-06-01/TestDemo.xml +++ b/dataworks-public/2018-06-01/TestDemo.xml @@ -1 +1 @@ - + diff --git a/dataworks-public/CMakeLists.txt b/dataworks-public/CMakeLists.txt index ddf7eee5e..c2eae3131 100644 --- a/dataworks-public/CMakeLists.txt +++ b/dataworks-public/CMakeLists.txt @@ -21,645 +21,65 @@ set(dataworks-public_public_header include/alibabacloud/dataworks-public/Dataworks_publicExport.h ) set(dataworks-public_public_header_model - include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h - include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h - include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h - include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h - include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h - include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h - include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h - include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h - include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h - include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h - include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h - 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/CreateDagComplementRequest.h - include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h - include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h - include/alibabacloud/dataworks-public/model/CreateDagTestResult.h - include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h - include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h - include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h - include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityResult.h - include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h - include/alibabacloud/dataworks-public/model/CreateDataServiceFolderResult.h - include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h - include/alibabacloud/dataworks-public/model/CreateDataServiceGroupResult.h - include/alibabacloud/dataworks-public/model/CreateFileRequest.h - include/alibabacloud/dataworks-public/model/CreateFileResult.h - include/alibabacloud/dataworks-public/model/CreateFolderRequest.h - include/alibabacloud/dataworks-public/model/CreateFolderResult.h + include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h + include/alibabacloud/dataworks-public/model/CheckCallbackResult.h include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h include/alibabacloud/dataworks-public/model/CreateManualDagResult.h - include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h - include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h - include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h - include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h - include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h - include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h - include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h - include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h - include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h - include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h - include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h - include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h - include/alibabacloud/dataworks-public/model/CreateRemindRequest.h - include/alibabacloud/dataworks-public/model/CreateRemindResult.h - include/alibabacloud/dataworks-public/model/CreateTableRequest.h - include/alibabacloud/dataworks-public/model/CreateTableResult.h - include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h - include/alibabacloud/dataworks-public/model/CreateTableLevelResult.h - include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h - include/alibabacloud/dataworks-public/model/CreateTableThemeResult.h - include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h - include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h - include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h - 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/DeleteDataServiceApiRequest.h - include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h - include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h - include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityResult.h + include/alibabacloud/dataworks-public/model/CreateRealTimeProcessRequest.h + include/alibabacloud/dataworks-public/model/CreateRealTimeProcessResult.h include/alibabacloud/dataworks-public/model/DeleteFileRequest.h include/alibabacloud/dataworks-public/model/DeleteFileResult.h - include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h - include/alibabacloud/dataworks-public/model/DeleteFolderResult.h - include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h - include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h - include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h - include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h - include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h - include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h - include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h - include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h - include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h - include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h - include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h - include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h - include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h - include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h - include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h - include/alibabacloud/dataworks-public/model/DeleteRemindResult.h - include/alibabacloud/dataworks-public/model/DeleteTableRequest.h - include/alibabacloud/dataworks-public/model/DeleteTableResult.h - include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h - include/alibabacloud/dataworks-public/model/DeleteTableLevelResult.h - include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h - include/alibabacloud/dataworks-public/model/DeleteTableThemeResult.h - include/alibabacloud/dataworks-public/model/DeployFileRequest.h - include/alibabacloud/dataworks-public/model/DeployFileResult.h - include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h - include/alibabacloud/dataworks-public/model/DesensitizeDataResult.h - include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h - include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h - include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h - include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h - include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h - include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h - include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h - include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h - include/alibabacloud/dataworks-public/model/GetBusinessRequest.h - 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/GetDagRequest.h - include/alibabacloud/dataworks-public/model/GetDagResult.h - include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h - include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h - include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h - include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h - include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h - include/alibabacloud/dataworks-public/model/GetDataServiceFolderResult.h - include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h - include/alibabacloud/dataworks-public/model/GetDataServiceGroupResult.h - include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h - include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h - include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h - include/alibabacloud/dataworks-public/model/GetDeploymentResult.h - include/alibabacloud/dataworks-public/model/GetFileRequest.h - include/alibabacloud/dataworks-public/model/GetFileResult.h - include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h - include/alibabacloud/dataworks-public/model/GetFileVersionResult.h - include/alibabacloud/dataworks-public/model/GetFolderRequest.h - include/alibabacloud/dataworks-public/model/GetFolderResult.h - include/alibabacloud/dataworks-public/model/GetInstanceRequest.h - include/alibabacloud/dataworks-public/model/GetInstanceResult.h - include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h - include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankResult.h - include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h - include/alibabacloud/dataworks-public/model/GetInstanceCountTrendResult.h - include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h - include/alibabacloud/dataworks-public/model/GetInstanceErrorRankResult.h - include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h - include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h - include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h - include/alibabacloud/dataworks-public/model/GetInstanceStatusCountResult.h - include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h - include/alibabacloud/dataworks-public/model/GetManualDagInstancesResult.h - include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h - include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h - include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h - include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h - include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h - include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h - include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h - include/alibabacloud/dataworks-public/model/GetMetaDBTableListResult.h - include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h - include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h - include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h - include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h - include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h - include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h - include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h - include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h - include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h - include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h - include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h - include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h - include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h - include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryResult.h - include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h - include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h - include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h - include/alibabacloud/dataworks-public/model/GetMetaTablePartitionResult.h - include/alibabacloud/dataworks-public/model/GetNodeRequest.h - include/alibabacloud/dataworks-public/model/GetNodeResult.h - include/alibabacloud/dataworks-public/model/GetNodeChildrenRequest.h - include/alibabacloud/dataworks-public/model/GetNodeChildrenResult.h - include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h - include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h - include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h - include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.h - include/alibabacloud/dataworks-public/model/GetNodeParentsRequest.h - include/alibabacloud/dataworks-public/model/GetNodeParentsResult.h - include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h - include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoResult.h - include/alibabacloud/dataworks-public/model/GetOpRiskDataRequest.h - include/alibabacloud/dataworks-public/model/GetOpRiskDataResult.h - include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h - include/alibabacloud/dataworks-public/model/GetOpSensitiveDataResult.h - include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h - include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h - include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h - include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h - include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h - include/alibabacloud/dataworks-public/model/GetQualityFollowerResult.h - include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h - include/alibabacloud/dataworks-public/model/GetQualityRuleResult.h - include/alibabacloud/dataworks-public/model/GetRemindRequest.h - include/alibabacloud/dataworks-public/model/GetRemindResult.h - include/alibabacloud/dataworks-public/model/GetSensitiveDataRequest.h - include/alibabacloud/dataworks-public/model/GetSensitiveDataResult.h - include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h - include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendResult.h - include/alibabacloud/dataworks-public/model/GetTopicRequest.h - include/alibabacloud/dataworks-public/model/GetTopicResult.h - include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h - include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h - include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h - include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h - include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h - include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h - include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h - include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h - include/alibabacloud/dataworks-public/model/ListBusinessRequest.h - include/alibabacloud/dataworks-public/model/ListBusinessResult.h - include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h - 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/ListDataServiceApiAuthoritiesRequest.h - include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h - include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h - include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h - include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h - include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h - include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h - include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h - include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h - include/alibabacloud/dataworks-public/model/ListDataServiceFoldersResult.h - include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h - include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h - include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h - include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h - include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h - include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h - include/alibabacloud/dataworks-public/model/ListFilesRequest.h - include/alibabacloud/dataworks-public/model/ListFilesResult.h - include/alibabacloud/dataworks-public/model/ListFoldersRequest.h - include/alibabacloud/dataworks-public/model/ListFoldersResult.h - include/alibabacloud/dataworks-public/model/ListInstancesRequest.h - include/alibabacloud/dataworks-public/model/ListInstancesResult.h - include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h - include/alibabacloud/dataworks-public/model/ListMetaDBResult.h - include/alibabacloud/dataworks-public/model/ListNodeIORequest.h - include/alibabacloud/dataworks-public/model/ListNodeIOResult.h - include/alibabacloud/dataworks-public/model/ListNodesRequest.h - include/alibabacloud/dataworks-public/model/ListNodesResult.h - include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h - include/alibabacloud/dataworks-public/model/ListProgramTypeCountResult.h - include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h - include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h - include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h - include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h - include/alibabacloud/dataworks-public/model/ListProjectsRequest.h - include/alibabacloud/dataworks-public/model/ListProjectsResult.h - include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h - include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityResult.h - include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h - include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleResult.h - include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h - include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h - include/alibabacloud/dataworks-public/model/ListRemindsRequest.h - include/alibabacloud/dataworks-public/model/ListRemindsResult.h - include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h - include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h - include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h - include/alibabacloud/dataworks-public/model/ListTableLevelResult.h - include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h - include/alibabacloud/dataworks-public/model/ListTableThemeResult.h - include/alibabacloud/dataworks-public/model/ListTopicsRequest.h - include/alibabacloud/dataworks-public/model/ListTopicsResult.h - include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h - include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h - include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h - include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h - include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h - include/alibabacloud/dataworks-public/model/RestartInstanceResult.h - include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h - include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h - include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h - include/alibabacloud/dataworks-public/model/RunTriggerNodeResult.h - include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h - include/alibabacloud/dataworks-public/model/ScanSensitiveDataResult.h - include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h - include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h - include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h - include/alibabacloud/dataworks-public/model/SearchNodesByOutputResult.h - include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h - include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h - include/alibabacloud/dataworks-public/model/StopInstanceRequest.h - include/alibabacloud/dataworks-public/model/StopInstanceResult.h - include/alibabacloud/dataworks-public/model/SubmitFileRequest.h - include/alibabacloud/dataworks-public/model/SubmitFileResult.h - include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h - include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h - include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h - include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h - include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h - include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h - include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h - include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h - include/alibabacloud/dataworks-public/model/UpdateFileRequest.h - include/alibabacloud/dataworks-public/model/UpdateFileResult.h - include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h - include/alibabacloud/dataworks-public/model/UpdateFolderResult.h - include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h - include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h - include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h - include/alibabacloud/dataworks-public/model/UpdateMetaTableResult.h - include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h - include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiResult.h - include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h - include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h - include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h - include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h - include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h - include/alibabacloud/dataworks-public/model/UpdateRemindResult.h - include/alibabacloud/dataworks-public/model/UpdateTableRequest.h - include/alibabacloud/dataworks-public/model/UpdateTableResult.h - include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h - include/alibabacloud/dataworks-public/model/UpdateTableLevelResult.h - include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h - include/alibabacloud/dataworks-public/model/UpdateTableModelInfoResult.h - include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h - include/alibabacloud/dataworks-public/model/UpdateTableThemeResult.h - include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h - include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h ) + include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h + include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h + include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h + include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h + include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h + include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h + include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h + include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h + include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h + include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h + include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h + include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h + include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h + include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h + include/alibabacloud/dataworks-public/model/OpenDataWorksStandardServiceRequest.h + include/alibabacloud/dataworks-public/model/OpenDataWorksStandardServiceResult.h + include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusRequest.h + include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusResult.h + include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h + include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h ) set(dataworks-public_src src/Dataworks-publicClient.cc - src/model/AbolishDataServiceApiRequest.cc - src/model/AbolishDataServiceApiResult.cc - src/model/AddProjectMemberToRoleRequest.cc - src/model/AddProjectMemberToRoleResult.cc - src/model/AddToMetaCategoryRequest.cc - src/model/AddToMetaCategoryResult.cc - src/model/CheckMetaPartitionRequest.cc - src/model/CheckMetaPartitionResult.cc - src/model/CheckMetaTableRequest.cc - src/model/CheckMetaTableResult.cc - src/model/CreateBusinessRequest.cc - src/model/CreateBusinessResult.cc - src/model/CreateConnectionRequest.cc - src/model/CreateConnectionResult.cc - src/model/CreateDagComplementRequest.cc - src/model/CreateDagComplementResult.cc - src/model/CreateDagTestRequest.cc - src/model/CreateDagTestResult.cc - src/model/CreateDataServiceApiRequest.cc - src/model/CreateDataServiceApiResult.cc - src/model/CreateDataServiceApiAuthorityRequest.cc - src/model/CreateDataServiceApiAuthorityResult.cc - src/model/CreateDataServiceFolderRequest.cc - src/model/CreateDataServiceFolderResult.cc - src/model/CreateDataServiceGroupRequest.cc - src/model/CreateDataServiceGroupResult.cc - src/model/CreateFileRequest.cc - src/model/CreateFileResult.cc - src/model/CreateFolderRequest.cc - src/model/CreateFolderResult.cc + src/model/CheckCallbackRequest.cc + src/model/CheckCallbackResult.cc src/model/CreateManualDagRequest.cc src/model/CreateManualDagResult.cc - src/model/CreateMetaCategoryRequest.cc - src/model/CreateMetaCategoryResult.cc - src/model/CreateProjectMemberRequest.cc - src/model/CreateProjectMemberResult.cc - src/model/CreateQualityEntityRequest.cc - src/model/CreateQualityEntityResult.cc - src/model/CreateQualityFollowerRequest.cc - src/model/CreateQualityFollowerResult.cc - src/model/CreateQualityRelativeNodeRequest.cc - src/model/CreateQualityRelativeNodeResult.cc - src/model/CreateQualityRuleRequest.cc - src/model/CreateQualityRuleResult.cc - src/model/CreateRemindRequest.cc - src/model/CreateRemindResult.cc - src/model/CreateTableRequest.cc - src/model/CreateTableResult.cc - src/model/CreateTableLevelRequest.cc - src/model/CreateTableLevelResult.cc - src/model/CreateTableThemeRequest.cc - src/model/CreateTableThemeResult.cc - src/model/CreateUdfFileRequest.cc - src/model/CreateUdfFileResult.cc - src/model/DeleteBusinessRequest.cc - src/model/DeleteBusinessResult.cc - src/model/DeleteConnectionRequest.cc - src/model/DeleteConnectionResult.cc - src/model/DeleteDataServiceApiRequest.cc - src/model/DeleteDataServiceApiResult.cc - src/model/DeleteDataServiceApiAuthorityRequest.cc - src/model/DeleteDataServiceApiAuthorityResult.cc + src/model/CreateRealTimeProcessRequest.cc + src/model/CreateRealTimeProcessResult.cc src/model/DeleteFileRequest.cc src/model/DeleteFileResult.cc - src/model/DeleteFolderRequest.cc - src/model/DeleteFolderResult.cc - src/model/DeleteFromMetaCategoryRequest.cc - src/model/DeleteFromMetaCategoryResult.cc - src/model/DeleteMetaCategoryRequest.cc - src/model/DeleteMetaCategoryResult.cc - src/model/DeleteProjectMemberRequest.cc - src/model/DeleteProjectMemberResult.cc - src/model/DeleteQualityEntityRequest.cc - src/model/DeleteQualityEntityResult.cc - src/model/DeleteQualityFollowerRequest.cc - src/model/DeleteQualityFollowerResult.cc - src/model/DeleteQualityRelativeNodeRequest.cc - src/model/DeleteQualityRelativeNodeResult.cc - src/model/DeleteQualityRuleRequest.cc - src/model/DeleteQualityRuleResult.cc - src/model/DeleteRemindRequest.cc - src/model/DeleteRemindResult.cc - src/model/DeleteTableRequest.cc - src/model/DeleteTableResult.cc - src/model/DeleteTableLevelRequest.cc - src/model/DeleteTableLevelResult.cc - src/model/DeleteTableThemeRequest.cc - src/model/DeleteTableThemeResult.cc - src/model/DeployFileRequest.cc - src/model/DeployFileResult.cc - src/model/DesensitizeDataRequest.cc - src/model/DesensitizeDataResult.cc - src/model/EstablishRelationTableToBusinessRequest.cc - src/model/EstablishRelationTableToBusinessResult.cc - src/model/GetBaselineConfigRequest.cc - src/model/GetBaselineConfigResult.cc - src/model/GetBaselineKeyPathRequest.cc - src/model/GetBaselineKeyPathResult.cc - src/model/GetBaselineStatusRequest.cc - src/model/GetBaselineStatusResult.cc - src/model/GetBusinessRequest.cc - src/model/GetBusinessResult.cc - src/model/GetDDLJobStatusRequest.cc - src/model/GetDDLJobStatusResult.cc - src/model/GetDagRequest.cc - src/model/GetDagResult.cc - src/model/GetDataServiceApiRequest.cc - src/model/GetDataServiceApiResult.cc - src/model/GetDataServiceApplicationRequest.cc - src/model/GetDataServiceApplicationResult.cc - src/model/GetDataServiceFolderRequest.cc - src/model/GetDataServiceFolderResult.cc - src/model/GetDataServiceGroupRequest.cc - src/model/GetDataServiceGroupResult.cc - src/model/GetDataServicePublishedApiRequest.cc - src/model/GetDataServicePublishedApiResult.cc - src/model/GetDeploymentRequest.cc - src/model/GetDeploymentResult.cc - src/model/GetFileRequest.cc - src/model/GetFileResult.cc - src/model/GetFileVersionRequest.cc - src/model/GetFileVersionResult.cc - src/model/GetFolderRequest.cc - src/model/GetFolderResult.cc - src/model/GetInstanceRequest.cc - src/model/GetInstanceResult.cc - src/model/GetInstanceConsumeTimeRankRequest.cc - src/model/GetInstanceConsumeTimeRankResult.cc - src/model/GetInstanceCountTrendRequest.cc - src/model/GetInstanceCountTrendResult.cc - src/model/GetInstanceErrorRankRequest.cc - src/model/GetInstanceErrorRankResult.cc - src/model/GetInstanceLogRequest.cc - src/model/GetInstanceLogResult.cc - src/model/GetInstanceStatusCountRequest.cc - src/model/GetInstanceStatusCountResult.cc - src/model/GetManualDagInstancesRequest.cc - src/model/GetManualDagInstancesResult.cc - src/model/GetMetaCategoryRequest.cc - src/model/GetMetaCategoryResult.cc - src/model/GetMetaColumnLineageRequest.cc - src/model/GetMetaColumnLineageResult.cc - src/model/GetMetaDBInfoRequest.cc - src/model/GetMetaDBInfoResult.cc - src/model/GetMetaDBTableListRequest.cc - src/model/GetMetaDBTableListResult.cc - src/model/GetMetaTableBasicInfoRequest.cc - src/model/GetMetaTableBasicInfoResult.cc - src/model/GetMetaTableChangeLogRequest.cc - src/model/GetMetaTableChangeLogResult.cc - src/model/GetMetaTableColumnRequest.cc - src/model/GetMetaTableColumnResult.cc - src/model/GetMetaTableFullInfoRequest.cc - src/model/GetMetaTableFullInfoResult.cc - src/model/GetMetaTableIntroWikiRequest.cc - src/model/GetMetaTableIntroWikiResult.cc - src/model/GetMetaTableLineageRequest.cc - src/model/GetMetaTableLineageResult.cc - src/model/GetMetaTableListByCategoryRequest.cc - src/model/GetMetaTableListByCategoryResult.cc - src/model/GetMetaTableOutputRequest.cc - src/model/GetMetaTableOutputResult.cc - src/model/GetMetaTablePartitionRequest.cc - src/model/GetMetaTablePartitionResult.cc - src/model/GetNodeRequest.cc - src/model/GetNodeResult.cc - src/model/GetNodeChildrenRequest.cc - src/model/GetNodeChildrenResult.cc - src/model/GetNodeCodeRequest.cc - src/model/GetNodeCodeResult.cc - src/model/GetNodeOnBaselineRequest.cc - src/model/GetNodeOnBaselineResult.cc - src/model/GetNodeParentsRequest.cc - src/model/GetNodeParentsResult.cc - src/model/GetNodeTypeListInfoRequest.cc - src/model/GetNodeTypeListInfoResult.cc - src/model/GetOpRiskDataRequest.cc - src/model/GetOpRiskDataResult.cc - src/model/GetOpSensitiveDataRequest.cc - src/model/GetOpSensitiveDataResult.cc - src/model/GetProjectDetailRequest.cc - src/model/GetProjectDetailResult.cc - src/model/GetQualityEntityRequest.cc - src/model/GetQualityEntityResult.cc - src/model/GetQualityFollowerRequest.cc - src/model/GetQualityFollowerResult.cc - src/model/GetQualityRuleRequest.cc - src/model/GetQualityRuleResult.cc - src/model/GetRemindRequest.cc - src/model/GetRemindResult.cc - src/model/GetSensitiveDataRequest.cc - src/model/GetSensitiveDataResult.cc - src/model/GetSuccessInstanceTrendRequest.cc - src/model/GetSuccessInstanceTrendResult.cc - src/model/GetTopicRequest.cc - src/model/GetTopicResult.cc - src/model/GetTopicInfluenceRequest.cc - src/model/GetTopicInfluenceResult.cc - src/model/ListAlertMessagesRequest.cc - src/model/ListAlertMessagesResult.cc - src/model/ListBaselineConfigsRequest.cc - src/model/ListBaselineConfigsResult.cc - src/model/ListBaselineStatusesRequest.cc - src/model/ListBaselineStatusesResult.cc - src/model/ListBusinessRequest.cc - src/model/ListBusinessResult.cc - src/model/ListCalcEnginesRequest.cc - src/model/ListCalcEnginesResult.cc - src/model/ListConnectionsRequest.cc - src/model/ListConnectionsResult.cc - src/model/ListDataServiceApiAuthoritiesRequest.cc - src/model/ListDataServiceApiAuthoritiesResult.cc - src/model/ListDataServiceApisRequest.cc - src/model/ListDataServiceApisResult.cc - src/model/ListDataServiceApplicationsRequest.cc - src/model/ListDataServiceApplicationsResult.cc - src/model/ListDataServiceAuthorizedApisRequest.cc - src/model/ListDataServiceAuthorizedApisResult.cc - src/model/ListDataServiceFoldersRequest.cc - src/model/ListDataServiceFoldersResult.cc - src/model/ListDataServiceGroupsRequest.cc - src/model/ListDataServiceGroupsResult.cc - src/model/ListDataServicePublishedApisRequest.cc - src/model/ListDataServicePublishedApisResult.cc - src/model/ListFileVersionsRequest.cc - src/model/ListFileVersionsResult.cc - src/model/ListFilesRequest.cc - src/model/ListFilesResult.cc - src/model/ListFoldersRequest.cc - src/model/ListFoldersResult.cc - src/model/ListInstancesRequest.cc - src/model/ListInstancesResult.cc - src/model/ListMetaDBRequest.cc - src/model/ListMetaDBResult.cc - src/model/ListNodeIORequest.cc - src/model/ListNodeIOResult.cc - src/model/ListNodesRequest.cc - src/model/ListNodesResult.cc - src/model/ListProgramTypeCountRequest.cc - src/model/ListProgramTypeCountResult.cc - src/model/ListProjectMembersRequest.cc - src/model/ListProjectMembersResult.cc - src/model/ListProjectRolesRequest.cc - src/model/ListProjectRolesResult.cc - src/model/ListProjectsRequest.cc - src/model/ListProjectsResult.cc - src/model/ListQualityResultsByEntityRequest.cc - src/model/ListQualityResultsByEntityResult.cc - src/model/ListQualityResultsByRuleRequest.cc - src/model/ListQualityResultsByRuleResult.cc - src/model/ListQualityRulesRequest.cc - src/model/ListQualityRulesResult.cc - src/model/ListRemindsRequest.cc - src/model/ListRemindsResult.cc - src/model/ListResourceGroupsRequest.cc - src/model/ListResourceGroupsResult.cc - src/model/ListTableLevelRequest.cc - src/model/ListTableLevelResult.cc - src/model/ListTableThemeRequest.cc - src/model/ListTableThemeResult.cc - src/model/ListTopicsRequest.cc - src/model/ListTopicsResult.cc - src/model/PublishDataServiceApiRequest.cc - src/model/PublishDataServiceApiResult.cc - src/model/RemoveProjectMemberFromRoleRequest.cc - src/model/RemoveProjectMemberFromRoleResult.cc - src/model/RestartInstanceRequest.cc - src/model/RestartInstanceResult.cc - src/model/ResumeInstanceRequest.cc - src/model/ResumeInstanceResult.cc - src/model/RunTriggerNodeRequest.cc - src/model/RunTriggerNodeResult.cc - src/model/ScanSensitiveDataRequest.cc - src/model/ScanSensitiveDataResult.cc - src/model/SearchMetaTablesRequest.cc - src/model/SearchMetaTablesResult.cc - src/model/SearchNodesByOutputRequest.cc - src/model/SearchNodesByOutputResult.cc - src/model/SetSuccessInstanceRequest.cc - src/model/SetSuccessInstanceResult.cc - src/model/StopInstanceRequest.cc - src/model/StopInstanceResult.cc - src/model/SubmitFileRequest.cc - src/model/SubmitFileResult.cc - src/model/SuspendInstanceRequest.cc - src/model/SuspendInstanceResult.cc - src/model/UpdateBusinessRequest.cc - src/model/UpdateBusinessResult.cc - src/model/UpdateConnectionRequest.cc - src/model/UpdateConnectionResult.cc - src/model/UpdateDataServiceApiRequest.cc - src/model/UpdateDataServiceApiResult.cc - src/model/UpdateFileRequest.cc - src/model/UpdateFileResult.cc - src/model/UpdateFolderRequest.cc - src/model/UpdateFolderResult.cc - src/model/UpdateMetaCategoryRequest.cc - src/model/UpdateMetaCategoryResult.cc - src/model/UpdateMetaTableRequest.cc - src/model/UpdateMetaTableResult.cc - src/model/UpdateMetaTableIntroWikiRequest.cc - src/model/UpdateMetaTableIntroWikiResult.cc - src/model/UpdateQualityFollowerRequest.cc - src/model/UpdateQualityFollowerResult.cc - src/model/UpdateQualityRuleRequest.cc - src/model/UpdateQualityRuleResult.cc - src/model/UpdateRemindRequest.cc - src/model/UpdateRemindResult.cc - src/model/UpdateTableRequest.cc - src/model/UpdateTableResult.cc - src/model/UpdateTableLevelRequest.cc - src/model/UpdateTableLevelResult.cc - src/model/UpdateTableModelInfoRequest.cc - src/model/UpdateTableModelInfoResult.cc - src/model/UpdateTableThemeRequest.cc - src/model/UpdateTableThemeResult.cc - src/model/UpdateUdfFileRequest.cc - src/model/UpdateUdfFileResult.cc ) + src/model/DescribeEmrHiveTableRequest.cc + src/model/DescribeEmrHiveTableResult.cc + src/model/ListEmrHiveAuditLogsRequest.cc + src/model/ListEmrHiveAuditLogsResult.cc + src/model/ListEmrHiveDatabasesRequest.cc + src/model/ListEmrHiveDatabasesResult.cc + src/model/ListEmrHiveTablesRequest.cc + src/model/ListEmrHiveTablesResult.cc + src/model/ListHiveColumnLineagesRequest.cc + src/model/ListHiveColumnLineagesResult.cc + src/model/ListHiveTableLineagesRequest.cc + src/model/ListHiveTableLineagesResult.cc + src/model/ListTablePartitionsRequest.cc + src/model/ListTablePartitionsResult.cc + src/model/OpenDataWorksStandardServiceRequest.cc + src/model/OpenDataWorksStandardServiceResult.cc + src/model/QueryRealTimeProcessStatusRequest.cc + src/model/QueryRealTimeProcessStatusResult.cc + src/model/SearchManualDagNodeInstanceRequest.cc + src/model/SearchManualDagNodeInstanceResult.cc ) add_library(dataworks-public ${LIB_TYPE} ${dataworks-public_public_header} diff --git a/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h b/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h index 0ded2d9c7..c63097c39 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h @@ -22,324 +22,34 @@ #include #include #include "Dataworks_publicExport.h" -#include "model/AbolishDataServiceApiRequest.h" -#include "model/AbolishDataServiceApiResult.h" -#include "model/AddProjectMemberToRoleRequest.h" -#include "model/AddProjectMemberToRoleResult.h" -#include "model/AddToMetaCategoryRequest.h" -#include "model/AddToMetaCategoryResult.h" -#include "model/CheckMetaPartitionRequest.h" -#include "model/CheckMetaPartitionResult.h" -#include "model/CheckMetaTableRequest.h" -#include "model/CheckMetaTableResult.h" -#include "model/CreateBusinessRequest.h" -#include "model/CreateBusinessResult.h" -#include "model/CreateConnectionRequest.h" -#include "model/CreateConnectionResult.h" -#include "model/CreateDagComplementRequest.h" -#include "model/CreateDagComplementResult.h" -#include "model/CreateDagTestRequest.h" -#include "model/CreateDagTestResult.h" -#include "model/CreateDataServiceApiRequest.h" -#include "model/CreateDataServiceApiResult.h" -#include "model/CreateDataServiceApiAuthorityRequest.h" -#include "model/CreateDataServiceApiAuthorityResult.h" -#include "model/CreateDataServiceFolderRequest.h" -#include "model/CreateDataServiceFolderResult.h" -#include "model/CreateDataServiceGroupRequest.h" -#include "model/CreateDataServiceGroupResult.h" -#include "model/CreateFileRequest.h" -#include "model/CreateFileResult.h" -#include "model/CreateFolderRequest.h" -#include "model/CreateFolderResult.h" +#include "model/CheckCallbackRequest.h" +#include "model/CheckCallbackResult.h" #include "model/CreateManualDagRequest.h" #include "model/CreateManualDagResult.h" -#include "model/CreateMetaCategoryRequest.h" -#include "model/CreateMetaCategoryResult.h" -#include "model/CreateProjectMemberRequest.h" -#include "model/CreateProjectMemberResult.h" -#include "model/CreateQualityEntityRequest.h" -#include "model/CreateQualityEntityResult.h" -#include "model/CreateQualityFollowerRequest.h" -#include "model/CreateQualityFollowerResult.h" -#include "model/CreateQualityRelativeNodeRequest.h" -#include "model/CreateQualityRelativeNodeResult.h" -#include "model/CreateQualityRuleRequest.h" -#include "model/CreateQualityRuleResult.h" -#include "model/CreateRemindRequest.h" -#include "model/CreateRemindResult.h" -#include "model/CreateTableRequest.h" -#include "model/CreateTableResult.h" -#include "model/CreateTableLevelRequest.h" -#include "model/CreateTableLevelResult.h" -#include "model/CreateTableThemeRequest.h" -#include "model/CreateTableThemeResult.h" -#include "model/CreateUdfFileRequest.h" -#include "model/CreateUdfFileResult.h" -#include "model/DeleteBusinessRequest.h" -#include "model/DeleteBusinessResult.h" -#include "model/DeleteConnectionRequest.h" -#include "model/DeleteConnectionResult.h" -#include "model/DeleteDataServiceApiRequest.h" -#include "model/DeleteDataServiceApiResult.h" -#include "model/DeleteDataServiceApiAuthorityRequest.h" -#include "model/DeleteDataServiceApiAuthorityResult.h" +#include "model/CreateRealTimeProcessRequest.h" +#include "model/CreateRealTimeProcessResult.h" #include "model/DeleteFileRequest.h" #include "model/DeleteFileResult.h" -#include "model/DeleteFolderRequest.h" -#include "model/DeleteFolderResult.h" -#include "model/DeleteFromMetaCategoryRequest.h" -#include "model/DeleteFromMetaCategoryResult.h" -#include "model/DeleteMetaCategoryRequest.h" -#include "model/DeleteMetaCategoryResult.h" -#include "model/DeleteProjectMemberRequest.h" -#include "model/DeleteProjectMemberResult.h" -#include "model/DeleteQualityEntityRequest.h" -#include "model/DeleteQualityEntityResult.h" -#include "model/DeleteQualityFollowerRequest.h" -#include "model/DeleteQualityFollowerResult.h" -#include "model/DeleteQualityRelativeNodeRequest.h" -#include "model/DeleteQualityRelativeNodeResult.h" -#include "model/DeleteQualityRuleRequest.h" -#include "model/DeleteQualityRuleResult.h" -#include "model/DeleteRemindRequest.h" -#include "model/DeleteRemindResult.h" -#include "model/DeleteTableRequest.h" -#include "model/DeleteTableResult.h" -#include "model/DeleteTableLevelRequest.h" -#include "model/DeleteTableLevelResult.h" -#include "model/DeleteTableThemeRequest.h" -#include "model/DeleteTableThemeResult.h" -#include "model/DeployFileRequest.h" -#include "model/DeployFileResult.h" -#include "model/DesensitizeDataRequest.h" -#include "model/DesensitizeDataResult.h" -#include "model/EstablishRelationTableToBusinessRequest.h" -#include "model/EstablishRelationTableToBusinessResult.h" -#include "model/GetBaselineConfigRequest.h" -#include "model/GetBaselineConfigResult.h" -#include "model/GetBaselineKeyPathRequest.h" -#include "model/GetBaselineKeyPathResult.h" -#include "model/GetBaselineStatusRequest.h" -#include "model/GetBaselineStatusResult.h" -#include "model/GetBusinessRequest.h" -#include "model/GetBusinessResult.h" -#include "model/GetDDLJobStatusRequest.h" -#include "model/GetDDLJobStatusResult.h" -#include "model/GetDagRequest.h" -#include "model/GetDagResult.h" -#include "model/GetDataServiceApiRequest.h" -#include "model/GetDataServiceApiResult.h" -#include "model/GetDataServiceApplicationRequest.h" -#include "model/GetDataServiceApplicationResult.h" -#include "model/GetDataServiceFolderRequest.h" -#include "model/GetDataServiceFolderResult.h" -#include "model/GetDataServiceGroupRequest.h" -#include "model/GetDataServiceGroupResult.h" -#include "model/GetDataServicePublishedApiRequest.h" -#include "model/GetDataServicePublishedApiResult.h" -#include "model/GetDeploymentRequest.h" -#include "model/GetDeploymentResult.h" -#include "model/GetFileRequest.h" -#include "model/GetFileResult.h" -#include "model/GetFileVersionRequest.h" -#include "model/GetFileVersionResult.h" -#include "model/GetFolderRequest.h" -#include "model/GetFolderResult.h" -#include "model/GetInstanceRequest.h" -#include "model/GetInstanceResult.h" -#include "model/GetInstanceConsumeTimeRankRequest.h" -#include "model/GetInstanceConsumeTimeRankResult.h" -#include "model/GetInstanceCountTrendRequest.h" -#include "model/GetInstanceCountTrendResult.h" -#include "model/GetInstanceErrorRankRequest.h" -#include "model/GetInstanceErrorRankResult.h" -#include "model/GetInstanceLogRequest.h" -#include "model/GetInstanceLogResult.h" -#include "model/GetInstanceStatusCountRequest.h" -#include "model/GetInstanceStatusCountResult.h" -#include "model/GetManualDagInstancesRequest.h" -#include "model/GetManualDagInstancesResult.h" -#include "model/GetMetaCategoryRequest.h" -#include "model/GetMetaCategoryResult.h" -#include "model/GetMetaColumnLineageRequest.h" -#include "model/GetMetaColumnLineageResult.h" -#include "model/GetMetaDBInfoRequest.h" -#include "model/GetMetaDBInfoResult.h" -#include "model/GetMetaDBTableListRequest.h" -#include "model/GetMetaDBTableListResult.h" -#include "model/GetMetaTableBasicInfoRequest.h" -#include "model/GetMetaTableBasicInfoResult.h" -#include "model/GetMetaTableChangeLogRequest.h" -#include "model/GetMetaTableChangeLogResult.h" -#include "model/GetMetaTableColumnRequest.h" -#include "model/GetMetaTableColumnResult.h" -#include "model/GetMetaTableFullInfoRequest.h" -#include "model/GetMetaTableFullInfoResult.h" -#include "model/GetMetaTableIntroWikiRequest.h" -#include "model/GetMetaTableIntroWikiResult.h" -#include "model/GetMetaTableLineageRequest.h" -#include "model/GetMetaTableLineageResult.h" -#include "model/GetMetaTableListByCategoryRequest.h" -#include "model/GetMetaTableListByCategoryResult.h" -#include "model/GetMetaTableOutputRequest.h" -#include "model/GetMetaTableOutputResult.h" -#include "model/GetMetaTablePartitionRequest.h" -#include "model/GetMetaTablePartitionResult.h" -#include "model/GetNodeRequest.h" -#include "model/GetNodeResult.h" -#include "model/GetNodeChildrenRequest.h" -#include "model/GetNodeChildrenResult.h" -#include "model/GetNodeCodeRequest.h" -#include "model/GetNodeCodeResult.h" -#include "model/GetNodeOnBaselineRequest.h" -#include "model/GetNodeOnBaselineResult.h" -#include "model/GetNodeParentsRequest.h" -#include "model/GetNodeParentsResult.h" -#include "model/GetNodeTypeListInfoRequest.h" -#include "model/GetNodeTypeListInfoResult.h" -#include "model/GetOpRiskDataRequest.h" -#include "model/GetOpRiskDataResult.h" -#include "model/GetOpSensitiveDataRequest.h" -#include "model/GetOpSensitiveDataResult.h" -#include "model/GetProjectDetailRequest.h" -#include "model/GetProjectDetailResult.h" -#include "model/GetQualityEntityRequest.h" -#include "model/GetQualityEntityResult.h" -#include "model/GetQualityFollowerRequest.h" -#include "model/GetQualityFollowerResult.h" -#include "model/GetQualityRuleRequest.h" -#include "model/GetQualityRuleResult.h" -#include "model/GetRemindRequest.h" -#include "model/GetRemindResult.h" -#include "model/GetSensitiveDataRequest.h" -#include "model/GetSensitiveDataResult.h" -#include "model/GetSuccessInstanceTrendRequest.h" -#include "model/GetSuccessInstanceTrendResult.h" -#include "model/GetTopicRequest.h" -#include "model/GetTopicResult.h" -#include "model/GetTopicInfluenceRequest.h" -#include "model/GetTopicInfluenceResult.h" -#include "model/ListAlertMessagesRequest.h" -#include "model/ListAlertMessagesResult.h" -#include "model/ListBaselineConfigsRequest.h" -#include "model/ListBaselineConfigsResult.h" -#include "model/ListBaselineStatusesRequest.h" -#include "model/ListBaselineStatusesResult.h" -#include "model/ListBusinessRequest.h" -#include "model/ListBusinessResult.h" -#include "model/ListCalcEnginesRequest.h" -#include "model/ListCalcEnginesResult.h" -#include "model/ListConnectionsRequest.h" -#include "model/ListConnectionsResult.h" -#include "model/ListDataServiceApiAuthoritiesRequest.h" -#include "model/ListDataServiceApiAuthoritiesResult.h" -#include "model/ListDataServiceApisRequest.h" -#include "model/ListDataServiceApisResult.h" -#include "model/ListDataServiceApplicationsRequest.h" -#include "model/ListDataServiceApplicationsResult.h" -#include "model/ListDataServiceAuthorizedApisRequest.h" -#include "model/ListDataServiceAuthorizedApisResult.h" -#include "model/ListDataServiceFoldersRequest.h" -#include "model/ListDataServiceFoldersResult.h" -#include "model/ListDataServiceGroupsRequest.h" -#include "model/ListDataServiceGroupsResult.h" -#include "model/ListDataServicePublishedApisRequest.h" -#include "model/ListDataServicePublishedApisResult.h" -#include "model/ListFileVersionsRequest.h" -#include "model/ListFileVersionsResult.h" -#include "model/ListFilesRequest.h" -#include "model/ListFilesResult.h" -#include "model/ListFoldersRequest.h" -#include "model/ListFoldersResult.h" -#include "model/ListInstancesRequest.h" -#include "model/ListInstancesResult.h" -#include "model/ListMetaDBRequest.h" -#include "model/ListMetaDBResult.h" -#include "model/ListNodeIORequest.h" -#include "model/ListNodeIOResult.h" -#include "model/ListNodesRequest.h" -#include "model/ListNodesResult.h" -#include "model/ListProgramTypeCountRequest.h" -#include "model/ListProgramTypeCountResult.h" -#include "model/ListProjectMembersRequest.h" -#include "model/ListProjectMembersResult.h" -#include "model/ListProjectRolesRequest.h" -#include "model/ListProjectRolesResult.h" -#include "model/ListProjectsRequest.h" -#include "model/ListProjectsResult.h" -#include "model/ListQualityResultsByEntityRequest.h" -#include "model/ListQualityResultsByEntityResult.h" -#include "model/ListQualityResultsByRuleRequest.h" -#include "model/ListQualityResultsByRuleResult.h" -#include "model/ListQualityRulesRequest.h" -#include "model/ListQualityRulesResult.h" -#include "model/ListRemindsRequest.h" -#include "model/ListRemindsResult.h" -#include "model/ListResourceGroupsRequest.h" -#include "model/ListResourceGroupsResult.h" -#include "model/ListTableLevelRequest.h" -#include "model/ListTableLevelResult.h" -#include "model/ListTableThemeRequest.h" -#include "model/ListTableThemeResult.h" -#include "model/ListTopicsRequest.h" -#include "model/ListTopicsResult.h" -#include "model/PublishDataServiceApiRequest.h" -#include "model/PublishDataServiceApiResult.h" -#include "model/RemoveProjectMemberFromRoleRequest.h" -#include "model/RemoveProjectMemberFromRoleResult.h" -#include "model/RestartInstanceRequest.h" -#include "model/RestartInstanceResult.h" -#include "model/ResumeInstanceRequest.h" -#include "model/ResumeInstanceResult.h" -#include "model/RunTriggerNodeRequest.h" -#include "model/RunTriggerNodeResult.h" -#include "model/ScanSensitiveDataRequest.h" -#include "model/ScanSensitiveDataResult.h" -#include "model/SearchMetaTablesRequest.h" -#include "model/SearchMetaTablesResult.h" -#include "model/SearchNodesByOutputRequest.h" -#include "model/SearchNodesByOutputResult.h" -#include "model/SetSuccessInstanceRequest.h" -#include "model/SetSuccessInstanceResult.h" -#include "model/StopInstanceRequest.h" -#include "model/StopInstanceResult.h" -#include "model/SubmitFileRequest.h" -#include "model/SubmitFileResult.h" -#include "model/SuspendInstanceRequest.h" -#include "model/SuspendInstanceResult.h" -#include "model/UpdateBusinessRequest.h" -#include "model/UpdateBusinessResult.h" -#include "model/UpdateConnectionRequest.h" -#include "model/UpdateConnectionResult.h" -#include "model/UpdateDataServiceApiRequest.h" -#include "model/UpdateDataServiceApiResult.h" -#include "model/UpdateFileRequest.h" -#include "model/UpdateFileResult.h" -#include "model/UpdateFolderRequest.h" -#include "model/UpdateFolderResult.h" -#include "model/UpdateMetaCategoryRequest.h" -#include "model/UpdateMetaCategoryResult.h" -#include "model/UpdateMetaTableRequest.h" -#include "model/UpdateMetaTableResult.h" -#include "model/UpdateMetaTableIntroWikiRequest.h" -#include "model/UpdateMetaTableIntroWikiResult.h" -#include "model/UpdateQualityFollowerRequest.h" -#include "model/UpdateQualityFollowerResult.h" -#include "model/UpdateQualityRuleRequest.h" -#include "model/UpdateQualityRuleResult.h" -#include "model/UpdateRemindRequest.h" -#include "model/UpdateRemindResult.h" -#include "model/UpdateTableRequest.h" -#include "model/UpdateTableResult.h" -#include "model/UpdateTableLevelRequest.h" -#include "model/UpdateTableLevelResult.h" -#include "model/UpdateTableModelInfoRequest.h" -#include "model/UpdateTableModelInfoResult.h" -#include "model/UpdateTableThemeRequest.h" -#include "model/UpdateTableThemeResult.h" -#include "model/UpdateUdfFileRequest.h" -#include "model/UpdateUdfFileResult.h" +#include "model/DescribeEmrHiveTableRequest.h" +#include "model/DescribeEmrHiveTableResult.h" +#include "model/ListEmrHiveAuditLogsRequest.h" +#include "model/ListEmrHiveAuditLogsResult.h" +#include "model/ListEmrHiveDatabasesRequest.h" +#include "model/ListEmrHiveDatabasesResult.h" +#include "model/ListEmrHiveTablesRequest.h" +#include "model/ListEmrHiveTablesResult.h" +#include "model/ListHiveColumnLineagesRequest.h" +#include "model/ListHiveColumnLineagesResult.h" +#include "model/ListHiveTableLineagesRequest.h" +#include "model/ListHiveTableLineagesResult.h" +#include "model/ListTablePartitionsRequest.h" +#include "model/ListTablePartitionsResult.h" +#include "model/OpenDataWorksStandardServiceRequest.h" +#include "model/OpenDataWorksStandardServiceResult.h" +#include "model/QueryRealTimeProcessStatusRequest.h" +#include "model/QueryRealTimeProcessStatusResult.h" +#include "model/SearchManualDagNodeInstanceRequest.h" +#include "model/SearchManualDagNodeInstanceResult.h" namespace AlibabaCloud @@ -349,965 +59,95 @@ namespace AlibabaCloud class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT Dataworks_publicClient : public RpcServiceClient { public: - typedef Outcome AbolishDataServiceApiOutcome; - typedef std::future AbolishDataServiceApiOutcomeCallable; - typedef std::function&)> AbolishDataServiceApiAsyncHandler; - typedef Outcome AddProjectMemberToRoleOutcome; - typedef std::future AddProjectMemberToRoleOutcomeCallable; - typedef std::function&)> AddProjectMemberToRoleAsyncHandler; - typedef Outcome AddToMetaCategoryOutcome; - typedef std::future AddToMetaCategoryOutcomeCallable; - typedef std::function&)> AddToMetaCategoryAsyncHandler; - typedef Outcome CheckMetaPartitionOutcome; - typedef std::future CheckMetaPartitionOutcomeCallable; - typedef std::function&)> CheckMetaPartitionAsyncHandler; - typedef Outcome CheckMetaTableOutcome; - typedef std::future CheckMetaTableOutcomeCallable; - typedef std::function&)> CheckMetaTableAsyncHandler; - typedef Outcome CreateBusinessOutcome; - typedef std::future CreateBusinessOutcomeCallable; - typedef std::function&)> CreateBusinessAsyncHandler; - typedef Outcome CreateConnectionOutcome; - typedef std::future CreateConnectionOutcomeCallable; - typedef std::function&)> CreateConnectionAsyncHandler; - typedef Outcome CreateDagComplementOutcome; - typedef std::future CreateDagComplementOutcomeCallable; - typedef std::function&)> CreateDagComplementAsyncHandler; - typedef Outcome CreateDagTestOutcome; - typedef std::future CreateDagTestOutcomeCallable; - typedef std::function&)> CreateDagTestAsyncHandler; - typedef Outcome CreateDataServiceApiOutcome; - typedef std::future CreateDataServiceApiOutcomeCallable; - typedef std::function&)> CreateDataServiceApiAsyncHandler; - typedef Outcome CreateDataServiceApiAuthorityOutcome; - typedef std::future CreateDataServiceApiAuthorityOutcomeCallable; - typedef std::function&)> CreateDataServiceApiAuthorityAsyncHandler; - typedef Outcome CreateDataServiceFolderOutcome; - typedef std::future CreateDataServiceFolderOutcomeCallable; - typedef std::function&)> CreateDataServiceFolderAsyncHandler; - typedef Outcome CreateDataServiceGroupOutcome; - typedef std::future CreateDataServiceGroupOutcomeCallable; - typedef std::function&)> CreateDataServiceGroupAsyncHandler; - typedef Outcome CreateFileOutcome; - typedef std::future CreateFileOutcomeCallable; - typedef std::function&)> CreateFileAsyncHandler; - typedef Outcome CreateFolderOutcome; - typedef std::future CreateFolderOutcomeCallable; - typedef std::function&)> CreateFolderAsyncHandler; + typedef Outcome CheckCallbackOutcome; + typedef std::future CheckCallbackOutcomeCallable; + typedef std::function&)> CheckCallbackAsyncHandler; typedef Outcome CreateManualDagOutcome; typedef std::future CreateManualDagOutcomeCallable; typedef std::function&)> CreateManualDagAsyncHandler; - typedef Outcome CreateMetaCategoryOutcome; - typedef std::future CreateMetaCategoryOutcomeCallable; - typedef std::function&)> CreateMetaCategoryAsyncHandler; - typedef Outcome CreateProjectMemberOutcome; - typedef std::future CreateProjectMemberOutcomeCallable; - typedef std::function&)> CreateProjectMemberAsyncHandler; - typedef Outcome CreateQualityEntityOutcome; - typedef std::future CreateQualityEntityOutcomeCallable; - typedef std::function&)> CreateQualityEntityAsyncHandler; - typedef Outcome CreateQualityFollowerOutcome; - typedef std::future CreateQualityFollowerOutcomeCallable; - typedef std::function&)> CreateQualityFollowerAsyncHandler; - typedef Outcome CreateQualityRelativeNodeOutcome; - typedef std::future CreateQualityRelativeNodeOutcomeCallable; - typedef std::function&)> CreateQualityRelativeNodeAsyncHandler; - typedef Outcome CreateQualityRuleOutcome; - typedef std::future CreateQualityRuleOutcomeCallable; - typedef std::function&)> CreateQualityRuleAsyncHandler; - typedef Outcome CreateRemindOutcome; - typedef std::future CreateRemindOutcomeCallable; - typedef std::function&)> CreateRemindAsyncHandler; - typedef Outcome CreateTableOutcome; - typedef std::future CreateTableOutcomeCallable; - typedef std::function&)> CreateTableAsyncHandler; - typedef Outcome CreateTableLevelOutcome; - typedef std::future CreateTableLevelOutcomeCallable; - typedef std::function&)> CreateTableLevelAsyncHandler; - typedef Outcome CreateTableThemeOutcome; - typedef std::future CreateTableThemeOutcomeCallable; - typedef std::function&)> CreateTableThemeAsyncHandler; - typedef Outcome CreateUdfFileOutcome; - typedef std::future CreateUdfFileOutcomeCallable; - typedef std::function&)> CreateUdfFileAsyncHandler; - typedef Outcome DeleteBusinessOutcome; - typedef std::future DeleteBusinessOutcomeCallable; - typedef std::function&)> DeleteBusinessAsyncHandler; - typedef Outcome DeleteConnectionOutcome; - typedef std::future DeleteConnectionOutcomeCallable; - typedef std::function&)> DeleteConnectionAsyncHandler; - typedef Outcome DeleteDataServiceApiOutcome; - typedef std::future DeleteDataServiceApiOutcomeCallable; - typedef std::function&)> DeleteDataServiceApiAsyncHandler; - typedef Outcome DeleteDataServiceApiAuthorityOutcome; - typedef std::future DeleteDataServiceApiAuthorityOutcomeCallable; - typedef std::function&)> DeleteDataServiceApiAuthorityAsyncHandler; + typedef Outcome CreateRealTimeProcessOutcome; + typedef std::future CreateRealTimeProcessOutcomeCallable; + typedef std::function&)> CreateRealTimeProcessAsyncHandler; typedef Outcome DeleteFileOutcome; typedef std::future DeleteFileOutcomeCallable; typedef std::function&)> DeleteFileAsyncHandler; - typedef Outcome DeleteFolderOutcome; - typedef std::future DeleteFolderOutcomeCallable; - typedef std::function&)> DeleteFolderAsyncHandler; - typedef Outcome DeleteFromMetaCategoryOutcome; - typedef std::future DeleteFromMetaCategoryOutcomeCallable; - typedef std::function&)> DeleteFromMetaCategoryAsyncHandler; - typedef Outcome DeleteMetaCategoryOutcome; - typedef std::future DeleteMetaCategoryOutcomeCallable; - typedef std::function&)> DeleteMetaCategoryAsyncHandler; - typedef Outcome DeleteProjectMemberOutcome; - typedef std::future DeleteProjectMemberOutcomeCallable; - typedef std::function&)> DeleteProjectMemberAsyncHandler; - typedef Outcome DeleteQualityEntityOutcome; - typedef std::future DeleteQualityEntityOutcomeCallable; - typedef std::function&)> DeleteQualityEntityAsyncHandler; - typedef Outcome DeleteQualityFollowerOutcome; - typedef std::future DeleteQualityFollowerOutcomeCallable; - typedef std::function&)> DeleteQualityFollowerAsyncHandler; - typedef Outcome DeleteQualityRelativeNodeOutcome; - typedef std::future DeleteQualityRelativeNodeOutcomeCallable; - typedef std::function&)> DeleteQualityRelativeNodeAsyncHandler; - typedef Outcome DeleteQualityRuleOutcome; - typedef std::future DeleteQualityRuleOutcomeCallable; - typedef std::function&)> DeleteQualityRuleAsyncHandler; - typedef Outcome DeleteRemindOutcome; - typedef std::future DeleteRemindOutcomeCallable; - typedef std::function&)> DeleteRemindAsyncHandler; - typedef Outcome DeleteTableOutcome; - typedef std::future DeleteTableOutcomeCallable; - typedef std::function&)> DeleteTableAsyncHandler; - typedef Outcome DeleteTableLevelOutcome; - typedef std::future DeleteTableLevelOutcomeCallable; - typedef std::function&)> DeleteTableLevelAsyncHandler; - typedef Outcome DeleteTableThemeOutcome; - typedef std::future DeleteTableThemeOutcomeCallable; - typedef std::function&)> DeleteTableThemeAsyncHandler; - typedef Outcome DeployFileOutcome; - typedef std::future DeployFileOutcomeCallable; - typedef std::function&)> DeployFileAsyncHandler; - typedef Outcome DesensitizeDataOutcome; - typedef std::future DesensitizeDataOutcomeCallable; - typedef std::function&)> DesensitizeDataAsyncHandler; - typedef Outcome EstablishRelationTableToBusinessOutcome; - typedef std::future EstablishRelationTableToBusinessOutcomeCallable; - typedef std::function&)> EstablishRelationTableToBusinessAsyncHandler; - typedef Outcome GetBaselineConfigOutcome; - typedef std::future GetBaselineConfigOutcomeCallable; - typedef std::function&)> GetBaselineConfigAsyncHandler; - typedef Outcome GetBaselineKeyPathOutcome; - typedef std::future GetBaselineKeyPathOutcomeCallable; - typedef std::function&)> GetBaselineKeyPathAsyncHandler; - typedef Outcome GetBaselineStatusOutcome; - typedef std::future GetBaselineStatusOutcomeCallable; - typedef std::function&)> GetBaselineStatusAsyncHandler; - typedef Outcome GetBusinessOutcome; - typedef std::future GetBusinessOutcomeCallable; - typedef std::function&)> GetBusinessAsyncHandler; - typedef Outcome GetDDLJobStatusOutcome; - typedef std::future GetDDLJobStatusOutcomeCallable; - typedef std::function&)> GetDDLJobStatusAsyncHandler; - typedef Outcome GetDagOutcome; - typedef std::future GetDagOutcomeCallable; - typedef std::function&)> GetDagAsyncHandler; - typedef Outcome GetDataServiceApiOutcome; - typedef std::future GetDataServiceApiOutcomeCallable; - typedef std::function&)> GetDataServiceApiAsyncHandler; - typedef Outcome GetDataServiceApplicationOutcome; - typedef std::future GetDataServiceApplicationOutcomeCallable; - typedef std::function&)> GetDataServiceApplicationAsyncHandler; - typedef Outcome GetDataServiceFolderOutcome; - typedef std::future GetDataServiceFolderOutcomeCallable; - typedef std::function&)> GetDataServiceFolderAsyncHandler; - typedef Outcome GetDataServiceGroupOutcome; - typedef std::future GetDataServiceGroupOutcomeCallable; - typedef std::function&)> GetDataServiceGroupAsyncHandler; - typedef Outcome GetDataServicePublishedApiOutcome; - typedef std::future GetDataServicePublishedApiOutcomeCallable; - typedef std::function&)> GetDataServicePublishedApiAsyncHandler; - typedef Outcome GetDeploymentOutcome; - typedef std::future GetDeploymentOutcomeCallable; - typedef std::function&)> GetDeploymentAsyncHandler; - typedef Outcome GetFileOutcome; - typedef std::future GetFileOutcomeCallable; - typedef std::function&)> GetFileAsyncHandler; - typedef Outcome GetFileVersionOutcome; - typedef std::future GetFileVersionOutcomeCallable; - typedef std::function&)> GetFileVersionAsyncHandler; - typedef Outcome GetFolderOutcome; - typedef std::future GetFolderOutcomeCallable; - typedef std::function&)> GetFolderAsyncHandler; - typedef Outcome GetInstanceOutcome; - typedef std::future GetInstanceOutcomeCallable; - typedef std::function&)> GetInstanceAsyncHandler; - typedef Outcome GetInstanceConsumeTimeRankOutcome; - typedef std::future GetInstanceConsumeTimeRankOutcomeCallable; - typedef std::function&)> GetInstanceConsumeTimeRankAsyncHandler; - typedef Outcome GetInstanceCountTrendOutcome; - typedef std::future GetInstanceCountTrendOutcomeCallable; - typedef std::function&)> GetInstanceCountTrendAsyncHandler; - typedef Outcome GetInstanceErrorRankOutcome; - typedef std::future GetInstanceErrorRankOutcomeCallable; - typedef std::function&)> GetInstanceErrorRankAsyncHandler; - typedef Outcome GetInstanceLogOutcome; - typedef std::future GetInstanceLogOutcomeCallable; - typedef std::function&)> GetInstanceLogAsyncHandler; - typedef Outcome GetInstanceStatusCountOutcome; - typedef std::future GetInstanceStatusCountOutcomeCallable; - typedef std::function&)> GetInstanceStatusCountAsyncHandler; - typedef Outcome GetManualDagInstancesOutcome; - typedef std::future GetManualDagInstancesOutcomeCallable; - typedef std::function&)> GetManualDagInstancesAsyncHandler; - typedef Outcome GetMetaCategoryOutcome; - typedef std::future GetMetaCategoryOutcomeCallable; - typedef std::function&)> GetMetaCategoryAsyncHandler; - typedef Outcome GetMetaColumnLineageOutcome; - typedef std::future GetMetaColumnLineageOutcomeCallable; - typedef std::function&)> GetMetaColumnLineageAsyncHandler; - typedef Outcome GetMetaDBInfoOutcome; - typedef std::future GetMetaDBInfoOutcomeCallable; - typedef std::function&)> GetMetaDBInfoAsyncHandler; - typedef Outcome GetMetaDBTableListOutcome; - typedef std::future GetMetaDBTableListOutcomeCallable; - typedef std::function&)> GetMetaDBTableListAsyncHandler; - typedef Outcome GetMetaTableBasicInfoOutcome; - typedef std::future GetMetaTableBasicInfoOutcomeCallable; - typedef std::function&)> GetMetaTableBasicInfoAsyncHandler; - typedef Outcome GetMetaTableChangeLogOutcome; - typedef std::future GetMetaTableChangeLogOutcomeCallable; - typedef std::function&)> GetMetaTableChangeLogAsyncHandler; - typedef Outcome GetMetaTableColumnOutcome; - typedef std::future GetMetaTableColumnOutcomeCallable; - typedef std::function&)> GetMetaTableColumnAsyncHandler; - typedef Outcome GetMetaTableFullInfoOutcome; - typedef std::future GetMetaTableFullInfoOutcomeCallable; - typedef std::function&)> GetMetaTableFullInfoAsyncHandler; - typedef Outcome GetMetaTableIntroWikiOutcome; - typedef std::future GetMetaTableIntroWikiOutcomeCallable; - typedef std::function&)> GetMetaTableIntroWikiAsyncHandler; - typedef Outcome GetMetaTableLineageOutcome; - typedef std::future GetMetaTableLineageOutcomeCallable; - typedef std::function&)> GetMetaTableLineageAsyncHandler; - typedef Outcome GetMetaTableListByCategoryOutcome; - typedef std::future GetMetaTableListByCategoryOutcomeCallable; - typedef std::function&)> GetMetaTableListByCategoryAsyncHandler; - typedef Outcome GetMetaTableOutputOutcome; - typedef std::future GetMetaTableOutputOutcomeCallable; - typedef std::function&)> GetMetaTableOutputAsyncHandler; - typedef Outcome GetMetaTablePartitionOutcome; - typedef std::future GetMetaTablePartitionOutcomeCallable; - typedef std::function&)> GetMetaTablePartitionAsyncHandler; - typedef Outcome GetNodeOutcome; - typedef std::future GetNodeOutcomeCallable; - typedef std::function&)> GetNodeAsyncHandler; - typedef Outcome GetNodeChildrenOutcome; - typedef std::future GetNodeChildrenOutcomeCallable; - typedef std::function&)> GetNodeChildrenAsyncHandler; - typedef Outcome GetNodeCodeOutcome; - typedef std::future GetNodeCodeOutcomeCallable; - typedef std::function&)> GetNodeCodeAsyncHandler; - typedef Outcome GetNodeOnBaselineOutcome; - typedef std::future GetNodeOnBaselineOutcomeCallable; - typedef std::function&)> GetNodeOnBaselineAsyncHandler; - typedef Outcome GetNodeParentsOutcome; - typedef std::future GetNodeParentsOutcomeCallable; - typedef std::function&)> GetNodeParentsAsyncHandler; - typedef Outcome GetNodeTypeListInfoOutcome; - typedef std::future GetNodeTypeListInfoOutcomeCallable; - typedef std::function&)> GetNodeTypeListInfoAsyncHandler; - typedef Outcome GetOpRiskDataOutcome; - typedef std::future GetOpRiskDataOutcomeCallable; - typedef std::function&)> GetOpRiskDataAsyncHandler; - typedef Outcome GetOpSensitiveDataOutcome; - typedef std::future GetOpSensitiveDataOutcomeCallable; - typedef std::function&)> GetOpSensitiveDataAsyncHandler; - typedef Outcome GetProjectDetailOutcome; - typedef std::future GetProjectDetailOutcomeCallable; - typedef std::function&)> GetProjectDetailAsyncHandler; - typedef Outcome GetQualityEntityOutcome; - typedef std::future GetQualityEntityOutcomeCallable; - typedef std::function&)> GetQualityEntityAsyncHandler; - typedef Outcome GetQualityFollowerOutcome; - typedef std::future GetQualityFollowerOutcomeCallable; - typedef std::function&)> GetQualityFollowerAsyncHandler; - typedef Outcome GetQualityRuleOutcome; - typedef std::future GetQualityRuleOutcomeCallable; - typedef std::function&)> GetQualityRuleAsyncHandler; - typedef Outcome GetRemindOutcome; - typedef std::future GetRemindOutcomeCallable; - typedef std::function&)> GetRemindAsyncHandler; - typedef Outcome GetSensitiveDataOutcome; - typedef std::future GetSensitiveDataOutcomeCallable; - typedef std::function&)> GetSensitiveDataAsyncHandler; - typedef Outcome GetSuccessInstanceTrendOutcome; - typedef std::future GetSuccessInstanceTrendOutcomeCallable; - typedef std::function&)> GetSuccessInstanceTrendAsyncHandler; - typedef Outcome GetTopicOutcome; - typedef std::future GetTopicOutcomeCallable; - typedef std::function&)> GetTopicAsyncHandler; - typedef Outcome GetTopicInfluenceOutcome; - typedef std::future GetTopicInfluenceOutcomeCallable; - typedef std::function&)> GetTopicInfluenceAsyncHandler; - typedef Outcome ListAlertMessagesOutcome; - typedef std::future ListAlertMessagesOutcomeCallable; - typedef std::function&)> ListAlertMessagesAsyncHandler; - typedef Outcome ListBaselineConfigsOutcome; - typedef std::future ListBaselineConfigsOutcomeCallable; - typedef std::function&)> ListBaselineConfigsAsyncHandler; - typedef Outcome ListBaselineStatusesOutcome; - typedef std::future ListBaselineStatusesOutcomeCallable; - typedef std::function&)> ListBaselineStatusesAsyncHandler; - typedef Outcome ListBusinessOutcome; - typedef std::future ListBusinessOutcomeCallable; - typedef std::function&)> ListBusinessAsyncHandler; - typedef Outcome ListCalcEnginesOutcome; - typedef std::future ListCalcEnginesOutcomeCallable; - typedef std::function&)> ListCalcEnginesAsyncHandler; - typedef Outcome ListConnectionsOutcome; - typedef std::future ListConnectionsOutcomeCallable; - typedef std::function&)> ListConnectionsAsyncHandler; - typedef Outcome ListDataServiceApiAuthoritiesOutcome; - typedef std::future ListDataServiceApiAuthoritiesOutcomeCallable; - typedef std::function&)> ListDataServiceApiAuthoritiesAsyncHandler; - typedef Outcome ListDataServiceApisOutcome; - typedef std::future ListDataServiceApisOutcomeCallable; - typedef std::function&)> ListDataServiceApisAsyncHandler; - typedef Outcome ListDataServiceApplicationsOutcome; - typedef std::future ListDataServiceApplicationsOutcomeCallable; - typedef std::function&)> ListDataServiceApplicationsAsyncHandler; - typedef Outcome ListDataServiceAuthorizedApisOutcome; - typedef std::future ListDataServiceAuthorizedApisOutcomeCallable; - typedef std::function&)> ListDataServiceAuthorizedApisAsyncHandler; - typedef Outcome ListDataServiceFoldersOutcome; - typedef std::future ListDataServiceFoldersOutcomeCallable; - typedef std::function&)> ListDataServiceFoldersAsyncHandler; - typedef Outcome ListDataServiceGroupsOutcome; - typedef std::future ListDataServiceGroupsOutcomeCallable; - typedef std::function&)> ListDataServiceGroupsAsyncHandler; - typedef Outcome ListDataServicePublishedApisOutcome; - typedef std::future ListDataServicePublishedApisOutcomeCallable; - typedef std::function&)> ListDataServicePublishedApisAsyncHandler; - typedef Outcome ListFileVersionsOutcome; - typedef std::future ListFileVersionsOutcomeCallable; - typedef std::function&)> ListFileVersionsAsyncHandler; - typedef Outcome ListFilesOutcome; - typedef std::future ListFilesOutcomeCallable; - typedef std::function&)> ListFilesAsyncHandler; - typedef Outcome ListFoldersOutcome; - typedef std::future ListFoldersOutcomeCallable; - typedef std::function&)> ListFoldersAsyncHandler; - typedef Outcome ListInstancesOutcome; - typedef std::future ListInstancesOutcomeCallable; - typedef std::function&)> ListInstancesAsyncHandler; - typedef Outcome ListMetaDBOutcome; - typedef std::future ListMetaDBOutcomeCallable; - typedef std::function&)> ListMetaDBAsyncHandler; - typedef Outcome ListNodeIOOutcome; - typedef std::future ListNodeIOOutcomeCallable; - typedef std::function&)> ListNodeIOAsyncHandler; - typedef Outcome ListNodesOutcome; - typedef std::future ListNodesOutcomeCallable; - typedef std::function&)> ListNodesAsyncHandler; - typedef Outcome ListProgramTypeCountOutcome; - typedef std::future ListProgramTypeCountOutcomeCallable; - typedef std::function&)> ListProgramTypeCountAsyncHandler; - typedef Outcome ListProjectMembersOutcome; - typedef std::future ListProjectMembersOutcomeCallable; - typedef std::function&)> ListProjectMembersAsyncHandler; - typedef Outcome ListProjectRolesOutcome; - typedef std::future ListProjectRolesOutcomeCallable; - typedef std::function&)> ListProjectRolesAsyncHandler; - typedef Outcome ListProjectsOutcome; - typedef std::future ListProjectsOutcomeCallable; - typedef std::function&)> ListProjectsAsyncHandler; - typedef Outcome ListQualityResultsByEntityOutcome; - typedef std::future ListQualityResultsByEntityOutcomeCallable; - typedef std::function&)> ListQualityResultsByEntityAsyncHandler; - typedef Outcome ListQualityResultsByRuleOutcome; - typedef std::future ListQualityResultsByRuleOutcomeCallable; - typedef std::function&)> ListQualityResultsByRuleAsyncHandler; - typedef Outcome ListQualityRulesOutcome; - typedef std::future ListQualityRulesOutcomeCallable; - typedef std::function&)> ListQualityRulesAsyncHandler; - typedef Outcome ListRemindsOutcome; - typedef std::future ListRemindsOutcomeCallable; - typedef std::function&)> ListRemindsAsyncHandler; - typedef Outcome ListResourceGroupsOutcome; - typedef std::future ListResourceGroupsOutcomeCallable; - typedef std::function&)> ListResourceGroupsAsyncHandler; - typedef Outcome ListTableLevelOutcome; - typedef std::future ListTableLevelOutcomeCallable; - typedef std::function&)> ListTableLevelAsyncHandler; - typedef Outcome ListTableThemeOutcome; - typedef std::future ListTableThemeOutcomeCallable; - typedef std::function&)> ListTableThemeAsyncHandler; - typedef Outcome ListTopicsOutcome; - typedef std::future ListTopicsOutcomeCallable; - typedef std::function&)> ListTopicsAsyncHandler; - typedef Outcome PublishDataServiceApiOutcome; - typedef std::future PublishDataServiceApiOutcomeCallable; - typedef std::function&)> PublishDataServiceApiAsyncHandler; - typedef Outcome RemoveProjectMemberFromRoleOutcome; - typedef std::future RemoveProjectMemberFromRoleOutcomeCallable; - typedef std::function&)> RemoveProjectMemberFromRoleAsyncHandler; - typedef Outcome RestartInstanceOutcome; - typedef std::future RestartInstanceOutcomeCallable; - typedef std::function&)> RestartInstanceAsyncHandler; - typedef Outcome ResumeInstanceOutcome; - typedef std::future ResumeInstanceOutcomeCallable; - typedef std::function&)> ResumeInstanceAsyncHandler; - typedef Outcome RunTriggerNodeOutcome; - typedef std::future RunTriggerNodeOutcomeCallable; - typedef std::function&)> RunTriggerNodeAsyncHandler; - typedef Outcome ScanSensitiveDataOutcome; - typedef std::future ScanSensitiveDataOutcomeCallable; - typedef std::function&)> ScanSensitiveDataAsyncHandler; - typedef Outcome SearchMetaTablesOutcome; - typedef std::future SearchMetaTablesOutcomeCallable; - typedef std::function&)> SearchMetaTablesAsyncHandler; - typedef Outcome SearchNodesByOutputOutcome; - typedef std::future SearchNodesByOutputOutcomeCallable; - typedef std::function&)> SearchNodesByOutputAsyncHandler; - typedef Outcome SetSuccessInstanceOutcome; - typedef std::future SetSuccessInstanceOutcomeCallable; - typedef std::function&)> SetSuccessInstanceAsyncHandler; - typedef Outcome StopInstanceOutcome; - typedef std::future StopInstanceOutcomeCallable; - typedef std::function&)> StopInstanceAsyncHandler; - typedef Outcome SubmitFileOutcome; - typedef std::future SubmitFileOutcomeCallable; - typedef std::function&)> SubmitFileAsyncHandler; - typedef Outcome SuspendInstanceOutcome; - typedef std::future SuspendInstanceOutcomeCallable; - typedef std::function&)> SuspendInstanceAsyncHandler; - typedef Outcome UpdateBusinessOutcome; - typedef std::future UpdateBusinessOutcomeCallable; - typedef std::function&)> UpdateBusinessAsyncHandler; - typedef Outcome UpdateConnectionOutcome; - typedef std::future UpdateConnectionOutcomeCallable; - typedef std::function&)> UpdateConnectionAsyncHandler; - typedef Outcome UpdateDataServiceApiOutcome; - typedef std::future UpdateDataServiceApiOutcomeCallable; - typedef std::function&)> UpdateDataServiceApiAsyncHandler; - typedef Outcome UpdateFileOutcome; - typedef std::future UpdateFileOutcomeCallable; - typedef std::function&)> UpdateFileAsyncHandler; - typedef Outcome UpdateFolderOutcome; - typedef std::future UpdateFolderOutcomeCallable; - typedef std::function&)> UpdateFolderAsyncHandler; - typedef Outcome UpdateMetaCategoryOutcome; - typedef std::future UpdateMetaCategoryOutcomeCallable; - typedef std::function&)> UpdateMetaCategoryAsyncHandler; - typedef Outcome UpdateMetaTableOutcome; - typedef std::future UpdateMetaTableOutcomeCallable; - typedef std::function&)> UpdateMetaTableAsyncHandler; - typedef Outcome UpdateMetaTableIntroWikiOutcome; - typedef std::future UpdateMetaTableIntroWikiOutcomeCallable; - typedef std::function&)> UpdateMetaTableIntroWikiAsyncHandler; - typedef Outcome UpdateQualityFollowerOutcome; - typedef std::future UpdateQualityFollowerOutcomeCallable; - typedef std::function&)> UpdateQualityFollowerAsyncHandler; - typedef Outcome UpdateQualityRuleOutcome; - typedef std::future UpdateQualityRuleOutcomeCallable; - typedef std::function&)> UpdateQualityRuleAsyncHandler; - typedef Outcome UpdateRemindOutcome; - typedef std::future UpdateRemindOutcomeCallable; - typedef std::function&)> UpdateRemindAsyncHandler; - typedef Outcome UpdateTableOutcome; - typedef std::future UpdateTableOutcomeCallable; - typedef std::function&)> UpdateTableAsyncHandler; - typedef Outcome UpdateTableLevelOutcome; - typedef std::future UpdateTableLevelOutcomeCallable; - typedef std::function&)> UpdateTableLevelAsyncHandler; - typedef Outcome UpdateTableModelInfoOutcome; - typedef std::future UpdateTableModelInfoOutcomeCallable; - typedef std::function&)> UpdateTableModelInfoAsyncHandler; - typedef Outcome UpdateTableThemeOutcome; - typedef std::future UpdateTableThemeOutcomeCallable; - typedef std::function&)> UpdateTableThemeAsyncHandler; - typedef Outcome UpdateUdfFileOutcome; - typedef std::future UpdateUdfFileOutcomeCallable; - typedef std::function&)> UpdateUdfFileAsyncHandler; + typedef Outcome DescribeEmrHiveTableOutcome; + typedef std::future DescribeEmrHiveTableOutcomeCallable; + typedef std::function&)> DescribeEmrHiveTableAsyncHandler; + typedef Outcome ListEmrHiveAuditLogsOutcome; + typedef std::future ListEmrHiveAuditLogsOutcomeCallable; + typedef std::function&)> ListEmrHiveAuditLogsAsyncHandler; + typedef Outcome ListEmrHiveDatabasesOutcome; + typedef std::future ListEmrHiveDatabasesOutcomeCallable; + typedef std::function&)> ListEmrHiveDatabasesAsyncHandler; + typedef Outcome ListEmrHiveTablesOutcome; + typedef std::future ListEmrHiveTablesOutcomeCallable; + typedef std::function&)> ListEmrHiveTablesAsyncHandler; + typedef Outcome ListHiveColumnLineagesOutcome; + typedef std::future ListHiveColumnLineagesOutcomeCallable; + typedef std::function&)> ListHiveColumnLineagesAsyncHandler; + typedef Outcome ListHiveTableLineagesOutcome; + typedef std::future ListHiveTableLineagesOutcomeCallable; + typedef std::function&)> ListHiveTableLineagesAsyncHandler; + typedef Outcome ListTablePartitionsOutcome; + typedef std::future ListTablePartitionsOutcomeCallable; + typedef std::function&)> ListTablePartitionsAsyncHandler; + typedef Outcome OpenDataWorksStandardServiceOutcome; + typedef std::future OpenDataWorksStandardServiceOutcomeCallable; + typedef std::function&)> OpenDataWorksStandardServiceAsyncHandler; + typedef Outcome QueryRealTimeProcessStatusOutcome; + typedef std::future QueryRealTimeProcessStatusOutcomeCallable; + typedef std::function&)> QueryRealTimeProcessStatusAsyncHandler; + typedef Outcome SearchManualDagNodeInstanceOutcome; + typedef std::future SearchManualDagNodeInstanceOutcomeCallable; + typedef std::function&)> SearchManualDagNodeInstanceAsyncHandler; Dataworks_publicClient(const Credentials &credentials, const ClientConfiguration &configuration); Dataworks_publicClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); Dataworks_publicClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~Dataworks_publicClient(); - AbolishDataServiceApiOutcome abolishDataServiceApi(const Model::AbolishDataServiceApiRequest &request)const; - void abolishDataServiceApiAsync(const Model::AbolishDataServiceApiRequest& request, const AbolishDataServiceApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AbolishDataServiceApiOutcomeCallable abolishDataServiceApiCallable(const Model::AbolishDataServiceApiRequest& request) const; - AddProjectMemberToRoleOutcome addProjectMemberToRole(const Model::AddProjectMemberToRoleRequest &request)const; - void addProjectMemberToRoleAsync(const Model::AddProjectMemberToRoleRequest& request, const AddProjectMemberToRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddProjectMemberToRoleOutcomeCallable addProjectMemberToRoleCallable(const Model::AddProjectMemberToRoleRequest& request) const; - AddToMetaCategoryOutcome addToMetaCategory(const Model::AddToMetaCategoryRequest &request)const; - void addToMetaCategoryAsync(const Model::AddToMetaCategoryRequest& request, const AddToMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddToMetaCategoryOutcomeCallable addToMetaCategoryCallable(const Model::AddToMetaCategoryRequest& request) const; - CheckMetaPartitionOutcome checkMetaPartition(const Model::CheckMetaPartitionRequest &request)const; - void checkMetaPartitionAsync(const Model::CheckMetaPartitionRequest& request, const CheckMetaPartitionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CheckMetaPartitionOutcomeCallable checkMetaPartitionCallable(const Model::CheckMetaPartitionRequest& request) const; - CheckMetaTableOutcome checkMetaTable(const Model::CheckMetaTableRequest &request)const; - void checkMetaTableAsync(const Model::CheckMetaTableRequest& request, const CheckMetaTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CheckMetaTableOutcomeCallable checkMetaTableCallable(const Model::CheckMetaTableRequest& request) const; - CreateBusinessOutcome createBusiness(const Model::CreateBusinessRequest &request)const; - void createBusinessAsync(const Model::CreateBusinessRequest& request, const CreateBusinessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateBusinessOutcomeCallable createBusinessCallable(const Model::CreateBusinessRequest& request) const; - CreateConnectionOutcome createConnection(const Model::CreateConnectionRequest &request)const; - void createConnectionAsync(const Model::CreateConnectionRequest& request, const CreateConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateConnectionOutcomeCallable createConnectionCallable(const Model::CreateConnectionRequest& request) const; - CreateDagComplementOutcome createDagComplement(const Model::CreateDagComplementRequest &request)const; - void createDagComplementAsync(const Model::CreateDagComplementRequest& request, const CreateDagComplementAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateDagComplementOutcomeCallable createDagComplementCallable(const Model::CreateDagComplementRequest& request) const; - CreateDagTestOutcome createDagTest(const Model::CreateDagTestRequest &request)const; - void createDagTestAsync(const Model::CreateDagTestRequest& request, const CreateDagTestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateDagTestOutcomeCallable createDagTestCallable(const Model::CreateDagTestRequest& request) const; - CreateDataServiceApiOutcome createDataServiceApi(const Model::CreateDataServiceApiRequest &request)const; - void createDataServiceApiAsync(const Model::CreateDataServiceApiRequest& request, const CreateDataServiceApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateDataServiceApiOutcomeCallable createDataServiceApiCallable(const Model::CreateDataServiceApiRequest& request) const; - CreateDataServiceApiAuthorityOutcome createDataServiceApiAuthority(const Model::CreateDataServiceApiAuthorityRequest &request)const; - void createDataServiceApiAuthorityAsync(const Model::CreateDataServiceApiAuthorityRequest& request, const CreateDataServiceApiAuthorityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateDataServiceApiAuthorityOutcomeCallable createDataServiceApiAuthorityCallable(const Model::CreateDataServiceApiAuthorityRequest& request) const; - CreateDataServiceFolderOutcome createDataServiceFolder(const Model::CreateDataServiceFolderRequest &request)const; - void createDataServiceFolderAsync(const Model::CreateDataServiceFolderRequest& request, const CreateDataServiceFolderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateDataServiceFolderOutcomeCallable createDataServiceFolderCallable(const Model::CreateDataServiceFolderRequest& request) const; - CreateDataServiceGroupOutcome createDataServiceGroup(const Model::CreateDataServiceGroupRequest &request)const; - void createDataServiceGroupAsync(const Model::CreateDataServiceGroupRequest& request, const CreateDataServiceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateDataServiceGroupOutcomeCallable createDataServiceGroupCallable(const Model::CreateDataServiceGroupRequest& request) const; - CreateFileOutcome createFile(const Model::CreateFileRequest &request)const; - void createFileAsync(const Model::CreateFileRequest& request, const CreateFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateFileOutcomeCallable createFileCallable(const Model::CreateFileRequest& request) const; - CreateFolderOutcome createFolder(const Model::CreateFolderRequest &request)const; - void createFolderAsync(const Model::CreateFolderRequest& request, const CreateFolderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateFolderOutcomeCallable createFolderCallable(const Model::CreateFolderRequest& request) const; + CheckCallbackOutcome checkCallback(const Model::CheckCallbackRequest &request)const; + void checkCallbackAsync(const Model::CheckCallbackRequest& request, const CheckCallbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckCallbackOutcomeCallable checkCallbackCallable(const Model::CheckCallbackRequest& request) const; CreateManualDagOutcome createManualDag(const Model::CreateManualDagRequest &request)const; void createManualDagAsync(const Model::CreateManualDagRequest& request, const CreateManualDagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateManualDagOutcomeCallable createManualDagCallable(const Model::CreateManualDagRequest& request) const; - CreateMetaCategoryOutcome createMetaCategory(const Model::CreateMetaCategoryRequest &request)const; - void createMetaCategoryAsync(const Model::CreateMetaCategoryRequest& request, const CreateMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateMetaCategoryOutcomeCallable createMetaCategoryCallable(const Model::CreateMetaCategoryRequest& request) const; - CreateProjectMemberOutcome createProjectMember(const Model::CreateProjectMemberRequest &request)const; - void createProjectMemberAsync(const Model::CreateProjectMemberRequest& request, const CreateProjectMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateProjectMemberOutcomeCallable createProjectMemberCallable(const Model::CreateProjectMemberRequest& request) const; - CreateQualityEntityOutcome createQualityEntity(const Model::CreateQualityEntityRequest &request)const; - void createQualityEntityAsync(const Model::CreateQualityEntityRequest& request, const CreateQualityEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateQualityEntityOutcomeCallable createQualityEntityCallable(const Model::CreateQualityEntityRequest& request) const; - CreateQualityFollowerOutcome createQualityFollower(const Model::CreateQualityFollowerRequest &request)const; - void createQualityFollowerAsync(const Model::CreateQualityFollowerRequest& request, const CreateQualityFollowerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateQualityFollowerOutcomeCallable createQualityFollowerCallable(const Model::CreateQualityFollowerRequest& request) const; - CreateQualityRelativeNodeOutcome createQualityRelativeNode(const Model::CreateQualityRelativeNodeRequest &request)const; - void createQualityRelativeNodeAsync(const Model::CreateQualityRelativeNodeRequest& request, const CreateQualityRelativeNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateQualityRelativeNodeOutcomeCallable createQualityRelativeNodeCallable(const Model::CreateQualityRelativeNodeRequest& request) const; - CreateQualityRuleOutcome createQualityRule(const Model::CreateQualityRuleRequest &request)const; - void createQualityRuleAsync(const Model::CreateQualityRuleRequest& request, const CreateQualityRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateQualityRuleOutcomeCallable createQualityRuleCallable(const Model::CreateQualityRuleRequest& request) const; - CreateRemindOutcome createRemind(const Model::CreateRemindRequest &request)const; - void createRemindAsync(const Model::CreateRemindRequest& request, const CreateRemindAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateRemindOutcomeCallable createRemindCallable(const Model::CreateRemindRequest& request) const; - CreateTableOutcome createTable(const Model::CreateTableRequest &request)const; - void createTableAsync(const Model::CreateTableRequest& request, const CreateTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateTableOutcomeCallable createTableCallable(const Model::CreateTableRequest& request) const; - CreateTableLevelOutcome createTableLevel(const Model::CreateTableLevelRequest &request)const; - void createTableLevelAsync(const Model::CreateTableLevelRequest& request, const CreateTableLevelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateTableLevelOutcomeCallable createTableLevelCallable(const Model::CreateTableLevelRequest& request) const; - CreateTableThemeOutcome createTableTheme(const Model::CreateTableThemeRequest &request)const; - void createTableThemeAsync(const Model::CreateTableThemeRequest& request, const CreateTableThemeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateTableThemeOutcomeCallable createTableThemeCallable(const Model::CreateTableThemeRequest& request) const; - CreateUdfFileOutcome createUdfFile(const Model::CreateUdfFileRequest &request)const; - void createUdfFileAsync(const Model::CreateUdfFileRequest& request, const CreateUdfFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateUdfFileOutcomeCallable createUdfFileCallable(const Model::CreateUdfFileRequest& request) const; - DeleteBusinessOutcome deleteBusiness(const Model::DeleteBusinessRequest &request)const; - void deleteBusinessAsync(const Model::DeleteBusinessRequest& request, const DeleteBusinessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteBusinessOutcomeCallable deleteBusinessCallable(const Model::DeleteBusinessRequest& request) const; - DeleteConnectionOutcome deleteConnection(const Model::DeleteConnectionRequest &request)const; - void deleteConnectionAsync(const Model::DeleteConnectionRequest& request, const DeleteConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteConnectionOutcomeCallable deleteConnectionCallable(const Model::DeleteConnectionRequest& request) const; - DeleteDataServiceApiOutcome deleteDataServiceApi(const Model::DeleteDataServiceApiRequest &request)const; - void deleteDataServiceApiAsync(const Model::DeleteDataServiceApiRequest& request, const DeleteDataServiceApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteDataServiceApiOutcomeCallable deleteDataServiceApiCallable(const Model::DeleteDataServiceApiRequest& request) const; - DeleteDataServiceApiAuthorityOutcome deleteDataServiceApiAuthority(const Model::DeleteDataServiceApiAuthorityRequest &request)const; - void deleteDataServiceApiAuthorityAsync(const Model::DeleteDataServiceApiAuthorityRequest& request, const DeleteDataServiceApiAuthorityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteDataServiceApiAuthorityOutcomeCallable deleteDataServiceApiAuthorityCallable(const Model::DeleteDataServiceApiAuthorityRequest& request) const; + CreateRealTimeProcessOutcome createRealTimeProcess(const Model::CreateRealTimeProcessRequest &request)const; + void createRealTimeProcessAsync(const Model::CreateRealTimeProcessRequest& request, const CreateRealTimeProcessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateRealTimeProcessOutcomeCallable createRealTimeProcessCallable(const Model::CreateRealTimeProcessRequest& request) const; DeleteFileOutcome deleteFile(const Model::DeleteFileRequest &request)const; void deleteFileAsync(const Model::DeleteFileRequest& request, const DeleteFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFileOutcomeCallable deleteFileCallable(const Model::DeleteFileRequest& request) const; - DeleteFolderOutcome deleteFolder(const Model::DeleteFolderRequest &request)const; - void deleteFolderAsync(const Model::DeleteFolderRequest& request, const DeleteFolderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteFolderOutcomeCallable deleteFolderCallable(const Model::DeleteFolderRequest& request) const; - DeleteFromMetaCategoryOutcome deleteFromMetaCategory(const Model::DeleteFromMetaCategoryRequest &request)const; - void deleteFromMetaCategoryAsync(const Model::DeleteFromMetaCategoryRequest& request, const DeleteFromMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteFromMetaCategoryOutcomeCallable deleteFromMetaCategoryCallable(const Model::DeleteFromMetaCategoryRequest& request) const; - DeleteMetaCategoryOutcome deleteMetaCategory(const Model::DeleteMetaCategoryRequest &request)const; - void deleteMetaCategoryAsync(const Model::DeleteMetaCategoryRequest& request, const DeleteMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteMetaCategoryOutcomeCallable deleteMetaCategoryCallable(const Model::DeleteMetaCategoryRequest& request) const; - DeleteProjectMemberOutcome deleteProjectMember(const Model::DeleteProjectMemberRequest &request)const; - void deleteProjectMemberAsync(const Model::DeleteProjectMemberRequest& request, const DeleteProjectMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteProjectMemberOutcomeCallable deleteProjectMemberCallable(const Model::DeleteProjectMemberRequest& request) const; - DeleteQualityEntityOutcome deleteQualityEntity(const Model::DeleteQualityEntityRequest &request)const; - void deleteQualityEntityAsync(const Model::DeleteQualityEntityRequest& request, const DeleteQualityEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteQualityEntityOutcomeCallable deleteQualityEntityCallable(const Model::DeleteQualityEntityRequest& request) const; - DeleteQualityFollowerOutcome deleteQualityFollower(const Model::DeleteQualityFollowerRequest &request)const; - void deleteQualityFollowerAsync(const Model::DeleteQualityFollowerRequest& request, const DeleteQualityFollowerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteQualityFollowerOutcomeCallable deleteQualityFollowerCallable(const Model::DeleteQualityFollowerRequest& request) const; - DeleteQualityRelativeNodeOutcome deleteQualityRelativeNode(const Model::DeleteQualityRelativeNodeRequest &request)const; - void deleteQualityRelativeNodeAsync(const Model::DeleteQualityRelativeNodeRequest& request, const DeleteQualityRelativeNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteQualityRelativeNodeOutcomeCallable deleteQualityRelativeNodeCallable(const Model::DeleteQualityRelativeNodeRequest& request) const; - DeleteQualityRuleOutcome deleteQualityRule(const Model::DeleteQualityRuleRequest &request)const; - void deleteQualityRuleAsync(const Model::DeleteQualityRuleRequest& request, const DeleteQualityRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteQualityRuleOutcomeCallable deleteQualityRuleCallable(const Model::DeleteQualityRuleRequest& request) const; - DeleteRemindOutcome deleteRemind(const Model::DeleteRemindRequest &request)const; - void deleteRemindAsync(const Model::DeleteRemindRequest& request, const DeleteRemindAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteRemindOutcomeCallable deleteRemindCallable(const Model::DeleteRemindRequest& request) const; - DeleteTableOutcome deleteTable(const Model::DeleteTableRequest &request)const; - void deleteTableAsync(const Model::DeleteTableRequest& request, const DeleteTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteTableOutcomeCallable deleteTableCallable(const Model::DeleteTableRequest& request) const; - DeleteTableLevelOutcome deleteTableLevel(const Model::DeleteTableLevelRequest &request)const; - void deleteTableLevelAsync(const Model::DeleteTableLevelRequest& request, const DeleteTableLevelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteTableLevelOutcomeCallable deleteTableLevelCallable(const Model::DeleteTableLevelRequest& request) const; - DeleteTableThemeOutcome deleteTableTheme(const Model::DeleteTableThemeRequest &request)const; - void deleteTableThemeAsync(const Model::DeleteTableThemeRequest& request, const DeleteTableThemeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteTableThemeOutcomeCallable deleteTableThemeCallable(const Model::DeleteTableThemeRequest& request) const; - DeployFileOutcome deployFile(const Model::DeployFileRequest &request)const; - void deployFileAsync(const Model::DeployFileRequest& request, const DeployFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeployFileOutcomeCallable deployFileCallable(const Model::DeployFileRequest& request) const; - DesensitizeDataOutcome desensitizeData(const Model::DesensitizeDataRequest &request)const; - void desensitizeDataAsync(const Model::DesensitizeDataRequest& request, const DesensitizeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DesensitizeDataOutcomeCallable desensitizeDataCallable(const Model::DesensitizeDataRequest& request) const; - EstablishRelationTableToBusinessOutcome establishRelationTableToBusiness(const Model::EstablishRelationTableToBusinessRequest &request)const; - void establishRelationTableToBusinessAsync(const Model::EstablishRelationTableToBusinessRequest& request, const EstablishRelationTableToBusinessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - EstablishRelationTableToBusinessOutcomeCallable establishRelationTableToBusinessCallable(const Model::EstablishRelationTableToBusinessRequest& request) const; - GetBaselineConfigOutcome getBaselineConfig(const Model::GetBaselineConfigRequest &request)const; - void getBaselineConfigAsync(const Model::GetBaselineConfigRequest& request, const GetBaselineConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetBaselineConfigOutcomeCallable getBaselineConfigCallable(const Model::GetBaselineConfigRequest& request) const; - GetBaselineKeyPathOutcome getBaselineKeyPath(const Model::GetBaselineKeyPathRequest &request)const; - void getBaselineKeyPathAsync(const Model::GetBaselineKeyPathRequest& request, const GetBaselineKeyPathAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetBaselineKeyPathOutcomeCallable getBaselineKeyPathCallable(const Model::GetBaselineKeyPathRequest& request) const; - GetBaselineStatusOutcome getBaselineStatus(const Model::GetBaselineStatusRequest &request)const; - void getBaselineStatusAsync(const Model::GetBaselineStatusRequest& request, const GetBaselineStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetBaselineStatusOutcomeCallable getBaselineStatusCallable(const Model::GetBaselineStatusRequest& request) const; - GetBusinessOutcome getBusiness(const Model::GetBusinessRequest &request)const; - void getBusinessAsync(const Model::GetBusinessRequest& request, const GetBusinessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetBusinessOutcomeCallable getBusinessCallable(const Model::GetBusinessRequest& request) const; - GetDDLJobStatusOutcome getDDLJobStatus(const Model::GetDDLJobStatusRequest &request)const; - void getDDLJobStatusAsync(const Model::GetDDLJobStatusRequest& request, const GetDDLJobStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDDLJobStatusOutcomeCallable getDDLJobStatusCallable(const Model::GetDDLJobStatusRequest& request) const; - GetDagOutcome getDag(const Model::GetDagRequest &request)const; - void getDagAsync(const Model::GetDagRequest& request, const GetDagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDagOutcomeCallable getDagCallable(const Model::GetDagRequest& request) const; - GetDataServiceApiOutcome getDataServiceApi(const Model::GetDataServiceApiRequest &request)const; - void getDataServiceApiAsync(const Model::GetDataServiceApiRequest& request, const GetDataServiceApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDataServiceApiOutcomeCallable getDataServiceApiCallable(const Model::GetDataServiceApiRequest& request) const; - GetDataServiceApplicationOutcome getDataServiceApplication(const Model::GetDataServiceApplicationRequest &request)const; - void getDataServiceApplicationAsync(const Model::GetDataServiceApplicationRequest& request, const GetDataServiceApplicationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDataServiceApplicationOutcomeCallable getDataServiceApplicationCallable(const Model::GetDataServiceApplicationRequest& request) const; - GetDataServiceFolderOutcome getDataServiceFolder(const Model::GetDataServiceFolderRequest &request)const; - void getDataServiceFolderAsync(const Model::GetDataServiceFolderRequest& request, const GetDataServiceFolderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDataServiceFolderOutcomeCallable getDataServiceFolderCallable(const Model::GetDataServiceFolderRequest& request) const; - GetDataServiceGroupOutcome getDataServiceGroup(const Model::GetDataServiceGroupRequest &request)const; - void getDataServiceGroupAsync(const Model::GetDataServiceGroupRequest& request, const GetDataServiceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDataServiceGroupOutcomeCallable getDataServiceGroupCallable(const Model::GetDataServiceGroupRequest& request) const; - GetDataServicePublishedApiOutcome getDataServicePublishedApi(const Model::GetDataServicePublishedApiRequest &request)const; - void getDataServicePublishedApiAsync(const Model::GetDataServicePublishedApiRequest& request, const GetDataServicePublishedApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDataServicePublishedApiOutcomeCallable getDataServicePublishedApiCallable(const Model::GetDataServicePublishedApiRequest& request) const; - GetDeploymentOutcome getDeployment(const Model::GetDeploymentRequest &request)const; - void getDeploymentAsync(const Model::GetDeploymentRequest& request, const GetDeploymentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDeploymentOutcomeCallable getDeploymentCallable(const Model::GetDeploymentRequest& request) const; - GetFileOutcome getFile(const Model::GetFileRequest &request)const; - void getFileAsync(const Model::GetFileRequest& request, const GetFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetFileOutcomeCallable getFileCallable(const Model::GetFileRequest& request) const; - GetFileVersionOutcome getFileVersion(const Model::GetFileVersionRequest &request)const; - void getFileVersionAsync(const Model::GetFileVersionRequest& request, const GetFileVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetFileVersionOutcomeCallable getFileVersionCallable(const Model::GetFileVersionRequest& request) const; - GetFolderOutcome getFolder(const Model::GetFolderRequest &request)const; - void getFolderAsync(const Model::GetFolderRequest& request, const GetFolderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetFolderOutcomeCallable getFolderCallable(const Model::GetFolderRequest& request) const; - GetInstanceOutcome getInstance(const Model::GetInstanceRequest &request)const; - void getInstanceAsync(const Model::GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetInstanceOutcomeCallable getInstanceCallable(const Model::GetInstanceRequest& request) const; - GetInstanceConsumeTimeRankOutcome getInstanceConsumeTimeRank(const Model::GetInstanceConsumeTimeRankRequest &request)const; - void getInstanceConsumeTimeRankAsync(const Model::GetInstanceConsumeTimeRankRequest& request, const GetInstanceConsumeTimeRankAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetInstanceConsumeTimeRankOutcomeCallable getInstanceConsumeTimeRankCallable(const Model::GetInstanceConsumeTimeRankRequest& request) const; - GetInstanceCountTrendOutcome getInstanceCountTrend(const Model::GetInstanceCountTrendRequest &request)const; - void getInstanceCountTrendAsync(const Model::GetInstanceCountTrendRequest& request, const GetInstanceCountTrendAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetInstanceCountTrendOutcomeCallable getInstanceCountTrendCallable(const Model::GetInstanceCountTrendRequest& request) const; - GetInstanceErrorRankOutcome getInstanceErrorRank(const Model::GetInstanceErrorRankRequest &request)const; - void getInstanceErrorRankAsync(const Model::GetInstanceErrorRankRequest& request, const GetInstanceErrorRankAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetInstanceErrorRankOutcomeCallable getInstanceErrorRankCallable(const Model::GetInstanceErrorRankRequest& request) const; - GetInstanceLogOutcome getInstanceLog(const Model::GetInstanceLogRequest &request)const; - void getInstanceLogAsync(const Model::GetInstanceLogRequest& request, const GetInstanceLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetInstanceLogOutcomeCallable getInstanceLogCallable(const Model::GetInstanceLogRequest& request) const; - GetInstanceStatusCountOutcome getInstanceStatusCount(const Model::GetInstanceStatusCountRequest &request)const; - void getInstanceStatusCountAsync(const Model::GetInstanceStatusCountRequest& request, const GetInstanceStatusCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetInstanceStatusCountOutcomeCallable getInstanceStatusCountCallable(const Model::GetInstanceStatusCountRequest& request) const; - GetManualDagInstancesOutcome getManualDagInstances(const Model::GetManualDagInstancesRequest &request)const; - void getManualDagInstancesAsync(const Model::GetManualDagInstancesRequest& request, const GetManualDagInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetManualDagInstancesOutcomeCallable getManualDagInstancesCallable(const Model::GetManualDagInstancesRequest& request) const; - GetMetaCategoryOutcome getMetaCategory(const Model::GetMetaCategoryRequest &request)const; - void getMetaCategoryAsync(const Model::GetMetaCategoryRequest& request, const GetMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaCategoryOutcomeCallable getMetaCategoryCallable(const Model::GetMetaCategoryRequest& request) const; - GetMetaColumnLineageOutcome getMetaColumnLineage(const Model::GetMetaColumnLineageRequest &request)const; - void getMetaColumnLineageAsync(const Model::GetMetaColumnLineageRequest& request, const GetMetaColumnLineageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaColumnLineageOutcomeCallable getMetaColumnLineageCallable(const Model::GetMetaColumnLineageRequest& request) const; - GetMetaDBInfoOutcome getMetaDBInfo(const Model::GetMetaDBInfoRequest &request)const; - void getMetaDBInfoAsync(const Model::GetMetaDBInfoRequest& request, const GetMetaDBInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaDBInfoOutcomeCallable getMetaDBInfoCallable(const Model::GetMetaDBInfoRequest& request) const; - GetMetaDBTableListOutcome getMetaDBTableList(const Model::GetMetaDBTableListRequest &request)const; - void getMetaDBTableListAsync(const Model::GetMetaDBTableListRequest& request, const GetMetaDBTableListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaDBTableListOutcomeCallable getMetaDBTableListCallable(const Model::GetMetaDBTableListRequest& request) const; - GetMetaTableBasicInfoOutcome getMetaTableBasicInfo(const Model::GetMetaTableBasicInfoRequest &request)const; - void getMetaTableBasicInfoAsync(const Model::GetMetaTableBasicInfoRequest& request, const GetMetaTableBasicInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaTableBasicInfoOutcomeCallable getMetaTableBasicInfoCallable(const Model::GetMetaTableBasicInfoRequest& request) const; - GetMetaTableChangeLogOutcome getMetaTableChangeLog(const Model::GetMetaTableChangeLogRequest &request)const; - void getMetaTableChangeLogAsync(const Model::GetMetaTableChangeLogRequest& request, const GetMetaTableChangeLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaTableChangeLogOutcomeCallable getMetaTableChangeLogCallable(const Model::GetMetaTableChangeLogRequest& request) const; - GetMetaTableColumnOutcome getMetaTableColumn(const Model::GetMetaTableColumnRequest &request)const; - void getMetaTableColumnAsync(const Model::GetMetaTableColumnRequest& request, const GetMetaTableColumnAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaTableColumnOutcomeCallable getMetaTableColumnCallable(const Model::GetMetaTableColumnRequest& request) const; - GetMetaTableFullInfoOutcome getMetaTableFullInfo(const Model::GetMetaTableFullInfoRequest &request)const; - void getMetaTableFullInfoAsync(const Model::GetMetaTableFullInfoRequest& request, const GetMetaTableFullInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaTableFullInfoOutcomeCallable getMetaTableFullInfoCallable(const Model::GetMetaTableFullInfoRequest& request) const; - GetMetaTableIntroWikiOutcome getMetaTableIntroWiki(const Model::GetMetaTableIntroWikiRequest &request)const; - void getMetaTableIntroWikiAsync(const Model::GetMetaTableIntroWikiRequest& request, const GetMetaTableIntroWikiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaTableIntroWikiOutcomeCallable getMetaTableIntroWikiCallable(const Model::GetMetaTableIntroWikiRequest& request) const; - GetMetaTableLineageOutcome getMetaTableLineage(const Model::GetMetaTableLineageRequest &request)const; - void getMetaTableLineageAsync(const Model::GetMetaTableLineageRequest& request, const GetMetaTableLineageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaTableLineageOutcomeCallable getMetaTableLineageCallable(const Model::GetMetaTableLineageRequest& request) const; - GetMetaTableListByCategoryOutcome getMetaTableListByCategory(const Model::GetMetaTableListByCategoryRequest &request)const; - void getMetaTableListByCategoryAsync(const Model::GetMetaTableListByCategoryRequest& request, const GetMetaTableListByCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaTableListByCategoryOutcomeCallable getMetaTableListByCategoryCallable(const Model::GetMetaTableListByCategoryRequest& request) const; - GetMetaTableOutputOutcome getMetaTableOutput(const Model::GetMetaTableOutputRequest &request)const; - void getMetaTableOutputAsync(const Model::GetMetaTableOutputRequest& request, const GetMetaTableOutputAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaTableOutputOutcomeCallable getMetaTableOutputCallable(const Model::GetMetaTableOutputRequest& request) const; - GetMetaTablePartitionOutcome getMetaTablePartition(const Model::GetMetaTablePartitionRequest &request)const; - void getMetaTablePartitionAsync(const Model::GetMetaTablePartitionRequest& request, const GetMetaTablePartitionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetaTablePartitionOutcomeCallable getMetaTablePartitionCallable(const Model::GetMetaTablePartitionRequest& request) const; - GetNodeOutcome getNode(const Model::GetNodeRequest &request)const; - void getNodeAsync(const Model::GetNodeRequest& request, const GetNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetNodeOutcomeCallable getNodeCallable(const Model::GetNodeRequest& request) const; - GetNodeChildrenOutcome getNodeChildren(const Model::GetNodeChildrenRequest &request)const; - void getNodeChildrenAsync(const Model::GetNodeChildrenRequest& request, const GetNodeChildrenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetNodeChildrenOutcomeCallable getNodeChildrenCallable(const Model::GetNodeChildrenRequest& request) const; - GetNodeCodeOutcome getNodeCode(const Model::GetNodeCodeRequest &request)const; - void getNodeCodeAsync(const Model::GetNodeCodeRequest& request, const GetNodeCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetNodeCodeOutcomeCallable getNodeCodeCallable(const Model::GetNodeCodeRequest& request) const; - GetNodeOnBaselineOutcome getNodeOnBaseline(const Model::GetNodeOnBaselineRequest &request)const; - void getNodeOnBaselineAsync(const Model::GetNodeOnBaselineRequest& request, const GetNodeOnBaselineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetNodeOnBaselineOutcomeCallable getNodeOnBaselineCallable(const Model::GetNodeOnBaselineRequest& request) const; - GetNodeParentsOutcome getNodeParents(const Model::GetNodeParentsRequest &request)const; - void getNodeParentsAsync(const Model::GetNodeParentsRequest& request, const GetNodeParentsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetNodeParentsOutcomeCallable getNodeParentsCallable(const Model::GetNodeParentsRequest& request) const; - GetNodeTypeListInfoOutcome getNodeTypeListInfo(const Model::GetNodeTypeListInfoRequest &request)const; - void getNodeTypeListInfoAsync(const Model::GetNodeTypeListInfoRequest& request, const GetNodeTypeListInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetNodeTypeListInfoOutcomeCallable getNodeTypeListInfoCallable(const Model::GetNodeTypeListInfoRequest& request) const; - GetOpRiskDataOutcome getOpRiskData(const Model::GetOpRiskDataRequest &request)const; - void getOpRiskDataAsync(const Model::GetOpRiskDataRequest& request, const GetOpRiskDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetOpRiskDataOutcomeCallable getOpRiskDataCallable(const Model::GetOpRiskDataRequest& request) const; - GetOpSensitiveDataOutcome getOpSensitiveData(const Model::GetOpSensitiveDataRequest &request)const; - void getOpSensitiveDataAsync(const Model::GetOpSensitiveDataRequest& request, const GetOpSensitiveDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetOpSensitiveDataOutcomeCallable getOpSensitiveDataCallable(const Model::GetOpSensitiveDataRequest& request) const; - GetProjectDetailOutcome getProjectDetail(const Model::GetProjectDetailRequest &request)const; - void getProjectDetailAsync(const Model::GetProjectDetailRequest& request, const GetProjectDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetProjectDetailOutcomeCallable getProjectDetailCallable(const Model::GetProjectDetailRequest& request) const; - GetQualityEntityOutcome getQualityEntity(const Model::GetQualityEntityRequest &request)const; - void getQualityEntityAsync(const Model::GetQualityEntityRequest& request, const GetQualityEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetQualityEntityOutcomeCallable getQualityEntityCallable(const Model::GetQualityEntityRequest& request) const; - GetQualityFollowerOutcome getQualityFollower(const Model::GetQualityFollowerRequest &request)const; - void getQualityFollowerAsync(const Model::GetQualityFollowerRequest& request, const GetQualityFollowerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetQualityFollowerOutcomeCallable getQualityFollowerCallable(const Model::GetQualityFollowerRequest& request) const; - GetQualityRuleOutcome getQualityRule(const Model::GetQualityRuleRequest &request)const; - void getQualityRuleAsync(const Model::GetQualityRuleRequest& request, const GetQualityRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetQualityRuleOutcomeCallable getQualityRuleCallable(const Model::GetQualityRuleRequest& request) const; - GetRemindOutcome getRemind(const Model::GetRemindRequest &request)const; - void getRemindAsync(const Model::GetRemindRequest& request, const GetRemindAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetRemindOutcomeCallable getRemindCallable(const Model::GetRemindRequest& request) const; - GetSensitiveDataOutcome getSensitiveData(const Model::GetSensitiveDataRequest &request)const; - void getSensitiveDataAsync(const Model::GetSensitiveDataRequest& request, const GetSensitiveDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetSensitiveDataOutcomeCallable getSensitiveDataCallable(const Model::GetSensitiveDataRequest& request) const; - GetSuccessInstanceTrendOutcome getSuccessInstanceTrend(const Model::GetSuccessInstanceTrendRequest &request)const; - void getSuccessInstanceTrendAsync(const Model::GetSuccessInstanceTrendRequest& request, const GetSuccessInstanceTrendAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetSuccessInstanceTrendOutcomeCallable getSuccessInstanceTrendCallable(const Model::GetSuccessInstanceTrendRequest& request) const; - GetTopicOutcome getTopic(const Model::GetTopicRequest &request)const; - void getTopicAsync(const Model::GetTopicRequest& request, const GetTopicAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetTopicOutcomeCallable getTopicCallable(const Model::GetTopicRequest& request) const; - GetTopicInfluenceOutcome getTopicInfluence(const Model::GetTopicInfluenceRequest &request)const; - void getTopicInfluenceAsync(const Model::GetTopicInfluenceRequest& request, const GetTopicInfluenceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetTopicInfluenceOutcomeCallable getTopicInfluenceCallable(const Model::GetTopicInfluenceRequest& request) const; - ListAlertMessagesOutcome listAlertMessages(const Model::ListAlertMessagesRequest &request)const; - void listAlertMessagesAsync(const Model::ListAlertMessagesRequest& request, const ListAlertMessagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListAlertMessagesOutcomeCallable listAlertMessagesCallable(const Model::ListAlertMessagesRequest& request) const; - ListBaselineConfigsOutcome listBaselineConfigs(const Model::ListBaselineConfigsRequest &request)const; - void listBaselineConfigsAsync(const Model::ListBaselineConfigsRequest& request, const ListBaselineConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListBaselineConfigsOutcomeCallable listBaselineConfigsCallable(const Model::ListBaselineConfigsRequest& request) const; - ListBaselineStatusesOutcome listBaselineStatuses(const Model::ListBaselineStatusesRequest &request)const; - void listBaselineStatusesAsync(const Model::ListBaselineStatusesRequest& request, const ListBaselineStatusesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListBaselineStatusesOutcomeCallable listBaselineStatusesCallable(const Model::ListBaselineStatusesRequest& request) const; - ListBusinessOutcome listBusiness(const Model::ListBusinessRequest &request)const; - void listBusinessAsync(const Model::ListBusinessRequest& request, const ListBusinessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListBusinessOutcomeCallable listBusinessCallable(const Model::ListBusinessRequest& request) const; - ListCalcEnginesOutcome listCalcEngines(const Model::ListCalcEnginesRequest &request)const; - void listCalcEnginesAsync(const Model::ListCalcEnginesRequest& request, const ListCalcEnginesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListCalcEnginesOutcomeCallable listCalcEnginesCallable(const Model::ListCalcEnginesRequest& request) const; - ListConnectionsOutcome listConnections(const Model::ListConnectionsRequest &request)const; - void listConnectionsAsync(const Model::ListConnectionsRequest& request, const ListConnectionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListConnectionsOutcomeCallable listConnectionsCallable(const Model::ListConnectionsRequest& request) const; - ListDataServiceApiAuthoritiesOutcome listDataServiceApiAuthorities(const Model::ListDataServiceApiAuthoritiesRequest &request)const; - void listDataServiceApiAuthoritiesAsync(const Model::ListDataServiceApiAuthoritiesRequest& request, const ListDataServiceApiAuthoritiesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDataServiceApiAuthoritiesOutcomeCallable listDataServiceApiAuthoritiesCallable(const Model::ListDataServiceApiAuthoritiesRequest& request) const; - ListDataServiceApisOutcome listDataServiceApis(const Model::ListDataServiceApisRequest &request)const; - void listDataServiceApisAsync(const Model::ListDataServiceApisRequest& request, const ListDataServiceApisAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDataServiceApisOutcomeCallable listDataServiceApisCallable(const Model::ListDataServiceApisRequest& request) const; - ListDataServiceApplicationsOutcome listDataServiceApplications(const Model::ListDataServiceApplicationsRequest &request)const; - void listDataServiceApplicationsAsync(const Model::ListDataServiceApplicationsRequest& request, const ListDataServiceApplicationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDataServiceApplicationsOutcomeCallable listDataServiceApplicationsCallable(const Model::ListDataServiceApplicationsRequest& request) const; - ListDataServiceAuthorizedApisOutcome listDataServiceAuthorizedApis(const Model::ListDataServiceAuthorizedApisRequest &request)const; - void listDataServiceAuthorizedApisAsync(const Model::ListDataServiceAuthorizedApisRequest& request, const ListDataServiceAuthorizedApisAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDataServiceAuthorizedApisOutcomeCallable listDataServiceAuthorizedApisCallable(const Model::ListDataServiceAuthorizedApisRequest& request) const; - ListDataServiceFoldersOutcome listDataServiceFolders(const Model::ListDataServiceFoldersRequest &request)const; - void listDataServiceFoldersAsync(const Model::ListDataServiceFoldersRequest& request, const ListDataServiceFoldersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDataServiceFoldersOutcomeCallable listDataServiceFoldersCallable(const Model::ListDataServiceFoldersRequest& request) const; - ListDataServiceGroupsOutcome listDataServiceGroups(const Model::ListDataServiceGroupsRequest &request)const; - void listDataServiceGroupsAsync(const Model::ListDataServiceGroupsRequest& request, const ListDataServiceGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDataServiceGroupsOutcomeCallable listDataServiceGroupsCallable(const Model::ListDataServiceGroupsRequest& request) const; - ListDataServicePublishedApisOutcome listDataServicePublishedApis(const Model::ListDataServicePublishedApisRequest &request)const; - void listDataServicePublishedApisAsync(const Model::ListDataServicePublishedApisRequest& request, const ListDataServicePublishedApisAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDataServicePublishedApisOutcomeCallable listDataServicePublishedApisCallable(const Model::ListDataServicePublishedApisRequest& request) const; - ListFileVersionsOutcome listFileVersions(const Model::ListFileVersionsRequest &request)const; - void listFileVersionsAsync(const Model::ListFileVersionsRequest& request, const ListFileVersionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListFileVersionsOutcomeCallable listFileVersionsCallable(const Model::ListFileVersionsRequest& request) const; - ListFilesOutcome listFiles(const Model::ListFilesRequest &request)const; - void listFilesAsync(const Model::ListFilesRequest& request, const ListFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListFilesOutcomeCallable listFilesCallable(const Model::ListFilesRequest& request) const; - ListFoldersOutcome listFolders(const Model::ListFoldersRequest &request)const; - void listFoldersAsync(const Model::ListFoldersRequest& request, const ListFoldersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListFoldersOutcomeCallable listFoldersCallable(const Model::ListFoldersRequest& request) const; - ListInstancesOutcome listInstances(const Model::ListInstancesRequest &request)const; - void listInstancesAsync(const Model::ListInstancesRequest& request, const ListInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListInstancesOutcomeCallable listInstancesCallable(const Model::ListInstancesRequest& request) const; - ListMetaDBOutcome listMetaDB(const Model::ListMetaDBRequest &request)const; - void listMetaDBAsync(const Model::ListMetaDBRequest& request, const ListMetaDBAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListMetaDBOutcomeCallable listMetaDBCallable(const Model::ListMetaDBRequest& request) const; - ListNodeIOOutcome listNodeIO(const Model::ListNodeIORequest &request)const; - void listNodeIOAsync(const Model::ListNodeIORequest& request, const ListNodeIOAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListNodeIOOutcomeCallable listNodeIOCallable(const Model::ListNodeIORequest& request) const; - ListNodesOutcome listNodes(const Model::ListNodesRequest &request)const; - void listNodesAsync(const Model::ListNodesRequest& request, const ListNodesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListNodesOutcomeCallable listNodesCallable(const Model::ListNodesRequest& request) const; - ListProgramTypeCountOutcome listProgramTypeCount(const Model::ListProgramTypeCountRequest &request)const; - void listProgramTypeCountAsync(const Model::ListProgramTypeCountRequest& request, const ListProgramTypeCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListProgramTypeCountOutcomeCallable listProgramTypeCountCallable(const Model::ListProgramTypeCountRequest& request) const; - ListProjectMembersOutcome listProjectMembers(const Model::ListProjectMembersRequest &request)const; - void listProjectMembersAsync(const Model::ListProjectMembersRequest& request, const ListProjectMembersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListProjectMembersOutcomeCallable listProjectMembersCallable(const Model::ListProjectMembersRequest& request) const; - ListProjectRolesOutcome listProjectRoles(const Model::ListProjectRolesRequest &request)const; - void listProjectRolesAsync(const Model::ListProjectRolesRequest& request, const ListProjectRolesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListProjectRolesOutcomeCallable listProjectRolesCallable(const Model::ListProjectRolesRequest& request) const; - ListProjectsOutcome listProjects(const Model::ListProjectsRequest &request)const; - void listProjectsAsync(const Model::ListProjectsRequest& request, const ListProjectsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListProjectsOutcomeCallable listProjectsCallable(const Model::ListProjectsRequest& request) const; - ListQualityResultsByEntityOutcome listQualityResultsByEntity(const Model::ListQualityResultsByEntityRequest &request)const; - void listQualityResultsByEntityAsync(const Model::ListQualityResultsByEntityRequest& request, const ListQualityResultsByEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListQualityResultsByEntityOutcomeCallable listQualityResultsByEntityCallable(const Model::ListQualityResultsByEntityRequest& request) const; - ListQualityResultsByRuleOutcome listQualityResultsByRule(const Model::ListQualityResultsByRuleRequest &request)const; - void listQualityResultsByRuleAsync(const Model::ListQualityResultsByRuleRequest& request, const ListQualityResultsByRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListQualityResultsByRuleOutcomeCallable listQualityResultsByRuleCallable(const Model::ListQualityResultsByRuleRequest& request) const; - ListQualityRulesOutcome listQualityRules(const Model::ListQualityRulesRequest &request)const; - void listQualityRulesAsync(const Model::ListQualityRulesRequest& request, const ListQualityRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListQualityRulesOutcomeCallable listQualityRulesCallable(const Model::ListQualityRulesRequest& request) const; - ListRemindsOutcome listReminds(const Model::ListRemindsRequest &request)const; - void listRemindsAsync(const Model::ListRemindsRequest& request, const ListRemindsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListRemindsOutcomeCallable listRemindsCallable(const Model::ListRemindsRequest& request) const; - ListResourceGroupsOutcome listResourceGroups(const Model::ListResourceGroupsRequest &request)const; - void listResourceGroupsAsync(const Model::ListResourceGroupsRequest& request, const ListResourceGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListResourceGroupsOutcomeCallable listResourceGroupsCallable(const Model::ListResourceGroupsRequest& request) const; - ListTableLevelOutcome listTableLevel(const Model::ListTableLevelRequest &request)const; - void listTableLevelAsync(const Model::ListTableLevelRequest& request, const ListTableLevelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListTableLevelOutcomeCallable listTableLevelCallable(const Model::ListTableLevelRequest& request) const; - ListTableThemeOutcome listTableTheme(const Model::ListTableThemeRequest &request)const; - void listTableThemeAsync(const Model::ListTableThemeRequest& request, const ListTableThemeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListTableThemeOutcomeCallable listTableThemeCallable(const Model::ListTableThemeRequest& request) const; - ListTopicsOutcome listTopics(const Model::ListTopicsRequest &request)const; - void listTopicsAsync(const Model::ListTopicsRequest& request, const ListTopicsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListTopicsOutcomeCallable listTopicsCallable(const Model::ListTopicsRequest& request) const; - PublishDataServiceApiOutcome publishDataServiceApi(const Model::PublishDataServiceApiRequest &request)const; - void publishDataServiceApiAsync(const Model::PublishDataServiceApiRequest& request, const PublishDataServiceApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PublishDataServiceApiOutcomeCallable publishDataServiceApiCallable(const Model::PublishDataServiceApiRequest& request) const; - RemoveProjectMemberFromRoleOutcome removeProjectMemberFromRole(const Model::RemoveProjectMemberFromRoleRequest &request)const; - void removeProjectMemberFromRoleAsync(const Model::RemoveProjectMemberFromRoleRequest& request, const RemoveProjectMemberFromRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RemoveProjectMemberFromRoleOutcomeCallable removeProjectMemberFromRoleCallable(const Model::RemoveProjectMemberFromRoleRequest& request) const; - RestartInstanceOutcome restartInstance(const Model::RestartInstanceRequest &request)const; - void restartInstanceAsync(const Model::RestartInstanceRequest& request, const RestartInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RestartInstanceOutcomeCallable restartInstanceCallable(const Model::RestartInstanceRequest& request) const; - ResumeInstanceOutcome resumeInstance(const Model::ResumeInstanceRequest &request)const; - void resumeInstanceAsync(const Model::ResumeInstanceRequest& request, const ResumeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ResumeInstanceOutcomeCallable resumeInstanceCallable(const Model::ResumeInstanceRequest& request) const; - RunTriggerNodeOutcome runTriggerNode(const Model::RunTriggerNodeRequest &request)const; - void runTriggerNodeAsync(const Model::RunTriggerNodeRequest& request, const RunTriggerNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RunTriggerNodeOutcomeCallable runTriggerNodeCallable(const Model::RunTriggerNodeRequest& request) const; - ScanSensitiveDataOutcome scanSensitiveData(const Model::ScanSensitiveDataRequest &request)const; - void scanSensitiveDataAsync(const Model::ScanSensitiveDataRequest& request, const ScanSensitiveDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ScanSensitiveDataOutcomeCallable scanSensitiveDataCallable(const Model::ScanSensitiveDataRequest& request) const; - SearchMetaTablesOutcome searchMetaTables(const Model::SearchMetaTablesRequest &request)const; - void searchMetaTablesAsync(const Model::SearchMetaTablesRequest& request, const SearchMetaTablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SearchMetaTablesOutcomeCallable searchMetaTablesCallable(const Model::SearchMetaTablesRequest& request) const; - SearchNodesByOutputOutcome searchNodesByOutput(const Model::SearchNodesByOutputRequest &request)const; - void searchNodesByOutputAsync(const Model::SearchNodesByOutputRequest& request, const SearchNodesByOutputAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SearchNodesByOutputOutcomeCallable searchNodesByOutputCallable(const Model::SearchNodesByOutputRequest& request) const; - SetSuccessInstanceOutcome setSuccessInstance(const Model::SetSuccessInstanceRequest &request)const; - void setSuccessInstanceAsync(const Model::SetSuccessInstanceRequest& request, const SetSuccessInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetSuccessInstanceOutcomeCallable setSuccessInstanceCallable(const Model::SetSuccessInstanceRequest& request) const; - StopInstanceOutcome stopInstance(const Model::StopInstanceRequest &request)const; - void stopInstanceAsync(const Model::StopInstanceRequest& request, const StopInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - StopInstanceOutcomeCallable stopInstanceCallable(const Model::StopInstanceRequest& request) const; - SubmitFileOutcome submitFile(const Model::SubmitFileRequest &request)const; - void submitFileAsync(const Model::SubmitFileRequest& request, const SubmitFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitFileOutcomeCallable submitFileCallable(const Model::SubmitFileRequest& request) const; - SuspendInstanceOutcome suspendInstance(const Model::SuspendInstanceRequest &request)const; - void suspendInstanceAsync(const Model::SuspendInstanceRequest& request, const SuspendInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SuspendInstanceOutcomeCallable suspendInstanceCallable(const Model::SuspendInstanceRequest& request) const; - UpdateBusinessOutcome updateBusiness(const Model::UpdateBusinessRequest &request)const; - void updateBusinessAsync(const Model::UpdateBusinessRequest& request, const UpdateBusinessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateBusinessOutcomeCallable updateBusinessCallable(const Model::UpdateBusinessRequest& request) const; - UpdateConnectionOutcome updateConnection(const Model::UpdateConnectionRequest &request)const; - void updateConnectionAsync(const Model::UpdateConnectionRequest& request, const UpdateConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateConnectionOutcomeCallable updateConnectionCallable(const Model::UpdateConnectionRequest& request) const; - UpdateDataServiceApiOutcome updateDataServiceApi(const Model::UpdateDataServiceApiRequest &request)const; - void updateDataServiceApiAsync(const Model::UpdateDataServiceApiRequest& request, const UpdateDataServiceApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateDataServiceApiOutcomeCallable updateDataServiceApiCallable(const Model::UpdateDataServiceApiRequest& request) const; - UpdateFileOutcome updateFile(const Model::UpdateFileRequest &request)const; - void updateFileAsync(const Model::UpdateFileRequest& request, const UpdateFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateFileOutcomeCallable updateFileCallable(const Model::UpdateFileRequest& request) const; - UpdateFolderOutcome updateFolder(const Model::UpdateFolderRequest &request)const; - void updateFolderAsync(const Model::UpdateFolderRequest& request, const UpdateFolderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateFolderOutcomeCallable updateFolderCallable(const Model::UpdateFolderRequest& request) const; - UpdateMetaCategoryOutcome updateMetaCategory(const Model::UpdateMetaCategoryRequest &request)const; - void updateMetaCategoryAsync(const Model::UpdateMetaCategoryRequest& request, const UpdateMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateMetaCategoryOutcomeCallable updateMetaCategoryCallable(const Model::UpdateMetaCategoryRequest& request) const; - UpdateMetaTableOutcome updateMetaTable(const Model::UpdateMetaTableRequest &request)const; - void updateMetaTableAsync(const Model::UpdateMetaTableRequest& request, const UpdateMetaTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateMetaTableOutcomeCallable updateMetaTableCallable(const Model::UpdateMetaTableRequest& request) const; - UpdateMetaTableIntroWikiOutcome updateMetaTableIntroWiki(const Model::UpdateMetaTableIntroWikiRequest &request)const; - void updateMetaTableIntroWikiAsync(const Model::UpdateMetaTableIntroWikiRequest& request, const UpdateMetaTableIntroWikiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateMetaTableIntroWikiOutcomeCallable updateMetaTableIntroWikiCallable(const Model::UpdateMetaTableIntroWikiRequest& request) const; - UpdateQualityFollowerOutcome updateQualityFollower(const Model::UpdateQualityFollowerRequest &request)const; - void updateQualityFollowerAsync(const Model::UpdateQualityFollowerRequest& request, const UpdateQualityFollowerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateQualityFollowerOutcomeCallable updateQualityFollowerCallable(const Model::UpdateQualityFollowerRequest& request) const; - UpdateQualityRuleOutcome updateQualityRule(const Model::UpdateQualityRuleRequest &request)const; - void updateQualityRuleAsync(const Model::UpdateQualityRuleRequest& request, const UpdateQualityRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateQualityRuleOutcomeCallable updateQualityRuleCallable(const Model::UpdateQualityRuleRequest& request) const; - UpdateRemindOutcome updateRemind(const Model::UpdateRemindRequest &request)const; - void updateRemindAsync(const Model::UpdateRemindRequest& request, const UpdateRemindAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateRemindOutcomeCallable updateRemindCallable(const Model::UpdateRemindRequest& request) const; - UpdateTableOutcome updateTable(const Model::UpdateTableRequest &request)const; - void updateTableAsync(const Model::UpdateTableRequest& request, const UpdateTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateTableOutcomeCallable updateTableCallable(const Model::UpdateTableRequest& request) const; - UpdateTableLevelOutcome updateTableLevel(const Model::UpdateTableLevelRequest &request)const; - void updateTableLevelAsync(const Model::UpdateTableLevelRequest& request, const UpdateTableLevelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateTableLevelOutcomeCallable updateTableLevelCallable(const Model::UpdateTableLevelRequest& request) const; - UpdateTableModelInfoOutcome updateTableModelInfo(const Model::UpdateTableModelInfoRequest &request)const; - void updateTableModelInfoAsync(const Model::UpdateTableModelInfoRequest& request, const UpdateTableModelInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateTableModelInfoOutcomeCallable updateTableModelInfoCallable(const Model::UpdateTableModelInfoRequest& request) const; - UpdateTableThemeOutcome updateTableTheme(const Model::UpdateTableThemeRequest &request)const; - void updateTableThemeAsync(const Model::UpdateTableThemeRequest& request, const UpdateTableThemeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateTableThemeOutcomeCallable updateTableThemeCallable(const Model::UpdateTableThemeRequest& request) const; - UpdateUdfFileOutcome updateUdfFile(const Model::UpdateUdfFileRequest &request)const; - void updateUdfFileAsync(const Model::UpdateUdfFileRequest& request, const UpdateUdfFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateUdfFileOutcomeCallable updateUdfFileCallable(const Model::UpdateUdfFileRequest& request) const; + DescribeEmrHiveTableOutcome describeEmrHiveTable(const Model::DescribeEmrHiveTableRequest &request)const; + void describeEmrHiveTableAsync(const Model::DescribeEmrHiveTableRequest& request, const DescribeEmrHiveTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEmrHiveTableOutcomeCallable describeEmrHiveTableCallable(const Model::DescribeEmrHiveTableRequest& request) const; + ListEmrHiveAuditLogsOutcome listEmrHiveAuditLogs(const Model::ListEmrHiveAuditLogsRequest &request)const; + void listEmrHiveAuditLogsAsync(const Model::ListEmrHiveAuditLogsRequest& request, const ListEmrHiveAuditLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEmrHiveAuditLogsOutcomeCallable listEmrHiveAuditLogsCallable(const Model::ListEmrHiveAuditLogsRequest& request) const; + ListEmrHiveDatabasesOutcome listEmrHiveDatabases(const Model::ListEmrHiveDatabasesRequest &request)const; + void listEmrHiveDatabasesAsync(const Model::ListEmrHiveDatabasesRequest& request, const ListEmrHiveDatabasesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEmrHiveDatabasesOutcomeCallable listEmrHiveDatabasesCallable(const Model::ListEmrHiveDatabasesRequest& request) const; + ListEmrHiveTablesOutcome listEmrHiveTables(const Model::ListEmrHiveTablesRequest &request)const; + void listEmrHiveTablesAsync(const Model::ListEmrHiveTablesRequest& request, const ListEmrHiveTablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEmrHiveTablesOutcomeCallable listEmrHiveTablesCallable(const Model::ListEmrHiveTablesRequest& request) const; + ListHiveColumnLineagesOutcome listHiveColumnLineages(const Model::ListHiveColumnLineagesRequest &request)const; + void listHiveColumnLineagesAsync(const Model::ListHiveColumnLineagesRequest& request, const ListHiveColumnLineagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListHiveColumnLineagesOutcomeCallable listHiveColumnLineagesCallable(const Model::ListHiveColumnLineagesRequest& request) const; + ListHiveTableLineagesOutcome listHiveTableLineages(const Model::ListHiveTableLineagesRequest &request)const; + void listHiveTableLineagesAsync(const Model::ListHiveTableLineagesRequest& request, const ListHiveTableLineagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListHiveTableLineagesOutcomeCallable listHiveTableLineagesCallable(const Model::ListHiveTableLineagesRequest& request) const; + ListTablePartitionsOutcome listTablePartitions(const Model::ListTablePartitionsRequest &request)const; + void listTablePartitionsAsync(const Model::ListTablePartitionsRequest& request, const ListTablePartitionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTablePartitionsOutcomeCallable listTablePartitionsCallable(const Model::ListTablePartitionsRequest& request) const; + OpenDataWorksStandardServiceOutcome openDataWorksStandardService(const Model::OpenDataWorksStandardServiceRequest &request)const; + void openDataWorksStandardServiceAsync(const Model::OpenDataWorksStandardServiceRequest& request, const OpenDataWorksStandardServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OpenDataWorksStandardServiceOutcomeCallable openDataWorksStandardServiceCallable(const Model::OpenDataWorksStandardServiceRequest& request) const; + QueryRealTimeProcessStatusOutcome queryRealTimeProcessStatus(const Model::QueryRealTimeProcessStatusRequest &request)const; + void queryRealTimeProcessStatusAsync(const Model::QueryRealTimeProcessStatusRequest& request, const QueryRealTimeProcessStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryRealTimeProcessStatusOutcomeCallable queryRealTimeProcessStatusCallable(const Model::QueryRealTimeProcessStatusRequest& request) const; + SearchManualDagNodeInstanceOutcome searchManualDagNodeInstance(const Model::SearchManualDagNodeInstanceRequest &request)const; + void searchManualDagNodeInstanceAsync(const Model::SearchManualDagNodeInstanceRequest& request, const SearchManualDagNodeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SearchManualDagNodeInstanceOutcomeCallable searchManualDagNodeInstanceCallable(const Model::SearchManualDagNodeInstanceRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h deleted file mode 100644 index 1d9bff82d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_ABOLISHDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AbolishDataServiceApiRequest : public RpcServiceRequest - { - - public: - AbolishDataServiceApiRequest(); - ~AbolishDataServiceApiRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h deleted file mode 100644 index 89997e1e5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_ABOLISHDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AbolishDataServiceApiResult : public ServiceResult - { - public: - - - AbolishDataServiceApiResult(); - explicit AbolishDataServiceApiResult(const std::string &payload); - ~AbolishDataServiceApiResult(); - 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_ABOLISHDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h deleted file mode 100644 index ea63af3aa..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_ADDPROJECTMEMBERTOROLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddProjectMemberToRoleRequest : public RpcServiceRequest - { - - public: - AddProjectMemberToRoleRequest(); - ~AddProjectMemberToRoleRequest(); - - std::string getRoleCode()const; - void setRoleCode(const std::string& roleCode); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - long getProjectId()const; - void setProjectId(long projectId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string roleCode_; - std::string clientToken_; - long projectId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h deleted file mode 100644 index 603945056..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_ADDPROJECTMEMBERTOROLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddProjectMemberToRoleResult : public ServiceResult - { - public: - - - AddProjectMemberToRoleResult(); - explicit AddProjectMemberToRoleResult(const std::string &payload); - ~AddProjectMemberToRoleResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h deleted file mode 100644 index 526af41c3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_ADDTOMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddToMetaCategoryRequest : public RpcServiceRequest - { - - public: - AddToMetaCategoryRequest(); - ~AddToMetaCategoryRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - std::string tableGuid_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h deleted file mode 100644 index 97cd10fce..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_ADDTOMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddToMetaCategoryResult : public ServiceResult - { - public: - - - AddToMetaCategoryResult(); - explicit AddToMetaCategoryResult(const std::string &payload); - ~AddToMetaCategoryResult(); - 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_ADDTOMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h similarity index 63% rename from dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h index a7d3468d9..1af7a7677 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_ #include #include @@ -28,21 +28,21 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteMetaCategoryRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackRequest : public RpcServiceRequest { public: - DeleteMetaCategoryRequest(); - ~DeleteMetaCategoryRequest(); + CheckCallbackRequest(); + ~CheckCallbackRequest(); - long getCategoryId()const; - void setCategoryId(long categoryId); + std::string getCallbackResultString()const; + void setCallbackResultString(const std::string& callbackResultString); private: - long categoryId_; + std::string callbackResultString_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackResult.h similarity index 67% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackResult.h index 94d4fcec8..ac9f8e87a 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATARESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATARESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_ #include #include @@ -29,23 +29,25 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOpRiskDataResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackResult : public ServiceResult { public: - GetOpRiskDataResult(); - explicit GetOpRiskDataResult(const std::string &payload); - ~GetOpRiskDataResult(); - std::string getRiskData()const; + CheckCallbackResult(); + explicit CheckCallbackResult(const std::string &payload); + ~CheckCallbackResult(); + std::string getReturnCode()const; + bool getReturnValue()const; protected: void parse(const std::string &payload); private: - std::string riskData_; + std::string returnCode_; + bool returnValue_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATARESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h deleted file mode 100644 index 6f42d838e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CHECKMETAPARTITIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaPartitionRequest : public RpcServiceRequest - { - - public: - CheckMetaPartitionRequest(); - ~CheckMetaPartitionRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getPartition()const; - void setPartition(const std::string& partition); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string dataSourceType_; - std::string partition_; - std::string tableGuid_; - std::string databaseName_; - std::string clusterId_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h deleted file mode 100644 index af6ac1dbe..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CHECKMETAPARTITIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaPartitionResult : public ServiceResult - { - public: - - - CheckMetaPartitionResult(); - explicit CheckMetaPartitionResult(const std::string &payload); - ~CheckMetaPartitionResult(); - 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_CHECKMETAPARTITIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h deleted file mode 100644 index c31aa7e35..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CHECKMETATABLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaTableResult : public ServiceResult - { - public: - - - CheckMetaTableResult(); - explicit CheckMetaTableResult(const std::string &payload); - ~CheckMetaTableResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h deleted file mode 100644 index 496a5c518..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateBusinessRequest : public RpcServiceRequest - { - - public: - CreateBusinessRequest(); - ~CreateBusinessRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getBusinessName()const; - void setBusinessName(const std::string& businessName); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - std::string getUseType()const; - void setUseType(const std::string& useType); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - std::string owner_; - std::string businessName_; - std::string description_; - long projectId_; - std::string useType_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessResult.h deleted file mode 100644 index 067f36430..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBUSINESSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateBusinessResult : public ServiceResult - { - public: - - - CreateBusinessResult(); - explicit CreateBusinessResult(const std::string &payload); - ~CreateBusinessResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - long getBusinessId()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - long businessId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBUSINESSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h deleted file mode 100644 index 77a12749d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATECONNECTIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateConnectionRequest : public RpcServiceRequest - { - - public: - CreateConnectionRequest(); - ~CreateConnectionRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getContent()const; - void setContent(const std::string& content); - std::string getSubType()const; - void setSubType(const std::string& subType); - std::string getName()const; - void setName(const std::string& name); - int getEnvType()const; - void setEnvType(int envType); - std::string getConnectionType()const; - void setConnectionType(const std::string& connectionType); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string description_; - std::string content_; - std::string subType_; - std::string name_; - int envType_; - std::string connectionType_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionResult.h deleted file mode 100644 index 69c0a751f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATECONNECTIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateConnectionResult : public ServiceResult - { - public: - - - CreateConnectionResult(); - explicit CreateConnectionResult(const std::string &payload); - ~CreateConnectionResult(); - std::string getHttpStatusCode()const; - long getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - std::string httpStatusCode_; - long data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h deleted file mode 100644 index f38ff1909..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDAGCOMPLEMENTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagComplementRequest : public RpcServiceRequest - { - - public: - CreateDagComplementRequest(); - ~CreateDagComplementRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getStartBizDate()const; - void setStartBizDate(const std::string& startBizDate); - bool getParallelism()const; - void setParallelism(bool parallelism); - long getRootNodeId()const; - void setRootNodeId(long rootNodeId); - std::string getBizBeginTime()const; - void setBizBeginTime(const std::string& bizBeginTime); - std::string getEndBizDate()const; - void setEndBizDate(const std::string& endBizDate); - std::string getIncludeNodeIds()const; - void setIncludeNodeIds(const std::string& includeNodeIds); - std::string getBizEndTime()const; - void setBizEndTime(const std::string& bizEndTime); - std::string getName()const; - void setName(const std::string& name); - std::string getExcludeNodeIds()const; - void setExcludeNodeIds(const std::string& excludeNodeIds); - std::string getNodeParams()const; - void setNodeParams(const std::string& nodeParams); - - private: - std::string projectEnv_; - std::string startBizDate_; - bool parallelism_; - long rootNodeId_; - std::string bizBeginTime_; - std::string endBizDate_; - std::string includeNodeIds_; - std::string bizEndTime_; - std::string name_; - std::string excludeNodeIds_; - std::string nodeParams_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h deleted file mode 100644 index fe563e16d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDAGCOMPLEMENTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagComplementResult : public ServiceResult - { - public: - - - CreateDagComplementResult(); - explicit CreateDagComplementResult(const std::string &payload); - ~CreateDagComplementResult(); - int getHttpStatusCode()const; - std::vector getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h deleted file mode 100644 index 4c06790b0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDAGTESTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagTestRequest : public RpcServiceRequest - { - - public: - CreateDagTestRequest(); - ~CreateDagTestRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - std::string getName()const; - void setName(const std::string& name); - std::string getNodeParams()const; - void setNodeParams(const std::string& nodeParams); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - std::string bizdate_; - std::string name_; - std::string nodeParams_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestResult.h deleted file mode 100644 index 61c9d2d37..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDAGTESTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagTestResult : public ServiceResult - { - public: - - - CreateDagTestResult(); - explicit CreateDagTestResult(const std::string &payload); - ~CreateDagTestResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h deleted file mode 100644 index c55fa464e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiAuthorityRequest : public RpcServiceRequest - { - - public: - CreateDataServiceApiAuthorityRequest(); - ~CreateDataServiceApiAuthorityRequest(); - - long getAuthorizedProjectId()const; - void setAuthorizedProjectId(long authorizedProjectId); - long getTenantId()const; - void setTenantId(long tenantId); - long getEndTime()const; - void setEndTime(long endTime); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long authorizedProjectId_; - long tenantId_; - long endTime_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityResult.h deleted file mode 100644 index 9c41d605c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDATASERVICEAPIAUTHORITYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiAuthorityResult : public ServiceResult - { - public: - - - CreateDataServiceApiAuthorityResult(); - explicit CreateDataServiceApiAuthorityResult(const std::string &payload); - ~CreateDataServiceApiAuthorityResult(); - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h deleted file mode 100644 index fe7e93e8c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiRequest : public RpcServiceRequest - { - - public: - CreateDataServiceApiRequest(); - ~CreateDataServiceApiRequest(); - - std::string getScriptDetails()const; - void setScriptDetails(const std::string& scriptDetails); - int getRequestMethod()const; - void setRequestMethod(int requestMethod); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - std::string getApiPath()const; - void setApiPath(const std::string& apiPath); - std::string getWizardDetails()const; - void setWizardDetails(const std::string& wizardDetails); - int getApiMode()const; - void setApiMode(int apiMode); - int getVisibleRange()const; - void setVisibleRange(int visibleRange); - std::string getApiDescription()const; - void setApiDescription(const std::string& apiDescription); - int getTimeout()const; - void setTimeout(int timeout); - long getFolderId()const; - void setFolderId(long folderId); - std::string getRegistrationDetails()const; - void setRegistrationDetails(const std::string& registrationDetails); - std::string getApiName()const; - void setApiName(const std::string& apiName); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getProtocols()const; - void setProtocols(const std::string& protocols); - long getProjectId()const; - void setProjectId(long projectId); - int getResponseContentType()const; - void setResponseContentType(int responseContentType); - - private: - std::string scriptDetails_; - int requestMethod_; - std::string groupId_; - std::string apiPath_; - std::string wizardDetails_; - int apiMode_; - int visibleRange_; - std::string apiDescription_; - int timeout_; - long folderId_; - std::string registrationDetails_; - std::string apiName_; - long tenantId_; - std::string protocols_; - long projectId_; - int responseContentType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h deleted file mode 100644 index ed99ceac5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiResult : public ServiceResult - { - public: - - - CreateDataServiceApiResult(); - explicit CreateDataServiceApiResult(const std::string &payload); - ~CreateDataServiceApiResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h deleted file mode 100644 index a0d2961be..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDATASERVICEFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceFolderRequest : public RpcServiceRequest - { - - public: - CreateDataServiceFolderRequest(); - ~CreateDataServiceFolderRequest(); - - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getFolderName()const; - void setFolderName(const std::string& folderName); - long getProjectId()const; - void setProjectId(long projectId); - long getParentId()const; - void setParentId(long parentId); - - private: - std::string groupId_; - long tenantId_; - std::string folderName_; - long projectId_; - long parentId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h deleted file mode 100644 index 4423e3a08..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDATASERVICEGROUPREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceGroupRequest : public RpcServiceRequest - { - - public: - CreateDataServiceGroupRequest(); - ~CreateDataServiceGroupRequest(); - - std::string getApiGatewayGroupId()const; - void setApiGatewayGroupId(const std::string& apiGatewayGroupId); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - std::string getGroupName()const; - void setGroupName(const std::string& groupName); - - private: - std::string apiGatewayGroupId_; - long tenantId_; - std::string description_; - long projectId_; - std::string groupName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupResult.h deleted file mode 100644 index ddc230436..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEDATASERVICEGROUPRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceGroupResult : public ServiceResult - { - public: - - - CreateDataServiceGroupResult(); - explicit CreateDataServiceGroupResult(const std::string &payload); - ~CreateDataServiceGroupResult(); - std::string getGroupId()const; - - protected: - void parse(const std::string &payload); - private: - std::string groupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h deleted file mode 100644 index 5763e1dab..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFileRequest : public RpcServiceRequest - { - - public: - CreateFileRequest(); - ~CreateFileRequest(); - - int getFileType()const; - void setFileType(int fileType); - std::string getDependentNodeIdList()const; - void setDependentNodeIdList(const std::string& dependentNodeIdList); - std::string getContent()const; - void setContent(const std::string& content); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getResourceGroupId()const; - void setResourceGroupId(long resourceGroupId); - long getProjectId()const; - void setProjectId(long projectId); - long getStartEffectDate()const; - void setStartEffectDate(long startEffectDate); - std::string getCycleType()const; - void setCycleType(const std::string& cycleType); - std::string getOwner()const; - void setOwner(const std::string& owner); - int getAutoRerunIntervalMillis()const; - void setAutoRerunIntervalMillis(int autoRerunIntervalMillis); - std::string getInputList()const; - void setInputList(const std::string& inputList); - std::string getRerunMode()const; - void setRerunMode(const std::string& rerunMode); - std::string getConnectionName()const; - void setConnectionName(const std::string& connectionName); - std::string getParaValue()const; - void setParaValue(const std::string& paraValue); - std::string getResourceGroupIdentifier()const; - void setResourceGroupIdentifier(const std::string& resourceGroupIdentifier); - int getAutoRerunTimes()const; - void setAutoRerunTimes(int autoRerunTimes); - std::string getCronExpress()const; - void setCronExpress(const std::string& cronExpress); - long getEndEffectDate()const; - void setEndEffectDate(long endEffectDate); - std::string getFileName()const; - void setFileName(const std::string& fileName); - bool getStop()const; - void setStop(bool stop); - std::string getDependentType()const; - void setDependentType(const std::string& dependentType); - std::string getFileFolderPath()const; - void setFileFolderPath(const std::string& fileFolderPath); - std::string getFileDescription()const; - void setFileDescription(const std::string& fileDescription); - - private: - int fileType_; - std::string dependentNodeIdList_; - std::string content_; - std::string projectIdentifier_; - long resourceGroupId_; - long projectId_; - long startEffectDate_; - std::string cycleType_; - std::string owner_; - int autoRerunIntervalMillis_; - std::string inputList_; - std::string rerunMode_; - std::string connectionName_; - std::string paraValue_; - std::string resourceGroupIdentifier_; - int autoRerunTimes_; - std::string cronExpress_; - long endEffectDate_; - std::string fileName_; - bool stop_; - std::string dependentType_; - std::string fileFolderPath_; - std::string fileDescription_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileResult.h deleted file mode 100644 index 0dc35d27d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFileResult : public ServiceResult - { - public: - - - CreateFileResult(); - explicit CreateFileResult(const std::string &payload); - ~CreateFileResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h deleted file mode 100644 index 2bfa9d123..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFolderRequest : public RpcServiceRequest - { - - public: - CreateFolderRequest(); - ~CreateFolderRequest(); - - std::string getFolderPath()const; - void setFolderPath(const std::string& folderPath); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - std::string folderPath_; - long projectId_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderResult.h deleted file mode 100644 index d9fbc72de..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEFOLDERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFolderResult : public ServiceResult - { - public: - - - CreateFolderResult(); - explicit CreateFolderResult(const std::string &payload); - ~CreateFolderResult(); - int getHttpStatusCode()const; - std::string getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h index 840bc7d3a..606d4431f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h @@ -35,26 +35,23 @@ namespace AlibabaCloud CreateManualDagRequest(); ~CreateManualDagRequest(); - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); std::string getProjectName()const; void setProjectName(const std::string& projectName); - std::string getBizDate()const; - void setBizDate(const std::string& bizDate); + std::string getBizdate()const; + void setBizdate(const std::string& bizdate); std::string getFlowName()const; void setFlowName(const std::string& flowName); - std::string getDagParameters()const; - void setDagParameters(const std::string& dagParameters); - std::string getNodeParameters()const; - void setNodeParameters(const std::string& nodeParameters); + std::string getDagPara()const; + void setDagPara(const std::string& dagPara); + std::string getNodePara()const; + void setNodePara(const std::string& nodePara); private: - std::string projectEnv_; std::string projectName_; - std::string bizDate_; + std::string bizdate_; std::string flowName_; - std::string dagParameters_; - std::string nodeParameters_; + std::string dagPara_; + std::string nodePara_; }; } diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagResult.h index 54983cd12..f9fbe3abc 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagResult.h @@ -37,12 +37,18 @@ namespace AlibabaCloud CreateManualDagResult(); explicit CreateManualDagResult(const std::string &payload); ~CreateManualDagResult(); - long getDagId()const; + std::string getReturnErrorSolution()const; + std::string getReturnCode()const; + std::string getReturnMessage()const; + long getReturnValue()const; protected: void parse(const std::string &payload); private: - long dagId_; + std::string returnErrorSolution_; + std::string returnCode_; + std::string returnMessage_; + long returnValue_; }; } diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h deleted file mode 100644 index a119ad7b4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateMetaCategoryRequest : public RpcServiceRequest - { - - public: - CreateMetaCategoryRequest(); - ~CreateMetaCategoryRequest(); - - std::string getName()const; - void setName(const std::string& name); - std::string getComment()const; - void setComment(const std::string& comment); - long getParentId()const; - void setParentId(long parentId); - - private: - std::string name_; - std::string comment_; - long parentId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h deleted file mode 100644 index be9628859..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateMetaCategoryResult : public ServiceResult - { - public: - struct Data - { - long categoryId; - }; - - - CreateMetaCategoryResult(); - explicit CreateMetaCategoryResult(const std::string &payload); - ~CreateMetaCategoryResult(); - 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_CREATEMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h deleted file mode 100644 index 2366912f0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEPROJECTMEMBERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateProjectMemberRequest : public RpcServiceRequest - { - - public: - CreateProjectMemberRequest(); - ~CreateProjectMemberRequest(); - - std::string getRoleCode()const; - void setRoleCode(const std::string& roleCode); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - long getProjectId()const; - void setProjectId(long projectId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string roleCode_; - std::string clientToken_; - long projectId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h deleted file mode 100644 index 2a78f69c3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEPROJECTMEMBERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateProjectMemberResult : public ServiceResult - { - public: - - - CreateProjectMemberResult(); - explicit CreateProjectMemberResult(const std::string &payload); - ~CreateProjectMemberResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h deleted file mode 100644 index 857287651..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEQUALITYENTITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityEntityRequest : public RpcServiceRequest - { - - public: - CreateQualityEntityRequest(); - ~CreateQualityEntityRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - int getEntityLevel()const; - void setEntityLevel(int entityLevel); - std::string getMatchExpression()const; - void setMatchExpression(const std::string& matchExpression); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string projectName_; - int entityLevel_; - std::string matchExpression_; - std::string envType_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h deleted file mode 100644 index a00162d61..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEQUALITYENTITYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityEntityResult : public ServiceResult - { - public: - - - CreateQualityEntityResult(); - explicit CreateQualityEntityResult(const std::string &payload); - ~CreateQualityEntityResult(); - int getHttpStatusCode()const; - int getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - int data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h deleted file mode 100644 index 7ddf641b8..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEQUALITYFOLLOWERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityFollowerRequest : public RpcServiceRequest - { - - public: - CreateQualityFollowerRequest(); - ~CreateQualityFollowerRequest(); - - int getAlarmMode()const; - void setAlarmMode(int alarmMode); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getFollower()const; - void setFollower(const std::string& follower); - long getEntityId()const; - void setEntityId(long entityId); - - private: - int alarmMode_; - std::string projectName_; - std::string follower_; - long entityId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h deleted file mode 100644 index 5ecef4174..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEQUALITYFOLLOWERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityFollowerResult : public ServiceResult - { - public: - - - CreateQualityFollowerResult(); - explicit CreateQualityFollowerResult(const std::string &payload); - ~CreateQualityFollowerResult(); - int getHttpStatusCode()const; - int getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - int data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h deleted file mode 100644 index 400d941cb..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEQUALITYRELATIVENODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRelativeNodeRequest : public RpcServiceRequest - { - - public: - CreateQualityRelativeNodeRequest(); - ~CreateQualityRelativeNodeRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getTargetNodeProjectId()const; - void setTargetNodeProjectId(long targetNodeProjectId); - std::string getMatchExpression()const; - void setMatchExpression(const std::string& matchExpression); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - std::string getTargetNodeProjectName()const; - void setTargetNodeProjectName(const std::string& targetNodeProjectName); - std::string getTableName()const; - void setTableName(const std::string& tableName); - long getNodeId()const; - void setNodeId(long nodeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectName_; - long targetNodeProjectId_; - std::string matchExpression_; - std::string envType_; - std::string targetNodeProjectName_; - std::string tableName_; - long nodeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h deleted file mode 100644 index c8f3f9465..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEQUALITYRELATIVENODERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRelativeNodeResult : public ServiceResult - { - public: - - - CreateQualityRelativeNodeResult(); - explicit CreateQualityRelativeNodeResult(const std::string &payload); - ~CreateQualityRelativeNodeResult(); - 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_CREATEQUALITYRELATIVENODERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h deleted file mode 100644 index 64b8603ff..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEQUALITYRULEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRuleRequest : public RpcServiceRequest - { - - public: - CreateQualityRuleRequest(); - ~CreateQualityRuleRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getTrend()const; - void setTrend(const std::string& trend); - int getRuleType()const; - void setRuleType(int ruleType); - int getBlockType()const; - void setBlockType(int blockType); - std::string getPropertyType()const; - void setPropertyType(const std::string& propertyType); - long getEntityId()const; - void setEntityId(long entityId); - std::string getRuleName()const; - void setRuleName(const std::string& ruleName); - int getChecker()const; - void setChecker(int checker); - int getTemplateId()const; - void setTemplateId(int templateId); - std::string getExpectValue()const; - void setExpectValue(const std::string& expectValue); - std::string get_Operator()const; - void set_Operator(const std::string& _operator); - std::string getWhereCondition()const; - void setWhereCondition(const std::string& whereCondition); - std::string getCriticalThreshold()const; - void setCriticalThreshold(const std::string& criticalThreshold); - std::string getProperty()const; - void setProperty(const std::string& property); - std::string getComment()const; - void setComment(const std::string& comment); - int getPredictType()const; - void setPredictType(int predictType); - std::string getWarningThreshold()const; - void setWarningThreshold(const std::string& warningThreshold); - std::string getMethodName()const; - void setMethodName(const std::string& methodName); - - private: - std::string projectName_; - std::string trend_; - int ruleType_; - int blockType_; - std::string propertyType_; - long entityId_; - std::string ruleName_; - int checker_; - int templateId_; - std::string expectValue_; - std::string _operator_; - std::string whereCondition_; - std::string criticalThreshold_; - std::string property_; - std::string comment_; - int predictType_; - std::string warningThreshold_; - std::string methodName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h deleted file mode 100644 index 9286424b0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEQUALITYRULERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRuleResult : public ServiceResult - { - public: - - - CreateQualityRuleResult(); - explicit CreateQualityRuleResult(const std::string &payload); - ~CreateQualityRuleResult(); - int getHttpStatusCode()const; - std::string getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessRequest.h new file mode 100644 index 000000000..8ed47727e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRealTimeProcessRequest : public RpcServiceRequest + { + + public: + CreateRealTimeProcessRequest(); + ~CreateRealTimeProcessRequest(); + + std::string getJobConfig()const; + void setJobConfig(const std::string& jobConfig); + bool getCreateResGroup()const; + void setCreateResGroup(bool createResGroup); + std::string getDataworksVersion()const; + void setDataworksVersion(const std::string& dataworksVersion); + std::string getResourceSpec()const; + void setResourceSpec(const std::string& resourceSpec); + std::string getTableRule()const; + void setTableRule(const std::string& tableRule); + std::string getTables()const; + void setTables(const std::string& tables); + std::string getDataSource()const; + void setDataSource(const std::string& dataSource); + + private: + std::string jobConfig_; + bool createResGroup_; + std::string dataworksVersion_; + std::string resourceSpec_; + std::string tableRule_; + std::string tables_; + std::string dataSource_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessResult.h similarity index 65% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessResult.h index b1da8e6ef..35306acd0 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSRESULT_H_ #include #include @@ -29,30 +29,31 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDDLJobStatusResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRealTimeProcessResult : public ServiceResult { public: struct Data { - std::string status; std::string taskId; - std::string content; - std::string nextTaskId; }; - GetDDLJobStatusResult(); - explicit GetDDLJobStatusResult(const std::string &payload); - ~GetDDLJobStatusResult(); + CreateRealTimeProcessResult(); + explicit CreateRealTimeProcessResult(const std::string &payload); + ~CreateRealTimeProcessResult(); + std::string getMessage()const; Data getData()const; + int getCode()const; protected: void parse(const std::string &payload); private: + std::string message_; Data data_; + int code_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h deleted file mode 100644 index eb9cbe204..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEREMINDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRemindRequest : public RpcServiceRequest - { - - public: - CreateRemindRequest(); - ~CreateRemindRequest(); - - std::string getDndEnd()const; - void setDndEnd(const std::string& dndEnd); - std::string getAlertUnit()const; - void setAlertUnit(const std::string& alertUnit); - std::string getRemindUnit()const; - void setRemindUnit(const std::string& remindUnit); - int getAlertInterval()const; - void setAlertInterval(int alertInterval); - std::string getAlertMethods()const; - void setAlertMethods(const std::string& alertMethods); - std::string getRobotUrls()const; - void setRobotUrls(const std::string& robotUrls); - int getMaxAlertTimes()const; - void setMaxAlertTimes(int maxAlertTimes); - std::string getBizProcessIds()const; - void setBizProcessIds(const std::string& bizProcessIds); - std::string getRemindType()const; - void setRemindType(const std::string& remindType); - std::string getAlertTargets()const; - void setAlertTargets(const std::string& alertTargets); - std::string getBaselineIds()const; - void setBaselineIds(const std::string& baselineIds); - std::string getDetail()const; - void setDetail(const std::string& detail); - std::string getRemindName()const; - void setRemindName(const std::string& remindName); - long getProjectId()const; - void setProjectId(long projectId); - std::string getNodeIds()const; - void setNodeIds(const std::string& nodeIds); - - private: - std::string dndEnd_; - std::string alertUnit_; - std::string remindUnit_; - int alertInterval_; - std::string alertMethods_; - std::string robotUrls_; - int maxAlertTimes_; - std::string bizProcessIds_; - std::string remindType_; - std::string alertTargets_; - std::string baselineIds_; - std::string detail_; - std::string remindName_; - long projectId_; - std::string nodeIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindResult.h deleted file mode 100644 index 150684993..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEREMINDRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRemindResult : public ServiceResult - { - public: - - - CreateRemindResult(); - explicit CreateRemindResult(const std::string &payload); - ~CreateRemindResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h deleted file mode 100644 index da4bb41f7..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATETABLELEVELREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableLevelRequest : public RpcServiceRequest - { - - public: - CreateTableLevelRequest(); - ~CreateTableLevelRequest(); - - int getLevelType()const; - void setLevelType(int levelType); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - - private: - int levelType_; - std::string name_; - std::string description_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelResult.h deleted file mode 100644 index d806a9b8e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATETABLELEVELRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableLevelResult : public ServiceResult - { - public: - - - CreateTableLevelResult(); - explicit CreateTableLevelResult(const std::string &payload); - ~CreateTableLevelResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - long getLevelId()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - long levelId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h deleted file mode 100644 index a473925f6..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATETABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableRequest : public RpcServiceRequest - { - public: - struct Columns - { - int seqNumber; - int isPartitionCol; - std::string columnNameCn; - int length; - int isNullable; - std::string comment; - int isPrimaryKey; - std::string columnName; - std::string columnType; - }; - struct Themes - { - int themeLevel; - long themeId; - }; - - public: - CreateTableRequest(); - ~CreateTableRequest(); - - int getVisibility()const; - void setVisibility(int visibility); - long getPhysicsLevelId()const; - void setPhysicsLevelId(long physicsLevelId); - std::vector getColumns()const; - void setColumns(const std::vector& columns); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - int getLifeCycle()const; - void setLifeCycle(int lifeCycle); - std::vector getThemes()const; - void setThemes(const std::vector& themes); - long getLogicalLevelId()const; - void setLogicalLevelId(long logicalLevelId); - std::string getEndpoint()const; - void setEndpoint(const std::string& endpoint); - int getIsView()const; - void setIsView(int isView); - std::string getExternalTableType()const; - void setExternalTableType(const std::string& externalTableType); - int getEnvType()const; - void setEnvType(int envType); - int getHasPart()const; - void setHasPart(int hasPart); - std::string getLocation()const; - void setLocation(const std::string& location); - std::string getComment()const; - void setComment(const std::string& comment); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - long getProjectId()const; - void setProjectId(long projectId); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - int visibility_; - long physicsLevelId_; - std::vector columns_; - std::string ownerId_; - int lifeCycle_; - std::vector themes_; - long logicalLevelId_; - std::string endpoint_; - int isView_; - std::string externalTableType_; - int envType_; - int hasPart_; - std::string location_; - std::string comment_; - std::string tableName_; - std::string appGuid_; - long projectId_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableResult.h deleted file mode 100644 index bdaa1ff6c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATETABLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableResult : public ServiceResult - { - public: - struct TaskInfo - { - std::string status; - std::string taskId; - std::string content; - std::string nextTaskId; - }; - - - CreateTableResult(); - explicit CreateTableResult(const std::string &payload); - ~CreateTableResult(); - TaskInfo getTaskInfo()const; - - protected: - void parse(const std::string &payload); - private: - TaskInfo taskInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h deleted file mode 100644 index 556d49dd3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATETABLETHEMEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableThemeRequest : public RpcServiceRequest - { - - public: - CreateTableThemeRequest(); - ~CreateTableThemeRequest(); - - int getLevel()const; - void setLevel(int level); - std::string getName()const; - void setName(const std::string& name); - long getProjectId()const; - void setProjectId(long projectId); - long getParentId()const; - void setParentId(long parentId); - - private: - int level_; - std::string name_; - long projectId_; - long parentId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeResult.h deleted file mode 100644 index 87ee89c9a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATETABLETHEMERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableThemeResult : public ServiceResult - { - public: - - - CreateTableThemeResult(); - explicit CreateTableThemeResult(const std::string &payload); - ~CreateTableThemeResult(); - long getThemeId()const; - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - long themeId_; - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h deleted file mode 100644 index 9d7fa586d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEUDFFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateUdfFileRequest : public RpcServiceRequest - { - - public: - CreateUdfFileRequest(); - ~CreateUdfFileRequest(); - - std::string getReturnValue()const; - void setReturnValue(const std::string& returnValue); - std::string getResources()const; - void setResources(const std::string& resources); - std::string getFunctionType()const; - void setFunctionType(const std::string& functionType); - std::string getCmdDescription()const; - void setCmdDescription(const std::string& cmdDescription); - std::string getUdfDescription()const; - void setUdfDescription(const std::string& udfDescription); - std::string getParameterDescription()const; - void setParameterDescription(const std::string& parameterDescription); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getExample()const; - void setExample(const std::string& example); - std::string getFileName()const; - void setFileName(const std::string& fileName); - std::string getClassName()const; - void setClassName(const std::string& className); - std::string getFileFolderPath()const; - void setFileFolderPath(const std::string& fileFolderPath); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string returnValue_; - std::string resources_; - std::string functionType_; - std::string cmdDescription_; - std::string udfDescription_; - std::string parameterDescription_; - std::string projectIdentifier_; - std::string example_; - std::string fileName_; - std::string className_; - std::string fileFolderPath_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h deleted file mode 100644 index 9c2acc100..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEUDFFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateUdfFileResult : public ServiceResult - { - public: - - - CreateUdfFileResult(); - explicit CreateUdfFileResult(const std::string &payload); - ~CreateUdfFileResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h deleted file mode 100644 index e92cd08ec..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteBusinessRequest : public RpcServiceRequest - { - - public: - DeleteBusinessRequest(); - ~DeleteBusinessRequest(); - - long getBusinessId()const; - void setBusinessId(long businessId); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - long businessId_; - long projectId_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h deleted file mode 100644 index 2fdca8cf6..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteBusinessResult : public ServiceResult - { - public: - - - DeleteBusinessResult(); - explicit DeleteBusinessResult(const std::string &payload); - ~DeleteBusinessResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h deleted file mode 100644 index 41a03c35d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETECONNECTIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteConnectionRequest : public RpcServiceRequest - { - - public: - DeleteConnectionRequest(); - ~DeleteConnectionRequest(); - - long getConnectionId()const; - void setConnectionId(long connectionId); - - private: - long connectionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h deleted file mode 100644 index 11ce8c2c8..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETECONNECTIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteConnectionResult : public ServiceResult - { - public: - - - DeleteConnectionResult(); - explicit DeleteConnectionResult(const std::string &payload); - ~DeleteConnectionResult(); - std::string getHttpStatusCode()const; - bool getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - std::string httpStatusCode_; - bool data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h deleted file mode 100644 index dd6a2eaac..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEDATASERVICEAPIAUTHORITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIAUTHORITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataServiceApiAuthorityRequest : public RpcServiceRequest - { - - public: - DeleteDataServiceApiAuthorityRequest(); - ~DeleteDataServiceApiAuthorityRequest(); - - long getAuthorizedProjectId()const; - void setAuthorizedProjectId(long authorizedProjectId); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long authorizedProjectId_; - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIAUTHORITYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityResult.h deleted file mode 100644 index 175ccccc2..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEDATASERVICEAPIAUTHORITYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIAUTHORITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataServiceApiAuthorityResult : public ServiceResult - { - public: - - - DeleteDataServiceApiAuthorityResult(); - explicit DeleteDataServiceApiAuthorityResult(const std::string &payload); - ~DeleteDataServiceApiAuthorityResult(); - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIAUTHORITYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h deleted file mode 100644 index 5079ac681..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataServiceApiRequest : public RpcServiceRequest - { - - public: - DeleteDataServiceApiRequest(); - ~DeleteDataServiceApiRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h deleted file mode 100644 index 0ccb9b68e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataServiceApiResult : public ServiceResult - { - public: - - - DeleteDataServiceApiResult(); - explicit DeleteDataServiceApiResult(const std::string &payload); - ~DeleteDataServiceApiResult(); - 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_DELETEDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h deleted file mode 100644 index ec04e5304..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFolderRequest : public RpcServiceRequest - { - - public: - DeleteFolderRequest(); - ~DeleteFolderRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - - private: - long projectId_; - std::string projectIdentifier_; - std::string folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderResult.h deleted file mode 100644 index 0796d4a0c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEFOLDERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFolderResult : public ServiceResult - { - public: - - - DeleteFolderResult(); - explicit DeleteFolderResult(const std::string &payload); - ~DeleteFolderResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h deleted file mode 100644 index 86a54b8a9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEFROMMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFromMetaCategoryRequest : public RpcServiceRequest - { - - public: - DeleteFromMetaCategoryRequest(); - ~DeleteFromMetaCategoryRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - std::string tableGuid_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h deleted file mode 100644 index 4382957ae..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEFROMMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFromMetaCategoryResult : public ServiceResult - { - public: - - - DeleteFromMetaCategoryResult(); - explicit DeleteFromMetaCategoryResult(const std::string &payload); - ~DeleteFromMetaCategoryResult(); - 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_DELETEFROMMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h deleted file mode 100644 index a1ef5aa0f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteMetaCategoryResult : public ServiceResult - { - public: - - - DeleteMetaCategoryResult(); - explicit DeleteMetaCategoryResult(const std::string &payload); - ~DeleteMetaCategoryResult(); - 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_DELETEMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h deleted file mode 100644 index 05855e688..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEPROJECTMEMBERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteProjectMemberRequest : public RpcServiceRequest - { - - public: - DeleteProjectMemberRequest(); - ~DeleteProjectMemberRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - long projectId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h deleted file mode 100644 index 04e4acf48..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEPROJECTMEMBERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteProjectMemberResult : public ServiceResult - { - public: - - - DeleteProjectMemberResult(); - explicit DeleteProjectMemberResult(const std::string &payload); - ~DeleteProjectMemberResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h deleted file mode 100644 index effaab764..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEQUALITYENTITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityEntityRequest : public RpcServiceRequest - { - - public: - DeleteQualityEntityRequest(); - ~DeleteQualityEntityRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - long getEntityId()const; - void setEntityId(long entityId); - - private: - std::string projectName_; - std::string envType_; - long entityId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h deleted file mode 100644 index f0a00865a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEQUALITYENTITYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityEntityResult : public ServiceResult - { - public: - - - DeleteQualityEntityResult(); - explicit DeleteQualityEntityResult(const std::string &payload); - ~DeleteQualityEntityResult(); - 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_DELETEQUALITYENTITYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h deleted file mode 100644 index 0c1c87ced..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEQUALITYFOLLOWERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityFollowerRequest : public RpcServiceRequest - { - - public: - DeleteQualityFollowerRequest(); - ~DeleteQualityFollowerRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getFollowerId()const; - void setFollowerId(long followerId); - - private: - std::string projectName_; - long followerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h deleted file mode 100644 index fc240d9ab..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEQUALITYFOLLOWERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityFollowerResult : public ServiceResult - { - public: - - - DeleteQualityFollowerResult(); - explicit DeleteQualityFollowerResult(const std::string &payload); - ~DeleteQualityFollowerResult(); - 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_DELETEQUALITYFOLLOWERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h deleted file mode 100644 index 49078a9d1..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEQUALITYRELATIVENODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRelativeNodeRequest : public RpcServiceRequest - { - - public: - DeleteQualityRelativeNodeRequest(); - ~DeleteQualityRelativeNodeRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getTargetNodeProjectId()const; - void setTargetNodeProjectId(long targetNodeProjectId); - std::string getMatchExpression()const; - void setMatchExpression(const std::string& matchExpression); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - std::string getTargetNodeProjectName()const; - void setTargetNodeProjectName(const std::string& targetNodeProjectName); - std::string getTableName()const; - void setTableName(const std::string& tableName); - long getNodeId()const; - void setNodeId(long nodeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectName_; - long targetNodeProjectId_; - std::string matchExpression_; - std::string envType_; - std::string targetNodeProjectName_; - std::string tableName_; - long nodeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h deleted file mode 100644 index e6d07dc02..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEQUALITYRELATIVENODERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRelativeNodeResult : public ServiceResult - { - public: - - - DeleteQualityRelativeNodeResult(); - explicit DeleteQualityRelativeNodeResult(const std::string &payload); - ~DeleteQualityRelativeNodeResult(); - 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_DELETEQUALITYRELATIVENODERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h deleted file mode 100644 index 70f4456a6..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEQUALITYRULEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRuleRequest : public RpcServiceRequest - { - - public: - DeleteQualityRuleRequest(); - ~DeleteQualityRuleRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getRuleId()const; - void setRuleId(long ruleId); - - private: - std::string projectName_; - long ruleId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h deleted file mode 100644 index dbf73f4e1..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEQUALITYRULERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRuleResult : public ServiceResult - { - public: - - - DeleteQualityRuleResult(); - explicit DeleteQualityRuleResult(const std::string &payload); - ~DeleteQualityRuleResult(); - 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_DELETEQUALITYRULERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindResult.h deleted file mode 100644 index 27ba1c659..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETEREMINDRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteRemindResult : public ServiceResult - { - public: - - - DeleteRemindResult(); - explicit DeleteRemindResult(const std::string &payload); - ~DeleteRemindResult(); - 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_DELETEREMINDRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h deleted file mode 100644 index a023eb189..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETETABLELEVELREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLELEVELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableLevelRequest : public RpcServiceRequest - { - - public: - DeleteTableLevelRequest(); - ~DeleteTableLevelRequest(); - - long getLevelId()const; - void setLevelId(long levelId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long levelId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLELEVELREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelResult.h deleted file mode 100644 index 594db84c3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETETABLELEVELRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLELEVELRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableLevelResult : public ServiceResult - { - public: - - - DeleteTableLevelResult(); - explicit DeleteTableLevelResult(const std::string &payload); - ~DeleteTableLevelResult(); - bool getDeleteResult()const; - - protected: - void parse(const std::string &payload); - private: - bool deleteResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLELEVELRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h deleted file mode 100644 index b52c5829e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETETABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableRequest : public RpcServiceRequest - { - - public: - DeleteTableRequest(); - ~DeleteTableRequest(); - - int getEnvType()const; - void setEnvType(int envType); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - long getProjectId()const; - void setProjectId(long projectId); - - private: - int envType_; - std::string tableName_; - std::string appGuid_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableResult.h deleted file mode 100644 index ef1fe9001..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETETABLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableResult : public ServiceResult - { - public: - struct TaskInfo - { - std::string status; - std::string taskId; - std::string content; - std::string nextTaskId; - }; - - - DeleteTableResult(); - explicit DeleteTableResult(const std::string &payload); - ~DeleteTableResult(); - TaskInfo getTaskInfo()const; - - protected: - void parse(const std::string &payload); - private: - TaskInfo taskInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h deleted file mode 100644 index b80fe7eeb..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETETABLETHEMEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLETHEMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableThemeRequest : public RpcServiceRequest - { - - public: - DeleteTableThemeRequest(); - ~DeleteTableThemeRequest(); - - long getThemeId()const; - void setThemeId(long themeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long themeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLETHEMEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeResult.h deleted file mode 100644 index 6e24d61f2..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DELETETABLETHEMERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLETHEMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableThemeResult : public ServiceResult - { - public: - - - DeleteTableThemeResult(); - explicit DeleteTableThemeResult(const std::string &payload); - ~DeleteTableThemeResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - bool getDeleteResult()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - bool deleteResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLETHEMERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h deleted file mode 100644 index 01c69d1e3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DEPLOYFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeployFileRequest : public RpcServiceRequest - { - - public: - DeployFileRequest(); - ~DeployFileRequest(); - - std::string getComment()const; - void setComment(const std::string& comment); - long getProjectId()const; - void setProjectId(long projectId); - long getNodeId()const; - void setNodeId(long nodeId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string comment_; - long projectId_; - long nodeId_; - std::string projectIdentifier_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileResult.h deleted file mode 100644 index b199d6a46..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DEPLOYFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeployFileResult : public ServiceResult - { - public: - - - DeployFileResult(); - explicit DeployFileResult(const std::string &payload); - ~DeployFileResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h similarity index 66% rename from dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h index f3329ac10..fea06d632 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_ #include #include @@ -28,17 +28,13 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaTableRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DescribeEmrHiveTableRequest : public RpcServiceRequest { public: - CheckMetaTableRequest(); - ~CheckMetaTableRequest(); + DescribeEmrHiveTableRequest(); + ~DescribeEmrHiveTableRequest(); - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); std::string getDatabaseName()const; void setDatabaseName(const std::string& databaseName); std::string getClusterId()const; @@ -47,8 +43,6 @@ namespace AlibabaCloud void setTableName(const std::string& tableName); private: - std::string dataSourceType_; - std::string tableGuid_; std::string databaseName_; std::string clusterId_; std::string tableName_; @@ -57,4 +51,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h similarity index 56% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h index 880c21605..6567c7b00 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_ #include #include @@ -29,67 +29,64 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableFullInfoResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DescribeEmrHiveTableResult : public ServiceResult { public: struct Data { - struct ColumnListItem + struct TableColumn { std::string columnName; std::string comment; - std::string columnGuid; + std::string gmtCreate; + int columnPosition; std::string columnType; - bool isPartitionColumn; - int position; - bool isForeignKey; - std::string caption; - bool isPrimaryKey; + std::string gmtModified; + std::string columnComment; }; - int lifeCycle; - std::string comment; - std::string projectName; - std::string clusterId; - long lastDdlTime; - long createTime; - long totalColumnCount; - long projectId; + std::string owner; + std::string tableType; + long tableSize; + std::string outputFormat; + std::string gmtModified; std::string databaseName; - long lastModifyTime; - long lastAccessTime; - int envType; + std::vector columns; + std::string lastAccessTime; + std::string lastModifyTime; + bool isTemporary; + std::string serializationLib; std::string tableName; - std::string tableGuid; - long tenantId; + std::string ownerType; + std::string gmtCreate; + std::string tableComment; + std::string clusterBizName; std::string ownerId; - long dataSize; + std::string clusterBizId; + std::string inputFormat; std::string partitionKeys; - std::vector columnList; - int isVisible; + bool isCompressed; + std::string tableDesc; + std::string tableParameters; std::string location; }; - GetMetaTableFullInfoResult(); - explicit GetMetaTableFullInfoResult(const std::string &payload); - ~GetMetaTableFullInfoResult(); - int getHttpStatusCode()const; + DescribeEmrHiveTableResult(); + explicit DescribeEmrHiveTableResult(const std::string &payload); + ~DescribeEmrHiveTableResult(); 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_GETMETATABLEFULLINFORESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h deleted file mode 100644 index 7b934c7bf..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DESENSITIZEDATAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESENSITIZEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DesensitizeDataRequest : public RpcServiceRequest - { - - public: - DesensitizeDataRequest(); - ~DesensitizeDataRequest(); - - std::string getSceneCode()const; - void setSceneCode(const std::string& sceneCode); - std::string getData()const; - void setData(const std::string& data); - - private: - std::string sceneCode_; - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESENSITIZEDATAREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataResult.h deleted file mode 100644 index 340ae5ccd..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DESENSITIZEDATARESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESENSITIZEDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DesensitizeDataResult : public ServiceResult - { - public: - - - DesensitizeDataResult(); - explicit DesensitizeDataResult(const std::string &payload); - ~DesensitizeDataResult(); - std::string getDesensitizeData()const; - - protected: - void parse(const std::string &payload); - private: - std::string desensitizeData_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESENSITIZEDATARESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h deleted file mode 100644 index 03f0d39ee..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT EstablishRelationTableToBusinessRequest : public RpcServiceRequest - { - - public: - EstablishRelationTableToBusinessRequest(); - ~EstablishRelationTableToBusinessRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getBusinessId()const; - void setBusinessId(const std::string& businessId); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - - private: - std::string tableGuid_; - std::string businessId_; - long projectId_; - std::string projectIdentifier_; - std::string folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h deleted file mode 100644 index 939359183..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_ESTABLISHRELATIONTABLETOBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT EstablishRelationTableToBusinessResult : public ServiceResult - { - public: - - - EstablishRelationTableToBusinessResult(); - explicit EstablishRelationTableToBusinessResult(const std::string &payload); - ~EstablishRelationTableToBusinessResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h deleted file mode 100644 index 9d51e46ee..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETBASELINECONFIGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineConfigRequest : public RpcServiceRequest - { - - public: - GetBaselineConfigRequest(); - ~GetBaselineConfigRequest(); - - long getBaselineId()const; - void setBaselineId(long baselineId); - - private: - long baselineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h deleted file mode 100644 index b85090956..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETBASELINECONFIGRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineConfigResult : public ServiceResult - { - public: - struct Data - { - long baselineId; - bool isDefault; - int expHour; - std::string hourSlaDetail; - std::string owner; - int expMinu; - int slaHour; - int priority; - int slaMinu; - long projectId; - std::string hourExpDetail; - bool useFlag; - std::string baselineType; - std::string baselineName; - }; - - - GetBaselineConfigResult(); - explicit GetBaselineConfigResult(const std::string &payload); - ~GetBaselineConfigResult(); - 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_GETBASELINECONFIGRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h deleted file mode 100644 index bf38b627d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETBASELINEKEYPATHREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineKeyPathRequest : public RpcServiceRequest - { - - public: - GetBaselineKeyPathRequest(); - ~GetBaselineKeyPathRequest(); - - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - int getInGroupId()const; - void setInGroupId(int inGroupId); - long getBaselineId()const; - void setBaselineId(long baselineId); - - private: - std::string bizdate_; - int inGroupId_; - long baselineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h deleted file mode 100644 index 1d3dbd1d3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETBASELINEKEYPATHRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineKeyPathResult : public ServiceResult - { - public: - struct DataItem - { - struct RunsItem - { - std::string status; - std::string owner; - long instanceId; - std::string nodeName; - long projectId; - long beginWaitTimeTime; - long cycTime; - long beginRunningTime; - long bizdate; - int inGroupId; - long beginCast; - long absTime; - long finishTime; - long nodeId; - long beginWaitResTime; - long endCast; - }; - struct TopicsItem - { - long instanceId; - long topicId; - long addTime; - long topicName; - }; - int prgType; - std::string owner; - std::vector topics; - long instanceId; - std::string nodeName; - long projectId; - long nodeId; - std::vector runs; - long bizdate; - int inGroupId; - }; - - - GetBaselineKeyPathResult(); - explicit GetBaselineKeyPathResult(const std::string &payload); - ~GetBaselineKeyPathResult(); - int getHttpStatusCode()const; - std::vector getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h deleted file mode 100644 index a881aa846..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETBASELINESTATUSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineStatusRequest : public RpcServiceRequest - { - - public: - GetBaselineStatusRequest(); - ~GetBaselineStatusRequest(); - - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - int getInGroupId()const; - void setInGroupId(int inGroupId); - long getBaselineId()const; - void setBaselineId(long baselineId); - - private: - std::string bizdate_; - int inGroupId_; - long baselineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h deleted file mode 100644 index 130c6c5fb..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETBASELINESTATUSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineStatusResult : public ServiceResult - { - public: - struct Data - { - struct LastInstance - { - std::string status; - std::string owner; - long finishTime; - long instanceId; - std::string nodeName; - long projectId; - long nodeId; - long endCast; - }; - struct BlockInstance - { - std::string status; - std::string owner; - long finishTime; - long instanceId; - std::string nodeName; - long projectId; - long nodeId; - long endCast; - }; - long baselineId; - float buffer; - std::string status; - std::string owner; - int priority; - std::string finishStatus; - long projectId; - long bizdate; - long expTime; - int inGroupId; - long finishTime; - BlockInstance blockInstance; - std::string baselineName; - long slaTime; - LastInstance lastInstance; - long endCast; - }; - - - GetBaselineStatusResult(); - explicit GetBaselineStatusResult(const std::string &payload); - ~GetBaselineStatusResult(); - 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_GETBASELINESTATUSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h deleted file mode 100644 index d0e14981f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBusinessRequest : public RpcServiceRequest - { - - public: - GetBusinessRequest(); - ~GetBusinessRequest(); - - long getBusinessId()const; - void setBusinessId(long businessId); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - long businessId_; - long projectId_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessResult.h deleted file mode 100644 index d3fbdbd42..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBusinessResult : public ServiceResult - { - public: - struct Data - { - std::string owner; - std::string description; - std::string businessName; - std::string useType; - std::string projectId; - long businessId; - }; - - - GetBusinessResult(); - explicit GetBusinessResult(const std::string &payload); - ~GetBusinessResult(); - 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_GETBUSINESSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagRequest.h deleted file mode 100644 index 3d4a9cabd..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDAGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDagRequest : public RpcServiceRequest - { - - public: - GetDagRequest(); - ~GetDagRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getDagId()const; - void setDagId(long dagId); - - private: - std::string projectEnv_; - long dagId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h deleted file mode 100644 index 4832766c1..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApiRequest : public RpcServiceRequest - { - - public: - GetDataServiceApiRequest(); - ~GetDataServiceApiRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h deleted file mode 100644 index 040d885b3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApiResult : public ServiceResult - { - public: - struct Data - { - struct RegistrationDetails - { - struct RegistrationErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct RegistrationRequestParameter - { - std::string columnName; - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - std::string serviceRequestBodyDescription; - int serviceContentType; - std::string successfulResultSample; - std::string servicePath; - std::vector registrationErrorCodes; - std::string failedResultSample; - std::string serviceHost; - std::vector registrationRequestParameters; - }; - struct ScriptDetails - { - struct ScriptConnection - { - std::string tableName; - long connectionId; - }; - struct ScriptRequestParameter - { - std::string columnName; - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct ScriptResponseParameter - { - std::string columnName; - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - std::string script; - bool isPagedResponse; - std::vector scriptRequestParameters; - std::vector scriptResponseParameters; - ScriptConnection scriptConnection; - }; - struct WizardDetails - { - struct WizardConnection - { - std::string tableName; - long connectionId; - }; - struct WizardRequestParameter - { - std::string columnName; - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct WizardResponseParameter - { - std::string columnName; - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - bool isPagedResponse; - std::vector wizardRequestParameters; - WizardConnection wizardConnection; - std::vector wizardResponseParameters; - }; - int status; - WizardDetails wizardDetails; - int visibleRange; - std::vector protocols; - std::string createdTime; - std::string description; - std::string apiName; - std::string creatorId; - int requestMethod; - int timeout; - long projectId; - int responseContentType; - std::string operatorId; - long folderId; - RegistrationDetails registrationDetails; - std::string groupId; - long tenantId; - std::string modifiedTime; - ScriptDetails scriptDetails; - long apiId; - int apiMode; - std::string apiPath; - }; - - - GetDataServiceApiResult(); - explicit GetDataServiceApiResult(const std::string &payload); - ~GetDataServiceApiResult(); - 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_GETDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h deleted file mode 100644 index 9fd0fc7e9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDATASERVICEAPPLICATIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApplicationRequest : public RpcServiceRequest - { - - public: - GetDataServiceApplicationRequest(); - ~GetDataServiceApplicationRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getApplicationId()const; - void setApplicationId(long applicationId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long tenantId_; - long applicationId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h deleted file mode 100644 index f4042b343..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDATASERVICEAPPLICATIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApplicationResult : public ServiceResult - { - public: - struct Data - { - std::string applicationKey; - std::string applicationName; - std::string applicationSecret; - long projectId; - long applicationId; - std::string applicationCode; - }; - - - GetDataServiceApplicationResult(); - explicit GetDataServiceApplicationResult(const std::string &payload); - ~GetDataServiceApplicationResult(); - 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_GETDATASERVICEAPPLICATIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h deleted file mode 100644 index 1a619de1e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDATASERVICEFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceFolderRequest : public RpcServiceRequest - { - - public: - GetDataServiceFolderRequest(); - ~GetDataServiceFolderRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getFolderId()const; - void setFolderId(long folderId); - - private: - long tenantId_; - long projectId_; - long folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEFOLDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderResult.h deleted file mode 100644 index 5919cac29..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDATASERVICEFOLDERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEFOLDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceFolderResult : public ServiceResult - { - public: - struct Folder - { - long parentId; - long tenantId; - std::string createdTime; - std::string modifiedTime; - long projectId; - long folderId; - std::string folderName; - std::string groupId; - }; - - - GetDataServiceFolderResult(); - explicit GetDataServiceFolderResult(const std::string &payload); - ~GetDataServiceFolderResult(); - Folder getFolder()const; - - protected: - void parse(const std::string &payload); - private: - Folder folder_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEFOLDERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h deleted file mode 100644 index c7b4f2583..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDATASERVICEGROUPREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceGroupRequest : public RpcServiceRequest - { - - public: - GetDataServiceGroupRequest(); - ~GetDataServiceGroupRequest(); - - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string groupId_; - long tenantId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEGROUPREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupResult.h deleted file mode 100644 index c3a2bb1e8..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDATASERVICEGROUPRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceGroupResult : public ServiceResult - { - public: - struct Group - { - std::string groupName; - long tenantId; - std::string description; - std::string createdTime; - std::string modifiedTime; - std::string creatorId; - long projectId; - std::string apiGatewayGroupId; - std::string groupId; - }; - - - GetDataServiceGroupResult(); - explicit GetDataServiceGroupResult(const std::string &payload); - ~GetDataServiceGroupResult(); - Group getGroup()const; - - protected: - void parse(const std::string &payload); - private: - Group group_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h deleted file mode 100644 index 504f5c901..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDATASERVICEPUBLISHEDAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServicePublishedApiRequest : public RpcServiceRequest - { - - public: - GetDataServicePublishedApiRequest(); - ~GetDataServicePublishedApiRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h deleted file mode 100644 index d7c5e7575..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDATASERVICEPUBLISHEDAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServicePublishedApiResult : public ServiceResult - { - public: - struct Data - { - struct RegistrationDetails - { - struct RegistrationErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct RegistrationRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - std::string serviceRequestBodyDescription; - int serviceContentType; - std::string successfulResultSample; - std::string servicePath; - std::vector registrationErrorCodes; - std::string failedResultSample; - std::string serviceHost; - std::vector registrationRequestParameters; - }; - struct ScriptDetails - { - struct ScriptConnection - { - std::string tableName; - long connectionId; - }; - struct ScriptErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct ScriptRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct ScriptResponseParameter - { - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - std::string script; - std::vector scriptErrorCodes; - bool isPagedResponse; - std::string successfulResultSample; - std::vector scriptRequestParameters; - std::string failedResultSample; - std::vector scriptResponseParameters; - ScriptConnection scriptConnection; - }; - struct WizardDetails - { - struct WizardConnection - { - std::string tableName; - long connectionId; - }; - struct WizardErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct WizardRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct WizardResponseParameter - { - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - bool isPagedResponse; - std::vector wizardRequestParameters; - std::string successfulResultSample; - WizardConnection wizardConnection; - std::vector wizardErrorCodes; - std::vector wizardResponseParameters; - std::string failedResultSample; - }; - int status; - WizardDetails wizardDetails; - int visibleRange; - std::vector protocols; - std::string createdTime; - std::string description; - std::string apiName; - std::string creatorId; - int requestMethod; - int timeout; - long projectId; - int responseContentType; - std::string operatorId; - RegistrationDetails registrationDetails; - std::string groupId; - long tenantId; - std::string modifiedTime; - ScriptDetails scriptDetails; - long apiId; - int apiMode; - std::string apiPath; - }; - - - GetDataServicePublishedApiResult(); - explicit GetDataServicePublishedApiResult(const std::string &payload); - ~GetDataServicePublishedApiResult(); - 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_GETDATASERVICEPUBLISHEDAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h deleted file mode 100644 index 8e9d74609..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDEPLOYMENTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDeploymentRequest : public RpcServiceRequest - { - - public: - GetDeploymentRequest(); - ~GetDeploymentRequest(); - - long getDeploymentId()const; - void setDeploymentId(long deploymentId); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - long deploymentId_; - long projectId_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentResult.h deleted file mode 100644 index 1e8139989..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentResult.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETDEPLOYMENTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDeploymentResult : public ServiceResult - { - public: - struct Data - { - struct Deployment - { - int status; - std::string handlerId; - long executeTime; - std::string creatorId; - long createTime; - int toEnvironment; - int fromEnvironment; - std::string errorMessage; - std::string name; - }; - Deployment deployment; - }; - - - GetDeploymentResult(); - explicit GetDeploymentResult(const std::string &payload); - ~GetDeploymentResult(); - 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_GETDEPLOYMENTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileRequest.h deleted file mode 100644 index bf3be0811..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileRequest : public RpcServiceRequest - { - - public: - GetFileRequest(); - ~GetFileRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getFileId()const; - void setFileId(long fileId); - - private: - long projectId_; - std::string projectIdentifier_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h deleted file mode 100644 index 8a664e2d9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileResult : public ServiceResult - { - public: - struct Data - { - struct File - { - long parentId; - std::string owner; - long createTime; - std::string fileName; - std::string useType; - int currentVersion; - std::string createUser; - bool isMaxCompute; - std::string connectionName; - long lastEditTime; - std::string fileDescription; - int fileType; - std::string content; - std::string lastEditUser; - long nodeId; - int commitStatus; - std::string fileFolderId; - long bizId; - }; - struct NodeConfiguration - { - struct NodeInputOutput - { - std::string input; - }; - struct NodeInputOutput1 - { - std::string output; - std::string refTableName; - }; - std::string cycleType; - std::vector inputList; - long resourceGroupId; - bool stop; - std::string dependentType; - std::string cronExpress; - long endEffectDate; - int autoRerunIntervalMillis; - std::string dependentNodeIdList; - long startEffectDate; - int autoRerunTimes; - std::string rerunMode; - std::string paraValue; - std::vector outputList; - }; - File file; - NodeConfiguration nodeConfiguration; - }; - - - GetFileResult(); - explicit GetFileResult(const std::string &payload); - ~GetFileResult(); - 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_GETFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h deleted file mode 100644 index 2db9e0ea4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETFILEVERSIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileVersionRequest : public RpcServiceRequest - { - - public: - GetFileVersionRequest(); - ~GetFileVersionRequest(); - - int getFileVersion()const; - void setFileVersion(int fileVersion); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getFileId()const; - void setFileId(long fileId); - - private: - int fileVersion_; - long projectId_; - std::string projectIdentifier_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionResult.h deleted file mode 100644 index 9ee7381b4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionResult.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETFILEVERSIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileVersionResult : public ServiceResult - { - public: - struct Data - { - std::string status; - std::string comment; - std::string commitUser; - std::string filePropertyContent; - std::string fileName; - long commitTime; - std::string useType; - bool isCurrentProd; - std::string fileContent; - std::string changeType; - int fileVersion; - long nodeId; - std::string nodeContent; - }; - - - GetFileVersionResult(); - explicit GetFileVersionResult(const std::string &payload); - ~GetFileVersionResult(); - 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_GETFILEVERSIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h deleted file mode 100644 index 6a9af28da..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFolderRequest : public RpcServiceRequest - { - - public: - GetFolderRequest(); - ~GetFolderRequest(); - - std::string getFolderPath()const; - void setFolderPath(const std::string& folderPath); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - - private: - std::string folderPath_; - long projectId_; - std::string projectIdentifier_; - std::string folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h deleted file mode 100644 index e88498e14..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCECONSUMETIMERANKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECONSUMETIMERANKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceConsumeTimeRankRequest : public RpcServiceRequest - { - - public: - GetInstanceConsumeTimeRankRequest(); - ~GetInstanceConsumeTimeRankRequest(); - - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string bizdate_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECONSUMETIMERANKREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankResult.h deleted file mode 100644 index f27ba65c3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCECONSUMETIMERANKRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECONSUMETIMERANKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceConsumeTimeRankResult : public ServiceResult - { - public: - struct InstanceConsumeTimeRank - { - struct ConsumeTimeRankItem - { - int prgType; - std::string owner; - std::string nodeName; - long instanceId; - long nodeId; - long consumed; - long bizdate; - }; - std::vector consumeTimeRank; - long updateTime; - }; - - - GetInstanceConsumeTimeRankResult(); - explicit GetInstanceConsumeTimeRankResult(const std::string &payload); - ~GetInstanceConsumeTimeRankResult(); - InstanceConsumeTimeRank getInstanceConsumeTimeRank()const; - - protected: - void parse(const std::string &payload); - private: - InstanceConsumeTimeRank instanceConsumeTimeRank_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECONSUMETIMERANKRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h deleted file mode 100644 index 994a0d6c7..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCECOUNTTRENDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECOUNTTRENDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceCountTrendRequest : public RpcServiceRequest - { - - public: - GetInstanceCountTrendRequest(); - ~GetInstanceCountTrendRequest(); - - std::string getBeginDate()const; - void setBeginDate(const std::string& beginDate); - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string beginDate_; - std::string endDate_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECOUNTTRENDREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendResult.h deleted file mode 100644 index 0ff78759a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCECOUNTTRENDRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECOUNTTRENDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceCountTrendResult : public ServiceResult - { - public: - struct IntanceCounts - { - int count; - long date; - }; - - - GetInstanceCountTrendResult(); - explicit GetInstanceCountTrendResult(const std::string &payload); - ~GetInstanceCountTrendResult(); - std::vector getInstanceCounts()const; - - protected: - void parse(const std::string &payload); - private: - std::vector instanceCounts_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECOUNTTRENDRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankResult.h deleted file mode 100644 index 7aee3b865..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCEERRORRANKRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceErrorRankResult : public ServiceResult - { - public: - struct InstanceErrorRank - { - struct ErrorRankItem - { - int prgType; - std::string owner; - std::string nodeName; - long nodeId; - long projectId; - int count; - }; - std::vector errorRank; - long updateTime; - }; - - - GetInstanceErrorRankResult(); - explicit GetInstanceErrorRankResult(const std::string &payload); - ~GetInstanceErrorRankResult(); - InstanceErrorRank getInstanceErrorRank()const; - - protected: - void parse(const std::string &payload); - private: - InstanceErrorRank instanceErrorRank_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h deleted file mode 100644 index 63b6e4fcc..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCELOGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceLogRequest : public RpcServiceRequest - { - - public: - GetInstanceLogRequest(); - ~GetInstanceLogRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h deleted file mode 100644 index 7c560290e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCELOGRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceLogResult : public ServiceResult - { - public: - - - GetInstanceLogResult(); - explicit GetInstanceLogResult(const std::string &payload); - ~GetInstanceLogResult(); - int getHttpStatusCode()const; - std::string getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h deleted file mode 100644 index 8f4382fb4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceRequest : public RpcServiceRequest - { - - public: - GetInstanceRequest(); - ~GetInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceResult.h deleted file mode 100644 index 22156f35c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceResult.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceResult : public ServiceResult - { - public: - struct Data - { - std::string status; - long baselineId; - long modifyTime; - long instanceId; - std::string dagType; - std::string nodeName; - int priority; - int dqcType; - std::string paramValues; - long createTime; - std::string connection; - long relatedFlowId; - long cycTime; - long beginWaitTimeTime; - long dagId; - long bizdate; - long beginRunningTime; - bool repeatability; - long finishTime; - std::string dqcDescription; - long nodeId; - long beginWaitResTime; - std::string errorMessage; - long repeatInterval; - }; - - - GetInstanceResult(); - explicit GetInstanceResult(const std::string &payload); - ~GetInstanceResult(); - 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_GETINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h deleted file mode 100644 index 7cdfbaf04..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCESTATUSCOUNTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceStatusCountRequest : public RpcServiceRequest - { - - public: - GetInstanceStatusCountRequest(); - ~GetInstanceStatusCountRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getBizDate()const; - void setBizDate(const std::string& bizDate); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectEnv_; - std::string bizDate_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSCOUNTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountResult.h deleted file mode 100644 index f6782788a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETINSTANCESTATUSCOUNTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSCOUNTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceStatusCountResult : public ServiceResult - { - public: - struct StatusCount - { - int totalCount; - int runningCount; - int failureCount; - int waitResCount; - int notRunCount; - int successCount; - int waitTimeCount; - }; - - - GetInstanceStatusCountResult(); - explicit GetInstanceStatusCountResult(const std::string &payload); - ~GetInstanceStatusCountResult(); - StatusCount getStatusCount()const; - - protected: - void parse(const std::string &payload); - private: - StatusCount statusCount_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSCOUNTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h deleted file mode 100644 index f44bafcec..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMANUALDAGINSTANCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMANUALDAGINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetManualDagInstancesRequest : public RpcServiceRequest - { - - public: - GetManualDagInstancesRequest(); - ~GetManualDagInstancesRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getDagId()const; - void setDagId(const std::string& dagId); - - private: - std::string projectEnv_; - std::string projectName_; - std::string dagId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMANUALDAGINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesResult.h deleted file mode 100644 index b59428062..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMANUALDAGINSTANCESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMANUALDAGINSTANCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetManualDagInstancesResult : public ServiceResult - { - public: - struct InstancesItem - { - std::string status; - long modifyTime; - long instanceId; - std::string dagType; - std::string nodeName; - long createTime; - std::string paramValues; - long cycTime; - long beginWaitTimeTime; - long dagId; - long beginRunningTime; - long finishTime; - long nodeId; - long beginWaitResTime; - long bizDate; - }; - - - GetManualDagInstancesResult(); - explicit GetManualDagInstancesResult(const std::string &payload); - ~GetManualDagInstancesResult(); - std::vector getInstances()const; - - protected: - void parse(const std::string &payload); - private: - std::vector instances_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMANUALDAGINSTANCESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h deleted file mode 100644 index 78888fd88..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaCategoryRequest : public RpcServiceRequest - { - - public: - GetMetaCategoryRequest(); - ~GetMetaCategoryRequest(); - - long getParentCategoryId()const; - void setParentCategoryId(long parentCategoryId); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNum()const; - void setPageNum(int pageNum); - - private: - long parentCategoryId_; - int pageSize_; - int pageNum_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h deleted file mode 100644 index fcb3f053f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaCategoryResult : public ServiceResult - { - public: - struct Data - { - struct DataEntityListItem - { - long categoryId; - std::string comment; - long modifiedTime; - std::string ownerId; - std::string lastOperatorId; - long createTime; - long parentCategoryId; - int depth; - std::string name; - }; - long totalCount; - int pageNum; - int pageSize; - std::vector dataEntityList; - }; - - - GetMetaCategoryResult(); - explicit GetMetaCategoryResult(const std::string &payload); - ~GetMetaCategoryResult(); - 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_GETMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h deleted file mode 100644 index 4c62a2ff0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETACOLUMNLINEAGEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaColumnLineageRequest : public RpcServiceRequest - { - - public: - GetMetaColumnLineageRequest(); - ~GetMetaColumnLineageRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNum()const; - void setPageNum(int pageNum); - std::string getColumnName()const; - void setColumnName(const std::string& columnName); - std::string getColumnGuid()const; - void setColumnGuid(const std::string& columnGuid); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getDirection()const; - void setDirection(const std::string& direction); - - private: - std::string dataSourceType_; - std::string clusterId_; - int pageNum_; - std::string columnName_; - std::string columnGuid_; - std::string databaseName_; - int pageSize_; - std::string tableName_; - std::string direction_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h deleted file mode 100644 index ea0ed05ca..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETADBINFORESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBInfoResult : public ServiceResult - { - public: - struct Data - { - long modifyTime; - std::string comment; - std::string ownerName; - std::string projectName; - std::string projectNameCn; - long createTime; - long projectId; - std::string appGuid; - int envType; - std::string name; - long tenantId; - std::string type; - std::string endpoint; - std::string ownerId; - std::string clusterBizId; - std::string location; - }; - - - GetMetaDBInfoResult(); - explicit GetMetaDBInfoResult(const std::string &payload); - ~GetMetaDBInfoResult(); - Data getData()const; - - protected: - void parse(const std::string &payload); - private: - Data data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFORESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListResult.h deleted file mode 100644 index 120ecb53a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETADBTABLELISTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBTableListResult : public ServiceResult - { - public: - struct Data - { - struct TableEntityListItem - { - std::string tableName; - std::string tableGuid; - std::string databaseName; - }; - long totalCount; - int pageSize; - int pageNumber; - std::vector tableEntityList; - }; - - - GetMetaDBTableListResult(); - explicit GetMetaDBTableListResult(const std::string &payload); - ~GetMetaDBTableListResult(); - Data getData()const; - - protected: - void parse(const std::string &payload); - private: - Data data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h deleted file mode 100644 index c6d2ce976..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLEBASICINFORESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableBasicInfoResult : public ServiceResult - { - public: - struct Data - { - int lifeCycle; - std::string comment; - std::string projectName; - std::string clusterId; - long lastDdlTime; - long createTime; - long projectId; - std::string databaseName; - long lastModifyTime; - long lastAccessTime; - int envType; - std::string caption; - std::string tableName; - std::string tableGuid; - long tenantId; - std::string ownerId; - long dataSize; - std::string partitionKeys; - int isVisible; - std::string location; - }; - - - GetMetaTableBasicInfoResult(); - explicit GetMetaTableBasicInfoResult(const std::string &payload); - ~GetMetaTableBasicInfoResult(); - 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_GETMETATABLEBASICINFORESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h deleted file mode 100644 index 35c032dd9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLECHANGELOGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableChangeLogRequest : public RpcServiceRequest - { - - public: - GetMetaTableChangeLogRequest(); - ~GetMetaTableChangeLogRequest(); - - std::string getStartDate()const; - void setStartDate(const std::string& startDate); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getChangeType()const; - void setChangeType(const std::string& changeType); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getObjectType()const; - void setObjectType(const std::string& objectType); - - private: - std::string startDate_; - int pageNumber_; - std::string endDate_; - std::string tableGuid_; - std::string changeType_; - int pageSize_; - std::string objectType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h deleted file mode 100644 index cd796cc0d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLECHANGELOGRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableChangeLogResult : public ServiceResult - { - public: - struct Data - { - struct DataEntityListItem - { - std::string objectType; - std::string changeContent; - long modifiedTime; - std::string changeType; - long createTime; - std::string _operator; - }; - long totalCount; - int pageSize; - std::vector dataEntityList; - int pageNumber; - }; - - - GetMetaTableChangeLogResult(); - explicit GetMetaTableChangeLogResult(const std::string &payload); - ~GetMetaTableChangeLogResult(); - 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_GETMETATABLECHANGELOGRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h deleted file mode 100644 index 16a84a898..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLECOLUMNRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableColumnResult : public ServiceResult - { - public: - struct Data - { - struct ColumnListItem - { - std::string columnName; - std::string comment; - std::string columnGuid; - std::string columnType; - bool isPartitionColumn; - int position; - bool isForeignKey; - std::string caption; - bool isPrimaryKey; - }; - long totalCount; - int pageNum; - int pageSize; - std::vector columnList; - }; - - - GetMetaTableColumnResult(); - explicit GetMetaTableColumnResult(const std::string &payload); - ~GetMetaTableColumnResult(); - 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_GETMETATABLECOLUMNRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h deleted file mode 100644 index a77d9ba42..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLEFULLINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableFullInfoRequest : public RpcServiceRequest - { - - public: - GetMetaTableFullInfoRequest(); - ~GetMetaTableFullInfoRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNum()const; - void setPageNum(int pageNum); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string dataSourceType_; - std::string clusterId_; - int pageNum_; - std::string tableGuid_; - std::string databaseName_; - int pageSize_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h deleted file mode 100644 index 6da858faf..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLEINTROWIKIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableIntroWikiRequest : public RpcServiceRequest - { - - public: - GetMetaTableIntroWikiRequest(); - ~GetMetaTableIntroWikiRequest(); - - long getWikiVersion()const; - void setWikiVersion(long wikiVersion); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - - private: - long wikiVersion_; - std::string tableGuid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h deleted file mode 100644 index 593a66672..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLEINTROWIKIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableIntroWikiResult : public ServiceResult - { - public: - struct Data - { - long modifiedTime; - long version; - std::string content; - long createTime; - std::string creator; - std::string creatorName; - }; - - - GetMetaTableIntroWikiResult(); - explicit GetMetaTableIntroWikiResult(const std::string &payload); - ~GetMetaTableIntroWikiResult(); - 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_GETMETATABLEINTROWIKIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h deleted file mode 100644 index c9c402a6d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLELINEAGEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableLineageRequest : public RpcServiceRequest - { - - public: - GetMetaTableLineageRequest(); - ~GetMetaTableLineageRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getNextPrimaryKey()const; - void setNextPrimaryKey(const std::string& nextPrimaryKey); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getDirection()const; - void setDirection(const std::string& direction); - - private: - std::string dataSourceType_; - std::string clusterId_; - std::string tableGuid_; - std::string nextPrimaryKey_; - std::string databaseName_; - int pageSize_; - std::string tableName_; - std::string direction_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h deleted file mode 100644 index 5742d3b3c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLELINEAGERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableLineageResult : public ServiceResult - { - public: - struct Data - { - struct DataEntityListItem - { - std::string tableName; - std::string tableGuid; - }; - std::vector dataEntityList; - bool hasNext; - std::string nextPrimaryKey; - }; - - - GetMetaTableLineageResult(); - explicit GetMetaTableLineageResult(const std::string &payload); - ~GetMetaTableLineageResult(); - 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_GETMETATABLELINEAGERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h deleted file mode 100644 index 89ee744b6..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLELISTBYCATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableListByCategoryRequest : public RpcServiceRequest - { - - public: - GetMetaTableListByCategoryRequest(); - ~GetMetaTableListByCategoryRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - int pageSize_; - int pageNumber_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryResult.h deleted file mode 100644 index 76c65f372..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLELISTBYCATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableListByCategoryResult : public ServiceResult - { - public: - struct Data - { - std::vector tableGuidList; - long totalCount; - int pageSize; - int pageNumber; - }; - - - GetMetaTableListByCategoryResult(); - explicit GetMetaTableListByCategoryResult(const std::string &payload); - ~GetMetaTableListByCategoryResult(); - 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_GETMETATABLELISTBYCATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h deleted file mode 100644 index b6b089b5d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLEOUTPUTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableOutputRequest : public RpcServiceRequest - { - - public: - GetMetaTableOutputRequest(); - ~GetMetaTableOutputRequest(); - - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStartDate()const; - void setStartDate(const std::string& startDate); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string endDate_; - std::string tableGuid_; - int pageSize_; - std::string startDate_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h deleted file mode 100644 index 936654d79..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLEOUTPUTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableOutputResult : public ServiceResult - { - public: - struct Data - { - struct DataEntityListItem - { - long taskInstanceId; - std::string tableGuid; - std::string taskId; - std::string endTime; - std::string startTime; - long projectId; - std::string waitTime; - }; - long totalCount; - int pageSize; - std::vector dataEntityList; - int pageNumber; - }; - - - GetMetaTableOutputResult(); - explicit GetMetaTableOutputResult(const std::string &payload); - ~GetMetaTableOutputResult(); - 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_GETMETATABLEOUTPUTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionResult.h deleted file mode 100644 index c653acd63..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionResult.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETATABLEPARTITIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTablePartitionResult : public ServiceResult - { - public: - struct Data - { - struct DataEntityListItem - { - std::string partitionName; - std::string partitionGuid; - std::string comment; - std::string tableGuid; - long modifiedTime; - long createTime; - long dataSize; - std::string partitionPath; - std::string partitionType; - long recordCount; - std::string partitionLocation; - }; - long totalCount; - int pageSize; - std::vector dataEntityList; - int pageNumber; - }; - - - GetMetaTablePartitionResult(); - explicit GetMetaTablePartitionResult(const std::string &payload); - ~GetMetaTablePartitionResult(); - 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_GETMETATABLEPARTITIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenRequest.h deleted file mode 100644 index 76fa4d8b3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODECHILDRENREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECHILDRENREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeChildrenRequest : public RpcServiceRequest - { - - public: - GetNodeChildrenRequest(); - ~GetNodeChildrenRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECHILDRENREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenResult.h deleted file mode 100644 index 06afd406a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODECHILDRENRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECHILDRENRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeChildrenResult : public ServiceResult - { - public: - struct Data - { - struct NodesItem - { - long baselineId; - bool repeatability; - std::string ownerId; - std::string nodeName; - int priority; - long nodeId; - long projectId; - std::string schedulerType; - std::string programType; - std::string cronExpress; - }; - std::vector nodes; - }; - - - GetNodeChildrenResult(); - explicit GetNodeChildrenResult(const std::string &payload); - ~GetNodeChildrenResult(); - 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_GETNODECHILDRENRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h deleted file mode 100644 index 331bdb157..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODECODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeCodeRequest : public RpcServiceRequest - { - - public: - GetNodeCodeRequest(); - ~GetNodeCodeRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h deleted file mode 100644 index 7e99d73f0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODECODERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeCodeResult : public ServiceResult - { - public: - - - GetNodeCodeResult(); - explicit GetNodeCodeResult(const std::string &payload); - ~GetNodeCodeResult(); - int getHttpStatusCode()const; - std::string getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h deleted file mode 100644 index 246b8ec68..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODEONBASELINEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeOnBaselineRequest : public RpcServiceRequest - { - - public: - GetNodeOnBaselineRequest(); - ~GetNodeOnBaselineRequest(); - - long getBaselineId()const; - void setBaselineId(long baselineId); - - private: - long baselineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.h deleted file mode 100644 index 37c695ed5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODEONBASELINERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeOnBaselineResult : public ServiceResult - { - public: - struct DataItem - { - std::string owner; - std::string nodeName; - long nodeId; - long projectId; - }; - - - GetNodeOnBaselineResult(); - explicit GetNodeOnBaselineResult(const std::string &payload); - ~GetNodeOnBaselineResult(); - int getHttpStatusCode()const; - std::vector getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - std::string getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - std::string errorCode_; - std::string errorMessage_; - std::string success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsRequest.h deleted file mode 100644 index 0337eccf4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODEPARENTSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEPARENTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeParentsRequest : public RpcServiceRequest - { - - public: - GetNodeParentsRequest(); - ~GetNodeParentsRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEPARENTSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsResult.h deleted file mode 100644 index 84a3b50a1..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODEPARENTSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEPARENTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeParentsResult : public ServiceResult - { - public: - struct Data - { - struct NodesItem - { - long baselineId; - bool repeatability; - std::string ownerId; - std::string nodeName; - int priority; - long nodeId; - long projectId; - std::string schedulerType; - std::string programType; - std::string cronExpress; - }; - std::vector nodes; - }; - - - GetNodeParentsResult(); - explicit GetNodeParentsResult(const std::string &payload); - ~GetNodeParentsResult(); - 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_GETNODEPARENTSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h deleted file mode 100644 index e60555770..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeRequest : public RpcServiceRequest - { - - public: - GetNodeRequest(); - ~GetNodeRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeResult.h deleted file mode 100644 index 8108cd524..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeResult.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeResult : public ServiceResult - { - public: - struct Data - { - long baselineId; - std::string description; - std::string resGroupName; - std::string nodeName; - int priority; - int dqcType; - std::string paramValues; - long projectId; - std::string connection; - std::string schedulerType; - long relatedFlowId; - std::string cronExpress; - std::string repeatability; - std::string ownerId; - std::string dqcDescription; - long nodeId; - std::string programType; - long repeatInterval; - }; - - - GetNodeResult(); - explicit GetNodeResult(const std::string &payload); - ~GetNodeResult(); - 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_GETNODERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h deleted file mode 100644 index 38e545aa3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODETYPELISTINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODETYPELISTINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeTypeListInfoRequest : public RpcServiceRequest - { - - public: - GetNodeTypeListInfoRequest(); - ~GetNodeTypeListInfoRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - std::string getLocale()const; - void setLocale(const std::string& locale); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - std::string keyword_; - std::string locale_; - long projectId_; - std::string projectIdentifier_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODETYPELISTINFOREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoResult.h deleted file mode 100644 index fc1ca207c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETNODETYPELISTINFORESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODETYPELISTINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeTypeListInfoResult : public ServiceResult - { - public: - struct NodeTypeInfoList - { - struct NodeTypeInfoItem - { - std::string nodeTypeName; - int nodeType; - }; - int totalCount; - int pageSize; - std::vector nodeTypeInfo; - int pageNumber; - }; - - - GetNodeTypeListInfoResult(); - explicit GetNodeTypeListInfoResult(const std::string &payload); - ~GetNodeTypeListInfoResult(); - NodeTypeInfoList getNodeTypeInfoList()const; - - protected: - void parse(const std::string &payload); - private: - NodeTypeInfoList nodeTypeInfoList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODETYPELISTINFORESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataRequest.h deleted file mode 100644 index d55694b21..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETOPRISKDATAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOpRiskDataRequest : public RpcServiceRequest - { - - public: - GetOpRiskDataRequest(); - ~GetOpRiskDataRequest(); - - std::string getDate()const; - void setDate(const std::string& date); - std::string getRiskType()const; - void setRiskType(const std::string& riskType); - int getPageNo()const; - void setPageNo(int pageNo); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string date_; - std::string riskType_; - int pageNo_; - int pageSize_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATAREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h deleted file mode 100644 index 1356d3d82..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETOPSENSITIVEDATAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPSENSITIVEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOpSensitiveDataRequest : public RpcServiceRequest - { - - public: - GetOpSensitiveDataRequest(); - ~GetOpSensitiveDataRequest(); - - std::string getDate()const; - void setDate(const std::string& date); - std::string getOpType()const; - void setOpType(const std::string& opType); - int getPageNo()const; - void setPageNo(int pageNo); - std::string getName()const; - void setName(const std::string& name); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string date_; - std::string opType_; - int pageNo_; - std::string name_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPSENSITIVEDATAREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataResult.h deleted file mode 100644 index 8cd35067e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETOPSENSITIVEDATARESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPSENSITIVEDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOpSensitiveDataResult : public ServiceResult - { - public: - - - GetOpSensitiveDataResult(); - explicit GetOpSensitiveDataResult(const std::string &payload); - ~GetOpSensitiveDataResult(); - std::string getOpSensitiveData()const; - - protected: - void parse(const std::string &payload); - private: - std::string opSensitiveData_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPSENSITIVEDATARESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h deleted file mode 100644 index b25ecd04f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETPROJECTDETAILREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetProjectDetailRequest : public RpcServiceRequest - { - - public: - GetProjectDetailRequest(); - ~GetProjectDetailRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h deleted file mode 100644 index 1144f518a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETPROJECTDETAILRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetProjectDetailResult : public ServiceResult - { - public: - struct Data - { - std::string projectIdentifier; - int status; - std::string projectOwnerBaseId; - int schedulerMaxRetryTimes; - std::string projectName; - int isAllowDownload; - std::string gmtModified; - int projectId; - int developmentType; - std::string residentArea; - std::string gmtCreate; - long tenantId; - int protectedMode; - std::string defaultDiResourceGroupIdentifier; - int projectMode; - std::string projectDescription; - std::vector envTypes; - int schedulerRetryInterval; - }; - - - GetProjectDetailResult(); - explicit GetProjectDetailResult(const std::string &payload); - ~GetProjectDetailResult(); - int getHttpStatusCode()const; - Data getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h deleted file mode 100644 index fa40f0763..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETQUALITYENTITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityEntityRequest : public RpcServiceRequest - { - - public: - GetQualityEntityRequest(); - ~GetQualityEntityRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getMatchExpression()const; - void setMatchExpression(const std::string& matchExpression); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string projectName_; - std::string matchExpression_; - std::string envType_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h deleted file mode 100644 index 4e085dd8d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETQUALITYENTITYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityEntityResult : public ServiceResult - { - public: - struct EntityDto - { - long modifyTime; - int task; - std::string modifyUser; - std::string projectName; - bool hasRelativeNode; - long createTime; - std::string onDuty; - std::string followers; - std::string matchExpression; - std::string envType; - int sql; - std::string tableName; - std::string onDutyAccountName; - long id; - std::string relativeNode; - int entityLevel; - }; - - - GetQualityEntityResult(); - explicit GetQualityEntityResult(const std::string &payload); - ~GetQualityEntityResult(); - int getHttpStatusCode()const; - std::vector getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h deleted file mode 100644 index b15419164..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETQUALITYFOLLOWERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityFollowerRequest : public RpcServiceRequest - { - - public: - GetQualityFollowerRequest(); - ~GetQualityFollowerRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getEntityId()const; - void setEntityId(long entityId); - - private: - std::string projectName_; - long entityId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerResult.h deleted file mode 100644 index 42831e228..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETQUALITYFOLLOWERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityFollowerResult : public ServiceResult - { - public: - struct Follower - { - std::string entityId; - std::string tableName; - std::string followerAccountName; - std::string projectName; - std::string follower; - long id; - int alarmMode; - }; - - - GetQualityFollowerResult(); - explicit GetQualityFollowerResult(const std::string &payload); - ~GetQualityFollowerResult(); - int getHttpStatusCode()const; - std::vector getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleResult.h deleted file mode 100644 index 4559c933e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleResult.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETQUALITYRULERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityRuleResult : public ServiceResult - { - public: - struct Data - { - std::string comment; - int checker; - std::string criticalThreshold; - std::string checkerName; - std::string expectValue; - std::string warningThreshold; - std::string onDuty; - std::string trend; - std::string whereCondition; - int ruleType; - std::string _operator; - long entityId; - int methodId; - bool fixCheck; - int blockType; - std::string onDutyAccountName; - std::string templateName; - int predictType; - long id; - std::string methodName; - std::string property; - int templateId; - std::string ruleName; - }; - - - GetQualityRuleResult(); - explicit GetQualityRuleResult(const std::string &payload); - ~GetQualityRuleResult(); - 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_GETQUALITYRULERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindRequest.h deleted file mode 100644 index 15fb340f0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETREMINDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetRemindRequest : public RpcServiceRequest - { - - public: - GetRemindRequest(); - ~GetRemindRequest(); - - long getRemindId()const; - void setRemindId(long remindId); - - private: - long remindId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindResult.h deleted file mode 100644 index fe49c373e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindResult.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETREMINDRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetRemindResult : public ServiceResult - { - public: - struct Data - { - struct RobotsItem - { - bool atAll; - std::string webUrl; - }; - struct NodesItem - { - std::string owner; - std::string nodeName; - long nodeId; - long projectId; - }; - struct BaselinesItem - { - long baselineId; - std::string baselineName; - }; - struct ProjectsItem - { - long projectId; - }; - struct BizProcessesItem - { - std::string bizProcessName; - long bizId; - }; - int alertInterval; - std::vector bizProcesses; - std::string dndStart; - std::string dndEnd; - std::string alertUnit; - std::vector alertMethods; - std::vector projects; - std::string remindType; - std::string founder; - std::vector nodes; - std::vector baselines; - long remindId; - std::string remindUnit; - std::vector alertTargets; - bool useflag; - std::vector robots; - std::string detail; - std::string remindName; - int maxAlertTimes; - }; - - - GetRemindResult(); - explicit GetRemindResult(const std::string &payload); - ~GetRemindResult(); - 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_GETREMINDRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataRequest.h deleted file mode 100644 index 0357f5f80..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETSENSITIVEDATAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSENSITIVEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetSensitiveDataRequest : public RpcServiceRequest - { - - public: - GetSensitiveDataRequest(); - ~GetSensitiveDataRequest(); - - int getPageNo()const; - void setPageNo(int pageNo); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getName()const; - void setName(const std::string& name); - - private: - int pageNo_; - int pageSize_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSENSITIVEDATAREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataResult.h deleted file mode 100644 index 0b0bf7696..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETSENSITIVEDATARESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSENSITIVEDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetSensitiveDataResult : public ServiceResult - { - public: - - - GetSensitiveDataResult(); - explicit GetSensitiveDataResult(const std::string &payload); - ~GetSensitiveDataResult(); - std::string getSensitiveData()const; - - protected: - void parse(const std::string &payload); - private: - std::string sensitiveData_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSENSITIVEDATARESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h deleted file mode 100644 index 9da7ddae8..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETSUCCESSINSTANCETRENDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSUCCESSINSTANCETRENDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetSuccessInstanceTrendRequest : public RpcServiceRequest - { - - public: - GetSuccessInstanceTrendRequest(); - ~GetSuccessInstanceTrendRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSUCCESSINSTANCETRENDREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendResult.h deleted file mode 100644 index 03c204a6e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETSUCCESSINSTANCETRENDRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSUCCESSINSTANCETRENDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetSuccessInstanceTrendResult : public ServiceResult - { - public: - struct InstanceStatusTrend - { - struct TodayTrendItem - { - std::string timePoint; - int count; - }; - struct YesterdayTrendItem - { - std::string timePoint; - int count; - }; - struct AvgTrendItem - { - std::string timePoint; - int count; - }; - std::vector yesterdayTrend; - std::vector avgTrend; - std::vector todayTrend; - }; - - - GetSuccessInstanceTrendResult(); - explicit GetSuccessInstanceTrendResult(const std::string &payload); - ~GetSuccessInstanceTrendResult(); - InstanceStatusTrend getInstanceStatusTrend()const; - - protected: - void parse(const std::string &payload); - private: - InstanceStatusTrend instanceStatusTrend_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSUCCESSINSTANCETRENDRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h deleted file mode 100644 index 0cc6f0583..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETTOPICINFLUENCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetTopicInfluenceRequest : public RpcServiceRequest - { - - public: - GetTopicInfluenceRequest(); - ~GetTopicInfluenceRequest(); - - long getTopicId()const; - void setTopicId(long topicId); - - private: - long topicId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h deleted file mode 100644 index 51a236034..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETTOPICINFLUENCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetTopicInfluenceResult : public ServiceResult - { - public: - struct Data - { - struct InfluencesItem - { - long baselineId; - std::string status; - long buffer; - std::string owner; - int priority; - std::string baselineName; - long projectId; - long bizdate; - int inGroupId; - }; - std::vector influences; - long topicId; - }; - - - GetTopicInfluenceResult(); - explicit GetTopicInfluenceResult(const std::string &payload); - ~GetTopicInfluenceResult(); - 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_GETTOPICINFLUENCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h deleted file mode 100644 index 8b63c775a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETTOPICREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetTopicRequest : public RpcServiceRequest - { - - public: - GetTopicRequest(); - ~GetTopicRequest(); - - long getTopicId()const; - void setTopicId(long topicId); - - private: - long topicId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicResult.h deleted file mode 100644 index c058190c4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicResult.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETTOPICRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetTopicResult : public ServiceResult - { - public: - struct Data - { - long baselineId; - long buffer; - long fixTime; - std::string owner; - long instanceId; - std::string nodeName; - std::string baselineStatus; - long projectId; - std::string topicStatus; - long addTime; - long happenTime; - long alertTime; - int baselineInGroupId; - std::string topicName; - std::string topicType; - std::string assigner; - std::string dealUser; - long nextAlertTime; - std::string baselineName; - long nodeId; - long topicId; - long baselineBuffer; - long dealTime; - }; - - - GetTopicResult(); - explicit GetTopicResult(const std::string &payload); - ~GetTopicResult(); - 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_GETTOPICRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h deleted file mode 100644 index 9d86c0ac2..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTALERTMESSAGESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListAlertMessagesRequest : public RpcServiceRequest - { - - public: - ListAlertMessagesRequest(); - ~ListAlertMessagesRequest(); - - std::string getAlertUser()const; - void setAlertUser(const std::string& alertUser); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getBeginTime()const; - void setBeginTime(const std::string& beginTime); - std::string getAlertMethods()const; - void setAlertMethods(const std::string& alertMethods); - int getPageNumber()const; - void setPageNumber(int pageNumber); - long getRemindId()const; - void setRemindId(long remindId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getAlertRuleTypes()const; - void setAlertRuleTypes(const std::string& alertRuleTypes); - - private: - std::string alertUser_; - std::string endTime_; - std::string beginTime_; - std::string alertMethods_; - int pageNumber_; - long remindId_; - int pageSize_; - std::string alertRuleTypes_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h deleted file mode 100644 index c6353a375..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTALERTMESSAGESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListAlertMessagesResult : public ServiceResult - { - public: - struct Data - { - struct AlertMessagesItem - { - struct SlaAlert - { - long baselineId; - std::string status; - std::string baselineOwner; - std::string baselineName; - long projectId; - long bizdate; - int inGroupId; - }; - struct InstancesItem - { - std::string status; - std::string nodeName; - long instanceId; - long nodeId; - long projectId; - }; - struct TopicsItem - { - std::string topicOwner; - long instanceId; - long nodeId; - long topicId; - std::string topicStatus; - std::string topicName; - }; - struct NodesItem - { - std::string owner; - std::string nodeName; - long nodeId; - long projectId; - }; - std::string alertUser; - std::string alertMessageStatus; - std::vector topics; - std::string alertMethod; - std::vector nodes; - long alertTime; - std::string source; - std::vector instances; - long remindId; - long alertId; - std::string content; - SlaAlert slaAlert; - std::string remindName; - }; - std::string totalCount; - std::string pageSize; - std::string pageNumber; - std::vector alertMessages; - }; - - - ListAlertMessagesResult(); - explicit ListAlertMessagesResult(const std::string &payload); - ~ListAlertMessagesResult(); - 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_LISTALERTMESSAGESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h deleted file mode 100644 index 22c451c10..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTBASELINECONFIGSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBaselineConfigsRequest : public RpcServiceRequest - { - - public: - ListBaselineConfigsRequest(); - ~ListBaselineConfigsRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getSearchText()const; - void setSearchText(const std::string& searchText); - bool getUseflag()const; - void setUseflag(bool useflag); - std::string getPriority()const; - void setPriority(const std::string& priority); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - long getProjectId()const; - void setProjectId(long projectId); - std::string getBaselineTypes()const; - void setBaselineTypes(const std::string& baselineTypes); - - private: - std::string owner_; - std::string searchText_; - bool useflag_; - std::string priority_; - int pageNumber_; - int pageSize_; - long projectId_; - std::string baselineTypes_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h deleted file mode 100644 index 940ae37aa..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTBASELINECONFIGSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBaselineConfigsResult : public ServiceResult - { - public: - struct Data - { - struct BaselinesItem - { - long baselineId; - bool isDefault; - int expHour; - std::string hourSlaDetail; - std::string owner; - int expMinu; - int slaHour; - int priority; - int slaMinu; - long projectId; - std::string hourExpDetail; - bool useFlag; - std::string baselineType; - std::string baselineName; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector baselines; - }; - - - ListBaselineConfigsResult(); - explicit ListBaselineConfigsResult(const std::string &payload); - ~ListBaselineConfigsResult(); - 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_LISTBASELINECONFIGSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h deleted file mode 100644 index 6a7c3c74a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTBASELINESTATUSESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBaselineStatusesRequest : public RpcServiceRequest - { - - public: - ListBaselineStatusesRequest(); - ~ListBaselineStatusesRequest(); - - std::string getSearchText()const; - void setSearchText(const std::string& searchText); - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getPriority()const; - void setPriority(const std::string& priority); - int getPageNumber()const; - void setPageNumber(int pageNumber); - long getTopicId()const; - void setTopicId(long topicId); - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - std::string getFinishStatus()const; - void setFinishStatus(const std::string& finishStatus); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getBaselineTypes()const; - void setBaselineTypes(const std::string& baselineTypes); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string searchText_; - std::string owner_; - std::string priority_; - int pageNumber_; - long topicId_; - std::string bizdate_; - std::string finishStatus_; - int pageSize_; - std::string baselineTypes_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h deleted file mode 100644 index 8896351de..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTBASELINESTATUSESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBaselineStatusesResult : public ServiceResult - { - public: - struct Data - { - struct BaselineStatusesItem - { - long baselineId; - long buffer; - std::string status; - std::string owner; - int priority; - std::string finishStatus; - long projectId; - long bizdate; - long expTime; - int inGroupId; - long finishTime; - std::string baselineName; - long slaTime; - long endCast; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector baselineStatuses; - }; - - - ListBaselineStatusesResult(); - explicit ListBaselineStatusesResult(const std::string &payload); - ~ListBaselineStatusesResult(); - 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_LISTBASELINESTATUSESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h deleted file mode 100644 index ced0b9f1b..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBusinessRequest : public RpcServiceRequest - { - - public: - ListBusinessRequest(); - ~ListBusinessRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - std::string keyword_; - long projectId_; - std::string projectIdentifier_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h deleted file mode 100644 index 439504129..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTCALCENGINESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCalcEnginesRequest : public RpcServiceRequest - { - - public: - ListCalcEnginesRequest(); - ~ListCalcEnginesRequest(); - - std::string getCalcEngineType()const; - void setCalcEngineType(const std::string& calcEngineType); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getName()const; - void setName(const std::string& name); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - int getPageSize()const; - void setPageSize(int pageSize); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string calcEngineType_; - int pageNumber_; - std::string name_; - std::string envType_; - int pageSize_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h deleted file mode 100644 index d85e6437a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTCALCENGINESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCalcEnginesResult : public ServiceResult - { - public: - struct Data - { - struct CalcEnginesItem - { - bool isDefault; - int engineId; - std::string taskAuthType; - std::string dwRegion; - std::string calcEngineType; - std::string envType; - std::string name; - int bindingProjectId; - std::string engineInfo; - std::string gmtCreate; - long tenantId; - std::string bindingProjectName; - std::string region; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector calcEngines; - }; - - - ListCalcEnginesResult(); - explicit ListCalcEnginesResult(const std::string &payload); - ~ListCalcEnginesResult(); - int getHttpStatusCode()const; - Data getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h deleted file mode 100644 index e30140f0f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTCONNECTIONSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListConnectionsRequest : public RpcServiceRequest - { - - public: - ListConnectionsRequest(); - ~ListConnectionsRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSubType()const; - void setSubType(const std::string& subType); - std::string getName()const; - void setName(const std::string& name); - int getEnvType()const; - void setEnvType(int envType); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getConnectionType()const; - void setConnectionType(const std::string& connectionType); - long getProjectId()const; - void setProjectId(long projectId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - int pageNumber_; - std::string subType_; - std::string name_; - int envType_; - int pageSize_; - std::string connectionType_; - long projectId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsResult.h deleted file mode 100644 index 0d838980c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsResult.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTCONNECTIONSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListConnectionsResult : public ServiceResult - { - public: - struct Data - { - struct ConnectionsItem - { - int status; - int connectStatus; - std::string description; - std::string subType; - int bindingCalcEngineId; - std::string connectionType; - std::string gmtModified; - int projectId; - std::string _operator; - int sequence; - bool shared; - int envType; - bool defaultEngine; - std::string name; - std::string gmtCreate; - long tenantId; - std::string content; - int id; - }; - std::vector connections; - int totalCount; - int pageSize; - int pageNumber; - }; - - - ListConnectionsResult(); - explicit ListConnectionsResult(const std::string &payload); - ~ListConnectionsResult(); - int getHttpStatusCode()const; - Data getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h deleted file mode 100644 index c956930b4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEAPIAUTHORITIESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApiAuthoritiesRequest : public RpcServiceRequest - { - - public: - ListDataServiceApiAuthoritiesRequest(); - ~ListDataServiceApiAuthoritiesRequest(); - - std::string getApiNameKeyword()const; - void setApiNameKeyword(const std::string& apiNameKeyword); - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string apiNameKeyword_; - int pageSize_; - long tenantId_; - long projectId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h deleted file mode 100644 index 30e4de256..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEAPIAUTHORITIESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApiAuthoritiesResult : public ServiceResult - { - public: - struct Data - { - struct ApiAuthorization - { - struct AuthorizationRecord - { - std::string createdTime; - std::string endTime; - std::string creatorId; - long projectId; - }; - long tenantId; - std::string createdTime; - std::vector authorizationRecords; - std::string modifiedTime; - std::string apiName; - std::string creatorId; - int apiStatus; - long projectId; - long apiId; - std::string apiPath; - std::string groupId; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector apiAuthorizationList; - }; - - - ListDataServiceApiAuthoritiesResult(); - explicit ListDataServiceApiAuthoritiesResult(const std::string &payload); - ~ListDataServiceApiAuthoritiesResult(); - 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_LISTDATASERVICEAPIAUTHORITIESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h deleted file mode 100644 index 02cc2e5f1..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEAPISREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApisRequest : public RpcServiceRequest - { - - public: - ListDataServiceApisRequest(); - ~ListDataServiceApisRequest(); - - std::string getApiNameKeyword()const; - void setApiNameKeyword(const std::string& apiNameKeyword); - std::string getApiPathKeyword()const; - void setApiPathKeyword(const std::string& apiPathKeyword); - std::string getCreatorId()const; - void setCreatorId(const std::string& creatorId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string apiNameKeyword_; - std::string apiPathKeyword_; - std::string creatorId_; - int pageNumber_; - int pageSize_; - long tenantId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h deleted file mode 100644 index 26b863b46..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h +++ /dev/null @@ -1,185 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEAPISRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApisResult : public ServiceResult - { - public: - struct Data - { - struct Api - { - struct RegistrationDetails - { - struct RegistrationErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct RegistrationRequestParameter - { - std::string columnName; - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - std::string serviceRequestBodyDescription; - int serviceContentType; - std::string successfulResultSample; - std::string servicePath; - std::vector registrationErrorCodes; - std::string failedResultSample; - std::string serviceHost; - std::vector registrationRequestParameters; - }; - struct ScriptDetails - { - struct ScriptConnection - { - std::string tableName; - long connectionId; - }; - struct ScriptRequestParameter - { - std::string columnName; - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct ScriptResponseParameter - { - std::string columnName; - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - std::string script; - bool isPagedResponse; - std::vector scriptRequestParameters; - std::vector scriptResponseParameters; - ScriptConnection scriptConnection; - }; - struct WizardDetails - { - struct WizardConnection - { - std::string tableName; - long connectionId; - }; - struct WizardRequestParameter - { - std::string columnName; - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct WizardResponseParameter - { - std::string columnName; - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - bool isPagedResponse; - std::vector wizardRequestParameters; - WizardConnection wizardConnection; - std::vector wizardResponseParameters; - }; - int status; - WizardDetails wizardDetails; - int visibleRange; - std::vector protocols; - std::string createdTime; - std::string description; - std::string apiName; - std::string creatorId; - int requestMethod; - int timeout; - long projectId; - int responseContentType; - std::string operatorId; - long folderId; - RegistrationDetails registrationDetails; - std::string groupId; - long tenantId; - std::string modifiedTime; - ScriptDetails scriptDetails; - long apiId; - int apiMode; - std::string apiPath; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector apis; - }; - - - ListDataServiceApisResult(); - explicit ListDataServiceApisResult(const std::string &payload); - ~ListDataServiceApisResult(); - 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_LISTDATASERVICEAPISRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h deleted file mode 100644 index 85bfcb32a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEAPPLICATIONSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApplicationsRequest : public RpcServiceRequest - { - - public: - ListDataServiceApplicationsRequest(); - ~ListDataServiceApplicationsRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getProjectIdList()const; - void setProjectIdList(const std::string& projectIdList); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - long tenantId_; - std::string projectIdList_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h deleted file mode 100644 index 176cab0f0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEAPPLICATIONSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApplicationsResult : public ServiceResult - { - public: - struct Data - { - struct Application - { - std::string applicationName; - long projectId; - long applicationId; - }; - int totalCount; - std::vector applications; - int pageSize; - int pageNumber; - }; - - - ListDataServiceApplicationsResult(); - explicit ListDataServiceApplicationsResult(const std::string &payload); - ~ListDataServiceApplicationsResult(); - 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_LISTDATASERVICEAPPLICATIONSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h deleted file mode 100644 index 47054ab3d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEAUTHORIZEDAPISREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceAuthorizedApisRequest : public RpcServiceRequest - { - - public: - ListDataServiceAuthorizedApisRequest(); - ~ListDataServiceAuthorizedApisRequest(); - - std::string getApiNameKeyword()const; - void setApiNameKeyword(const std::string& apiNameKeyword); - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string apiNameKeyword_; - int pageSize_; - long tenantId_; - long projectId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h deleted file mode 100644 index 4b747ec12..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEAUTHORIZEDAPISRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceAuthorizedApisResult : public ServiceResult - { - public: - struct Data - { - struct ApiAuthorized - { - std::string grantEndTime; - std::string createdTime; - std::string apiName; - std::string creatorId; - int apiStatus; - long projectId; - std::string grantCreatedTime; - std::string groupId; - long tenantId; - std::string modifiedTime; - std::string grantOperatorId; - long apiId; - std::string apiPath; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector apiAuthorizedList; - }; - - - ListDataServiceAuthorizedApisResult(); - explicit ListDataServiceAuthorizedApisResult(const std::string &payload); - ~ListDataServiceAuthorizedApisResult(); - 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_LISTDATASERVICEAUTHORIZEDAPISRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h deleted file mode 100644 index 6a8693b37..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEFOLDERSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEFOLDERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceFoldersRequest : public RpcServiceRequest - { - - public: - ListDataServiceFoldersRequest(); - ~ListDataServiceFoldersRequest(); - - std::string getFolderNameKeyword()const; - void setFolderNameKeyword(const std::string& folderNameKeyword); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string folderNameKeyword_; - std::string groupId_; - int pageSize_; - long tenantId_; - long projectId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEFOLDERSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersResult.h deleted file mode 100644 index 51b656029..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEFOLDERSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEFOLDERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceFoldersResult : public ServiceResult - { - public: - struct FolderPagingResult - { - struct Folder - { - long parentId; - long tenantId; - std::string createdTime; - std::string modifiedTime; - long projectId; - long folderId; - std::string folderName; - std::string groupId; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector folders; - }; - - - ListDataServiceFoldersResult(); - explicit ListDataServiceFoldersResult(const std::string &payload); - ~ListDataServiceFoldersResult(); - FolderPagingResult getFolderPagingResult()const; - - protected: - void parse(const std::string &payload); - private: - FolderPagingResult folderPagingResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEFOLDERSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h deleted file mode 100644 index ed245dd18..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEGROUPSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceGroupsRequest : public RpcServiceRequest - { - - public: - ListDataServiceGroupsRequest(); - ~ListDataServiceGroupsRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - std::string getGroupNameKeyword()const; - void setGroupNameKeyword(const std::string& groupNameKeyword); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - long tenantId_; - long projectId_; - std::string groupNameKeyword_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEGROUPSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h deleted file mode 100644 index 4a27f8f86..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEGROUPSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEGROUPSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceGroupsResult : public ServiceResult - { - public: - struct GroupPagingResult - { - struct Group - { - std::string groupName; - long tenantId; - std::string description; - std::string createdTime; - std::string modifiedTime; - std::string creatorId; - std::string apiGatewayGroupId; - long projectId; - std::string groupId; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector groups; - }; - - - ListDataServiceGroupsResult(); - explicit ListDataServiceGroupsResult(const std::string &payload); - ~ListDataServiceGroupsResult(); - GroupPagingResult getGroupPagingResult()const; - - protected: - void parse(const std::string &payload); - private: - GroupPagingResult groupPagingResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEGROUPSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h deleted file mode 100644 index 9fc1a5702..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEPUBLISHEDAPISREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServicePublishedApisRequest : public RpcServiceRequest - { - - public: - ListDataServicePublishedApisRequest(); - ~ListDataServicePublishedApisRequest(); - - std::string getApiNameKeyword()const; - void setApiNameKeyword(const std::string& apiNameKeyword); - std::string getApiPathKeyword()const; - void setApiPathKeyword(const std::string& apiPathKeyword); - std::string getCreatorId()const; - void setCreatorId(const std::string& creatorId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string apiNameKeyword_; - std::string apiPathKeyword_; - std::string creatorId_; - int pageNumber_; - int pageSize_; - long tenantId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h deleted file mode 100644 index b0982674d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTDATASERVICEPUBLISHEDAPISRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServicePublishedApisResult : public ServiceResult - { - public: - struct Data - { - struct Api - { - struct RegistrationDetails - { - struct RegistrationErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct RegistrationRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - std::string serviceRequestBodyDescription; - int serviceContentType; - std::string successfulResultSample; - std::string servicePath; - std::vector registrationErrorCodes; - std::string failedResultSample; - std::string serviceHost; - std::vector registrationRequestParameters; - }; - struct ScriptDetails - { - struct ScriptConnection - { - std::string tableName; - long connectionId; - }; - struct ScriptErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct ScriptRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct ScriptResponseParameter - { - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - std::string script; - std::vector scriptErrorCodes; - bool isPagedResponse; - std::string successfulResultSample; - std::vector scriptRequestParameters; - std::string failedResultSample; - std::vector scriptResponseParameters; - ScriptConnection scriptConnection; - }; - struct WizardDetails - { - struct WizardConnection - { - std::string tableName; - long connectionId; - }; - struct WizardErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct WizardRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct WizardResponseParameter - { - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - bool isPagedResponse; - std::vector wizardRequestParameters; - std::string successfulResultSample; - WizardConnection wizardConnection; - std::vector wizardErrorCodes; - std::vector wizardResponseParameters; - std::string failedResultSample; - }; - int status; - WizardDetails wizardDetails; - int visibleRange; - std::vector protocols; - std::string createdTime; - std::string description; - std::string apiName; - std::string creatorId; - int requestMethod; - int timeout; - long projectId; - int responseContentType; - std::string operatorId; - RegistrationDetails registrationDetails; - std::string groupId; - long tenantId; - std::string modifiedTime; - ScriptDetails scriptDetails; - long apiId; - int apiMode; - std::string apiPath; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector apis; - }; - - - ListDataServicePublishedApisResult(); - explicit ListDataServicePublishedApisResult(const std::string &payload); - ~ListDataServicePublishedApisResult(); - 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_LISTDATASERVICEPUBLISHEDAPISRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h similarity index 68% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h index 480db2420..5f02ff6b4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSREQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTablePartitionRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveAuditLogsRequest : public RpcServiceRequest { public: - GetMetaTablePartitionRequest(); - ~GetMetaTablePartitionRequest(); + ListEmrHiveAuditLogsRequest(); + ~ListEmrHiveAuditLogsRequest(); - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); std::string getDatabaseName()const; void setDatabaseName(const std::string& databaseName); int getPageSize()const; void setPageSize(int pageSize); + int getEndTime()const; + void setEndTime(int endTime); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + int getStartTime()const; + void setStartTime(int startTime); std::string getTableName()const; void setTableName(const std::string& tableName); + int getPageNumber()const; + void setPageNumber(int pageNumber); private: - std::string dataSourceType_; - std::string clusterId_; - int pageNumber_; - std::string tableGuid_; std::string databaseName_; int pageSize_; + int endTime_; + std::string clusterId_; + int startTime_; std::string tableName_; + int pageNumber_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h similarity index 64% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h index 21cfae297..3e451dacf 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSRESULT_H_ #include #include @@ -29,43 +29,43 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFoldersResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveAuditLogsResult : public ServiceResult { public: struct Data { - struct FoldersItem + struct AuditLog { - std::string folderPath; - std::string folderId; + std::string table; + std::string user; + long eventTime; + std::vector groups; + std::string database; + std::string operation; }; int totalCount; int pageSize; int pageNumber; - std::vector folders; + std::vector pagedData; }; - ListFoldersResult(); - explicit ListFoldersResult(const std::string &payload); - ~ListFoldersResult(); - int getHttpStatusCode()const; + ListEmrHiveAuditLogsResult(); + explicit ListEmrHiveAuditLogsResult(const std::string &payload); + ~ListEmrHiveAuditLogsResult(); 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_LISTFOLDERSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h similarity index 65% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h index 22482bc70..0f612bb3d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESREQUEST_H_ #include #include @@ -28,21 +28,21 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceErrorRankRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveDatabasesRequest : public RpcServiceRequest { public: - GetInstanceErrorRankRequest(); - ~GetInstanceErrorRankRequest(); + ListEmrHiveDatabasesRequest(); + ~ListEmrHiveDatabasesRequest(); - long getProjectId()const; - void setProjectId(long projectId); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); private: - long projectId_; + std::string clusterId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h similarity index 60% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetDagResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h index 10cbabf61..7caf4d779 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESRESULT_H_ #include #include @@ -29,46 +29,42 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDagResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveDatabasesResult : public ServiceResult { public: - struct Data + struct HiveDatabase { std::string status; - long gmtdate; - long modifyTime; + std::string comment; std::string type; - long finishTime; - long createTime; - long projectId; - long startTime; - std::string createUser; - long dagId; + std::string owner; + long gmtCreate; + std::string ownerType; + std::string parameters; + std::string ownerId; + long gmtModified; + std::string region; std::string name; - long bizdate; + std::string location; }; - GetDagResult(); - explicit GetDagResult(const std::string &payload); - ~GetDagResult(); - int getHttpStatusCode()const; - Data getData()const; + ListEmrHiveDatabasesResult(); + explicit ListEmrHiveDatabasesResult(const std::string &payload); + ~ListEmrHiveDatabasesResult(); + std::vector getData()const; std::string getErrorCode()const; std::string getErrorMessage()const; - bool getSuccess()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; - Data data_; + std::vector data_; std::string errorCode_; std::string errorMessage_; - bool success_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h similarity index 67% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h index d0608bf18..7b65f986e 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESREQUEST_H_ #include #include @@ -28,36 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBTableListRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveTablesRequest : public RpcServiceRequest { public: - GetMetaDBTableListRequest(); - ~GetMetaDBTableListRequest(); + ListEmrHiveTablesRequest(); + ~ListEmrHiveTablesRequest(); - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); std::string getDatabaseName()const; void setDatabaseName(const std::string& databaseName); int getPageSize()const; void setPageSize(int pageSize); std::string getClusterId()const; void setClusterId(const std::string& clusterId); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); int getPageNumber()const; void setPageNumber(int pageNumber); private: - std::string dataSourceType_; std::string databaseName_; int pageSize_; std::string clusterId_; - std::string appGuid_; int pageNumber_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h similarity index 52% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h index d676effd8..af2ed6d3b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESRESULT_H_ #include #include @@ -29,59 +29,59 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveTablesResult : public ServiceResult { public: struct Data { - struct NodesItem + struct HiveTables { - long baselineId; - std::string description; - std::string resGroupName; - std::string nodeName; - int priority; - int dqcType; - std::string paramValues; - long projectId; - std::string connection; - std::string schedulerType; - long relatedFlowId; - std::string cronExpress; - bool repeatability; + std::string owner; + std::string tableType; + std::string outputFormat; + std::string gmtModified; + std::string databaseName; + std::string lastAccessTime; + std::string lastModifyTime; + bool isTemporary; + std::string serializationLib; + std::string tableName; + std::string ownerType; + std::string gmtCreate; + std::string tableComment; + std::string clusterBizName; std::string ownerId; - std::string dqcDescription; - long nodeId; - std::string programType; - long repeatInterval; + std::string clusterBizId; + std::string inputFormat; + std::string partitionKeys; + bool isCompressed; + std::string tableDesc; + std::string tableParameters; + std::string location; }; int totalCount; int pageSize; int pageNumber; - std::vector nodes; + std::vector pagedData; }; - ListNodesResult(); - explicit ListNodesResult(const std::string &payload); - ~ListNodesResult(); - int getHttpStatusCode()const; + ListEmrHiveTablesResult(); + explicit ListEmrHiveTablesResult(const std::string &payload); + ~ListEmrHiveTablesResult(); 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_LISTNODESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h deleted file mode 100644 index 1932cfa03..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTFILEVERSIONSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFileVersionsRequest : public RpcServiceRequest - { - - public: - ListFileVersionsRequest(); - ~ListFileVersionsRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - long getFileId()const; - void setFileId(long fileId); - - private: - int pageSize_; - long projectId_; - std::string projectIdentifier_; - int pageNumber_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h deleted file mode 100644 index 49c20137e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTFILEVERSIONSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFileVersionsResult : public ServiceResult - { - public: - struct Data - { - struct FileVersion - { - std::string status; - std::string commitUser; - std::string comment; - long commitTime; - std::string fileName; - std::string filePropertyContent; - std::string useType; - bool isCurrentProd; - std::string fileContent; - std::string changeType; - int fileVersion; - long nodeId; - std::string nodeContent; - }; - int totalCount; - std::vector fileVersions; - int pageSize; - int pageNumber; - }; - - - ListFileVersionsResult(); - explicit ListFileVersionsResult(const std::string &payload); - ~ListFileVersionsResult(); - 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_LISTFILEVERSIONSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h deleted file mode 100644 index eb6eb9c69..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTFILESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFilesRequest : public RpcServiceRequest - { - - public: - ListFilesRequest(); - ~ListFilesRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getFileTypes()const; - void setFileTypes(const std::string& fileTypes); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getFileFolderPath()const; - void setFileFolderPath(const std::string& fileFolderPath); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - long getProjectId()const; - void setProjectId(long projectId); - std::string getUseType()const; - void setUseType(const std::string& useType); - - private: - std::string owner_; - std::string fileTypes_; - std::string projectIdentifier_; - int pageNumber_; - std::string fileFolderPath_; - int pageSize_; - std::string keyword_; - long projectId_; - std::string useType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h deleted file mode 100644 index 3945d2b8d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTFILESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFilesResult : public ServiceResult - { - public: - struct Data - { - struct File - { - long parentId; - std::string owner; - long createTime; - std::string fileName; - std::string useType; - int currentVersion; - std::string createUser; - bool isMaxCompute; - std::string connectionName; - long lastEditTime; - std::string fileDescription; - int fileType; - std::string content; - std::string lastEditUser; - long nodeId; - int commitStatus; - long fileId; - std::string fileFolderId; - long bizId; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector files; - }; - - - ListFilesResult(); - explicit ListFilesResult(const std::string &payload); - ~ListFilesResult(); - 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_LISTFILESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h deleted file mode 100644 index 7d552f4e7..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTFOLDERSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFoldersRequest : public RpcServiceRequest - { - - public: - ListFoldersRequest(); - ~ListFoldersRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getParentFolderPath()const; - void setParentFolderPath(const std::string& parentFolderPath); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - std::string parentFolderPath_; - long projectId_; - std::string projectIdentifier_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h similarity index 65% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h index 4e3715e8f..3a49630f5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESREQUEST_H_ #include #include @@ -28,33 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableBasicInfoRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveColumnLineagesRequest : public RpcServiceRequest { public: - GetMetaTableBasicInfoRequest(); - ~GetMetaTableBasicInfoRequest(); + ListHiveColumnLineagesRequest(); + ~ListHiveColumnLineagesRequest(); - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); std::string getDatabaseName()const; void setDatabaseName(const std::string& databaseName); std::string getClusterId()const; void setClusterId(const std::string& clusterId); std::string getTableName()const; void setTableName(const std::string& tableName); + std::string getColumnName()const; + void setColumnName(const std::string& columnName); private: - std::string dataSourceType_; - std::string tableGuid_; std::string databaseName_; std::string clusterId_; std::string tableName_; + std::string columnName_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h similarity index 58% rename from dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h index 35b253796..c40926222 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESRESULT_H_ #include #include @@ -29,51 +29,48 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchMetaTablesResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveColumnLineagesResult : public ServiceResult { public: struct Data { - struct DataEntityListItem + struct ColumnLineage { - int entityType; + int directDownTableNumber; std::string tableName; - std::string tableGuid; - long tenantId; - std::string ownerId; - std::string projectName; + std::string columnName; + std::string modifiedTime; std::string clusterId; - long projectId; + int directDownColumnNumber; + std::string createTime; std::string databaseName; - int envType; + int directUpperColumnNumber; + int directUpperTableNumber; + std::string source; }; - long totalCount; - int pageSize; - std::vector dataEntityList; - int pageNumber; + int upstreamNumber; + std::vector upstreamLineages; + int downstreamNumber; + std::vector downstreamLineages; }; - SearchMetaTablesResult(); - explicit SearchMetaTablesResult(const std::string &payload); - ~SearchMetaTablesResult(); - int getHttpStatusCode()const; + ListHiveColumnLineagesResult(); + explicit ListHiveColumnLineagesResult(const std::string &payload); + ~ListHiveColumnLineagesResult(); 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_SEARCHMETATABLESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h similarity index 65% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h index 8082d8e36..1b94aa777 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESREQUEST_H_ #include #include @@ -28,30 +28,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBInfoRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveTableLineagesRequest : public RpcServiceRequest { public: - GetMetaDBInfoRequest(); - ~GetMetaDBInfoRequest(); + ListHiveTableLineagesRequest(); + ~ListHiveTableLineagesRequest(); - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); std::string getDatabaseName()const; void setDatabaseName(const std::string& databaseName); std::string getClusterId()const; void setClusterId(const std::string& clusterId); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); + std::string getTableName()const; + void setTableName(const std::string& tableName); private: - std::string dataSourceType_; std::string databaseName_; std::string clusterId_; - std::string appGuid_; + std::string tableName_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h similarity index 61% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h index 53ebb0563..a52ae5a61 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGERESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESRESULT_H_ #include #include @@ -29,46 +29,46 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaColumnLineageResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveTableLineagesResult : public ServiceResult { public: struct Data { - struct DataEntityListItem + struct TableLineage { - std::string columnName; std::string tableName; - std::string columnGuid; + std::string modifiedTime; std::string clusterId; + std::string createTime; std::string databaseName; + std::string queryText; + std::string engine; + std::string source; + std::string jobId; }; - long totalCount; - int pageNum; - int pageSize; - std::vector dataEntityList; + int upstreamNumber; + std::vector upstreamLineages; + int downstreamNumber; + std::vector downstreamLineages; }; - GetMetaColumnLineageResult(); - explicit GetMetaColumnLineageResult(const std::string &payload); - ~GetMetaColumnLineageResult(); - int getHttpStatusCode()const; + ListHiveTableLineagesResult(); + explicit ListHiveTableLineagesResult(const std::string &payload); + ~ListHiveTableLineagesResult(); 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_GETMETACOLUMNLINEAGERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h deleted file mode 100644 index 61a663d09..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTINSTANCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListInstancesRequest : public RpcServiceRequest - { - - public: - ListInstancesRequest(); - ~ListInstancesRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getBizName()const; - void setBizName(const std::string& bizName); - std::string getBeginBizdate()const; - void setBeginBizdate(const std::string& beginBizdate); - std::string getEndBizdate()const; - void setEndBizdate(const std::string& endBizdate); - long getDagId()const; - void setDagId(long dagId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getNodeName()const; - void setNodeName(const std::string& nodeName); - std::string getProgramType()const; - void setProgramType(const std::string& programType); - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - int getPageSize()const; - void setPageSize(int pageSize); - long getNodeId()const; - void setNodeId(long nodeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectEnv_; - std::string owner_; - std::string bizName_; - std::string beginBizdate_; - std::string endBizdate_; - long dagId_; - int pageNumber_; - std::string nodeName_; - std::string programType_; - std::string bizdate_; - int pageSize_; - long nodeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesResult.h deleted file mode 100644 index fd1de0491..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesResult.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTINSTANCESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListInstancesResult : public ServiceResult - { - public: - struct Data - { - struct Instance - { - std::string status; - long baselineId; - long modifyTime; - long instanceId; - std::string dagType; - std::string nodeName; - int priority; - int dqcType; - long createTime; - std::string paramValues; - std::string connection; - long relatedFlowId; - long cycTime; - long beginWaitTimeTime; - long dagId; - long bizdate; - long beginRunningTime; - bool repeatability; - long finishTime; - std::string dqcDescription; - long nodeId; - long beginWaitResTime; - std::string errorMessage; - long repeatInterval; - }; - std::vector instances; - int totalCount; - int pageSize; - int pageNumber; - }; - - - ListInstancesResult(); - explicit ListInstancesResult(const std::string &payload); - ~ListInstancesResult(); - 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_LISTINSTANCESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h deleted file mode 100644 index 017c8b8fe..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTMETADBREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETADBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListMetaDBRequest : public RpcServiceRequest - { - - public: - ListMetaDBRequest(); - ~ListMetaDBRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNum()const; - void setPageNum(int pageNum); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string dataSourceType_; - int pageSize_; - int pageNum_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETADBREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBResult.h deleted file mode 100644 index 432b2bf9b..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTMETADBRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETADBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListMetaDBResult : public ServiceResult - { - public: - struct DatabaseInfo - { - struct DbListItem - { - std::string type; - std::string ownerId; - long modifiedTimeStamp; - std::string uUID; - long createTimeStamp; - std::string name; - std::string location; - }; - long totalCount; - std::vector dbList; - }; - - - ListMetaDBResult(); - explicit ListMetaDBResult(const std::string &payload); - ~ListMetaDBResult(); - DatabaseInfo getDatabaseInfo()const; - - protected: - void parse(const std::string &payload); - private: - DatabaseInfo databaseInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETADBRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIORequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIORequest.h deleted file mode 100644 index e8c75c580..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIORequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTNODEIOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodeIORequest : public RpcServiceRequest - { - - public: - ListNodeIORequest(); - ~ListNodeIORequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - std::string getIoType()const; - void setIoType(const std::string& ioType); - - private: - std::string projectEnv_; - long nodeId_; - std::string ioType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIOREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIOResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIOResult.h deleted file mode 100644 index 60463dda2..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIOResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTNODEIORESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodeIOResult : public ServiceResult - { - public: - struct DataItem - { - std::string tableName; - long nodeId; - std::string data; - }; - - - ListNodeIOResult(); - explicit ListNodeIOResult(const std::string &payload); - ~ListNodeIOResult(); - int getHttpStatusCode()const; - std::vector getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIORESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h deleted file mode 100644 index c50405675..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTNODESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesRequest : public RpcServiceRequest - { - - public: - ListNodesRequest(); - ~ListNodesRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getBizName()const; - void setBizName(const std::string& bizName); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getNodeName()const; - void setNodeName(const std::string& nodeName); - std::string getProgramType()const; - void setProgramType(const std::string& programType); - int getPageSize()const; - void setPageSize(int pageSize); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string owner_; - std::string projectEnv_; - std::string bizName_; - int pageNumber_; - std::string nodeName_; - std::string programType_; - int pageSize_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h deleted file mode 100644 index bd6f6662e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTPROGRAMTYPECOUNTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROGRAMTYPECOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProgramTypeCountRequest : public RpcServiceRequest - { - - public: - ListProgramTypeCountRequest(); - ~ListProgramTypeCountRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectEnv_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROGRAMTYPECOUNTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountResult.h deleted file mode 100644 index c1471349f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTPROGRAMTYPECOUNTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROGRAMTYPECOUNTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProgramTypeCountResult : public ServiceResult - { - public: - struct ProgramTypeAndCount - { - std::string programType; - int count; - }; - - - ListProgramTypeCountResult(); - explicit ListProgramTypeCountResult(const std::string &payload); - ~ListProgramTypeCountResult(); - std::vector getProgramTypeAndCounts()const; - - protected: - void parse(const std::string &payload); - private: - std::vector programTypeAndCounts_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROGRAMTYPECOUNTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h deleted file mode 100644 index cee06b538..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTPROJECTMEMBERSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectMembersRequest : public RpcServiceRequest - { - - public: - ListProjectMembersRequest(); - ~ListProjectMembersRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - long getProjectId()const; - void setProjectId(long projectId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - long projectId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h deleted file mode 100644 index 65bbcf429..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTPROJECTMEMBERSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectMembersResult : public ServiceResult - { - public: - struct Data - { - struct ProjectMember - { - struct Role - { - std::string projectRoleName; - std::string projectRoleType; - std::string projectRoleCode; - int projectRoleId; - }; - std::string status; - std::vector projectRoleList; - std::string projectMemberType; - std::string projectMemberId; - std::string nick; - std::string projectMemberName; - }; - int totalCount; - std::vector projectMemberList; - int pageSize; - int pageNumber; - }; - - - ListProjectMembersResult(); - explicit ListProjectMembersResult(const std::string &payload); - ~ListProjectMembersResult(); - Data getData()const; - - protected: - void parse(const std::string &payload); - private: - Data data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h deleted file mode 100644 index 79c72ee47..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTPROJECTROLESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectRolesRequest : public RpcServiceRequest - { - - public: - ListProjectRolesRequest(); - ~ListProjectRolesRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h deleted file mode 100644 index 85818072f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTPROJECTROLESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectRolesResult : public ServiceResult - { - public: - struct Role - { - std::string projectRoleName; - std::string projectRoleType; - std::string projectRoleCode; - int projectRoleId; - }; - - - ListProjectRolesResult(); - explicit ListProjectRolesResult(const std::string &payload); - ~ListProjectRolesResult(); - std::vector getProjectRoleList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector projectRoleList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h deleted file mode 100644 index 27709f604..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTPROJECTSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectsRequest : public RpcServiceRequest - { - - public: - ListProjectsRequest(); - ~ListProjectsRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsResult.h deleted file mode 100644 index fcf7420d4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTPROJECTSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectsResult : public ServiceResult - { - public: - struct PageResult - { - struct Project - { - std::string projectIdentifier; - std::string projectOwnerBaseId; - int projectStatus; - std::string projectStatusCode; - std::string projectName; - long projectId; - std::string projectDescription; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector projectList; - }; - - - ListProjectsResult(); - explicit ListProjectsResult(const std::string &payload); - ~ListProjectsResult(); - PageResult getPageResult()const; - - protected: - void parse(const std::string &payload); - private: - PageResult pageResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h deleted file mode 100644 index cd814bc02..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTQUALITYRESULTSBYENTITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityResultsByEntityRequest : public RpcServiceRequest - { - - public: - ListQualityResultsByEntityRequest(); - ~ListQualityResultsByEntityRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - int getPageSize()const; - void setPageSize(int pageSize); - int getEntityId()const; - void setEntityId(int entityId); - std::string getStartDate()const; - void setStartDate(const std::string& startDate); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string projectName_; - std::string endDate_; - int pageSize_; - int entityId_; - std::string startDate_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYENTITYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityResult.h deleted file mode 100644 index beae895ad..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityResult.h +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTQUALITYRESULTSBYENTITYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYENTITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityResultsByEntityResult : public ServiceResult - { - public: - struct Data - { - struct RuleChecksItem - { - struct ReferenceValueItem - { - int singleCheckResult; - float value; - std::string bizDate; - std::string discreteProperty; - float threshold; - }; - struct SampleValueItem - { - float value; - std::string bizDate; - std::string discreteProperty; - }; - std::string op; - std::vector sampleValue; - std::string taskId; - long endTime; - bool discreteCheck; - std::string checkerName; - float expectValue; - std::string projectName; - std::vector referenceValue; - int ruleId; - float warningThreshold; - std::string whereCondition; - long beginTime; - int checkResultStatus; - std::string matchExpression; - float upperValue; - bool isPrediction; - int checkResult; - std::string templateName; - std::string timeCost; - bool fixedCheck; - std::string methodName; - std::string resultString; - std::string property; - std::string dateType; - long bizDate; - int templateId; - std::string ruleName; - std::string comment; - float criticalThreshold; - std::string externalId; - std::string trend; - int checkerType; - std::string externalType; - int checkerId; - int entityId; - std::string tableName; - int blockType; - int id; - std::string actualExpression; - float lowerValue; - }; - long totalCount; - int pageSize; - int pageNumber; - std::vector ruleChecks; - }; - - - ListQualityResultsByEntityResult(); - explicit ListQualityResultsByEntityResult(const std::string &payload); - ~ListQualityResultsByEntityResult(); - 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_LISTQUALITYRESULTSBYENTITYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h deleted file mode 100644 index 2222b83e3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTQUALITYRESULTSBYRULEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityResultsByRuleRequest : public RpcServiceRequest - { - - public: - ListQualityResultsByRuleRequest(); - ~ListQualityResultsByRuleRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - int getPageSize()const; - void setPageSize(int pageSize); - int getRuleId()const; - void setRuleId(int ruleId); - std::string getStartDate()const; - void setStartDate(const std::string& startDate); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string projectName_; - std::string endDate_; - int pageSize_; - int ruleId_; - std::string startDate_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYRULEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleResult.h deleted file mode 100644 index 8c9afdd69..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleResult.h +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTQUALITYRESULTSBYRULERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityResultsByRuleResult : public ServiceResult - { - public: - struct Data - { - struct RuleChecksItem - { - struct ReferenceValueItem - { - int singleCheckResult; - float value; - std::string bizDate; - std::string discreteProperty; - float threshold; - }; - struct SampleValueItem - { - float value; - std::string bizDate; - std::string discreteProperty; - }; - std::string op; - std::vector sampleValue; - std::string taskId; - long endTime; - bool discreteCheck; - std::string checkerName; - float expectValue; - std::string projectName; - std::vector referenceValue; - int ruleId; - float warningThreshold; - std::string whereCondition; - long beginTime; - int checkResultStatus; - std::string matchExpression; - float upperValue; - bool isPrediction; - int checkResult; - std::string templateName; - std::string timeCost; - bool fixedCheck; - std::string methodName; - std::string resultString; - std::string property; - std::string dateType; - long bizDate; - int templateId; - std::string ruleName; - std::string comment; - float criticalThreshold; - std::string externalId; - std::string trend; - int checkerType; - std::string externalType; - int checkerId; - int entityId; - std::string tableName; - int blockType; - int id; - std::string actualExpression; - float lowerValue; - }; - long totalCount; - int pageSize; - int pageNumber; - std::vector ruleChecks; - }; - - - ListQualityResultsByRuleResult(); - explicit ListQualityResultsByRuleResult(const std::string &payload); - ~ListQualityResultsByRuleResult(); - 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_LISTQUALITYRESULTSBYRULERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h deleted file mode 100644 index a161e537d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTQUALITYRULESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRULESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityRulesRequest : public RpcServiceRequest - { - - public: - ListQualityRulesRequest(); - ~ListQualityRulesRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - int getPageSize()const; - void setPageSize(int pageSize); - long getEntityId()const; - void setEntityId(long entityId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string projectName_; - int pageSize_; - long entityId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRULESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h deleted file mode 100644 index 6ab8bb74f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTQUALITYRULESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRULESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityRulesResult : public ServiceResult - { - public: - struct Data - { - struct RulesItem - { - std::string historyCriticalThreshold; - std::string historyWarningThreshold; - int ruleCheckerRelationId; - std::string projectName; - std::string expectValue; - std::string warningThreshold; - std::string onDuty; - std::string matchExpression; - int methodId; - std::string templateName; - std::string methodName; - std::string property; - int templateId; - std::string comment; - std::string criticalThreshold; - std::string trend; - int ruleType; - int checkerId; - int entityId; - std::string tableName; - bool fixCheck; - int blockType; - std::string onDutyAccountName; - int id; - std::string propertyKey; - }; - long totalCount; - int pageSize; - int pageNumber; - std::vector rules; - }; - - - ListQualityRulesResult(); - explicit ListQualityRulesResult(const std::string &payload); - ~ListQualityRulesResult(); - 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_LISTQUALITYRULESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsRequest.h deleted file mode 100644 index c81754b5b..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTREMINDSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListRemindsRequest : public RpcServiceRequest - { - - public: - ListRemindsRequest(); - ~ListRemindsRequest(); - - std::string getSearchText()const; - void setSearchText(const std::string& searchText); - std::string getFounder()const; - void setFounder(const std::string& founder); - std::string getRemindTypes()const; - void setRemindTypes(const std::string& remindTypes); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAlertTarget()const; - void setAlertTarget(const std::string& alertTarget); - int getPageSize()const; - void setPageSize(int pageSize); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string searchText_; - std::string founder_; - std::string remindTypes_; - int pageNumber_; - std::string alertTarget_; - int pageSize_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsResult.h deleted file mode 100644 index d802b52d2..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsResult.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTREMINDSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListRemindsResult : public ServiceResult - { - public: - struct Data - { - struct RemindsItem - { - std::string dndStart; - std::vector bizProcessIds; - std::string dndEnd; - std::string alertUnit; - std::vector alertMethods; - std::string remindType; - std::string founder; - long remindId; - std::vector nodeIds; - std::vector projectIds; - std::string remindUnit; - std::vector baselineIds; - std::vector alertTargets; - bool useflag; - std::string remindName; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector reminds; - }; - - - ListRemindsResult(); - explicit ListRemindsResult(const std::string &payload); - ~ListRemindsResult(); - 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_LISTREMINDSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h deleted file mode 100644 index c5c02e789..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTRESOURCEGROUPSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListResourceGroupsRequest : public RpcServiceRequest - { - - public: - ListResourceGroupsRequest(); - ~ListResourceGroupsRequest(); - - int getResourceGroupType()const; - void setResourceGroupType(int resourceGroupType); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - - private: - int resourceGroupType_; - std::string keyword_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h deleted file mode 100644 index f4fd32c4e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTTABLELEVELREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLELEVELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTableLevelRequest : public RpcServiceRequest - { - - public: - ListTableLevelRequest(); - ~ListTableLevelRequest(); - - int getLevelType()const; - void setLevelType(int levelType); - long getProjectId()const; - void setProjectId(long projectId); - - private: - int levelType_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLELEVELREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelResult.h deleted file mode 100644 index 2094ce939..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTTABLELEVELRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLELEVELRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTableLevelResult : public ServiceResult - { - public: - struct TableLevelInfo - { - struct LevelListItem - { - std::string description; - int levelType; - long projectId; - long levelId; - std::string name; - }; - long totalCount; - std::vector levelList; - }; - - - ListTableLevelResult(); - explicit ListTableLevelResult(const std::string &payload); - ~ListTableLevelResult(); - TableLevelInfo getTableLevelInfo()const; - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - TableLevelInfo tableLevelInfo_; - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLELEVELRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h similarity index 64% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h index 36fd4ebd8..d7f3f1541 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSREQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableColumnRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTablePartitionsRequest : public RpcServiceRequest { public: - GetMetaTableColumnRequest(); - ~GetMetaTableColumnRequest(); + ListTablePartitionsRequest(); + ~ListTablePartitionsRequest(); - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNum()const; - void setPageNum(int pageNum); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); std::string getDatabaseName()const; void setDatabaseName(const std::string& databaseName); int getPageSize()const; void setPageSize(int pageSize); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getSort()const; + void setSort(const std::string& sort); std::string getTableName()const; void setTableName(const std::string& tableName); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getOrder()const; + void setOrder(const std::string& order); private: - std::string dataSourceType_; - std::string clusterId_; - int pageNum_; - std::string tableGuid_; std::string databaseName_; int pageSize_; + std::string clusterId_; + std::string sort_; std::string tableName_; + int pageNumber_; + std::string order_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h similarity index 62% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h index 7d8a40596..d8d8fce4d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSRESULT_H_ #include #include @@ -29,47 +29,43 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBusinessResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTablePartitionsResult : public ServiceResult { public: struct Data { - struct BusinessItem + struct TablePartitions { - std::string owner; - std::string description; - std::string businessName; - std::string useType; - long projectId; - long businessId; + std::string partitionName; + std::string partitionComment; + long gmtCreate; + long gmtModified; + std::string partitionPath; + std::string partitionType; + std::string location; }; int totalCount; int pageSize; - int pageNumber; - std::vector business; + std::vector pagedData; }; - ListBusinessResult(); - explicit ListBusinessResult(const std::string &payload); - ~ListBusinessResult(); - int getHttpStatusCode()const; + ListTablePartitionsResult(); + explicit ListTablePartitionsResult(const std::string &payload); + ~ListTablePartitionsResult(); 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_LISTBUSINESSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h deleted file mode 100644 index 85ac35ce2..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTTABLETHEMEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTableThemeRequest : public RpcServiceRequest - { - - public: - ListTableThemeRequest(); - ~ListTableThemeRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNum()const; - void setPageNum(int pageNum); - long getProjectId()const; - void setProjectId(long projectId); - long getParentId()const; - void setParentId(long parentId); - - private: - int pageSize_; - int pageNum_; - long projectId_; - long parentId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeResult.h deleted file mode 100644 index 51bfd3f94..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTTABLETHEMERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTableThemeResult : public ServiceResult - { - public: - struct Data - { - struct ThemeListItem - { - long parentId; - long themeId; - long projectId; - int level; - std::string creator; - long createTimeStamp; - std::string name; - }; - std::vector themeList; - long totalCount; - }; - - - ListTableThemeResult(); - explicit ListTableThemeResult(const std::string &payload); - ~ListTableThemeResult(); - 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_LISTTABLETHEMERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h deleted file mode 100644 index 73e934c00..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTTOPICSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTopicsRequest : public RpcServiceRequest - { - - public: - ListTopicsRequest(); - ~ListTopicsRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getBeginTime()const; - void setBeginTime(const std::string& beginTime); - std::string getTopicStatuses()const; - void setTopicStatuses(const std::string& topicStatuses); - int getPageNumber()const; - void setPageNumber(int pageNumber); - long getInstanceId()const; - void setInstanceId(long instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTopicTypes()const; - void setTopicTypes(const std::string& topicTypes); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string owner_; - std::string endTime_; - std::string beginTime_; - std::string topicStatuses_; - int pageNumber_; - long instanceId_; - int pageSize_; - std::string topicTypes_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsResult.h deleted file mode 100644 index a2bf9c10e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsResult.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTTOPICSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTopicsResult : public ServiceResult - { - public: - struct Data - { - struct TopicsItem - { - std::string topicType; - long fixTime; - std::string nodeOwner; - long instanceId; - std::string nodeName; - long nodeId; - long projectId; - long topicId; - std::string topicStatus; - long addTime; - long happenTime; - std::string topicName; - }; - int totalCount; - std::vector topics; - int pageSize; - int pageNumber; - }; - - - ListTopicsResult(); - explicit ListTopicsResult(const std::string &payload); - ~ListTopicsResult(); - 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_LISTTOPICSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/OpenDataWorksStandardServiceRequest.h similarity index 62% rename from dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/OpenDataWorksStandardServiceRequest.h index 0e23cb301..bfae25b88 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/OpenDataWorksStandardServiceRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_OPENDATAWORKSSTANDARDSERVICEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_OPENDATAWORKSSTANDARDSERVICEREQUEST_H_ #include #include @@ -28,21 +28,21 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteRemindRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT OpenDataWorksStandardServiceRequest : public RpcServiceRequest { public: - DeleteRemindRequest(); - ~DeleteRemindRequest(); + OpenDataWorksStandardServiceRequest(); + ~OpenDataWorksStandardServiceRequest(); - long getRemindId()const; - void setRemindId(long remindId); + std::string getRegion()const; + void setRegion(const std::string& region); private: - long remindId_; + std::string region_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_OPENDATAWORKSSTANDARDSERVICEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/OpenDataWorksStandardServiceResult.h similarity index 62% rename from dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/OpenDataWorksStandardServiceResult.h index 85e062cec..a81964439 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/OpenDataWorksStandardServiceResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_OPENDATAWORKSSTANDARDSERVICERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_OPENDATAWORKSSTANDARDSERVICERESULT_H_ #include #include @@ -29,23 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceFolderResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT OpenDataWorksStandardServiceResult : public ServiceResult { public: - CreateDataServiceFolderResult(); - explicit CreateDataServiceFolderResult(const std::string &payload); - ~CreateDataServiceFolderResult(); - long getFolderId()const; + OpenDataWorksStandardServiceResult(); + explicit OpenDataWorksStandardServiceResult(const std::string &payload); + ~OpenDataWorksStandardServiceResult(); + std::string getOrderId()const; protected: void parse(const std::string &payload); private: - long folderId_; + std::string orderId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_OPENDATAWORKSSTANDARDSERVICERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h deleted file mode 100644 index 43ac8baf9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_PUBLISHDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT PublishDataServiceApiRequest : public RpcServiceRequest - { - - public: - PublishDataServiceApiRequest(); - ~PublishDataServiceApiRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h deleted file mode 100644 index 86f1787ef..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_PUBLISHDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT PublishDataServiceApiResult : public ServiceResult - { - public: - - - PublishDataServiceApiResult(); - explicit PublishDataServiceApiResult(const std::string &payload); - ~PublishDataServiceApiResult(); - 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_PUBLISHDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusRequest.h similarity index 69% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusRequest.h index de0c01bf4..2b5080ffa 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSREQUEST_H_ #include #include @@ -28,12 +28,12 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDDLJobStatusRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT QueryRealTimeProcessStatusRequest : public RpcServiceRequest { public: - GetDDLJobStatusRequest(); - ~GetDDLJobStatusRequest(); + QueryRealTimeProcessStatusRequest(); + ~QueryRealTimeProcessStatusRequest(); std::string getTaskId()const; void setTaskId(const std::string& taskId); @@ -45,4 +45,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusResult.h similarity index 59% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusResult.h index d849058db..db76ee7dd 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSRESULT_H_ #include #include @@ -29,36 +29,34 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFolderResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT QueryRealTimeProcessStatusResult : public ServiceResult { public: struct Data { - std::string folderPath; - std::string folderId; + std::string status; + std::string taskUrl; + std::string taskId; + std::string message; }; - GetFolderResult(); - explicit GetFolderResult(const std::string &payload); - ~GetFolderResult(); - int getHttpStatusCode()const; + QueryRealTimeProcessStatusResult(); + explicit QueryRealTimeProcessStatusResult(const std::string &payload); + ~QueryRealTimeProcessStatusResult(); + std::string getMessage()const; Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; + int getCode()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; + std::string message_; Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; + int code_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h deleted file mode 100644 index 46863e3c5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RemoveProjectMemberFromRoleRequest : public RpcServiceRequest - { - - public: - RemoveProjectMemberFromRoleRequest(); - ~RemoveProjectMemberFromRoleRequest(); - - std::string getRoleCode()const; - void setRoleCode(const std::string& roleCode); - long getProjectId()const; - void setProjectId(long projectId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string roleCode_; - long projectId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h deleted file mode 100644 index 4144fc3c4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_REMOVEPROJECTMEMBERFROMROLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RemoveProjectMemberFromRoleResult : public ServiceResult - { - public: - - - RemoveProjectMemberFromRoleResult(); - explicit RemoveProjectMemberFromRoleResult(const std::string &payload); - ~RemoveProjectMemberFromRoleResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h deleted file mode 100644 index f9909ccbd..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_RESTARTINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RestartInstanceRequest : public RpcServiceRequest - { - - public: - RestartInstanceRequest(); - ~RestartInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceResult.h deleted file mode 100644 index 2c7acb755..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_RESTARTINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RestartInstanceResult : public ServiceResult - { - public: - - - RestartInstanceResult(); - explicit RestartInstanceResult(const std::string &payload); - ~RestartInstanceResult(); - 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_RESTARTINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h deleted file mode 100644 index 3fe5437ee..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_RESUMEINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ResumeInstanceRequest : public RpcServiceRequest - { - - public: - ResumeInstanceRequest(); - ~ResumeInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h deleted file mode 100644 index d6f863604..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_RESUMEINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ResumeInstanceResult : public ServiceResult - { - public: - - - ResumeInstanceResult(); - explicit ResumeInstanceResult(const std::string &payload); - ~ResumeInstanceResult(); - 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_RESUMEINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h deleted file mode 100644 index 64a229591..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_RUNTRIGGERNODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNTRIGGERNODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunTriggerNodeRequest : public RpcServiceRequest - { - - public: - RunTriggerNodeRequest(); - ~RunTriggerNodeRequest(); - - long getBizDate()const; - void setBizDate(long bizDate); - long getAppId()const; - void setAppId(long appId); - long getCycleTime()const; - void setCycleTime(long cycleTime); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - long bizDate_; - long appId_; - long cycleTime_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNTRIGGERNODEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeResult.h deleted file mode 100644 index 1581bb20b..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_RUNTRIGGERNODERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNTRIGGERNODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunTriggerNodeResult : public ServiceResult - { - public: - - - RunTriggerNodeResult(); - explicit RunTriggerNodeResult(const std::string &payload); - ~RunTriggerNodeResult(); - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNTRIGGERNODERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h deleted file mode 100644 index 8ee2f9e7a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SCANSENSITIVEDATAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SCANSENSITIVEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ScanSensitiveDataRequest : public RpcServiceRequest - { - - public: - ScanSensitiveDataRequest(); - ~ScanSensitiveDataRequest(); - - std::string getData()const; - void setData(const std::string& data); - - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SCANSENSITIVEDATAREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataResult.h deleted file mode 100644 index 4d4ebe0c4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SCANSENSITIVEDATARESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SCANSENSITIVEDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ScanSensitiveDataResult : public ServiceResult - { - public: - - - ScanSensitiveDataResult(); - explicit ScanSensitiveDataResult(const std::string &payload); - ~ScanSensitiveDataResult(); - std::string getSensitives()const; - - protected: - void parse(const std::string &payload); - private: - std::string sensitives_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SCANSENSITIVEDATARESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h similarity index 66% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h index e2954ef76..c7c459e28 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYRULEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYRULEREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCEREQUEST_H_ #include #include @@ -28,24 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityRuleRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchManualDagNodeInstanceRequest : public RpcServiceRequest { public: - GetQualityRuleRequest(); - ~GetQualityRuleRequest(); + SearchManualDagNodeInstanceRequest(); + ~SearchManualDagNodeInstanceRequest(); std::string getProjectName()const; void setProjectName(const std::string& projectName); - long getRuleId()const; - void setRuleId(long ruleId); + long getDagId()const; + void setDagId(long dagId); private: std::string projectName_; - long ruleId_; + long dagId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYRULEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h similarity index 51% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h index 614d40466..15f3c4cf5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCERESULT_H_ #include #include @@ -29,45 +29,45 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListResourceGroupsResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchManualDagNodeInstanceResult : public ServiceResult { public: - struct DataItem + struct NodeInsInfo { - bool isDefault; int status; - std::string mode; + std::string modifyTime; + long instanceId; + int dagType; + std::string nodeName; std::string createTime; - std::string cluster; - int sequence; - std::string resourceGroupType; - std::string name; - long tenantId; - std::string identifier; - bool enableKp; - std::string bizExtKey; - std::string updateTime; - long id; - std::string specs; + std::string beginWaitTimeTime; + long dagId; + std::string bizdate; + std::string beginRunningTime; + std::string finishTime; + std::string beginWaitResTime; + std::string paraValue; }; - ListResourceGroupsResult(); - explicit ListResourceGroupsResult(const std::string &payload); - ~ListResourceGroupsResult(); - int getHttpStatusCode()const; - std::vector getData()const; + SearchManualDagNodeInstanceResult(); + explicit SearchManualDagNodeInstanceResult(const std::string &payload); + ~SearchManualDagNodeInstanceResult(); + std::string getErrMsg()const; + std::vector getData()const; bool getSuccess()const; + std::string getErrCode()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; - std::vector data_; + std::string errMsg_; + std::vector data_; bool success_; + std::string errCode_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h deleted file mode 100644 index 1f27d29d6..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SEARCHMETATABLESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchMetaTablesRequest : public RpcServiceRequest - { - - public: - SearchMetaTablesRequest(); - ~SearchMetaTablesRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getEntityType()const; - void setEntityType(int entityType); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - - private: - std::string dataSourceType_; - std::string clusterId_; - int pageNumber_; - int entityType_; - int pageSize_; - std::string appGuid_; - std::string keyword_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h deleted file mode 100644 index dcd036bf8..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SEARCHNODESBYOUTPUTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHNODESBYOUTPUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchNodesByOutputRequest : public RpcServiceRequest - { - - public: - SearchNodesByOutputRequest(); - ~SearchNodesByOutputRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getOutputs()const; - void setOutputs(const std::string& outputs); - - private: - std::string projectEnv_; - std::string outputs_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHNODESBYOUTPUTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputResult.h deleted file mode 100644 index 5421a1143..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SEARCHNODESBYOUTPUTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHNODESBYOUTPUTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchNodesByOutputResult : public ServiceResult - { - public: - - - SearchNodesByOutputResult(); - explicit SearchNodesByOutputResult(const std::string &payload); - ~SearchNodesByOutputResult(); - int getHttpStatusCode()const; - std::string getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHNODESBYOUTPUTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h deleted file mode 100644 index 10db9a2fb..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SETSUCCESSINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SetSuccessInstanceRequest : public RpcServiceRequest - { - - public: - SetSuccessInstanceRequest(); - ~SetSuccessInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h deleted file mode 100644 index 284f7be91..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SETSUCCESSINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SetSuccessInstanceResult : public ServiceResult - { - public: - - - SetSuccessInstanceResult(); - explicit SetSuccessInstanceResult(const std::string &payload); - ~SetSuccessInstanceResult(); - 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_SETSUCCESSINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h deleted file mode 100644 index bd66d95a3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_STOPINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StopInstanceRequest : public RpcServiceRequest - { - - public: - StopInstanceRequest(); - ~StopInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceResult.h deleted file mode 100644 index b23199c45..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_STOPINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StopInstanceResult : public ServiceResult - { - public: - - - StopInstanceResult(); - explicit StopInstanceResult(const std::string &payload); - ~StopInstanceResult(); - 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_STOPINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h deleted file mode 100644 index 3f7355153..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SUBMITFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SubmitFileRequest : public RpcServiceRequest - { - - public: - SubmitFileRequest(); - ~SubmitFileRequest(); - - std::string getComment()const; - void setComment(const std::string& comment); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string comment_; - long projectId_; - std::string projectIdentifier_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileResult.h deleted file mode 100644 index 9e8532206..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SUBMITFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SubmitFileResult : public ServiceResult - { - public: - - - SubmitFileResult(); - explicit SubmitFileResult(const std::string &payload); - ~SubmitFileResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h deleted file mode 100644 index 3676c0afc..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SUSPENDINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SuspendInstanceRequest : public RpcServiceRequest - { - - public: - SuspendInstanceRequest(); - ~SuspendInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h deleted file mode 100644 index 1e79861ec..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_SUSPENDINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SuspendInstanceResult : public ServiceResult - { - public: - - - SuspendInstanceResult(); - explicit SuspendInstanceResult(const std::string &payload); - ~SuspendInstanceResult(); - 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_SUSPENDINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h deleted file mode 100644 index 3e0b680aa..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateBusinessRequest : public RpcServiceRequest - { - - public: - UpdateBusinessRequest(); - ~UpdateBusinessRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - long getBusinessId()const; - void setBusinessId(long businessId); - std::string getBusinessName()const; - void setBusinessName(const std::string& businessName); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - std::string owner_; - long businessId_; - std::string businessName_; - std::string description_; - long projectId_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h deleted file mode 100644 index 0ce420dc5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateBusinessResult : public ServiceResult - { - public: - - - UpdateBusinessResult(); - explicit UpdateBusinessResult(const std::string &payload); - ~UpdateBusinessResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h deleted file mode 100644 index b1cae5652..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATECONNECTIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateConnectionRequest : public RpcServiceRequest - { - - public: - UpdateConnectionRequest(); - ~UpdateConnectionRequest(); - - int getEnvType()const; - void setEnvType(int envType); - std::string getDescription()const; - void setDescription(const std::string& description); - long getConnectionId()const; - void setConnectionId(long connectionId); - std::string getContent()const; - void setContent(const std::string& content); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - int envType_; - std::string description_; - long connectionId_; - std::string content_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h deleted file mode 100644 index 9cc0436db..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATECONNECTIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateConnectionResult : public ServiceResult - { - public: - - - UpdateConnectionResult(); - explicit UpdateConnectionResult(const std::string &payload); - ~UpdateConnectionResult(); - std::string getHttpStatusCode()const; - bool getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - std::string httpStatusCode_; - bool data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h deleted file mode 100644 index d918d6947..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDataServiceApiRequest : public RpcServiceRequest - { - - public: - UpdateDataServiceApiRequest(); - ~UpdateDataServiceApiRequest(); - - std::string getScriptDetails()const; - void setScriptDetails(const std::string& scriptDetails); - int getRequestMethod()const; - void setRequestMethod(int requestMethod); - std::string getApiPath()const; - void setApiPath(const std::string& apiPath); - std::string getWizardDetails()const; - void setWizardDetails(const std::string& wizardDetails); - int getVisibleRange()const; - void setVisibleRange(int visibleRange); - std::string getApiDescription()const; - void setApiDescription(const std::string& apiDescription); - int getTimeout()const; - void setTimeout(int timeout); - std::string getRegistrationDetails()const; - void setRegistrationDetails(const std::string& registrationDetails); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getProtocols()const; - void setProtocols(const std::string& protocols); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - int getResponseContentType()const; - void setResponseContentType(int responseContentType); - - private: - std::string scriptDetails_; - int requestMethod_; - std::string apiPath_; - std::string wizardDetails_; - int visibleRange_; - std::string apiDescription_; - int timeout_; - std::string registrationDetails_; - long tenantId_; - std::string protocols_; - long projectId_; - long apiId_; - int responseContentType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h deleted file mode 100644 index 8fa03b9c0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDataServiceApiResult : public ServiceResult - { - public: - - - UpdateDataServiceApiResult(); - explicit UpdateDataServiceApiResult(const std::string &payload); - ~UpdateDataServiceApiResult(); - 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_UPDATEDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h deleted file mode 100644 index a0eef3eb7..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateFileRequest : public RpcServiceRequest - { - - public: - UpdateFileRequest(); - ~UpdateFileRequest(); - - std::string getOutputList()const; - void setOutputList(const std::string& outputList); - std::string getDependentNodeIdList()const; - void setDependentNodeIdList(const std::string& dependentNodeIdList); - std::string getContent()const; - void setContent(const std::string& content); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getProjectId()const; - void setProjectId(long projectId); - long getStartEffectDate()const; - void setStartEffectDate(long startEffectDate); - std::string getCycleType()const; - void setCycleType(const std::string& cycleType); - long getFileId()const; - void setFileId(long fileId); - int getAutoRerunIntervalMillis()const; - void setAutoRerunIntervalMillis(int autoRerunIntervalMillis); - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getInputList()const; - void setInputList(const std::string& inputList); - std::string getRerunMode()const; - void setRerunMode(const std::string& rerunMode); - std::string getConnectionName()const; - void setConnectionName(const std::string& connectionName); - std::string getParaValue()const; - void setParaValue(const std::string& paraValue); - std::string getResourceGroupIdentifier()const; - void setResourceGroupIdentifier(const std::string& resourceGroupIdentifier); - int getAutoRerunTimes()const; - void setAutoRerunTimes(int autoRerunTimes); - std::string getCronExpress()const; - void setCronExpress(const std::string& cronExpress); - long getEndEffectDate()const; - void setEndEffectDate(long endEffectDate); - std::string getFileName()const; - void setFileName(const std::string& fileName); - bool getStop()const; - void setStop(bool stop); - std::string getDependentType()const; - void setDependentType(const std::string& dependentType); - std::string getFileFolderPath()const; - void setFileFolderPath(const std::string& fileFolderPath); - std::string getFileDescription()const; - void setFileDescription(const std::string& fileDescription); - - private: - std::string outputList_; - std::string dependentNodeIdList_; - std::string content_; - std::string projectIdentifier_; - long projectId_; - long startEffectDate_; - std::string cycleType_; - long fileId_; - int autoRerunIntervalMillis_; - std::string owner_; - std::string inputList_; - std::string rerunMode_; - std::string connectionName_; - std::string paraValue_; - std::string resourceGroupIdentifier_; - int autoRerunTimes_; - std::string cronExpress_; - long endEffectDate_; - std::string fileName_; - bool stop_; - std::string dependentType_; - std::string fileFolderPath_; - std::string fileDescription_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileResult.h deleted file mode 100644 index 07bda3cc8..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateFileResult : public ServiceResult - { - public: - - - UpdateFileResult(); - explicit UpdateFileResult(const std::string &payload); - ~UpdateFileResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h deleted file mode 100644 index 059118f04..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateFolderRequest : public RpcServiceRequest - { - - public: - UpdateFolderRequest(); - ~UpdateFolderRequest(); - - std::string getFolderName()const; - void setFolderName(const std::string& folderName); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - - private: - std::string folderName_; - long projectId_; - std::string projectIdentifier_; - std::string folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderResult.h deleted file mode 100644 index d5d3af888..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEFOLDERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateFolderResult : public ServiceResult - { - public: - - - UpdateFolderResult(); - explicit UpdateFolderResult(const std::string &payload); - ~UpdateFolderResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h deleted file mode 100644 index 46547b8d1..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaCategoryRequest : public RpcServiceRequest - { - - public: - UpdateMetaCategoryRequest(); - ~UpdateMetaCategoryRequest(); - - std::string getName()const; - void setName(const std::string& name); - std::string getComment()const; - void setComment(const std::string& comment); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - std::string name_; - std::string comment_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h deleted file mode 100644 index 7643dc80c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaCategoryResult : public ServiceResult - { - public: - - - UpdateMetaCategoryResult(); - explicit UpdateMetaCategoryResult(const std::string &payload); - ~UpdateMetaCategoryResult(); - 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_UPDATEMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h deleted file mode 100644 index 66ae09e57..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEMETATABLEINTROWIKIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEINTROWIKIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableIntroWikiRequest : public RpcServiceRequest - { - - public: - UpdateMetaTableIntroWikiRequest(); - ~UpdateMetaTableIntroWikiRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getContent()const; - void setContent(const std::string& content); - - private: - std::string tableGuid_; - std::string content_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEINTROWIKIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiResult.h deleted file mode 100644 index fac79568f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEMETATABLEINTROWIKIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEINTROWIKIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableIntroWikiResult : public ServiceResult - { - public: - - - UpdateMetaTableIntroWikiResult(); - explicit UpdateMetaTableIntroWikiResult(const std::string &payload); - ~UpdateMetaTableIntroWikiResult(); - bool getUpdateResult()const; - - protected: - void parse(const std::string &payload); - private: - bool updateResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEINTROWIKIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h deleted file mode 100644 index 773f1d8d5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEMETATABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableRequest : public RpcServiceRequest - { - - public: - UpdateMetaTableRequest(); - ~UpdateMetaTableRequest(); - - int getVisibility()const; - void setVisibility(int visibility); - std::string getCaption()const; - void setCaption(const std::string& caption); - std::string getNewOwnerId()const; - void setNewOwnerId(const std::string& newOwnerId); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getAddedLabels()const; - void setAddedLabels(const std::string& addedLabels); - std::string getRemovedLabels()const; - void setRemovedLabels(const std::string& removedLabels); - int getEnvType()const; - void setEnvType(int envType); - std::string getTableName()const; - void setTableName(const std::string& tableName); - long getProjectId()const; - void setProjectId(long projectId); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - int visibility_; - std::string caption_; - std::string newOwnerId_; - std::string tableGuid_; - std::string addedLabels_; - std::string removedLabels_; - int envType_; - std::string tableName_; - long projectId_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableResult.h deleted file mode 100644 index 68b4f0a2a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEMETATABLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableResult : public ServiceResult - { - public: - - - UpdateMetaTableResult(); - explicit UpdateMetaTableResult(const std::string &payload); - ~UpdateMetaTableResult(); - bool getUpdateResult()const; - - protected: - void parse(const std::string &payload); - private: - bool updateResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h deleted file mode 100644 index 30ba79451..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEQUALITYFOLLOWERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateQualityFollowerRequest : public RpcServiceRequest - { - - public: - UpdateQualityFollowerRequest(); - ~UpdateQualityFollowerRequest(); - - int getAlarmMode()const; - void setAlarmMode(int alarmMode); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getFollower()const; - void setFollower(const std::string& follower); - long getFollowerId()const; - void setFollowerId(long followerId); - - private: - int alarmMode_; - std::string projectName_; - std::string follower_; - long followerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h deleted file mode 100644 index e97c8a20d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEQUALITYFOLLOWERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateQualityFollowerResult : public ServiceResult - { - public: - - - UpdateQualityFollowerResult(); - explicit UpdateQualityFollowerResult(const std::string &payload); - ~UpdateQualityFollowerResult(); - 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_UPDATEQUALITYFOLLOWERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h deleted file mode 100644 index 9530394b3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEQUALITYRULEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateQualityRuleRequest : public RpcServiceRequest - { - - public: - UpdateQualityRuleRequest(); - ~UpdateQualityRuleRequest(); - - std::string getTrend()const; - void setTrend(const std::string& trend); - int getBlockType()const; - void setBlockType(int blockType); - std::string getPropertyType()const; - void setPropertyType(const std::string& propertyType); - long getEntityId()const; - void setEntityId(long entityId); - std::string getRuleName()const; - void setRuleName(const std::string& ruleName); - int getChecker()const; - void setChecker(int checker); - std::string get_Operator()const; - void set_Operator(const std::string& _operator); - std::string getProperty()const; - void setProperty(const std::string& property); - long getId()const; - void setId(long id); - std::string getWarningThreshold()const; - void setWarningThreshold(const std::string& warningThreshold); - std::string getMethodName()const; - void setMethodName(const std::string& methodName); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - int getRuleType()const; - void setRuleType(int ruleType); - int getTemplateId()const; - void setTemplateId(int templateId); - std::string getExpectValue()const; - void setExpectValue(const std::string& expectValue); - std::string getWhereCondition()const; - void setWhereCondition(const std::string& whereCondition); - std::string getCriticalThreshold()const; - void setCriticalThreshold(const std::string& criticalThreshold); - std::string getComment()const; - void setComment(const std::string& comment); - int getPredictType()const; - void setPredictType(int predictType); - - private: - std::string trend_; - int blockType_; - std::string propertyType_; - long entityId_; - std::string ruleName_; - int checker_; - std::string _operator_; - std::string property_; - long id_; - std::string warningThreshold_; - std::string methodName_; - std::string projectName_; - int ruleType_; - int templateId_; - std::string expectValue_; - std::string whereCondition_; - std::string criticalThreshold_; - std::string comment_; - int predictType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h deleted file mode 100644 index 13f101571..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEQUALITYRULERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateQualityRuleResult : public ServiceResult - { - public: - - - UpdateQualityRuleResult(); - explicit UpdateQualityRuleResult(const std::string &payload); - ~UpdateQualityRuleResult(); - 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_UPDATEQUALITYRULERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h deleted file mode 100644 index 1d74c5882..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEREMINDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateRemindRequest : public RpcServiceRequest - { - - public: - UpdateRemindRequest(); - ~UpdateRemindRequest(); - - std::string getDndEnd()const; - void setDndEnd(const std::string& dndEnd); - std::string getAlertUnit()const; - void setAlertUnit(const std::string& alertUnit); - std::string getRemindUnit()const; - void setRemindUnit(const std::string& remindUnit); - bool getUseFlag()const; - void setUseFlag(bool useFlag); - int getAlertInterval()const; - void setAlertInterval(int alertInterval); - std::string getAlertMethods()const; - void setAlertMethods(const std::string& alertMethods); - std::string getRobotUrls()const; - void setRobotUrls(const std::string& robotUrls); - int getMaxAlertTimes()const; - void setMaxAlertTimes(int maxAlertTimes); - std::string getBizProcessIds()const; - void setBizProcessIds(const std::string& bizProcessIds); - std::string getRemindType()const; - void setRemindType(const std::string& remindType); - std::string getAlertTargets()const; - void setAlertTargets(const std::string& alertTargets); - std::string getBaselineIds()const; - void setBaselineIds(const std::string& baselineIds); - long getRemindId()const; - void setRemindId(long remindId); - std::string getDetail()const; - void setDetail(const std::string& detail); - std::string getRemindName()const; - void setRemindName(const std::string& remindName); - long getProjectId()const; - void setProjectId(long projectId); - std::string getNodeIds()const; - void setNodeIds(const std::string& nodeIds); - - private: - std::string dndEnd_; - std::string alertUnit_; - std::string remindUnit_; - bool useFlag_; - int alertInterval_; - std::string alertMethods_; - std::string robotUrls_; - int maxAlertTimes_; - std::string bizProcessIds_; - std::string remindType_; - std::string alertTargets_; - std::string baselineIds_; - long remindId_; - std::string detail_; - std::string remindName_; - long projectId_; - std::string nodeIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindResult.h deleted file mode 100644 index 9ce53d7d9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEREMINDRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateRemindResult : public ServiceResult - { - public: - - - UpdateRemindResult(); - explicit UpdateRemindResult(const std::string &payload); - ~UpdateRemindResult(); - 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_UPDATEREMINDRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h deleted file mode 100644 index a4f3b5c15..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATETABLELEVELREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLELEVELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableLevelRequest : public RpcServiceRequest - { - - public: - UpdateTableLevelRequest(); - ~UpdateTableLevelRequest(); - - long getLevelId()const; - void setLevelId(long levelId); - int getLevelType()const; - void setLevelType(int levelType); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long levelId_; - int levelType_; - std::string name_; - std::string description_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLELEVELREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelResult.h deleted file mode 100644 index b875b4ca7..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATETABLELEVELRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLELEVELRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableLevelResult : public ServiceResult - { - public: - - - UpdateTableLevelResult(); - explicit UpdateTableLevelResult(const std::string &payload); - ~UpdateTableLevelResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - bool getUpdateResult()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - bool updateResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLELEVELRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h deleted file mode 100644 index 73b8b4fb3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATETABLEMODELINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableModelInfoRequest : public RpcServiceRequest - { - - public: - UpdateTableModelInfoRequest(); - ~UpdateTableModelInfoRequest(); - - long getSecondLevelThemeId()const; - void setSecondLevelThemeId(long secondLevelThemeId); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - long getLevelId()const; - void setLevelId(long levelId); - int getLevelType()const; - void setLevelType(int levelType); - long getFirstLevelThemeId()const; - void setFirstLevelThemeId(long firstLevelThemeId); - - private: - long secondLevelThemeId_; - std::string tableGuid_; - long levelId_; - int levelType_; - long firstLevelThemeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFOREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoResult.h deleted file mode 100644 index e5b067c7d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATETABLEMODELINFORESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableModelInfoResult : public ServiceResult - { - public: - - - UpdateTableModelInfoResult(); - explicit UpdateTableModelInfoResult(const std::string &payload); - ~UpdateTableModelInfoResult(); - bool getUpdateResult()const; - - protected: - void parse(const std::string &payload); - private: - bool updateResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFORESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h deleted file mode 100644 index 8fdc073e5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATETABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableRequest : public RpcServiceRequest - { - public: - struct Columns - { - int seqNumber; - int isPartitionCol; - std::string columnNameCn; - int length; - int isNullable; - std::string comment; - int isPrimaryKey; - std::string columnName; - std::string columnType; - }; - struct Themes - { - int themeLevel; - long themeId; - }; - - public: - UpdateTableRequest(); - ~UpdateTableRequest(); - - int getVisibility()const; - void setVisibility(int visibility); - long getPhysicsLevelId()const; - void setPhysicsLevelId(long physicsLevelId); - std::vector getColumns()const; - void setColumns(const std::vector& columns); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - int getLifeCycle()const; - void setLifeCycle(int lifeCycle); - std::vector getThemes()const; - void setThemes(const std::vector& themes); - long getLogicalLevelId()const; - void setLogicalLevelId(long logicalLevelId); - std::string getEndpoint()const; - void setEndpoint(const std::string& endpoint); - int getIsView()const; - void setIsView(int isView); - std::string getExternalTableType()const; - void setExternalTableType(const std::string& externalTableType); - int getEnvType()const; - void setEnvType(int envType); - int getHasPart()const; - void setHasPart(int hasPart); - std::string getLocation()const; - void setLocation(const std::string& location); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - long getProjectId()const; - void setProjectId(long projectId); - long getCategoryId()const; - void setCategoryId(long categoryId); - bool getCreateIfNotExists()const; - void setCreateIfNotExists(bool createIfNotExists); - - private: - int visibility_; - long physicsLevelId_; - std::vector columns_; - std::string ownerId_; - int lifeCycle_; - std::vector themes_; - long logicalLevelId_; - std::string endpoint_; - int isView_; - std::string externalTableType_; - int envType_; - int hasPart_; - std::string location_; - std::string tableName_; - std::string appGuid_; - long projectId_; - long categoryId_; - bool createIfNotExists_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableResult.h deleted file mode 100644 index 997dab008..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATETABLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableResult : public ServiceResult - { - public: - struct TaskInfo - { - std::string status; - std::string taskId; - std::string content; - std::string nextTaskId; - }; - - - UpdateTableResult(); - explicit UpdateTableResult(const std::string &payload); - ~UpdateTableResult(); - TaskInfo getTaskInfo()const; - - protected: - void parse(const std::string &payload); - private: - TaskInfo taskInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h deleted file mode 100644 index 1a4ad5b44..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATETABLETHEMEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLETHEMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableThemeRequest : public RpcServiceRequest - { - - public: - UpdateTableThemeRequest(); - ~UpdateTableThemeRequest(); - - std::string getName()const; - void setName(const std::string& name); - long getThemeId()const; - void setThemeId(long themeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string name_; - long themeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLETHEMEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeResult.h deleted file mode 100644 index d1b7e5872..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATETABLETHEMERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLETHEMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableThemeResult : public ServiceResult - { - public: - - - UpdateTableThemeResult(); - explicit UpdateTableThemeResult(const std::string &payload); - ~UpdateTableThemeResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - bool getUpdateResult()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - bool updateResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLETHEMERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h deleted file mode 100644 index afe9d9d87..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEUDFFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateUdfFileRequest : public RpcServiceRequest - { - - public: - UpdateUdfFileRequest(); - ~UpdateUdfFileRequest(); - - std::string getReturnValue()const; - void setReturnValue(const std::string& returnValue); - std::string getResources()const; - void setResources(const std::string& resources); - std::string getFunctionType()const; - void setFunctionType(const std::string& functionType); - std::string getCmdDescription()const; - void setCmdDescription(const std::string& cmdDescription); - std::string getUdfDescription()const; - void setUdfDescription(const std::string& udfDescription); - std::string getParameterDescription()const; - void setParameterDescription(const std::string& parameterDescription); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getExample()const; - void setExample(const std::string& example); - std::string getClassName()const; - void setClassName(const std::string& className); - std::string getFileFolderPath()const; - void setFileFolderPath(const std::string& fileFolderPath); - long getProjectId()const; - void setProjectId(long projectId); - std::string getFileId()const; - void setFileId(const std::string& fileId); - - private: - std::string returnValue_; - std::string resources_; - std::string functionType_; - std::string cmdDescription_; - std::string udfDescription_; - std::string parameterDescription_; - std::string projectIdentifier_; - std::string example_; - std::string className_; - std::string fileFolderPath_; - long projectId_; - std::string fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h deleted file mode 100644 index 528d0a0e5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEUDFFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateUdfFileResult : public ServiceResult - { - public: - - - UpdateUdfFileResult(); - explicit UpdateUdfFileResult(const std::string &payload); - ~UpdateUdfFileResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/src/Dataworks-publicClient.cc b/dataworks-public/src/Dataworks-publicClient.cc index 590245525..1a6631df6 100644 --- a/dataworks-public/src/Dataworks-publicClient.cc +++ b/dataworks-public/src/Dataworks-publicClient.cc @@ -51,540 +51,36 @@ Dataworks_publicClient::Dataworks_publicClient(const std::string & accessKeyId, Dataworks_publicClient::~Dataworks_publicClient() {} -Dataworks_publicClient::AbolishDataServiceApiOutcome Dataworks_publicClient::abolishDataServiceApi(const AbolishDataServiceApiRequest &request) const +Dataworks_publicClient::CheckCallbackOutcome Dataworks_publicClient::checkCallback(const CheckCallbackRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return AbolishDataServiceApiOutcome(endpointOutcome.error()); + return CheckCallbackOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return AbolishDataServiceApiOutcome(AbolishDataServiceApiResult(outcome.result())); + return CheckCallbackOutcome(CheckCallbackResult(outcome.result())); else - return AbolishDataServiceApiOutcome(outcome.error()); + return CheckCallbackOutcome(outcome.error()); } -void Dataworks_publicClient::abolishDataServiceApiAsync(const AbolishDataServiceApiRequest& request, const AbolishDataServiceApiAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::checkCallbackAsync(const CheckCallbackRequest& request, const CheckCallbackAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, abolishDataServiceApi(request), context); + handler(this, request, checkCallback(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::AbolishDataServiceApiOutcomeCallable Dataworks_publicClient::abolishDataServiceApiCallable(const AbolishDataServiceApiRequest &request) const +Dataworks_publicClient::CheckCallbackOutcomeCallable Dataworks_publicClient::checkCallbackCallable(const CheckCallbackRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->abolishDataServiceApi(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::AddProjectMemberToRoleOutcome Dataworks_publicClient::addProjectMemberToRole(const AddProjectMemberToRoleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddProjectMemberToRoleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddProjectMemberToRoleOutcome(AddProjectMemberToRoleResult(outcome.result())); - else - return AddProjectMemberToRoleOutcome(outcome.error()); -} - -void Dataworks_publicClient::addProjectMemberToRoleAsync(const AddProjectMemberToRoleRequest& request, const AddProjectMemberToRoleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addProjectMemberToRole(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::AddProjectMemberToRoleOutcomeCallable Dataworks_publicClient::addProjectMemberToRoleCallable(const AddProjectMemberToRoleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addProjectMemberToRole(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::AddToMetaCategoryOutcome Dataworks_publicClient::addToMetaCategory(const AddToMetaCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddToMetaCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddToMetaCategoryOutcome(AddToMetaCategoryResult(outcome.result())); - else - return AddToMetaCategoryOutcome(outcome.error()); -} - -void Dataworks_publicClient::addToMetaCategoryAsync(const AddToMetaCategoryRequest& request, const AddToMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addToMetaCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::AddToMetaCategoryOutcomeCallable Dataworks_publicClient::addToMetaCategoryCallable(const AddToMetaCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addToMetaCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CheckMetaPartitionOutcome Dataworks_publicClient::checkMetaPartition(const CheckMetaPartitionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CheckMetaPartitionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CheckMetaPartitionOutcome(CheckMetaPartitionResult(outcome.result())); - else - return CheckMetaPartitionOutcome(outcome.error()); -} - -void Dataworks_publicClient::checkMetaPartitionAsync(const CheckMetaPartitionRequest& request, const CheckMetaPartitionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, checkMetaPartition(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CheckMetaPartitionOutcomeCallable Dataworks_publicClient::checkMetaPartitionCallable(const CheckMetaPartitionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->checkMetaPartition(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CheckMetaTableOutcome Dataworks_publicClient::checkMetaTable(const CheckMetaTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CheckMetaTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CheckMetaTableOutcome(CheckMetaTableResult(outcome.result())); - else - return CheckMetaTableOutcome(outcome.error()); -} - -void Dataworks_publicClient::checkMetaTableAsync(const CheckMetaTableRequest& request, const CheckMetaTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, checkMetaTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CheckMetaTableOutcomeCallable Dataworks_publicClient::checkMetaTableCallable(const CheckMetaTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->checkMetaTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateBusinessOutcome Dataworks_publicClient::createBusiness(const CreateBusinessRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateBusinessOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateBusinessOutcome(CreateBusinessResult(outcome.result())); - else - return CreateBusinessOutcome(outcome.error()); -} - -void Dataworks_publicClient::createBusinessAsync(const CreateBusinessRequest& request, const CreateBusinessAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createBusiness(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateBusinessOutcomeCallable Dataworks_publicClient::createBusinessCallable(const CreateBusinessRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createBusiness(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateConnectionOutcome Dataworks_publicClient::createConnection(const CreateConnectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateConnectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateConnectionOutcome(CreateConnectionResult(outcome.result())); - else - return CreateConnectionOutcome(outcome.error()); -} - -void Dataworks_publicClient::createConnectionAsync(const CreateConnectionRequest& request, const CreateConnectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createConnection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateConnectionOutcomeCallable Dataworks_publicClient::createConnectionCallable(const CreateConnectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createConnection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateDagComplementOutcome Dataworks_publicClient::createDagComplement(const CreateDagComplementRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDagComplementOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDagComplementOutcome(CreateDagComplementResult(outcome.result())); - else - return CreateDagComplementOutcome(outcome.error()); -} - -void Dataworks_publicClient::createDagComplementAsync(const CreateDagComplementRequest& request, const CreateDagComplementAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDagComplement(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateDagComplementOutcomeCallable Dataworks_publicClient::createDagComplementCallable(const CreateDagComplementRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDagComplement(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateDagTestOutcome Dataworks_publicClient::createDagTest(const CreateDagTestRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDagTestOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDagTestOutcome(CreateDagTestResult(outcome.result())); - else - return CreateDagTestOutcome(outcome.error()); -} - -void Dataworks_publicClient::createDagTestAsync(const CreateDagTestRequest& request, const CreateDagTestAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDagTest(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateDagTestOutcomeCallable Dataworks_publicClient::createDagTestCallable(const CreateDagTestRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDagTest(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateDataServiceApiOutcome Dataworks_publicClient::createDataServiceApi(const CreateDataServiceApiRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDataServiceApiOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDataServiceApiOutcome(CreateDataServiceApiResult(outcome.result())); - else - return CreateDataServiceApiOutcome(outcome.error()); -} - -void Dataworks_publicClient::createDataServiceApiAsync(const CreateDataServiceApiRequest& request, const CreateDataServiceApiAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDataServiceApi(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateDataServiceApiOutcomeCallable Dataworks_publicClient::createDataServiceApiCallable(const CreateDataServiceApiRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDataServiceApi(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateDataServiceApiAuthorityOutcome Dataworks_publicClient::createDataServiceApiAuthority(const CreateDataServiceApiAuthorityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDataServiceApiAuthorityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDataServiceApiAuthorityOutcome(CreateDataServiceApiAuthorityResult(outcome.result())); - else - return CreateDataServiceApiAuthorityOutcome(outcome.error()); -} - -void Dataworks_publicClient::createDataServiceApiAuthorityAsync(const CreateDataServiceApiAuthorityRequest& request, const CreateDataServiceApiAuthorityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDataServiceApiAuthority(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateDataServiceApiAuthorityOutcomeCallable Dataworks_publicClient::createDataServiceApiAuthorityCallable(const CreateDataServiceApiAuthorityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDataServiceApiAuthority(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateDataServiceFolderOutcome Dataworks_publicClient::createDataServiceFolder(const CreateDataServiceFolderRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDataServiceFolderOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDataServiceFolderOutcome(CreateDataServiceFolderResult(outcome.result())); - else - return CreateDataServiceFolderOutcome(outcome.error()); -} - -void Dataworks_publicClient::createDataServiceFolderAsync(const CreateDataServiceFolderRequest& request, const CreateDataServiceFolderAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDataServiceFolder(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateDataServiceFolderOutcomeCallable Dataworks_publicClient::createDataServiceFolderCallable(const CreateDataServiceFolderRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDataServiceFolder(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateDataServiceGroupOutcome Dataworks_publicClient::createDataServiceGroup(const CreateDataServiceGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDataServiceGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDataServiceGroupOutcome(CreateDataServiceGroupResult(outcome.result())); - else - return CreateDataServiceGroupOutcome(outcome.error()); -} - -void Dataworks_publicClient::createDataServiceGroupAsync(const CreateDataServiceGroupRequest& request, const CreateDataServiceGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDataServiceGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateDataServiceGroupOutcomeCallable Dataworks_publicClient::createDataServiceGroupCallable(const CreateDataServiceGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDataServiceGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateFileOutcome Dataworks_publicClient::createFile(const CreateFileRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateFileOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateFileOutcome(CreateFileResult(outcome.result())); - else - return CreateFileOutcome(outcome.error()); -} - -void Dataworks_publicClient::createFileAsync(const CreateFileRequest& request, const CreateFileAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createFile(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateFileOutcomeCallable Dataworks_publicClient::createFileCallable(const CreateFileRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createFile(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateFolderOutcome Dataworks_publicClient::createFolder(const CreateFolderRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateFolderOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateFolderOutcome(CreateFolderResult(outcome.result())); - else - return CreateFolderOutcome(outcome.error()); -} - -void Dataworks_publicClient::createFolderAsync(const CreateFolderRequest& request, const CreateFolderAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createFolder(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateFolderOutcomeCallable Dataworks_publicClient::createFolderCallable(const CreateFolderRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createFolder(request); + return this->checkCallback(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -627,540 +123,36 @@ Dataworks_publicClient::CreateManualDagOutcomeCallable Dataworks_publicClient::c return task->get_future(); } -Dataworks_publicClient::CreateMetaCategoryOutcome Dataworks_publicClient::createMetaCategory(const CreateMetaCategoryRequest &request) const +Dataworks_publicClient::CreateRealTimeProcessOutcome Dataworks_publicClient::createRealTimeProcess(const CreateRealTimeProcessRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateMetaCategoryOutcome(endpointOutcome.error()); + return CreateRealTimeProcessOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateMetaCategoryOutcome(CreateMetaCategoryResult(outcome.result())); + return CreateRealTimeProcessOutcome(CreateRealTimeProcessResult(outcome.result())); else - return CreateMetaCategoryOutcome(outcome.error()); + return CreateRealTimeProcessOutcome(outcome.error()); } -void Dataworks_publicClient::createMetaCategoryAsync(const CreateMetaCategoryRequest& request, const CreateMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::createRealTimeProcessAsync(const CreateRealTimeProcessRequest& request, const CreateRealTimeProcessAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createMetaCategory(request), context); + handler(this, request, createRealTimeProcess(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::CreateMetaCategoryOutcomeCallable Dataworks_publicClient::createMetaCategoryCallable(const CreateMetaCategoryRequest &request) const +Dataworks_publicClient::CreateRealTimeProcessOutcomeCallable Dataworks_publicClient::createRealTimeProcessCallable(const CreateRealTimeProcessRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createMetaCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateProjectMemberOutcome Dataworks_publicClient::createProjectMember(const CreateProjectMemberRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateProjectMemberOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateProjectMemberOutcome(CreateProjectMemberResult(outcome.result())); - else - return CreateProjectMemberOutcome(outcome.error()); -} - -void Dataworks_publicClient::createProjectMemberAsync(const CreateProjectMemberRequest& request, const CreateProjectMemberAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createProjectMember(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateProjectMemberOutcomeCallable Dataworks_publicClient::createProjectMemberCallable(const CreateProjectMemberRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createProjectMember(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateQualityEntityOutcome Dataworks_publicClient::createQualityEntity(const CreateQualityEntityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateQualityEntityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateQualityEntityOutcome(CreateQualityEntityResult(outcome.result())); - else - return CreateQualityEntityOutcome(outcome.error()); -} - -void Dataworks_publicClient::createQualityEntityAsync(const CreateQualityEntityRequest& request, const CreateQualityEntityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createQualityEntity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateQualityEntityOutcomeCallable Dataworks_publicClient::createQualityEntityCallable(const CreateQualityEntityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createQualityEntity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateQualityFollowerOutcome Dataworks_publicClient::createQualityFollower(const CreateQualityFollowerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateQualityFollowerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateQualityFollowerOutcome(CreateQualityFollowerResult(outcome.result())); - else - return CreateQualityFollowerOutcome(outcome.error()); -} - -void Dataworks_publicClient::createQualityFollowerAsync(const CreateQualityFollowerRequest& request, const CreateQualityFollowerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createQualityFollower(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateQualityFollowerOutcomeCallable Dataworks_publicClient::createQualityFollowerCallable(const CreateQualityFollowerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createQualityFollower(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateQualityRelativeNodeOutcome Dataworks_publicClient::createQualityRelativeNode(const CreateQualityRelativeNodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateQualityRelativeNodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateQualityRelativeNodeOutcome(CreateQualityRelativeNodeResult(outcome.result())); - else - return CreateQualityRelativeNodeOutcome(outcome.error()); -} - -void Dataworks_publicClient::createQualityRelativeNodeAsync(const CreateQualityRelativeNodeRequest& request, const CreateQualityRelativeNodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createQualityRelativeNode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateQualityRelativeNodeOutcomeCallable Dataworks_publicClient::createQualityRelativeNodeCallable(const CreateQualityRelativeNodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createQualityRelativeNode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateQualityRuleOutcome Dataworks_publicClient::createQualityRule(const CreateQualityRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateQualityRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateQualityRuleOutcome(CreateQualityRuleResult(outcome.result())); - else - return CreateQualityRuleOutcome(outcome.error()); -} - -void Dataworks_publicClient::createQualityRuleAsync(const CreateQualityRuleRequest& request, const CreateQualityRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createQualityRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateQualityRuleOutcomeCallable Dataworks_publicClient::createQualityRuleCallable(const CreateQualityRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createQualityRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateRemindOutcome Dataworks_publicClient::createRemind(const CreateRemindRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateRemindOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateRemindOutcome(CreateRemindResult(outcome.result())); - else - return CreateRemindOutcome(outcome.error()); -} - -void Dataworks_publicClient::createRemindAsync(const CreateRemindRequest& request, const CreateRemindAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createRemind(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateRemindOutcomeCallable Dataworks_publicClient::createRemindCallable(const CreateRemindRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createRemind(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateTableOutcome Dataworks_publicClient::createTable(const CreateTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateTableOutcome(CreateTableResult(outcome.result())); - else - return CreateTableOutcome(outcome.error()); -} - -void Dataworks_publicClient::createTableAsync(const CreateTableRequest& request, const CreateTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateTableOutcomeCallable Dataworks_publicClient::createTableCallable(const CreateTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateTableLevelOutcome Dataworks_publicClient::createTableLevel(const CreateTableLevelRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateTableLevelOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateTableLevelOutcome(CreateTableLevelResult(outcome.result())); - else - return CreateTableLevelOutcome(outcome.error()); -} - -void Dataworks_publicClient::createTableLevelAsync(const CreateTableLevelRequest& request, const CreateTableLevelAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createTableLevel(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateTableLevelOutcomeCallable Dataworks_publicClient::createTableLevelCallable(const CreateTableLevelRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createTableLevel(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateTableThemeOutcome Dataworks_publicClient::createTableTheme(const CreateTableThemeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateTableThemeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateTableThemeOutcome(CreateTableThemeResult(outcome.result())); - else - return CreateTableThemeOutcome(outcome.error()); -} - -void Dataworks_publicClient::createTableThemeAsync(const CreateTableThemeRequest& request, const CreateTableThemeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createTableTheme(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateTableThemeOutcomeCallable Dataworks_publicClient::createTableThemeCallable(const CreateTableThemeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createTableTheme(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateUdfFileOutcome Dataworks_publicClient::createUdfFile(const CreateUdfFileRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateUdfFileOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateUdfFileOutcome(CreateUdfFileResult(outcome.result())); - else - return CreateUdfFileOutcome(outcome.error()); -} - -void Dataworks_publicClient::createUdfFileAsync(const CreateUdfFileRequest& request, const CreateUdfFileAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createUdfFile(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateUdfFileOutcomeCallable Dataworks_publicClient::createUdfFileCallable(const CreateUdfFileRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createUdfFile(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::DeleteBusinessOutcome Dataworks_publicClient::deleteBusiness(const DeleteBusinessRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteBusinessOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteBusinessOutcome(DeleteBusinessResult(outcome.result())); - else - return DeleteBusinessOutcome(outcome.error()); -} - -void Dataworks_publicClient::deleteBusinessAsync(const DeleteBusinessRequest& request, const DeleteBusinessAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteBusiness(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::DeleteBusinessOutcomeCallable Dataworks_publicClient::deleteBusinessCallable(const DeleteBusinessRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteBusiness(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::DeleteConnectionOutcome Dataworks_publicClient::deleteConnection(const DeleteConnectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteConnectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteConnectionOutcome(DeleteConnectionResult(outcome.result())); - else - return DeleteConnectionOutcome(outcome.error()); -} - -void Dataworks_publicClient::deleteConnectionAsync(const DeleteConnectionRequest& request, const DeleteConnectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteConnection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::DeleteConnectionOutcomeCallable Dataworks_publicClient::deleteConnectionCallable(const DeleteConnectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteConnection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::DeleteDataServiceApiOutcome Dataworks_publicClient::deleteDataServiceApi(const DeleteDataServiceApiRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteDataServiceApiOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteDataServiceApiOutcome(DeleteDataServiceApiResult(outcome.result())); - else - return DeleteDataServiceApiOutcome(outcome.error()); -} - -void Dataworks_publicClient::deleteDataServiceApiAsync(const DeleteDataServiceApiRequest& request, const DeleteDataServiceApiAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteDataServiceApi(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::DeleteDataServiceApiOutcomeCallable Dataworks_publicClient::deleteDataServiceApiCallable(const DeleteDataServiceApiRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteDataServiceApi(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::DeleteDataServiceApiAuthorityOutcome Dataworks_publicClient::deleteDataServiceApiAuthority(const DeleteDataServiceApiAuthorityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteDataServiceApiAuthorityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteDataServiceApiAuthorityOutcome(DeleteDataServiceApiAuthorityResult(outcome.result())); - else - return DeleteDataServiceApiAuthorityOutcome(outcome.error()); -} - -void Dataworks_publicClient::deleteDataServiceApiAuthorityAsync(const DeleteDataServiceApiAuthorityRequest& request, const DeleteDataServiceApiAuthorityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteDataServiceApiAuthority(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::DeleteDataServiceApiAuthorityOutcomeCallable Dataworks_publicClient::deleteDataServiceApiAuthorityCallable(const DeleteDataServiceApiAuthorityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteDataServiceApiAuthority(request); + return this->createRealTimeProcess(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -1203,4572 +195,360 @@ Dataworks_publicClient::DeleteFileOutcomeCallable Dataworks_publicClient::delete return task->get_future(); } -Dataworks_publicClient::DeleteFolderOutcome Dataworks_publicClient::deleteFolder(const DeleteFolderRequest &request) const +Dataworks_publicClient::DescribeEmrHiveTableOutcome Dataworks_publicClient::describeEmrHiveTable(const DescribeEmrHiveTableRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteFolderOutcome(endpointOutcome.error()); + return DescribeEmrHiveTableOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteFolderOutcome(DeleteFolderResult(outcome.result())); + return DescribeEmrHiveTableOutcome(DescribeEmrHiveTableResult(outcome.result())); else - return DeleteFolderOutcome(outcome.error()); + return DescribeEmrHiveTableOutcome(outcome.error()); } -void Dataworks_publicClient::deleteFolderAsync(const DeleteFolderRequest& request, const DeleteFolderAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::describeEmrHiveTableAsync(const DescribeEmrHiveTableRequest& request, const DescribeEmrHiveTableAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteFolder(request), context); + handler(this, request, describeEmrHiveTable(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteFolderOutcomeCallable Dataworks_publicClient::deleteFolderCallable(const DeleteFolderRequest &request) const +Dataworks_publicClient::DescribeEmrHiveTableOutcomeCallable Dataworks_publicClient::describeEmrHiveTableCallable(const DescribeEmrHiveTableRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteFolder(request); + return this->describeEmrHiveTable(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteFromMetaCategoryOutcome Dataworks_publicClient::deleteFromMetaCategory(const DeleteFromMetaCategoryRequest &request) const +Dataworks_publicClient::ListEmrHiveAuditLogsOutcome Dataworks_publicClient::listEmrHiveAuditLogs(const ListEmrHiveAuditLogsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteFromMetaCategoryOutcome(endpointOutcome.error()); + return ListEmrHiveAuditLogsOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteFromMetaCategoryOutcome(DeleteFromMetaCategoryResult(outcome.result())); + return ListEmrHiveAuditLogsOutcome(ListEmrHiveAuditLogsResult(outcome.result())); else - return DeleteFromMetaCategoryOutcome(outcome.error()); + return ListEmrHiveAuditLogsOutcome(outcome.error()); } -void Dataworks_publicClient::deleteFromMetaCategoryAsync(const DeleteFromMetaCategoryRequest& request, const DeleteFromMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listEmrHiveAuditLogsAsync(const ListEmrHiveAuditLogsRequest& request, const ListEmrHiveAuditLogsAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteFromMetaCategory(request), context); + handler(this, request, listEmrHiveAuditLogs(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteFromMetaCategoryOutcomeCallable Dataworks_publicClient::deleteFromMetaCategoryCallable(const DeleteFromMetaCategoryRequest &request) const +Dataworks_publicClient::ListEmrHiveAuditLogsOutcomeCallable Dataworks_publicClient::listEmrHiveAuditLogsCallable(const ListEmrHiveAuditLogsRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteFromMetaCategory(request); + return this->listEmrHiveAuditLogs(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteMetaCategoryOutcome Dataworks_publicClient::deleteMetaCategory(const DeleteMetaCategoryRequest &request) const +Dataworks_publicClient::ListEmrHiveDatabasesOutcome Dataworks_publicClient::listEmrHiveDatabases(const ListEmrHiveDatabasesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteMetaCategoryOutcome(endpointOutcome.error()); + return ListEmrHiveDatabasesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteMetaCategoryOutcome(DeleteMetaCategoryResult(outcome.result())); + return ListEmrHiveDatabasesOutcome(ListEmrHiveDatabasesResult(outcome.result())); else - return DeleteMetaCategoryOutcome(outcome.error()); + return ListEmrHiveDatabasesOutcome(outcome.error()); } -void Dataworks_publicClient::deleteMetaCategoryAsync(const DeleteMetaCategoryRequest& request, const DeleteMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listEmrHiveDatabasesAsync(const ListEmrHiveDatabasesRequest& request, const ListEmrHiveDatabasesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteMetaCategory(request), context); + handler(this, request, listEmrHiveDatabases(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteMetaCategoryOutcomeCallable Dataworks_publicClient::deleteMetaCategoryCallable(const DeleteMetaCategoryRequest &request) const +Dataworks_publicClient::ListEmrHiveDatabasesOutcomeCallable Dataworks_publicClient::listEmrHiveDatabasesCallable(const ListEmrHiveDatabasesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteMetaCategory(request); + return this->listEmrHiveDatabases(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteProjectMemberOutcome Dataworks_publicClient::deleteProjectMember(const DeleteProjectMemberRequest &request) const +Dataworks_publicClient::ListEmrHiveTablesOutcome Dataworks_publicClient::listEmrHiveTables(const ListEmrHiveTablesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteProjectMemberOutcome(endpointOutcome.error()); + return ListEmrHiveTablesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteProjectMemberOutcome(DeleteProjectMemberResult(outcome.result())); + return ListEmrHiveTablesOutcome(ListEmrHiveTablesResult(outcome.result())); else - return DeleteProjectMemberOutcome(outcome.error()); + return ListEmrHiveTablesOutcome(outcome.error()); } -void Dataworks_publicClient::deleteProjectMemberAsync(const DeleteProjectMemberRequest& request, const DeleteProjectMemberAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listEmrHiveTablesAsync(const ListEmrHiveTablesRequest& request, const ListEmrHiveTablesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteProjectMember(request), context); + handler(this, request, listEmrHiveTables(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteProjectMemberOutcomeCallable Dataworks_publicClient::deleteProjectMemberCallable(const DeleteProjectMemberRequest &request) const +Dataworks_publicClient::ListEmrHiveTablesOutcomeCallable Dataworks_publicClient::listEmrHiveTablesCallable(const ListEmrHiveTablesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteProjectMember(request); + return this->listEmrHiveTables(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteQualityEntityOutcome Dataworks_publicClient::deleteQualityEntity(const DeleteQualityEntityRequest &request) const +Dataworks_publicClient::ListHiveColumnLineagesOutcome Dataworks_publicClient::listHiveColumnLineages(const ListHiveColumnLineagesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteQualityEntityOutcome(endpointOutcome.error()); + return ListHiveColumnLineagesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteQualityEntityOutcome(DeleteQualityEntityResult(outcome.result())); + return ListHiveColumnLineagesOutcome(ListHiveColumnLineagesResult(outcome.result())); else - return DeleteQualityEntityOutcome(outcome.error()); + return ListHiveColumnLineagesOutcome(outcome.error()); } -void Dataworks_publicClient::deleteQualityEntityAsync(const DeleteQualityEntityRequest& request, const DeleteQualityEntityAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listHiveColumnLineagesAsync(const ListHiveColumnLineagesRequest& request, const ListHiveColumnLineagesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteQualityEntity(request), context); + handler(this, request, listHiveColumnLineages(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteQualityEntityOutcomeCallable Dataworks_publicClient::deleteQualityEntityCallable(const DeleteQualityEntityRequest &request) const +Dataworks_publicClient::ListHiveColumnLineagesOutcomeCallable Dataworks_publicClient::listHiveColumnLineagesCallable(const ListHiveColumnLineagesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteQualityEntity(request); + return this->listHiveColumnLineages(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteQualityFollowerOutcome Dataworks_publicClient::deleteQualityFollower(const DeleteQualityFollowerRequest &request) const +Dataworks_publicClient::ListHiveTableLineagesOutcome Dataworks_publicClient::listHiveTableLineages(const ListHiveTableLineagesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteQualityFollowerOutcome(endpointOutcome.error()); + return ListHiveTableLineagesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteQualityFollowerOutcome(DeleteQualityFollowerResult(outcome.result())); + return ListHiveTableLineagesOutcome(ListHiveTableLineagesResult(outcome.result())); else - return DeleteQualityFollowerOutcome(outcome.error()); + return ListHiveTableLineagesOutcome(outcome.error()); } -void Dataworks_publicClient::deleteQualityFollowerAsync(const DeleteQualityFollowerRequest& request, const DeleteQualityFollowerAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listHiveTableLineagesAsync(const ListHiveTableLineagesRequest& request, const ListHiveTableLineagesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteQualityFollower(request), context); + handler(this, request, listHiveTableLineages(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteQualityFollowerOutcomeCallable Dataworks_publicClient::deleteQualityFollowerCallable(const DeleteQualityFollowerRequest &request) const +Dataworks_publicClient::ListHiveTableLineagesOutcomeCallable Dataworks_publicClient::listHiveTableLineagesCallable(const ListHiveTableLineagesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteQualityFollower(request); + return this->listHiveTableLineages(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteQualityRelativeNodeOutcome Dataworks_publicClient::deleteQualityRelativeNode(const DeleteQualityRelativeNodeRequest &request) const +Dataworks_publicClient::ListTablePartitionsOutcome Dataworks_publicClient::listTablePartitions(const ListTablePartitionsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteQualityRelativeNodeOutcome(endpointOutcome.error()); + return ListTablePartitionsOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteQualityRelativeNodeOutcome(DeleteQualityRelativeNodeResult(outcome.result())); + return ListTablePartitionsOutcome(ListTablePartitionsResult(outcome.result())); else - return DeleteQualityRelativeNodeOutcome(outcome.error()); + return ListTablePartitionsOutcome(outcome.error()); } -void Dataworks_publicClient::deleteQualityRelativeNodeAsync(const DeleteQualityRelativeNodeRequest& request, const DeleteQualityRelativeNodeAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listTablePartitionsAsync(const ListTablePartitionsRequest& request, const ListTablePartitionsAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteQualityRelativeNode(request), context); + handler(this, request, listTablePartitions(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteQualityRelativeNodeOutcomeCallable Dataworks_publicClient::deleteQualityRelativeNodeCallable(const DeleteQualityRelativeNodeRequest &request) const +Dataworks_publicClient::ListTablePartitionsOutcomeCallable Dataworks_publicClient::listTablePartitionsCallable(const ListTablePartitionsRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteQualityRelativeNode(request); + return this->listTablePartitions(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteQualityRuleOutcome Dataworks_publicClient::deleteQualityRule(const DeleteQualityRuleRequest &request) const +Dataworks_publicClient::OpenDataWorksStandardServiceOutcome Dataworks_publicClient::openDataWorksStandardService(const OpenDataWorksStandardServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteQualityRuleOutcome(endpointOutcome.error()); + return OpenDataWorksStandardServiceOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteQualityRuleOutcome(DeleteQualityRuleResult(outcome.result())); + return OpenDataWorksStandardServiceOutcome(OpenDataWorksStandardServiceResult(outcome.result())); else - return DeleteQualityRuleOutcome(outcome.error()); + return OpenDataWorksStandardServiceOutcome(outcome.error()); } -void Dataworks_publicClient::deleteQualityRuleAsync(const DeleteQualityRuleRequest& request, const DeleteQualityRuleAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::openDataWorksStandardServiceAsync(const OpenDataWorksStandardServiceRequest& request, const OpenDataWorksStandardServiceAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteQualityRule(request), context); + handler(this, request, openDataWorksStandardService(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteQualityRuleOutcomeCallable Dataworks_publicClient::deleteQualityRuleCallable(const DeleteQualityRuleRequest &request) const +Dataworks_publicClient::OpenDataWorksStandardServiceOutcomeCallable Dataworks_publicClient::openDataWorksStandardServiceCallable(const OpenDataWorksStandardServiceRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteQualityRule(request); + return this->openDataWorksStandardService(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteRemindOutcome Dataworks_publicClient::deleteRemind(const DeleteRemindRequest &request) const +Dataworks_publicClient::QueryRealTimeProcessStatusOutcome Dataworks_publicClient::queryRealTimeProcessStatus(const QueryRealTimeProcessStatusRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteRemindOutcome(endpointOutcome.error()); + return QueryRealTimeProcessStatusOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteRemindOutcome(DeleteRemindResult(outcome.result())); + return QueryRealTimeProcessStatusOutcome(QueryRealTimeProcessStatusResult(outcome.result())); else - return DeleteRemindOutcome(outcome.error()); + return QueryRealTimeProcessStatusOutcome(outcome.error()); } -void Dataworks_publicClient::deleteRemindAsync(const DeleteRemindRequest& request, const DeleteRemindAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::queryRealTimeProcessStatusAsync(const QueryRealTimeProcessStatusRequest& request, const QueryRealTimeProcessStatusAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteRemind(request), context); + handler(this, request, queryRealTimeProcessStatus(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteRemindOutcomeCallable Dataworks_publicClient::deleteRemindCallable(const DeleteRemindRequest &request) const +Dataworks_publicClient::QueryRealTimeProcessStatusOutcomeCallable Dataworks_publicClient::queryRealTimeProcessStatusCallable(const QueryRealTimeProcessStatusRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteRemind(request); + return this->queryRealTimeProcessStatus(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteTableOutcome Dataworks_publicClient::deleteTable(const DeleteTableRequest &request) const +Dataworks_publicClient::SearchManualDagNodeInstanceOutcome Dataworks_publicClient::searchManualDagNodeInstance(const SearchManualDagNodeInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteTableOutcome(endpointOutcome.error()); + return SearchManualDagNodeInstanceOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteTableOutcome(DeleteTableResult(outcome.result())); + return SearchManualDagNodeInstanceOutcome(SearchManualDagNodeInstanceResult(outcome.result())); else - return DeleteTableOutcome(outcome.error()); + return SearchManualDagNodeInstanceOutcome(outcome.error()); } -void Dataworks_publicClient::deleteTableAsync(const DeleteTableRequest& request, const DeleteTableAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::searchManualDagNodeInstanceAsync(const SearchManualDagNodeInstanceRequest& request, const SearchManualDagNodeInstanceAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteTable(request), context); + handler(this, request, searchManualDagNodeInstance(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteTableOutcomeCallable Dataworks_publicClient::deleteTableCallable(const DeleteTableRequest &request) const +Dataworks_publicClient::SearchManualDagNodeInstanceOutcomeCallable Dataworks_publicClient::searchManualDagNodeInstanceCallable(const SearchManualDagNodeInstanceRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::DeleteTableLevelOutcome Dataworks_publicClient::deleteTableLevel(const DeleteTableLevelRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteTableLevelOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteTableLevelOutcome(DeleteTableLevelResult(outcome.result())); - else - return DeleteTableLevelOutcome(outcome.error()); -} - -void Dataworks_publicClient::deleteTableLevelAsync(const DeleteTableLevelRequest& request, const DeleteTableLevelAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteTableLevel(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::DeleteTableLevelOutcomeCallable Dataworks_publicClient::deleteTableLevelCallable(const DeleteTableLevelRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteTableLevel(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::DeleteTableThemeOutcome Dataworks_publicClient::deleteTableTheme(const DeleteTableThemeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteTableThemeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteTableThemeOutcome(DeleteTableThemeResult(outcome.result())); - else - return DeleteTableThemeOutcome(outcome.error()); -} - -void Dataworks_publicClient::deleteTableThemeAsync(const DeleteTableThemeRequest& request, const DeleteTableThemeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteTableTheme(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::DeleteTableThemeOutcomeCallable Dataworks_publicClient::deleteTableThemeCallable(const DeleteTableThemeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteTableTheme(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::DeployFileOutcome Dataworks_publicClient::deployFile(const DeployFileRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeployFileOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeployFileOutcome(DeployFileResult(outcome.result())); - else - return DeployFileOutcome(outcome.error()); -} - -void Dataworks_publicClient::deployFileAsync(const DeployFileRequest& request, const DeployFileAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deployFile(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::DeployFileOutcomeCallable Dataworks_publicClient::deployFileCallable(const DeployFileRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deployFile(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::DesensitizeDataOutcome Dataworks_publicClient::desensitizeData(const DesensitizeDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DesensitizeDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DesensitizeDataOutcome(DesensitizeDataResult(outcome.result())); - else - return DesensitizeDataOutcome(outcome.error()); -} - -void Dataworks_publicClient::desensitizeDataAsync(const DesensitizeDataRequest& request, const DesensitizeDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, desensitizeData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::DesensitizeDataOutcomeCallable Dataworks_publicClient::desensitizeDataCallable(const DesensitizeDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->desensitizeData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::EstablishRelationTableToBusinessOutcome Dataworks_publicClient::establishRelationTableToBusiness(const EstablishRelationTableToBusinessRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return EstablishRelationTableToBusinessOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return EstablishRelationTableToBusinessOutcome(EstablishRelationTableToBusinessResult(outcome.result())); - else - return EstablishRelationTableToBusinessOutcome(outcome.error()); -} - -void Dataworks_publicClient::establishRelationTableToBusinessAsync(const EstablishRelationTableToBusinessRequest& request, const EstablishRelationTableToBusinessAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, establishRelationTableToBusiness(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::EstablishRelationTableToBusinessOutcomeCallable Dataworks_publicClient::establishRelationTableToBusinessCallable(const EstablishRelationTableToBusinessRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->establishRelationTableToBusiness(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetBaselineConfigOutcome Dataworks_publicClient::getBaselineConfig(const GetBaselineConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetBaselineConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetBaselineConfigOutcome(GetBaselineConfigResult(outcome.result())); - else - return GetBaselineConfigOutcome(outcome.error()); -} - -void Dataworks_publicClient::getBaselineConfigAsync(const GetBaselineConfigRequest& request, const GetBaselineConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getBaselineConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetBaselineConfigOutcomeCallable Dataworks_publicClient::getBaselineConfigCallable(const GetBaselineConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getBaselineConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetBaselineKeyPathOutcome Dataworks_publicClient::getBaselineKeyPath(const GetBaselineKeyPathRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetBaselineKeyPathOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetBaselineKeyPathOutcome(GetBaselineKeyPathResult(outcome.result())); - else - return GetBaselineKeyPathOutcome(outcome.error()); -} - -void Dataworks_publicClient::getBaselineKeyPathAsync(const GetBaselineKeyPathRequest& request, const GetBaselineKeyPathAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getBaselineKeyPath(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetBaselineKeyPathOutcomeCallable Dataworks_publicClient::getBaselineKeyPathCallable(const GetBaselineKeyPathRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getBaselineKeyPath(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetBaselineStatusOutcome Dataworks_publicClient::getBaselineStatus(const GetBaselineStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetBaselineStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetBaselineStatusOutcome(GetBaselineStatusResult(outcome.result())); - else - return GetBaselineStatusOutcome(outcome.error()); -} - -void Dataworks_publicClient::getBaselineStatusAsync(const GetBaselineStatusRequest& request, const GetBaselineStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getBaselineStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetBaselineStatusOutcomeCallable Dataworks_publicClient::getBaselineStatusCallable(const GetBaselineStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getBaselineStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetBusinessOutcome Dataworks_publicClient::getBusiness(const GetBusinessRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetBusinessOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetBusinessOutcome(GetBusinessResult(outcome.result())); - else - return GetBusinessOutcome(outcome.error()); -} - -void Dataworks_publicClient::getBusinessAsync(const GetBusinessRequest& request, const GetBusinessAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getBusiness(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetBusinessOutcomeCallable Dataworks_publicClient::getBusinessCallable(const GetBusinessRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getBusiness(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetDDLJobStatusOutcome Dataworks_publicClient::getDDLJobStatus(const GetDDLJobStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDDLJobStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDDLJobStatusOutcome(GetDDLJobStatusResult(outcome.result())); - else - return GetDDLJobStatusOutcome(outcome.error()); -} - -void Dataworks_publicClient::getDDLJobStatusAsync(const GetDDLJobStatusRequest& request, const GetDDLJobStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDDLJobStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetDDLJobStatusOutcomeCallable Dataworks_publicClient::getDDLJobStatusCallable(const GetDDLJobStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDDLJobStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetDagOutcome Dataworks_publicClient::getDag(const GetDagRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDagOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDagOutcome(GetDagResult(outcome.result())); - else - return GetDagOutcome(outcome.error()); -} - -void Dataworks_publicClient::getDagAsync(const GetDagRequest& request, const GetDagAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDag(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetDagOutcomeCallable Dataworks_publicClient::getDagCallable(const GetDagRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDag(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetDataServiceApiOutcome Dataworks_publicClient::getDataServiceApi(const GetDataServiceApiRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDataServiceApiOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDataServiceApiOutcome(GetDataServiceApiResult(outcome.result())); - else - return GetDataServiceApiOutcome(outcome.error()); -} - -void Dataworks_publicClient::getDataServiceApiAsync(const GetDataServiceApiRequest& request, const GetDataServiceApiAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDataServiceApi(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetDataServiceApiOutcomeCallable Dataworks_publicClient::getDataServiceApiCallable(const GetDataServiceApiRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDataServiceApi(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetDataServiceApplicationOutcome Dataworks_publicClient::getDataServiceApplication(const GetDataServiceApplicationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDataServiceApplicationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDataServiceApplicationOutcome(GetDataServiceApplicationResult(outcome.result())); - else - return GetDataServiceApplicationOutcome(outcome.error()); -} - -void Dataworks_publicClient::getDataServiceApplicationAsync(const GetDataServiceApplicationRequest& request, const GetDataServiceApplicationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDataServiceApplication(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetDataServiceApplicationOutcomeCallable Dataworks_publicClient::getDataServiceApplicationCallable(const GetDataServiceApplicationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDataServiceApplication(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetDataServiceFolderOutcome Dataworks_publicClient::getDataServiceFolder(const GetDataServiceFolderRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDataServiceFolderOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDataServiceFolderOutcome(GetDataServiceFolderResult(outcome.result())); - else - return GetDataServiceFolderOutcome(outcome.error()); -} - -void Dataworks_publicClient::getDataServiceFolderAsync(const GetDataServiceFolderRequest& request, const GetDataServiceFolderAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDataServiceFolder(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetDataServiceFolderOutcomeCallable Dataworks_publicClient::getDataServiceFolderCallable(const GetDataServiceFolderRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDataServiceFolder(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetDataServiceGroupOutcome Dataworks_publicClient::getDataServiceGroup(const GetDataServiceGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDataServiceGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDataServiceGroupOutcome(GetDataServiceGroupResult(outcome.result())); - else - return GetDataServiceGroupOutcome(outcome.error()); -} - -void Dataworks_publicClient::getDataServiceGroupAsync(const GetDataServiceGroupRequest& request, const GetDataServiceGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDataServiceGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetDataServiceGroupOutcomeCallable Dataworks_publicClient::getDataServiceGroupCallable(const GetDataServiceGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDataServiceGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetDataServicePublishedApiOutcome Dataworks_publicClient::getDataServicePublishedApi(const GetDataServicePublishedApiRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDataServicePublishedApiOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDataServicePublishedApiOutcome(GetDataServicePublishedApiResult(outcome.result())); - else - return GetDataServicePublishedApiOutcome(outcome.error()); -} - -void Dataworks_publicClient::getDataServicePublishedApiAsync(const GetDataServicePublishedApiRequest& request, const GetDataServicePublishedApiAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDataServicePublishedApi(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetDataServicePublishedApiOutcomeCallable Dataworks_publicClient::getDataServicePublishedApiCallable(const GetDataServicePublishedApiRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDataServicePublishedApi(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetDeploymentOutcome Dataworks_publicClient::getDeployment(const GetDeploymentRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDeploymentOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDeploymentOutcome(GetDeploymentResult(outcome.result())); - else - return GetDeploymentOutcome(outcome.error()); -} - -void Dataworks_publicClient::getDeploymentAsync(const GetDeploymentRequest& request, const GetDeploymentAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDeployment(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetDeploymentOutcomeCallable Dataworks_publicClient::getDeploymentCallable(const GetDeploymentRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDeployment(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetFileOutcome Dataworks_publicClient::getFile(const GetFileRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetFileOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetFileOutcome(GetFileResult(outcome.result())); - else - return GetFileOutcome(outcome.error()); -} - -void Dataworks_publicClient::getFileAsync(const GetFileRequest& request, const GetFileAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getFile(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetFileOutcomeCallable Dataworks_publicClient::getFileCallable(const GetFileRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getFile(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetFileVersionOutcome Dataworks_publicClient::getFileVersion(const GetFileVersionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetFileVersionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetFileVersionOutcome(GetFileVersionResult(outcome.result())); - else - return GetFileVersionOutcome(outcome.error()); -} - -void Dataworks_publicClient::getFileVersionAsync(const GetFileVersionRequest& request, const GetFileVersionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getFileVersion(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetFileVersionOutcomeCallable Dataworks_publicClient::getFileVersionCallable(const GetFileVersionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getFileVersion(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetFolderOutcome Dataworks_publicClient::getFolder(const GetFolderRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetFolderOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetFolderOutcome(GetFolderResult(outcome.result())); - else - return GetFolderOutcome(outcome.error()); -} - -void Dataworks_publicClient::getFolderAsync(const GetFolderRequest& request, const GetFolderAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getFolder(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetFolderOutcomeCallable Dataworks_publicClient::getFolderCallable(const GetFolderRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getFolder(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetInstanceOutcome Dataworks_publicClient::getInstance(const GetInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetInstanceOutcome(GetInstanceResult(outcome.result())); - else - return GetInstanceOutcome(outcome.error()); -} - -void Dataworks_publicClient::getInstanceAsync(const GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetInstanceOutcomeCallable Dataworks_publicClient::getInstanceCallable(const GetInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetInstanceConsumeTimeRankOutcome Dataworks_publicClient::getInstanceConsumeTimeRank(const GetInstanceConsumeTimeRankRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetInstanceConsumeTimeRankOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetInstanceConsumeTimeRankOutcome(GetInstanceConsumeTimeRankResult(outcome.result())); - else - return GetInstanceConsumeTimeRankOutcome(outcome.error()); -} - -void Dataworks_publicClient::getInstanceConsumeTimeRankAsync(const GetInstanceConsumeTimeRankRequest& request, const GetInstanceConsumeTimeRankAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getInstanceConsumeTimeRank(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetInstanceConsumeTimeRankOutcomeCallable Dataworks_publicClient::getInstanceConsumeTimeRankCallable(const GetInstanceConsumeTimeRankRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getInstanceConsumeTimeRank(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetInstanceCountTrendOutcome Dataworks_publicClient::getInstanceCountTrend(const GetInstanceCountTrendRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetInstanceCountTrendOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetInstanceCountTrendOutcome(GetInstanceCountTrendResult(outcome.result())); - else - return GetInstanceCountTrendOutcome(outcome.error()); -} - -void Dataworks_publicClient::getInstanceCountTrendAsync(const GetInstanceCountTrendRequest& request, const GetInstanceCountTrendAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getInstanceCountTrend(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetInstanceCountTrendOutcomeCallable Dataworks_publicClient::getInstanceCountTrendCallable(const GetInstanceCountTrendRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getInstanceCountTrend(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetInstanceErrorRankOutcome Dataworks_publicClient::getInstanceErrorRank(const GetInstanceErrorRankRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetInstanceErrorRankOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetInstanceErrorRankOutcome(GetInstanceErrorRankResult(outcome.result())); - else - return GetInstanceErrorRankOutcome(outcome.error()); -} - -void Dataworks_publicClient::getInstanceErrorRankAsync(const GetInstanceErrorRankRequest& request, const GetInstanceErrorRankAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getInstanceErrorRank(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetInstanceErrorRankOutcomeCallable Dataworks_publicClient::getInstanceErrorRankCallable(const GetInstanceErrorRankRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getInstanceErrorRank(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetInstanceLogOutcome Dataworks_publicClient::getInstanceLog(const GetInstanceLogRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetInstanceLogOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetInstanceLogOutcome(GetInstanceLogResult(outcome.result())); - else - return GetInstanceLogOutcome(outcome.error()); -} - -void Dataworks_publicClient::getInstanceLogAsync(const GetInstanceLogRequest& request, const GetInstanceLogAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getInstanceLog(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetInstanceLogOutcomeCallable Dataworks_publicClient::getInstanceLogCallable(const GetInstanceLogRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getInstanceLog(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetInstanceStatusCountOutcome Dataworks_publicClient::getInstanceStatusCount(const GetInstanceStatusCountRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetInstanceStatusCountOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetInstanceStatusCountOutcome(GetInstanceStatusCountResult(outcome.result())); - else - return GetInstanceStatusCountOutcome(outcome.error()); -} - -void Dataworks_publicClient::getInstanceStatusCountAsync(const GetInstanceStatusCountRequest& request, const GetInstanceStatusCountAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getInstanceStatusCount(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetInstanceStatusCountOutcomeCallable Dataworks_publicClient::getInstanceStatusCountCallable(const GetInstanceStatusCountRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getInstanceStatusCount(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetManualDagInstancesOutcome Dataworks_publicClient::getManualDagInstances(const GetManualDagInstancesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetManualDagInstancesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetManualDagInstancesOutcome(GetManualDagInstancesResult(outcome.result())); - else - return GetManualDagInstancesOutcome(outcome.error()); -} - -void Dataworks_publicClient::getManualDagInstancesAsync(const GetManualDagInstancesRequest& request, const GetManualDagInstancesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getManualDagInstances(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetManualDagInstancesOutcomeCallable Dataworks_publicClient::getManualDagInstancesCallable(const GetManualDagInstancesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getManualDagInstances(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaCategoryOutcome Dataworks_publicClient::getMetaCategory(const GetMetaCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaCategoryOutcome(GetMetaCategoryResult(outcome.result())); - else - return GetMetaCategoryOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaCategoryAsync(const GetMetaCategoryRequest& request, const GetMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaCategoryOutcomeCallable Dataworks_publicClient::getMetaCategoryCallable(const GetMetaCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaColumnLineageOutcome Dataworks_publicClient::getMetaColumnLineage(const GetMetaColumnLineageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaColumnLineageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaColumnLineageOutcome(GetMetaColumnLineageResult(outcome.result())); - else - return GetMetaColumnLineageOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaColumnLineageAsync(const GetMetaColumnLineageRequest& request, const GetMetaColumnLineageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaColumnLineage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaColumnLineageOutcomeCallable Dataworks_publicClient::getMetaColumnLineageCallable(const GetMetaColumnLineageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaColumnLineage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaDBInfoOutcome Dataworks_publicClient::getMetaDBInfo(const GetMetaDBInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaDBInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaDBInfoOutcome(GetMetaDBInfoResult(outcome.result())); - else - return GetMetaDBInfoOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaDBInfoAsync(const GetMetaDBInfoRequest& request, const GetMetaDBInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaDBInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaDBInfoOutcomeCallable Dataworks_publicClient::getMetaDBInfoCallable(const GetMetaDBInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaDBInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaDBTableListOutcome Dataworks_publicClient::getMetaDBTableList(const GetMetaDBTableListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaDBTableListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaDBTableListOutcome(GetMetaDBTableListResult(outcome.result())); - else - return GetMetaDBTableListOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaDBTableListAsync(const GetMetaDBTableListRequest& request, const GetMetaDBTableListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaDBTableList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaDBTableListOutcomeCallable Dataworks_publicClient::getMetaDBTableListCallable(const GetMetaDBTableListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaDBTableList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaTableBasicInfoOutcome Dataworks_publicClient::getMetaTableBasicInfo(const GetMetaTableBasicInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaTableBasicInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaTableBasicInfoOutcome(GetMetaTableBasicInfoResult(outcome.result())); - else - return GetMetaTableBasicInfoOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaTableBasicInfoAsync(const GetMetaTableBasicInfoRequest& request, const GetMetaTableBasicInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaTableBasicInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaTableBasicInfoOutcomeCallable Dataworks_publicClient::getMetaTableBasicInfoCallable(const GetMetaTableBasicInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaTableBasicInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaTableChangeLogOutcome Dataworks_publicClient::getMetaTableChangeLog(const GetMetaTableChangeLogRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaTableChangeLogOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaTableChangeLogOutcome(GetMetaTableChangeLogResult(outcome.result())); - else - return GetMetaTableChangeLogOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaTableChangeLogAsync(const GetMetaTableChangeLogRequest& request, const GetMetaTableChangeLogAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaTableChangeLog(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaTableChangeLogOutcomeCallable Dataworks_publicClient::getMetaTableChangeLogCallable(const GetMetaTableChangeLogRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaTableChangeLog(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaTableColumnOutcome Dataworks_publicClient::getMetaTableColumn(const GetMetaTableColumnRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaTableColumnOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaTableColumnOutcome(GetMetaTableColumnResult(outcome.result())); - else - return GetMetaTableColumnOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaTableColumnAsync(const GetMetaTableColumnRequest& request, const GetMetaTableColumnAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaTableColumn(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaTableColumnOutcomeCallable Dataworks_publicClient::getMetaTableColumnCallable(const GetMetaTableColumnRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaTableColumn(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaTableFullInfoOutcome Dataworks_publicClient::getMetaTableFullInfo(const GetMetaTableFullInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaTableFullInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaTableFullInfoOutcome(GetMetaTableFullInfoResult(outcome.result())); - else - return GetMetaTableFullInfoOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaTableFullInfoAsync(const GetMetaTableFullInfoRequest& request, const GetMetaTableFullInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaTableFullInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaTableFullInfoOutcomeCallable Dataworks_publicClient::getMetaTableFullInfoCallable(const GetMetaTableFullInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaTableFullInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaTableIntroWikiOutcome Dataworks_publicClient::getMetaTableIntroWiki(const GetMetaTableIntroWikiRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaTableIntroWikiOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaTableIntroWikiOutcome(GetMetaTableIntroWikiResult(outcome.result())); - else - return GetMetaTableIntroWikiOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaTableIntroWikiAsync(const GetMetaTableIntroWikiRequest& request, const GetMetaTableIntroWikiAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaTableIntroWiki(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaTableIntroWikiOutcomeCallable Dataworks_publicClient::getMetaTableIntroWikiCallable(const GetMetaTableIntroWikiRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaTableIntroWiki(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaTableLineageOutcome Dataworks_publicClient::getMetaTableLineage(const GetMetaTableLineageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaTableLineageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaTableLineageOutcome(GetMetaTableLineageResult(outcome.result())); - else - return GetMetaTableLineageOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaTableLineageAsync(const GetMetaTableLineageRequest& request, const GetMetaTableLineageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaTableLineage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaTableLineageOutcomeCallable Dataworks_publicClient::getMetaTableLineageCallable(const GetMetaTableLineageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaTableLineage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaTableListByCategoryOutcome Dataworks_publicClient::getMetaTableListByCategory(const GetMetaTableListByCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaTableListByCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaTableListByCategoryOutcome(GetMetaTableListByCategoryResult(outcome.result())); - else - return GetMetaTableListByCategoryOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaTableListByCategoryAsync(const GetMetaTableListByCategoryRequest& request, const GetMetaTableListByCategoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaTableListByCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaTableListByCategoryOutcomeCallable Dataworks_publicClient::getMetaTableListByCategoryCallable(const GetMetaTableListByCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaTableListByCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaTableOutputOutcome Dataworks_publicClient::getMetaTableOutput(const GetMetaTableOutputRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaTableOutputOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaTableOutputOutcome(GetMetaTableOutputResult(outcome.result())); - else - return GetMetaTableOutputOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaTableOutputAsync(const GetMetaTableOutputRequest& request, const GetMetaTableOutputAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaTableOutput(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaTableOutputOutcomeCallable Dataworks_publicClient::getMetaTableOutputCallable(const GetMetaTableOutputRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaTableOutput(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetMetaTablePartitionOutcome Dataworks_publicClient::getMetaTablePartition(const GetMetaTablePartitionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetaTablePartitionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetaTablePartitionOutcome(GetMetaTablePartitionResult(outcome.result())); - else - return GetMetaTablePartitionOutcome(outcome.error()); -} - -void Dataworks_publicClient::getMetaTablePartitionAsync(const GetMetaTablePartitionRequest& request, const GetMetaTablePartitionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetaTablePartition(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetMetaTablePartitionOutcomeCallable Dataworks_publicClient::getMetaTablePartitionCallable(const GetMetaTablePartitionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetaTablePartition(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetNodeOutcome Dataworks_publicClient::getNode(const GetNodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetNodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetNodeOutcome(GetNodeResult(outcome.result())); - else - return GetNodeOutcome(outcome.error()); -} - -void Dataworks_publicClient::getNodeAsync(const GetNodeRequest& request, const GetNodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getNode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetNodeOutcomeCallable Dataworks_publicClient::getNodeCallable(const GetNodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getNode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetNodeChildrenOutcome Dataworks_publicClient::getNodeChildren(const GetNodeChildrenRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetNodeChildrenOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetNodeChildrenOutcome(GetNodeChildrenResult(outcome.result())); - else - return GetNodeChildrenOutcome(outcome.error()); -} - -void Dataworks_publicClient::getNodeChildrenAsync(const GetNodeChildrenRequest& request, const GetNodeChildrenAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getNodeChildren(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetNodeChildrenOutcomeCallable Dataworks_publicClient::getNodeChildrenCallable(const GetNodeChildrenRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getNodeChildren(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetNodeCodeOutcome Dataworks_publicClient::getNodeCode(const GetNodeCodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetNodeCodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetNodeCodeOutcome(GetNodeCodeResult(outcome.result())); - else - return GetNodeCodeOutcome(outcome.error()); -} - -void Dataworks_publicClient::getNodeCodeAsync(const GetNodeCodeRequest& request, const GetNodeCodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getNodeCode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetNodeCodeOutcomeCallable Dataworks_publicClient::getNodeCodeCallable(const GetNodeCodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getNodeCode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetNodeOnBaselineOutcome Dataworks_publicClient::getNodeOnBaseline(const GetNodeOnBaselineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetNodeOnBaselineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetNodeOnBaselineOutcome(GetNodeOnBaselineResult(outcome.result())); - else - return GetNodeOnBaselineOutcome(outcome.error()); -} - -void Dataworks_publicClient::getNodeOnBaselineAsync(const GetNodeOnBaselineRequest& request, const GetNodeOnBaselineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getNodeOnBaseline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetNodeOnBaselineOutcomeCallable Dataworks_publicClient::getNodeOnBaselineCallable(const GetNodeOnBaselineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getNodeOnBaseline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetNodeParentsOutcome Dataworks_publicClient::getNodeParents(const GetNodeParentsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetNodeParentsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetNodeParentsOutcome(GetNodeParentsResult(outcome.result())); - else - return GetNodeParentsOutcome(outcome.error()); -} - -void Dataworks_publicClient::getNodeParentsAsync(const GetNodeParentsRequest& request, const GetNodeParentsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getNodeParents(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetNodeParentsOutcomeCallable Dataworks_publicClient::getNodeParentsCallable(const GetNodeParentsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getNodeParents(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetNodeTypeListInfoOutcome Dataworks_publicClient::getNodeTypeListInfo(const GetNodeTypeListInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetNodeTypeListInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetNodeTypeListInfoOutcome(GetNodeTypeListInfoResult(outcome.result())); - else - return GetNodeTypeListInfoOutcome(outcome.error()); -} - -void Dataworks_publicClient::getNodeTypeListInfoAsync(const GetNodeTypeListInfoRequest& request, const GetNodeTypeListInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getNodeTypeListInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetNodeTypeListInfoOutcomeCallable Dataworks_publicClient::getNodeTypeListInfoCallable(const GetNodeTypeListInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getNodeTypeListInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetOpRiskDataOutcome Dataworks_publicClient::getOpRiskData(const GetOpRiskDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetOpRiskDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetOpRiskDataOutcome(GetOpRiskDataResult(outcome.result())); - else - return GetOpRiskDataOutcome(outcome.error()); -} - -void Dataworks_publicClient::getOpRiskDataAsync(const GetOpRiskDataRequest& request, const GetOpRiskDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getOpRiskData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetOpRiskDataOutcomeCallable Dataworks_publicClient::getOpRiskDataCallable(const GetOpRiskDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getOpRiskData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetOpSensitiveDataOutcome Dataworks_publicClient::getOpSensitiveData(const GetOpSensitiveDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetOpSensitiveDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetOpSensitiveDataOutcome(GetOpSensitiveDataResult(outcome.result())); - else - return GetOpSensitiveDataOutcome(outcome.error()); -} - -void Dataworks_publicClient::getOpSensitiveDataAsync(const GetOpSensitiveDataRequest& request, const GetOpSensitiveDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getOpSensitiveData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetOpSensitiveDataOutcomeCallable Dataworks_publicClient::getOpSensitiveDataCallable(const GetOpSensitiveDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getOpSensitiveData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetProjectDetailOutcome Dataworks_publicClient::getProjectDetail(const GetProjectDetailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetProjectDetailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetProjectDetailOutcome(GetProjectDetailResult(outcome.result())); - else - return GetProjectDetailOutcome(outcome.error()); -} - -void Dataworks_publicClient::getProjectDetailAsync(const GetProjectDetailRequest& request, const GetProjectDetailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getProjectDetail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetProjectDetailOutcomeCallable Dataworks_publicClient::getProjectDetailCallable(const GetProjectDetailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getProjectDetail(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetQualityEntityOutcome Dataworks_publicClient::getQualityEntity(const GetQualityEntityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetQualityEntityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetQualityEntityOutcome(GetQualityEntityResult(outcome.result())); - else - return GetQualityEntityOutcome(outcome.error()); -} - -void Dataworks_publicClient::getQualityEntityAsync(const GetQualityEntityRequest& request, const GetQualityEntityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getQualityEntity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetQualityEntityOutcomeCallable Dataworks_publicClient::getQualityEntityCallable(const GetQualityEntityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getQualityEntity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetQualityFollowerOutcome Dataworks_publicClient::getQualityFollower(const GetQualityFollowerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetQualityFollowerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetQualityFollowerOutcome(GetQualityFollowerResult(outcome.result())); - else - return GetQualityFollowerOutcome(outcome.error()); -} - -void Dataworks_publicClient::getQualityFollowerAsync(const GetQualityFollowerRequest& request, const GetQualityFollowerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getQualityFollower(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetQualityFollowerOutcomeCallable Dataworks_publicClient::getQualityFollowerCallable(const GetQualityFollowerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getQualityFollower(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetQualityRuleOutcome Dataworks_publicClient::getQualityRule(const GetQualityRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetQualityRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetQualityRuleOutcome(GetQualityRuleResult(outcome.result())); - else - return GetQualityRuleOutcome(outcome.error()); -} - -void Dataworks_publicClient::getQualityRuleAsync(const GetQualityRuleRequest& request, const GetQualityRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getQualityRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetQualityRuleOutcomeCallable Dataworks_publicClient::getQualityRuleCallable(const GetQualityRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getQualityRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetRemindOutcome Dataworks_publicClient::getRemind(const GetRemindRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetRemindOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetRemindOutcome(GetRemindResult(outcome.result())); - else - return GetRemindOutcome(outcome.error()); -} - -void Dataworks_publicClient::getRemindAsync(const GetRemindRequest& request, const GetRemindAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getRemind(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetRemindOutcomeCallable Dataworks_publicClient::getRemindCallable(const GetRemindRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getRemind(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetSensitiveDataOutcome Dataworks_publicClient::getSensitiveData(const GetSensitiveDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetSensitiveDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetSensitiveDataOutcome(GetSensitiveDataResult(outcome.result())); - else - return GetSensitiveDataOutcome(outcome.error()); -} - -void Dataworks_publicClient::getSensitiveDataAsync(const GetSensitiveDataRequest& request, const GetSensitiveDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getSensitiveData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetSensitiveDataOutcomeCallable Dataworks_publicClient::getSensitiveDataCallable(const GetSensitiveDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getSensitiveData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetSuccessInstanceTrendOutcome Dataworks_publicClient::getSuccessInstanceTrend(const GetSuccessInstanceTrendRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetSuccessInstanceTrendOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetSuccessInstanceTrendOutcome(GetSuccessInstanceTrendResult(outcome.result())); - else - return GetSuccessInstanceTrendOutcome(outcome.error()); -} - -void Dataworks_publicClient::getSuccessInstanceTrendAsync(const GetSuccessInstanceTrendRequest& request, const GetSuccessInstanceTrendAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getSuccessInstanceTrend(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetSuccessInstanceTrendOutcomeCallable Dataworks_publicClient::getSuccessInstanceTrendCallable(const GetSuccessInstanceTrendRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getSuccessInstanceTrend(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetTopicOutcome Dataworks_publicClient::getTopic(const GetTopicRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetTopicOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetTopicOutcome(GetTopicResult(outcome.result())); - else - return GetTopicOutcome(outcome.error()); -} - -void Dataworks_publicClient::getTopicAsync(const GetTopicRequest& request, const GetTopicAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getTopic(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetTopicOutcomeCallable Dataworks_publicClient::getTopicCallable(const GetTopicRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getTopic(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::GetTopicInfluenceOutcome Dataworks_publicClient::getTopicInfluence(const GetTopicInfluenceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetTopicInfluenceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetTopicInfluenceOutcome(GetTopicInfluenceResult(outcome.result())); - else - return GetTopicInfluenceOutcome(outcome.error()); -} - -void Dataworks_publicClient::getTopicInfluenceAsync(const GetTopicInfluenceRequest& request, const GetTopicInfluenceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getTopicInfluence(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::GetTopicInfluenceOutcomeCallable Dataworks_publicClient::getTopicInfluenceCallable(const GetTopicInfluenceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getTopicInfluence(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListAlertMessagesOutcome Dataworks_publicClient::listAlertMessages(const ListAlertMessagesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListAlertMessagesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListAlertMessagesOutcome(ListAlertMessagesResult(outcome.result())); - else - return ListAlertMessagesOutcome(outcome.error()); -} - -void Dataworks_publicClient::listAlertMessagesAsync(const ListAlertMessagesRequest& request, const ListAlertMessagesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listAlertMessages(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListAlertMessagesOutcomeCallable Dataworks_publicClient::listAlertMessagesCallable(const ListAlertMessagesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listAlertMessages(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListBaselineConfigsOutcome Dataworks_publicClient::listBaselineConfigs(const ListBaselineConfigsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListBaselineConfigsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListBaselineConfigsOutcome(ListBaselineConfigsResult(outcome.result())); - else - return ListBaselineConfigsOutcome(outcome.error()); -} - -void Dataworks_publicClient::listBaselineConfigsAsync(const ListBaselineConfigsRequest& request, const ListBaselineConfigsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listBaselineConfigs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListBaselineConfigsOutcomeCallable Dataworks_publicClient::listBaselineConfigsCallable(const ListBaselineConfigsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listBaselineConfigs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListBaselineStatusesOutcome Dataworks_publicClient::listBaselineStatuses(const ListBaselineStatusesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListBaselineStatusesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListBaselineStatusesOutcome(ListBaselineStatusesResult(outcome.result())); - else - return ListBaselineStatusesOutcome(outcome.error()); -} - -void Dataworks_publicClient::listBaselineStatusesAsync(const ListBaselineStatusesRequest& request, const ListBaselineStatusesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listBaselineStatuses(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListBaselineStatusesOutcomeCallable Dataworks_publicClient::listBaselineStatusesCallable(const ListBaselineStatusesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listBaselineStatuses(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListBusinessOutcome Dataworks_publicClient::listBusiness(const ListBusinessRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListBusinessOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListBusinessOutcome(ListBusinessResult(outcome.result())); - else - return ListBusinessOutcome(outcome.error()); -} - -void Dataworks_publicClient::listBusinessAsync(const ListBusinessRequest& request, const ListBusinessAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listBusiness(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListBusinessOutcomeCallable Dataworks_publicClient::listBusinessCallable(const ListBusinessRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listBusiness(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListCalcEnginesOutcome Dataworks_publicClient::listCalcEngines(const ListCalcEnginesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListCalcEnginesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListCalcEnginesOutcome(ListCalcEnginesResult(outcome.result())); - else - return ListCalcEnginesOutcome(outcome.error()); -} - -void Dataworks_publicClient::listCalcEnginesAsync(const ListCalcEnginesRequest& request, const ListCalcEnginesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listCalcEngines(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListCalcEnginesOutcomeCallable Dataworks_publicClient::listCalcEnginesCallable(const ListCalcEnginesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listCalcEngines(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListConnectionsOutcome Dataworks_publicClient::listConnections(const ListConnectionsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListConnectionsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListConnectionsOutcome(ListConnectionsResult(outcome.result())); - else - return ListConnectionsOutcome(outcome.error()); -} - -void Dataworks_publicClient::listConnectionsAsync(const ListConnectionsRequest& request, const ListConnectionsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listConnections(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListConnectionsOutcomeCallable Dataworks_publicClient::listConnectionsCallable(const ListConnectionsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listConnections(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListDataServiceApiAuthoritiesOutcome Dataworks_publicClient::listDataServiceApiAuthorities(const ListDataServiceApiAuthoritiesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDataServiceApiAuthoritiesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDataServiceApiAuthoritiesOutcome(ListDataServiceApiAuthoritiesResult(outcome.result())); - else - return ListDataServiceApiAuthoritiesOutcome(outcome.error()); -} - -void Dataworks_publicClient::listDataServiceApiAuthoritiesAsync(const ListDataServiceApiAuthoritiesRequest& request, const ListDataServiceApiAuthoritiesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDataServiceApiAuthorities(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListDataServiceApiAuthoritiesOutcomeCallable Dataworks_publicClient::listDataServiceApiAuthoritiesCallable(const ListDataServiceApiAuthoritiesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDataServiceApiAuthorities(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListDataServiceApisOutcome Dataworks_publicClient::listDataServiceApis(const ListDataServiceApisRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDataServiceApisOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDataServiceApisOutcome(ListDataServiceApisResult(outcome.result())); - else - return ListDataServiceApisOutcome(outcome.error()); -} - -void Dataworks_publicClient::listDataServiceApisAsync(const ListDataServiceApisRequest& request, const ListDataServiceApisAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDataServiceApis(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListDataServiceApisOutcomeCallable Dataworks_publicClient::listDataServiceApisCallable(const ListDataServiceApisRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDataServiceApis(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListDataServiceApplicationsOutcome Dataworks_publicClient::listDataServiceApplications(const ListDataServiceApplicationsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDataServiceApplicationsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDataServiceApplicationsOutcome(ListDataServiceApplicationsResult(outcome.result())); - else - return ListDataServiceApplicationsOutcome(outcome.error()); -} - -void Dataworks_publicClient::listDataServiceApplicationsAsync(const ListDataServiceApplicationsRequest& request, const ListDataServiceApplicationsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDataServiceApplications(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListDataServiceApplicationsOutcomeCallable Dataworks_publicClient::listDataServiceApplicationsCallable(const ListDataServiceApplicationsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDataServiceApplications(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListDataServiceAuthorizedApisOutcome Dataworks_publicClient::listDataServiceAuthorizedApis(const ListDataServiceAuthorizedApisRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDataServiceAuthorizedApisOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDataServiceAuthorizedApisOutcome(ListDataServiceAuthorizedApisResult(outcome.result())); - else - return ListDataServiceAuthorizedApisOutcome(outcome.error()); -} - -void Dataworks_publicClient::listDataServiceAuthorizedApisAsync(const ListDataServiceAuthorizedApisRequest& request, const ListDataServiceAuthorizedApisAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDataServiceAuthorizedApis(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListDataServiceAuthorizedApisOutcomeCallable Dataworks_publicClient::listDataServiceAuthorizedApisCallable(const ListDataServiceAuthorizedApisRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDataServiceAuthorizedApis(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListDataServiceFoldersOutcome Dataworks_publicClient::listDataServiceFolders(const ListDataServiceFoldersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDataServiceFoldersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDataServiceFoldersOutcome(ListDataServiceFoldersResult(outcome.result())); - else - return ListDataServiceFoldersOutcome(outcome.error()); -} - -void Dataworks_publicClient::listDataServiceFoldersAsync(const ListDataServiceFoldersRequest& request, const ListDataServiceFoldersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDataServiceFolders(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListDataServiceFoldersOutcomeCallable Dataworks_publicClient::listDataServiceFoldersCallable(const ListDataServiceFoldersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDataServiceFolders(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListDataServiceGroupsOutcome Dataworks_publicClient::listDataServiceGroups(const ListDataServiceGroupsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDataServiceGroupsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDataServiceGroupsOutcome(ListDataServiceGroupsResult(outcome.result())); - else - return ListDataServiceGroupsOutcome(outcome.error()); -} - -void Dataworks_publicClient::listDataServiceGroupsAsync(const ListDataServiceGroupsRequest& request, const ListDataServiceGroupsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDataServiceGroups(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListDataServiceGroupsOutcomeCallable Dataworks_publicClient::listDataServiceGroupsCallable(const ListDataServiceGroupsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDataServiceGroups(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListDataServicePublishedApisOutcome Dataworks_publicClient::listDataServicePublishedApis(const ListDataServicePublishedApisRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDataServicePublishedApisOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDataServicePublishedApisOutcome(ListDataServicePublishedApisResult(outcome.result())); - else - return ListDataServicePublishedApisOutcome(outcome.error()); -} - -void Dataworks_publicClient::listDataServicePublishedApisAsync(const ListDataServicePublishedApisRequest& request, const ListDataServicePublishedApisAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDataServicePublishedApis(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListDataServicePublishedApisOutcomeCallable Dataworks_publicClient::listDataServicePublishedApisCallable(const ListDataServicePublishedApisRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDataServicePublishedApis(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListFileVersionsOutcome Dataworks_publicClient::listFileVersions(const ListFileVersionsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListFileVersionsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListFileVersionsOutcome(ListFileVersionsResult(outcome.result())); - else - return ListFileVersionsOutcome(outcome.error()); -} - -void Dataworks_publicClient::listFileVersionsAsync(const ListFileVersionsRequest& request, const ListFileVersionsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listFileVersions(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListFileVersionsOutcomeCallable Dataworks_publicClient::listFileVersionsCallable(const ListFileVersionsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listFileVersions(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListFilesOutcome Dataworks_publicClient::listFiles(const ListFilesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListFilesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListFilesOutcome(ListFilesResult(outcome.result())); - else - return ListFilesOutcome(outcome.error()); -} - -void Dataworks_publicClient::listFilesAsync(const ListFilesRequest& request, const ListFilesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listFiles(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListFilesOutcomeCallable Dataworks_publicClient::listFilesCallable(const ListFilesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listFiles(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListFoldersOutcome Dataworks_publicClient::listFolders(const ListFoldersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListFoldersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListFoldersOutcome(ListFoldersResult(outcome.result())); - else - return ListFoldersOutcome(outcome.error()); -} - -void Dataworks_publicClient::listFoldersAsync(const ListFoldersRequest& request, const ListFoldersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listFolders(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListFoldersOutcomeCallable Dataworks_publicClient::listFoldersCallable(const ListFoldersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listFolders(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListInstancesOutcome Dataworks_publicClient::listInstances(const ListInstancesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListInstancesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListInstancesOutcome(ListInstancesResult(outcome.result())); - else - return ListInstancesOutcome(outcome.error()); -} - -void Dataworks_publicClient::listInstancesAsync(const ListInstancesRequest& request, const ListInstancesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listInstances(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListInstancesOutcomeCallable Dataworks_publicClient::listInstancesCallable(const ListInstancesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listInstances(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListMetaDBOutcome Dataworks_publicClient::listMetaDB(const ListMetaDBRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListMetaDBOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListMetaDBOutcome(ListMetaDBResult(outcome.result())); - else - return ListMetaDBOutcome(outcome.error()); -} - -void Dataworks_publicClient::listMetaDBAsync(const ListMetaDBRequest& request, const ListMetaDBAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listMetaDB(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListMetaDBOutcomeCallable Dataworks_publicClient::listMetaDBCallable(const ListMetaDBRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listMetaDB(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListNodeIOOutcome Dataworks_publicClient::listNodeIO(const ListNodeIORequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListNodeIOOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListNodeIOOutcome(ListNodeIOResult(outcome.result())); - else - return ListNodeIOOutcome(outcome.error()); -} - -void Dataworks_publicClient::listNodeIOAsync(const ListNodeIORequest& request, const ListNodeIOAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listNodeIO(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListNodeIOOutcomeCallable Dataworks_publicClient::listNodeIOCallable(const ListNodeIORequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listNodeIO(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListNodesOutcome Dataworks_publicClient::listNodes(const ListNodesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListNodesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListNodesOutcome(ListNodesResult(outcome.result())); - else - return ListNodesOutcome(outcome.error()); -} - -void Dataworks_publicClient::listNodesAsync(const ListNodesRequest& request, const ListNodesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listNodes(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListNodesOutcomeCallable Dataworks_publicClient::listNodesCallable(const ListNodesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listNodes(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListProgramTypeCountOutcome Dataworks_publicClient::listProgramTypeCount(const ListProgramTypeCountRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListProgramTypeCountOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListProgramTypeCountOutcome(ListProgramTypeCountResult(outcome.result())); - else - return ListProgramTypeCountOutcome(outcome.error()); -} - -void Dataworks_publicClient::listProgramTypeCountAsync(const ListProgramTypeCountRequest& request, const ListProgramTypeCountAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listProgramTypeCount(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListProgramTypeCountOutcomeCallable Dataworks_publicClient::listProgramTypeCountCallable(const ListProgramTypeCountRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listProgramTypeCount(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListProjectMembersOutcome Dataworks_publicClient::listProjectMembers(const ListProjectMembersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListProjectMembersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListProjectMembersOutcome(ListProjectMembersResult(outcome.result())); - else - return ListProjectMembersOutcome(outcome.error()); -} - -void Dataworks_publicClient::listProjectMembersAsync(const ListProjectMembersRequest& request, const ListProjectMembersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listProjectMembers(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListProjectMembersOutcomeCallable Dataworks_publicClient::listProjectMembersCallable(const ListProjectMembersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listProjectMembers(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListProjectRolesOutcome Dataworks_publicClient::listProjectRoles(const ListProjectRolesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListProjectRolesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListProjectRolesOutcome(ListProjectRolesResult(outcome.result())); - else - return ListProjectRolesOutcome(outcome.error()); -} - -void Dataworks_publicClient::listProjectRolesAsync(const ListProjectRolesRequest& request, const ListProjectRolesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listProjectRoles(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListProjectRolesOutcomeCallable Dataworks_publicClient::listProjectRolesCallable(const ListProjectRolesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listProjectRoles(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListProjectsOutcome Dataworks_publicClient::listProjects(const ListProjectsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListProjectsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListProjectsOutcome(ListProjectsResult(outcome.result())); - else - return ListProjectsOutcome(outcome.error()); -} - -void Dataworks_publicClient::listProjectsAsync(const ListProjectsRequest& request, const ListProjectsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listProjects(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListProjectsOutcomeCallable Dataworks_publicClient::listProjectsCallable(const ListProjectsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listProjects(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListQualityResultsByEntityOutcome Dataworks_publicClient::listQualityResultsByEntity(const ListQualityResultsByEntityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListQualityResultsByEntityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListQualityResultsByEntityOutcome(ListQualityResultsByEntityResult(outcome.result())); - else - return ListQualityResultsByEntityOutcome(outcome.error()); -} - -void Dataworks_publicClient::listQualityResultsByEntityAsync(const ListQualityResultsByEntityRequest& request, const ListQualityResultsByEntityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listQualityResultsByEntity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListQualityResultsByEntityOutcomeCallable Dataworks_publicClient::listQualityResultsByEntityCallable(const ListQualityResultsByEntityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listQualityResultsByEntity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListQualityResultsByRuleOutcome Dataworks_publicClient::listQualityResultsByRule(const ListQualityResultsByRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListQualityResultsByRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListQualityResultsByRuleOutcome(ListQualityResultsByRuleResult(outcome.result())); - else - return ListQualityResultsByRuleOutcome(outcome.error()); -} - -void Dataworks_publicClient::listQualityResultsByRuleAsync(const ListQualityResultsByRuleRequest& request, const ListQualityResultsByRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listQualityResultsByRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListQualityResultsByRuleOutcomeCallable Dataworks_publicClient::listQualityResultsByRuleCallable(const ListQualityResultsByRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listQualityResultsByRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListQualityRulesOutcome Dataworks_publicClient::listQualityRules(const ListQualityRulesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListQualityRulesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListQualityRulesOutcome(ListQualityRulesResult(outcome.result())); - else - return ListQualityRulesOutcome(outcome.error()); -} - -void Dataworks_publicClient::listQualityRulesAsync(const ListQualityRulesRequest& request, const ListQualityRulesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listQualityRules(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListQualityRulesOutcomeCallable Dataworks_publicClient::listQualityRulesCallable(const ListQualityRulesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listQualityRules(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListRemindsOutcome Dataworks_publicClient::listReminds(const ListRemindsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListRemindsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListRemindsOutcome(ListRemindsResult(outcome.result())); - else - return ListRemindsOutcome(outcome.error()); -} - -void Dataworks_publicClient::listRemindsAsync(const ListRemindsRequest& request, const ListRemindsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listReminds(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListRemindsOutcomeCallable Dataworks_publicClient::listRemindsCallable(const ListRemindsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listReminds(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListResourceGroupsOutcome Dataworks_publicClient::listResourceGroups(const ListResourceGroupsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListResourceGroupsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListResourceGroupsOutcome(ListResourceGroupsResult(outcome.result())); - else - return ListResourceGroupsOutcome(outcome.error()); -} - -void Dataworks_publicClient::listResourceGroupsAsync(const ListResourceGroupsRequest& request, const ListResourceGroupsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listResourceGroups(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListResourceGroupsOutcomeCallable Dataworks_publicClient::listResourceGroupsCallable(const ListResourceGroupsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listResourceGroups(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListTableLevelOutcome Dataworks_publicClient::listTableLevel(const ListTableLevelRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTableLevelOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTableLevelOutcome(ListTableLevelResult(outcome.result())); - else - return ListTableLevelOutcome(outcome.error()); -} - -void Dataworks_publicClient::listTableLevelAsync(const ListTableLevelRequest& request, const ListTableLevelAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTableLevel(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListTableLevelOutcomeCallable Dataworks_publicClient::listTableLevelCallable(const ListTableLevelRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTableLevel(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListTableThemeOutcome Dataworks_publicClient::listTableTheme(const ListTableThemeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTableThemeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTableThemeOutcome(ListTableThemeResult(outcome.result())); - else - return ListTableThemeOutcome(outcome.error()); -} - -void Dataworks_publicClient::listTableThemeAsync(const ListTableThemeRequest& request, const ListTableThemeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTableTheme(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListTableThemeOutcomeCallable Dataworks_publicClient::listTableThemeCallable(const ListTableThemeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTableTheme(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ListTopicsOutcome Dataworks_publicClient::listTopics(const ListTopicsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTopicsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTopicsOutcome(ListTopicsResult(outcome.result())); - else - return ListTopicsOutcome(outcome.error()); -} - -void Dataworks_publicClient::listTopicsAsync(const ListTopicsRequest& request, const ListTopicsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTopics(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ListTopicsOutcomeCallable Dataworks_publicClient::listTopicsCallable(const ListTopicsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTopics(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::PublishDataServiceApiOutcome Dataworks_publicClient::publishDataServiceApi(const PublishDataServiceApiRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PublishDataServiceApiOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PublishDataServiceApiOutcome(PublishDataServiceApiResult(outcome.result())); - else - return PublishDataServiceApiOutcome(outcome.error()); -} - -void Dataworks_publicClient::publishDataServiceApiAsync(const PublishDataServiceApiRequest& request, const PublishDataServiceApiAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, publishDataServiceApi(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::PublishDataServiceApiOutcomeCallable Dataworks_publicClient::publishDataServiceApiCallable(const PublishDataServiceApiRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->publishDataServiceApi(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::RemoveProjectMemberFromRoleOutcome Dataworks_publicClient::removeProjectMemberFromRole(const RemoveProjectMemberFromRoleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RemoveProjectMemberFromRoleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RemoveProjectMemberFromRoleOutcome(RemoveProjectMemberFromRoleResult(outcome.result())); - else - return RemoveProjectMemberFromRoleOutcome(outcome.error()); -} - -void Dataworks_publicClient::removeProjectMemberFromRoleAsync(const RemoveProjectMemberFromRoleRequest& request, const RemoveProjectMemberFromRoleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, removeProjectMemberFromRole(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::RemoveProjectMemberFromRoleOutcomeCallable Dataworks_publicClient::removeProjectMemberFromRoleCallable(const RemoveProjectMemberFromRoleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->removeProjectMemberFromRole(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::RestartInstanceOutcome Dataworks_publicClient::restartInstance(const RestartInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RestartInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RestartInstanceOutcome(RestartInstanceResult(outcome.result())); - else - return RestartInstanceOutcome(outcome.error()); -} - -void Dataworks_publicClient::restartInstanceAsync(const RestartInstanceRequest& request, const RestartInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, restartInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::RestartInstanceOutcomeCallable Dataworks_publicClient::restartInstanceCallable(const RestartInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->restartInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ResumeInstanceOutcome Dataworks_publicClient::resumeInstance(const ResumeInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ResumeInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ResumeInstanceOutcome(ResumeInstanceResult(outcome.result())); - else - return ResumeInstanceOutcome(outcome.error()); -} - -void Dataworks_publicClient::resumeInstanceAsync(const ResumeInstanceRequest& request, const ResumeInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, resumeInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ResumeInstanceOutcomeCallable Dataworks_publicClient::resumeInstanceCallable(const ResumeInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->resumeInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::RunTriggerNodeOutcome Dataworks_publicClient::runTriggerNode(const RunTriggerNodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RunTriggerNodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RunTriggerNodeOutcome(RunTriggerNodeResult(outcome.result())); - else - return RunTriggerNodeOutcome(outcome.error()); -} - -void Dataworks_publicClient::runTriggerNodeAsync(const RunTriggerNodeRequest& request, const RunTriggerNodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, runTriggerNode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::RunTriggerNodeOutcomeCallable Dataworks_publicClient::runTriggerNodeCallable(const RunTriggerNodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->runTriggerNode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::ScanSensitiveDataOutcome Dataworks_publicClient::scanSensitiveData(const ScanSensitiveDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ScanSensitiveDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ScanSensitiveDataOutcome(ScanSensitiveDataResult(outcome.result())); - else - return ScanSensitiveDataOutcome(outcome.error()); -} - -void Dataworks_publicClient::scanSensitiveDataAsync(const ScanSensitiveDataRequest& request, const ScanSensitiveDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, scanSensitiveData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::ScanSensitiveDataOutcomeCallable Dataworks_publicClient::scanSensitiveDataCallable(const ScanSensitiveDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->scanSensitiveData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::SearchMetaTablesOutcome Dataworks_publicClient::searchMetaTables(const SearchMetaTablesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SearchMetaTablesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SearchMetaTablesOutcome(SearchMetaTablesResult(outcome.result())); - else - return SearchMetaTablesOutcome(outcome.error()); -} - -void Dataworks_publicClient::searchMetaTablesAsync(const SearchMetaTablesRequest& request, const SearchMetaTablesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, searchMetaTables(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::SearchMetaTablesOutcomeCallable Dataworks_publicClient::searchMetaTablesCallable(const SearchMetaTablesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->searchMetaTables(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::SearchNodesByOutputOutcome Dataworks_publicClient::searchNodesByOutput(const SearchNodesByOutputRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SearchNodesByOutputOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SearchNodesByOutputOutcome(SearchNodesByOutputResult(outcome.result())); - else - return SearchNodesByOutputOutcome(outcome.error()); -} - -void Dataworks_publicClient::searchNodesByOutputAsync(const SearchNodesByOutputRequest& request, const SearchNodesByOutputAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, searchNodesByOutput(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::SearchNodesByOutputOutcomeCallable Dataworks_publicClient::searchNodesByOutputCallable(const SearchNodesByOutputRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->searchNodesByOutput(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::SetSuccessInstanceOutcome Dataworks_publicClient::setSuccessInstance(const SetSuccessInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetSuccessInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetSuccessInstanceOutcome(SetSuccessInstanceResult(outcome.result())); - else - return SetSuccessInstanceOutcome(outcome.error()); -} - -void Dataworks_publicClient::setSuccessInstanceAsync(const SetSuccessInstanceRequest& request, const SetSuccessInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setSuccessInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::SetSuccessInstanceOutcomeCallable Dataworks_publicClient::setSuccessInstanceCallable(const SetSuccessInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setSuccessInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::StopInstanceOutcome Dataworks_publicClient::stopInstance(const StopInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StopInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StopInstanceOutcome(StopInstanceResult(outcome.result())); - else - return StopInstanceOutcome(outcome.error()); -} - -void Dataworks_publicClient::stopInstanceAsync(const StopInstanceRequest& request, const StopInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, stopInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::StopInstanceOutcomeCallable Dataworks_publicClient::stopInstanceCallable(const StopInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->stopInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::SubmitFileOutcome Dataworks_publicClient::submitFile(const SubmitFileRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitFileOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitFileOutcome(SubmitFileResult(outcome.result())); - else - return SubmitFileOutcome(outcome.error()); -} - -void Dataworks_publicClient::submitFileAsync(const SubmitFileRequest& request, const SubmitFileAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitFile(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::SubmitFileOutcomeCallable Dataworks_publicClient::submitFileCallable(const SubmitFileRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitFile(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::SuspendInstanceOutcome Dataworks_publicClient::suspendInstance(const SuspendInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SuspendInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SuspendInstanceOutcome(SuspendInstanceResult(outcome.result())); - else - return SuspendInstanceOutcome(outcome.error()); -} - -void Dataworks_publicClient::suspendInstanceAsync(const SuspendInstanceRequest& request, const SuspendInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, suspendInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::SuspendInstanceOutcomeCallable Dataworks_publicClient::suspendInstanceCallable(const SuspendInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->suspendInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateBusinessOutcome Dataworks_publicClient::updateBusiness(const UpdateBusinessRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateBusinessOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateBusinessOutcome(UpdateBusinessResult(outcome.result())); - else - return UpdateBusinessOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateBusinessAsync(const UpdateBusinessRequest& request, const UpdateBusinessAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateBusiness(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateBusinessOutcomeCallable Dataworks_publicClient::updateBusinessCallable(const UpdateBusinessRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateBusiness(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateConnectionOutcome Dataworks_publicClient::updateConnection(const UpdateConnectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateConnectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateConnectionOutcome(UpdateConnectionResult(outcome.result())); - else - return UpdateConnectionOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateConnectionAsync(const UpdateConnectionRequest& request, const UpdateConnectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateConnection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateConnectionOutcomeCallable Dataworks_publicClient::updateConnectionCallable(const UpdateConnectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateConnection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateDataServiceApiOutcome Dataworks_publicClient::updateDataServiceApi(const UpdateDataServiceApiRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateDataServiceApiOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateDataServiceApiOutcome(UpdateDataServiceApiResult(outcome.result())); - else - return UpdateDataServiceApiOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateDataServiceApiAsync(const UpdateDataServiceApiRequest& request, const UpdateDataServiceApiAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateDataServiceApi(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateDataServiceApiOutcomeCallable Dataworks_publicClient::updateDataServiceApiCallable(const UpdateDataServiceApiRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateDataServiceApi(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateFileOutcome Dataworks_publicClient::updateFile(const UpdateFileRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateFileOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateFileOutcome(UpdateFileResult(outcome.result())); - else - return UpdateFileOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateFileAsync(const UpdateFileRequest& request, const UpdateFileAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateFile(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateFileOutcomeCallable Dataworks_publicClient::updateFileCallable(const UpdateFileRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateFile(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateFolderOutcome Dataworks_publicClient::updateFolder(const UpdateFolderRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateFolderOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateFolderOutcome(UpdateFolderResult(outcome.result())); - else - return UpdateFolderOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateFolderAsync(const UpdateFolderRequest& request, const UpdateFolderAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateFolder(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateFolderOutcomeCallable Dataworks_publicClient::updateFolderCallable(const UpdateFolderRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateFolder(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateMetaCategoryOutcome Dataworks_publicClient::updateMetaCategory(const UpdateMetaCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateMetaCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateMetaCategoryOutcome(UpdateMetaCategoryResult(outcome.result())); - else - return UpdateMetaCategoryOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateMetaCategoryAsync(const UpdateMetaCategoryRequest& request, const UpdateMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateMetaCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateMetaCategoryOutcomeCallable Dataworks_publicClient::updateMetaCategoryCallable(const UpdateMetaCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateMetaCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateMetaTableOutcome Dataworks_publicClient::updateMetaTable(const UpdateMetaTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateMetaTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateMetaTableOutcome(UpdateMetaTableResult(outcome.result())); - else - return UpdateMetaTableOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateMetaTableAsync(const UpdateMetaTableRequest& request, const UpdateMetaTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateMetaTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateMetaTableOutcomeCallable Dataworks_publicClient::updateMetaTableCallable(const UpdateMetaTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateMetaTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateMetaTableIntroWikiOutcome Dataworks_publicClient::updateMetaTableIntroWiki(const UpdateMetaTableIntroWikiRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateMetaTableIntroWikiOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateMetaTableIntroWikiOutcome(UpdateMetaTableIntroWikiResult(outcome.result())); - else - return UpdateMetaTableIntroWikiOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateMetaTableIntroWikiAsync(const UpdateMetaTableIntroWikiRequest& request, const UpdateMetaTableIntroWikiAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateMetaTableIntroWiki(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateMetaTableIntroWikiOutcomeCallable Dataworks_publicClient::updateMetaTableIntroWikiCallable(const UpdateMetaTableIntroWikiRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateMetaTableIntroWiki(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateQualityFollowerOutcome Dataworks_publicClient::updateQualityFollower(const UpdateQualityFollowerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateQualityFollowerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateQualityFollowerOutcome(UpdateQualityFollowerResult(outcome.result())); - else - return UpdateQualityFollowerOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateQualityFollowerAsync(const UpdateQualityFollowerRequest& request, const UpdateQualityFollowerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateQualityFollower(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateQualityFollowerOutcomeCallable Dataworks_publicClient::updateQualityFollowerCallable(const UpdateQualityFollowerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateQualityFollower(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateQualityRuleOutcome Dataworks_publicClient::updateQualityRule(const UpdateQualityRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateQualityRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateQualityRuleOutcome(UpdateQualityRuleResult(outcome.result())); - else - return UpdateQualityRuleOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateQualityRuleAsync(const UpdateQualityRuleRequest& request, const UpdateQualityRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateQualityRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateQualityRuleOutcomeCallable Dataworks_publicClient::updateQualityRuleCallable(const UpdateQualityRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateQualityRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateRemindOutcome Dataworks_publicClient::updateRemind(const UpdateRemindRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateRemindOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateRemindOutcome(UpdateRemindResult(outcome.result())); - else - return UpdateRemindOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateRemindAsync(const UpdateRemindRequest& request, const UpdateRemindAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateRemind(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateRemindOutcomeCallable Dataworks_publicClient::updateRemindCallable(const UpdateRemindRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateRemind(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateTableOutcome Dataworks_publicClient::updateTable(const UpdateTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateTableOutcome(UpdateTableResult(outcome.result())); - else - return UpdateTableOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateTableAsync(const UpdateTableRequest& request, const UpdateTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateTableOutcomeCallable Dataworks_publicClient::updateTableCallable(const UpdateTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateTableLevelOutcome Dataworks_publicClient::updateTableLevel(const UpdateTableLevelRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateTableLevelOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateTableLevelOutcome(UpdateTableLevelResult(outcome.result())); - else - return UpdateTableLevelOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateTableLevelAsync(const UpdateTableLevelRequest& request, const UpdateTableLevelAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateTableLevel(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateTableLevelOutcomeCallable Dataworks_publicClient::updateTableLevelCallable(const UpdateTableLevelRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateTableLevel(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateTableModelInfoOutcome Dataworks_publicClient::updateTableModelInfo(const UpdateTableModelInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateTableModelInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateTableModelInfoOutcome(UpdateTableModelInfoResult(outcome.result())); - else - return UpdateTableModelInfoOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateTableModelInfoAsync(const UpdateTableModelInfoRequest& request, const UpdateTableModelInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateTableModelInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateTableModelInfoOutcomeCallable Dataworks_publicClient::updateTableModelInfoCallable(const UpdateTableModelInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateTableModelInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateTableThemeOutcome Dataworks_publicClient::updateTableTheme(const UpdateTableThemeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateTableThemeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateTableThemeOutcome(UpdateTableThemeResult(outcome.result())); - else - return UpdateTableThemeOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateTableThemeAsync(const UpdateTableThemeRequest& request, const UpdateTableThemeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateTableTheme(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateTableThemeOutcomeCallable Dataworks_publicClient::updateTableThemeCallable(const UpdateTableThemeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateTableTheme(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::UpdateUdfFileOutcome Dataworks_publicClient::updateUdfFile(const UpdateUdfFileRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateUdfFileOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateUdfFileOutcome(UpdateUdfFileResult(outcome.result())); - else - return UpdateUdfFileOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateUdfFileAsync(const UpdateUdfFileRequest& request, const UpdateUdfFileAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateUdfFile(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateUdfFileOutcomeCallable Dataworks_publicClient::updateUdfFileCallable(const UpdateUdfFileRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateUdfFile(request); + return this->searchManualDagNodeInstance(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); diff --git a/dataworks-public/src/model/AbolishDataServiceApiRequest.cc b/dataworks-public/src/model/AbolishDataServiceApiRequest.cc deleted file mode 100644 index 58fbc7a89..000000000 --- a/dataworks-public/src/model/AbolishDataServiceApiRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::AbolishDataServiceApiRequest; - -AbolishDataServiceApiRequest::AbolishDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "AbolishDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -AbolishDataServiceApiRequest::~AbolishDataServiceApiRequest() -{} - -long AbolishDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void AbolishDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long AbolishDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void AbolishDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long AbolishDataServiceApiRequest::getApiId()const -{ - return apiId_; -} - -void AbolishDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/AbolishDataServiceApiResult.cc b/dataworks-public/src/model/AbolishDataServiceApiResult.cc deleted file mode 100644 index 3d8e94688..000000000 --- a/dataworks-public/src/model/AbolishDataServiceApiResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -AbolishDataServiceApiResult::AbolishDataServiceApiResult() : - ServiceResult() -{} - -AbolishDataServiceApiResult::AbolishDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AbolishDataServiceApiResult::~AbolishDataServiceApiResult() -{} - -void AbolishDataServiceApiResult::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["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int AbolishDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool AbolishDataServiceApiResult::getData()const -{ - return data_; -} - -std::string AbolishDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string AbolishDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool AbolishDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/AddProjectMemberToRoleRequest.cc b/dataworks-public/src/model/AddProjectMemberToRoleRequest.cc deleted file mode 100644 index 9306a545c..000000000 --- a/dataworks-public/src/model/AddProjectMemberToRoleRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::AddProjectMemberToRoleRequest; - -AddProjectMemberToRoleRequest::AddProjectMemberToRoleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "AddProjectMemberToRole") -{ - setMethod(HttpRequest::Method::Post); -} - -AddProjectMemberToRoleRequest::~AddProjectMemberToRoleRequest() -{} - -std::string AddProjectMemberToRoleRequest::getRoleCode()const -{ - return roleCode_; -} - -void AddProjectMemberToRoleRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setParameter("RoleCode", roleCode); -} - -std::string AddProjectMemberToRoleRequest::getClientToken()const -{ - return clientToken_; -} - -void AddProjectMemberToRoleRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); -} - -long AddProjectMemberToRoleRequest::getProjectId()const -{ - return projectId_; -} - -void AddProjectMemberToRoleRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -std::string AddProjectMemberToRoleRequest::getUserId()const -{ - return userId_; -} - -void AddProjectMemberToRoleRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/dataworks-public/src/model/AddProjectMemberToRoleResult.cc b/dataworks-public/src/model/AddProjectMemberToRoleResult.cc deleted file mode 100644 index d1a674ee3..000000000 --- a/dataworks-public/src/model/AddProjectMemberToRoleResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -AddProjectMemberToRoleResult::AddProjectMemberToRoleResult() : - ServiceResult() -{} - -AddProjectMemberToRoleResult::AddProjectMemberToRoleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddProjectMemberToRoleResult::~AddProjectMemberToRoleResult() -{} - -void AddProjectMemberToRoleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/dataworks-public/src/model/AddToMetaCategoryRequest.cc b/dataworks-public/src/model/AddToMetaCategoryRequest.cc deleted file mode 100644 index ae43ae07c..000000000 --- a/dataworks-public/src/model/AddToMetaCategoryRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::AddToMetaCategoryRequest; - -AddToMetaCategoryRequest::AddToMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "AddToMetaCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -AddToMetaCategoryRequest::~AddToMetaCategoryRequest() -{} - -std::string AddToMetaCategoryRequest::getTableGuid()const -{ - return tableGuid_; -} - -void AddToMetaCategoryRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -long AddToMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void AddToMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/AddToMetaCategoryResult.cc b/dataworks-public/src/model/AddToMetaCategoryResult.cc deleted file mode 100644 index 9088e4ae0..000000000 --- a/dataworks-public/src/model/AddToMetaCategoryResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -AddToMetaCategoryResult::AddToMetaCategoryResult() : - ServiceResult() -{} - -AddToMetaCategoryResult::AddToMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddToMetaCategoryResult::~AddToMetaCategoryResult() -{} - -void AddToMetaCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int AddToMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool AddToMetaCategoryResult::getData()const -{ - return data_; -} - -std::string AddToMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string AddToMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool AddToMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetTopicRequest.cc b/dataworks-public/src/model/CheckCallbackRequest.cc similarity index 53% rename from dataworks-public/src/model/GetTopicRequest.cc rename to dataworks-public/src/model/CheckCallbackRequest.cc index 7486af2a4..a1c6e1f06 100644 --- a/dataworks-public/src/model/GetTopicRequest.cc +++ b/dataworks-public/src/model/CheckCallbackRequest.cc @@ -14,27 +14,27 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Dataworks_public::Model::GetTopicRequest; +using AlibabaCloud::Dataworks_public::Model::CheckCallbackRequest; -GetTopicRequest::GetTopicRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopic") +CheckCallbackRequest::CheckCallbackRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "CheckCallback") { setMethod(HttpRequest::Method::Post); } -GetTopicRequest::~GetTopicRequest() +CheckCallbackRequest::~CheckCallbackRequest() {} -long GetTopicRequest::getTopicId()const +std::string CheckCallbackRequest::getCallbackResultString()const { - return topicId_; + return callbackResultString_; } -void GetTopicRequest::setTopicId(long topicId) +void CheckCallbackRequest::setCallbackResultString(const std::string& callbackResultString) { - topicId_ = topicId; - setBodyParameter("TopicId", std::to_string(topicId)); + callbackResultString_ = callbackResultString; + setBodyParameter("CallbackResultString", callbackResultString); } diff --git a/dataworks-public/src/model/GetOpRiskDataResult.cc b/dataworks-public/src/model/CheckCallbackResult.cc similarity index 61% rename from dataworks-public/src/model/GetOpRiskDataResult.cc rename to dataworks-public/src/model/CheckCallbackResult.cc index 82af259a9..7cb955bc8 100644 --- a/dataworks-public/src/model/GetOpRiskDataResult.cc +++ b/dataworks-public/src/model/CheckCallbackResult.cc @@ -14,38 +14,45 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -GetOpRiskDataResult::GetOpRiskDataResult() : +CheckCallbackResult::CheckCallbackResult() : ServiceResult() {} -GetOpRiskDataResult::GetOpRiskDataResult(const std::string &payload) : +CheckCallbackResult::CheckCallbackResult(const std::string &payload) : ServiceResult() { parse(payload); } -GetOpRiskDataResult::~GetOpRiskDataResult() +CheckCallbackResult::~CheckCallbackResult() {} -void GetOpRiskDataResult::parse(const std::string &payload) +void CheckCallbackResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["RiskData"].isNull()) - riskData_ = value["RiskData"].asString(); + if(!value["ReturnCode"].isNull()) + returnCode_ = value["ReturnCode"].asString(); + if(!value["ReturnValue"].isNull()) + returnValue_ = value["ReturnValue"].asString() == "true"; } -std::string GetOpRiskDataResult::getRiskData()const +std::string CheckCallbackResult::getReturnCode()const { - return riskData_; + return returnCode_; +} + +bool CheckCallbackResult::getReturnValue()const +{ + return returnValue_; } diff --git a/dataworks-public/src/model/CheckMetaPartitionRequest.cc b/dataworks-public/src/model/CheckMetaPartitionRequest.cc deleted file mode 100644 index e86b273a6..000000000 --- a/dataworks-public/src/model/CheckMetaPartitionRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CheckMetaPartitionRequest; - -CheckMetaPartitionRequest::CheckMetaPartitionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaPartition") -{ - setMethod(HttpRequest::Method::Post); -} - -CheckMetaPartitionRequest::~CheckMetaPartitionRequest() -{} - -std::string CheckMetaPartitionRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void CheckMetaPartitionRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string CheckMetaPartitionRequest::getPartition()const -{ - return partition_; -} - -void CheckMetaPartitionRequest::setPartition(const std::string& partition) -{ - partition_ = partition; - setParameter("Partition", partition); -} - -std::string CheckMetaPartitionRequest::getTableGuid()const -{ - return tableGuid_; -} - -void CheckMetaPartitionRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -std::string CheckMetaPartitionRequest::getDatabaseName()const -{ - return databaseName_; -} - -void CheckMetaPartitionRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); -} - -std::string CheckMetaPartitionRequest::getClusterId()const -{ - return clusterId_; -} - -void CheckMetaPartitionRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CheckMetaPartitionRequest::getTableName()const -{ - return tableName_; -} - -void CheckMetaPartitionRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - diff --git a/dataworks-public/src/model/CheckMetaPartitionResult.cc b/dataworks-public/src/model/CheckMetaPartitionResult.cc deleted file mode 100644 index a70298480..000000000 --- a/dataworks-public/src/model/CheckMetaPartitionResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CheckMetaPartitionResult::CheckMetaPartitionResult() : - ServiceResult() -{} - -CheckMetaPartitionResult::CheckMetaPartitionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckMetaPartitionResult::~CheckMetaPartitionResult() -{} - -void CheckMetaPartitionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int CheckMetaPartitionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool CheckMetaPartitionResult::getData()const -{ - return data_; -} - -std::string CheckMetaPartitionResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CheckMetaPartitionResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CheckMetaPartitionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CheckMetaTableRequest.cc b/dataworks-public/src/model/CheckMetaTableRequest.cc deleted file mode 100644 index 3617d53eb..000000000 --- a/dataworks-public/src/model/CheckMetaTableRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CheckMetaTableRequest; - -CheckMetaTableRequest::CheckMetaTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaTable") -{ - setMethod(HttpRequest::Method::Post); -} - -CheckMetaTableRequest::~CheckMetaTableRequest() -{} - -std::string CheckMetaTableRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void CheckMetaTableRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string CheckMetaTableRequest::getTableGuid()const -{ - return tableGuid_; -} - -void CheckMetaTableRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -std::string CheckMetaTableRequest::getDatabaseName()const -{ - return databaseName_; -} - -void CheckMetaTableRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); -} - -std::string CheckMetaTableRequest::getClusterId()const -{ - return clusterId_; -} - -void CheckMetaTableRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CheckMetaTableRequest::getTableName()const -{ - return tableName_; -} - -void CheckMetaTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - diff --git a/dataworks-public/src/model/CheckMetaTableResult.cc b/dataworks-public/src/model/CheckMetaTableResult.cc deleted file mode 100644 index ac63daf91..000000000 --- a/dataworks-public/src/model/CheckMetaTableResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CheckMetaTableResult::CheckMetaTableResult() : - ServiceResult() -{} - -CheckMetaTableResult::CheckMetaTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckMetaTableResult::~CheckMetaTableResult() -{} - -void CheckMetaTableResult::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"; - -} - -bool CheckMetaTableResult::getData()const -{ - return data_; -} - diff --git a/dataworks-public/src/model/CreateBusinessRequest.cc b/dataworks-public/src/model/CreateBusinessRequest.cc deleted file mode 100644 index d3fbb71fd..000000000 --- a/dataworks-public/src/model/CreateBusinessRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateBusinessRequest; - -CreateBusinessRequest::CreateBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateBusinessRequest::~CreateBusinessRequest() -{} - -std::string CreateBusinessRequest::getOwner()const -{ - return owner_; -} - -void CreateBusinessRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string CreateBusinessRequest::getBusinessName()const -{ - return businessName_; -} - -void CreateBusinessRequest::setBusinessName(const std::string& businessName) -{ - businessName_ = businessName; - setBodyParameter("BusinessName", businessName); -} - -std::string CreateBusinessRequest::getDescription()const -{ - return description_; -} - -void CreateBusinessRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); -} - -long CreateBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void CreateBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string CreateBusinessRequest::getUseType()const -{ - return useType_; -} - -void CreateBusinessRequest::setUseType(const std::string& useType) -{ - useType_ = useType; - setBodyParameter("UseType", useType); -} - -std::string CreateBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void CreateBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/CreateBusinessResult.cc b/dataworks-public/src/model/CreateBusinessResult.cc deleted file mode 100644 index 768c80ed5..000000000 --- a/dataworks-public/src/model/CreateBusinessResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateBusinessResult::CreateBusinessResult() : - ServiceResult() -{} - -CreateBusinessResult::CreateBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateBusinessResult::~CreateBusinessResult() -{} - -void CreateBusinessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["BusinessId"].isNull()) - businessId_ = std::stol(value["BusinessId"].asString()); - -} - -int CreateBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string CreateBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateBusinessResult::getSuccess()const -{ - return success_; -} - -long CreateBusinessResult::getBusinessId()const -{ - return businessId_; -} - diff --git a/dataworks-public/src/model/CreateConnectionRequest.cc b/dataworks-public/src/model/CreateConnectionRequest.cc deleted file mode 100644 index de8497063..000000000 --- a/dataworks-public/src/model/CreateConnectionRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateConnectionRequest; - -CreateConnectionRequest::CreateConnectionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateConnection") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateConnectionRequest::~CreateConnectionRequest() -{} - -std::string CreateConnectionRequest::getDescription()const -{ - return description_; -} - -void CreateConnectionRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string CreateConnectionRequest::getContent()const -{ - return content_; -} - -void CreateConnectionRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); -} - -std::string CreateConnectionRequest::getSubType()const -{ - return subType_; -} - -void CreateConnectionRequest::setSubType(const std::string& subType) -{ - subType_ = subType; - setParameter("SubType", subType); -} - -std::string CreateConnectionRequest::getName()const -{ - return name_; -} - -void CreateConnectionRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -int CreateConnectionRequest::getEnvType()const -{ - return envType_; -} - -void CreateConnectionRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); -} - -std::string CreateConnectionRequest::getConnectionType()const -{ - return connectionType_; -} - -void CreateConnectionRequest::setConnectionType(const std::string& connectionType) -{ - connectionType_ = connectionType; - setParameter("ConnectionType", connectionType); -} - -long CreateConnectionRequest::getProjectId()const -{ - return projectId_; -} - -void CreateConnectionRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/CreateConnectionResult.cc b/dataworks-public/src/model/CreateConnectionResult.cc deleted file mode 100644 index 72f24d6d0..000000000 --- a/dataworks-public/src/model/CreateConnectionResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateConnectionResult::CreateConnectionResult() : - ServiceResult() -{} - -CreateConnectionResult::CreateConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateConnectionResult::~CreateConnectionResult() -{} - -void CreateConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = value["HttpStatusCode"].asString(); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - -} - -std::string CreateConnectionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateConnectionResult::getData()const -{ - return data_; -} - -bool CreateConnectionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateDagComplementRequest.cc b/dataworks-public/src/model/CreateDagComplementRequest.cc deleted file mode 100644 index be88859b8..000000000 --- a/dataworks-public/src/model/CreateDagComplementRequest.cc +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDagComplementRequest; - -CreateDagComplementRequest::CreateDagComplementRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDagComplement") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDagComplementRequest::~CreateDagComplementRequest() -{} - -std::string CreateDagComplementRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void CreateDagComplementRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -std::string CreateDagComplementRequest::getStartBizDate()const -{ - return startBizDate_; -} - -void CreateDagComplementRequest::setStartBizDate(const std::string& startBizDate) -{ - startBizDate_ = startBizDate; - setBodyParameter("StartBizDate", startBizDate); -} - -bool CreateDagComplementRequest::getParallelism()const -{ - return parallelism_; -} - -void CreateDagComplementRequest::setParallelism(bool parallelism) -{ - parallelism_ = parallelism; - setBodyParameter("Parallelism", parallelism ? "true" : "false"); -} - -long CreateDagComplementRequest::getRootNodeId()const -{ - return rootNodeId_; -} - -void CreateDagComplementRequest::setRootNodeId(long rootNodeId) -{ - rootNodeId_ = rootNodeId; - setBodyParameter("RootNodeId", std::to_string(rootNodeId)); -} - -std::string CreateDagComplementRequest::getBizBeginTime()const -{ - return bizBeginTime_; -} - -void CreateDagComplementRequest::setBizBeginTime(const std::string& bizBeginTime) -{ - bizBeginTime_ = bizBeginTime; - setBodyParameter("BizBeginTime", bizBeginTime); -} - -std::string CreateDagComplementRequest::getEndBizDate()const -{ - return endBizDate_; -} - -void CreateDagComplementRequest::setEndBizDate(const std::string& endBizDate) -{ - endBizDate_ = endBizDate; - setBodyParameter("EndBizDate", endBizDate); -} - -std::string CreateDagComplementRequest::getIncludeNodeIds()const -{ - return includeNodeIds_; -} - -void CreateDagComplementRequest::setIncludeNodeIds(const std::string& includeNodeIds) -{ - includeNodeIds_ = includeNodeIds; - setBodyParameter("IncludeNodeIds", includeNodeIds); -} - -std::string CreateDagComplementRequest::getBizEndTime()const -{ - return bizEndTime_; -} - -void CreateDagComplementRequest::setBizEndTime(const std::string& bizEndTime) -{ - bizEndTime_ = bizEndTime; - setBodyParameter("BizEndTime", bizEndTime); -} - -std::string CreateDagComplementRequest::getName()const -{ - return name_; -} - -void CreateDagComplementRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string CreateDagComplementRequest::getExcludeNodeIds()const -{ - return excludeNodeIds_; -} - -void CreateDagComplementRequest::setExcludeNodeIds(const std::string& excludeNodeIds) -{ - excludeNodeIds_ = excludeNodeIds; - setBodyParameter("ExcludeNodeIds", excludeNodeIds); -} - -std::string CreateDagComplementRequest::getNodeParams()const -{ - return nodeParams_; -} - -void CreateDagComplementRequest::setNodeParams(const std::string& nodeParams) -{ - nodeParams_ = nodeParams; - setBodyParameter("NodeParams", nodeParams); -} - diff --git a/dataworks-public/src/model/CreateDagComplementResult.cc b/dataworks-public/src/model/CreateDagComplementResult.cc deleted file mode 100644 index aa033c9ac..000000000 --- a/dataworks-public/src/model/CreateDagComplementResult.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateDagComplementResult::CreateDagComplementResult() : - ServiceResult() -{} - -CreateDagComplementResult::CreateDagComplementResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDagComplementResult::~CreateDagComplementResult() -{} - -void CreateDagComplementResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]["dagId"]; - for (const auto &item : allData) - data_.push_back(item.asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int CreateDagComplementResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector CreateDagComplementResult::getData()const -{ - return data_; -} - -std::string CreateDagComplementResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateDagComplementResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateDagComplementResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateDagTestRequest.cc b/dataworks-public/src/model/CreateDagTestRequest.cc deleted file mode 100644 index 1ceb80caa..000000000 --- a/dataworks-public/src/model/CreateDagTestRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDagTestRequest; - -CreateDagTestRequest::CreateDagTestRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDagTest") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDagTestRequest::~CreateDagTestRequest() -{} - -std::string CreateDagTestRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void CreateDagTestRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -std::string CreateDagTestRequest::getBizdate()const -{ - return bizdate_; -} - -void CreateDagTestRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); -} - -std::string CreateDagTestRequest::getName()const -{ - return name_; -} - -void CreateDagTestRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string CreateDagTestRequest::getNodeParams()const -{ - return nodeParams_; -} - -void CreateDagTestRequest::setNodeParams(const std::string& nodeParams) -{ - nodeParams_ = nodeParams; - setBodyParameter("NodeParams", nodeParams); -} - -long CreateDagTestRequest::getNodeId()const -{ - return nodeId_; -} - -void CreateDagTestRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/CreateDagTestResult.cc b/dataworks-public/src/model/CreateDagTestResult.cc deleted file mode 100644 index 27bdf70c0..000000000 --- a/dataworks-public/src/model/CreateDagTestResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateDagTestResult::CreateDagTestResult() : - ServiceResult() -{} - -CreateDagTestResult::CreateDagTestResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDagTestResult::~CreateDagTestResult() -{} - -void CreateDagTestResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - -} - -int CreateDagTestResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateDagTestResult::getData()const -{ - return data_; -} - -std::string CreateDagTestResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateDagTestResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateDagTestResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateDataServiceApiAuthorityRequest.cc b/dataworks-public/src/model/CreateDataServiceApiAuthorityRequest.cc deleted file mode 100644 index f1a8b98d2..000000000 --- a/dataworks-public/src/model/CreateDataServiceApiAuthorityRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDataServiceApiAuthorityRequest; - -CreateDataServiceApiAuthorityRequest::CreateDataServiceApiAuthorityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceApiAuthority") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDataServiceApiAuthorityRequest::~CreateDataServiceApiAuthorityRequest() -{} - -long CreateDataServiceApiAuthorityRequest::getAuthorizedProjectId()const -{ - return authorizedProjectId_; -} - -void CreateDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId) -{ - authorizedProjectId_ = authorizedProjectId; - setBodyParameter("AuthorizedProjectId", std::to_string(authorizedProjectId)); -} - -long CreateDataServiceApiAuthorityRequest::getTenantId()const -{ - return tenantId_; -} - -void CreateDataServiceApiAuthorityRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long CreateDataServiceApiAuthorityRequest::getEndTime()const -{ - return endTime_; -} - -void CreateDataServiceApiAuthorityRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", std::to_string(endTime)); -} - -long CreateDataServiceApiAuthorityRequest::getProjectId()const -{ - return projectId_; -} - -void CreateDataServiceApiAuthorityRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long CreateDataServiceApiAuthorityRequest::getApiId()const -{ - return apiId_; -} - -void CreateDataServiceApiAuthorityRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/CreateDataServiceApiAuthorityResult.cc b/dataworks-public/src/model/CreateDataServiceApiAuthorityResult.cc deleted file mode 100644 index 470360cf8..000000000 --- a/dataworks-public/src/model/CreateDataServiceApiAuthorityResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateDataServiceApiAuthorityResult::CreateDataServiceApiAuthorityResult() : - ServiceResult() -{} - -CreateDataServiceApiAuthorityResult::CreateDataServiceApiAuthorityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDataServiceApiAuthorityResult::~CreateDataServiceApiAuthorityResult() -{} - -void CreateDataServiceApiAuthorityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -bool CreateDataServiceApiAuthorityResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateDataServiceApiRequest.cc b/dataworks-public/src/model/CreateDataServiceApiRequest.cc deleted file mode 100644 index da3b9376a..000000000 --- a/dataworks-public/src/model/CreateDataServiceApiRequest.cc +++ /dev/null @@ -1,205 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDataServiceApiRequest; - -CreateDataServiceApiRequest::CreateDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDataServiceApiRequest::~CreateDataServiceApiRequest() -{} - -std::string CreateDataServiceApiRequest::getScriptDetails()const -{ - return scriptDetails_; -} - -void CreateDataServiceApiRequest::setScriptDetails(const std::string& scriptDetails) -{ - scriptDetails_ = scriptDetails; - setBodyParameter("ScriptDetails", scriptDetails); -} - -int CreateDataServiceApiRequest::getRequestMethod()const -{ - return requestMethod_; -} - -void CreateDataServiceApiRequest::setRequestMethod(int requestMethod) -{ - requestMethod_ = requestMethod; - setBodyParameter("RequestMethod", std::to_string(requestMethod)); -} - -std::string CreateDataServiceApiRequest::getGroupId()const -{ - return groupId_; -} - -void CreateDataServiceApiRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setBodyParameter("GroupId", groupId); -} - -std::string CreateDataServiceApiRequest::getApiPath()const -{ - return apiPath_; -} - -void CreateDataServiceApiRequest::setApiPath(const std::string& apiPath) -{ - apiPath_ = apiPath; - setBodyParameter("ApiPath", apiPath); -} - -std::string CreateDataServiceApiRequest::getWizardDetails()const -{ - return wizardDetails_; -} - -void CreateDataServiceApiRequest::setWizardDetails(const std::string& wizardDetails) -{ - wizardDetails_ = wizardDetails; - setBodyParameter("WizardDetails", wizardDetails); -} - -int CreateDataServiceApiRequest::getApiMode()const -{ - return apiMode_; -} - -void CreateDataServiceApiRequest::setApiMode(int apiMode) -{ - apiMode_ = apiMode; - setBodyParameter("ApiMode", std::to_string(apiMode)); -} - -int CreateDataServiceApiRequest::getVisibleRange()const -{ - return visibleRange_; -} - -void CreateDataServiceApiRequest::setVisibleRange(int visibleRange) -{ - visibleRange_ = visibleRange; - setBodyParameter("VisibleRange", std::to_string(visibleRange)); -} - -std::string CreateDataServiceApiRequest::getApiDescription()const -{ - return apiDescription_; -} - -void CreateDataServiceApiRequest::setApiDescription(const std::string& apiDescription) -{ - apiDescription_ = apiDescription; - setBodyParameter("ApiDescription", apiDescription); -} - -int CreateDataServiceApiRequest::getTimeout()const -{ - return timeout_; -} - -void CreateDataServiceApiRequest::setTimeout(int timeout) -{ - timeout_ = timeout; - setBodyParameter("Timeout", std::to_string(timeout)); -} - -long CreateDataServiceApiRequest::getFolderId()const -{ - return folderId_; -} - -void CreateDataServiceApiRequest::setFolderId(long folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", std::to_string(folderId)); -} - -std::string CreateDataServiceApiRequest::getRegistrationDetails()const -{ - return registrationDetails_; -} - -void CreateDataServiceApiRequest::setRegistrationDetails(const std::string& registrationDetails) -{ - registrationDetails_ = registrationDetails; - setBodyParameter("RegistrationDetails", registrationDetails); -} - -std::string CreateDataServiceApiRequest::getApiName()const -{ - return apiName_; -} - -void CreateDataServiceApiRequest::setApiName(const std::string& apiName) -{ - apiName_ = apiName; - setBodyParameter("ApiName", apiName); -} - -long CreateDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void CreateDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -std::string CreateDataServiceApiRequest::getProtocols()const -{ - return protocols_; -} - -void CreateDataServiceApiRequest::setProtocols(const std::string& protocols) -{ - protocols_ = protocols; - setBodyParameter("Protocols", protocols); -} - -long CreateDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void CreateDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -int CreateDataServiceApiRequest::getResponseContentType()const -{ - return responseContentType_; -} - -void CreateDataServiceApiRequest::setResponseContentType(int responseContentType) -{ - responseContentType_ = responseContentType; - setBodyParameter("ResponseContentType", std::to_string(responseContentType)); -} - diff --git a/dataworks-public/src/model/CreateDataServiceApiResult.cc b/dataworks-public/src/model/CreateDataServiceApiResult.cc deleted file mode 100644 index 9497eb527..000000000 --- a/dataworks-public/src/model/CreateDataServiceApiResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateDataServiceApiResult::CreateDataServiceApiResult() : - ServiceResult() -{} - -CreateDataServiceApiResult::CreateDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDataServiceApiResult::~CreateDataServiceApiResult() -{} - -void CreateDataServiceApiResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int CreateDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateDataServiceApiResult::getData()const -{ - return data_; -} - -std::string CreateDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateDataServiceFolderRequest.cc b/dataworks-public/src/model/CreateDataServiceFolderRequest.cc deleted file mode 100644 index cd2608941..000000000 --- a/dataworks-public/src/model/CreateDataServiceFolderRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDataServiceFolderRequest; - -CreateDataServiceFolderRequest::CreateDataServiceFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDataServiceFolderRequest::~CreateDataServiceFolderRequest() -{} - -std::string CreateDataServiceFolderRequest::getGroupId()const -{ - return groupId_; -} - -void CreateDataServiceFolderRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setBodyParameter("GroupId", groupId); -} - -long CreateDataServiceFolderRequest::getTenantId()const -{ - return tenantId_; -} - -void CreateDataServiceFolderRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -std::string CreateDataServiceFolderRequest::getFolderName()const -{ - return folderName_; -} - -void CreateDataServiceFolderRequest::setFolderName(const std::string& folderName) -{ - folderName_ = folderName; - setBodyParameter("FolderName", folderName); -} - -long CreateDataServiceFolderRequest::getProjectId()const -{ - return projectId_; -} - -void CreateDataServiceFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long CreateDataServiceFolderRequest::getParentId()const -{ - return parentId_; -} - -void CreateDataServiceFolderRequest::setParentId(long parentId) -{ - parentId_ = parentId; - setBodyParameter("ParentId", std::to_string(parentId)); -} - diff --git a/dataworks-public/src/model/CreateDataServiceFolderResult.cc b/dataworks-public/src/model/CreateDataServiceFolderResult.cc deleted file mode 100644 index 5cae3b642..000000000 --- a/dataworks-public/src/model/CreateDataServiceFolderResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateDataServiceFolderResult::CreateDataServiceFolderResult() : - ServiceResult() -{} - -CreateDataServiceFolderResult::CreateDataServiceFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDataServiceFolderResult::~CreateDataServiceFolderResult() -{} - -void CreateDataServiceFolderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["FolderId"].isNull()) - folderId_ = std::stol(value["FolderId"].asString()); - -} - -long CreateDataServiceFolderResult::getFolderId()const -{ - return folderId_; -} - diff --git a/dataworks-public/src/model/CreateDataServiceGroupRequest.cc b/dataworks-public/src/model/CreateDataServiceGroupRequest.cc deleted file mode 100644 index 67302ad7f..000000000 --- a/dataworks-public/src/model/CreateDataServiceGroupRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDataServiceGroupRequest; - -CreateDataServiceGroupRequest::CreateDataServiceGroupRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDataServiceGroupRequest::~CreateDataServiceGroupRequest() -{} - -std::string CreateDataServiceGroupRequest::getApiGatewayGroupId()const -{ - return apiGatewayGroupId_; -} - -void CreateDataServiceGroupRequest::setApiGatewayGroupId(const std::string& apiGatewayGroupId) -{ - apiGatewayGroupId_ = apiGatewayGroupId; - setBodyParameter("ApiGatewayGroupId", apiGatewayGroupId); -} - -long CreateDataServiceGroupRequest::getTenantId()const -{ - return tenantId_; -} - -void CreateDataServiceGroupRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -std::string CreateDataServiceGroupRequest::getDescription()const -{ - return description_; -} - -void CreateDataServiceGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); -} - -long CreateDataServiceGroupRequest::getProjectId()const -{ - return projectId_; -} - -void CreateDataServiceGroupRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string CreateDataServiceGroupRequest::getGroupName()const -{ - return groupName_; -} - -void CreateDataServiceGroupRequest::setGroupName(const std::string& groupName) -{ - groupName_ = groupName; - setBodyParameter("GroupName", groupName); -} - diff --git a/dataworks-public/src/model/CreateFileRequest.cc b/dataworks-public/src/model/CreateFileRequest.cc deleted file mode 100644 index 01c662527..000000000 --- a/dataworks-public/src/model/CreateFileRequest.cc +++ /dev/null @@ -1,282 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateFileRequest; - -CreateFileRequest::CreateFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateFile") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateFileRequest::~CreateFileRequest() -{} - -int CreateFileRequest::getFileType()const -{ - return fileType_; -} - -void CreateFileRequest::setFileType(int fileType) -{ - fileType_ = fileType; - setBodyParameter("FileType", std::to_string(fileType)); -} - -std::string CreateFileRequest::getDependentNodeIdList()const -{ - return dependentNodeIdList_; -} - -void CreateFileRequest::setDependentNodeIdList(const std::string& dependentNodeIdList) -{ - dependentNodeIdList_ = dependentNodeIdList; - setBodyParameter("DependentNodeIdList", dependentNodeIdList); -} - -std::string CreateFileRequest::getContent()const -{ - return content_; -} - -void CreateFileRequest::setContent(const std::string& content) -{ - content_ = content; - setBodyParameter("Content", content); -} - -std::string CreateFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void CreateFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -long CreateFileRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateFileRequest::setResourceGroupId(long resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setBodyParameter("ResourceGroupId", std::to_string(resourceGroupId)); -} - -long CreateFileRequest::getProjectId()const -{ - return projectId_; -} - -void CreateFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long CreateFileRequest::getStartEffectDate()const -{ - return startEffectDate_; -} - -void CreateFileRequest::setStartEffectDate(long startEffectDate) -{ - startEffectDate_ = startEffectDate; - setBodyParameter("StartEffectDate", std::to_string(startEffectDate)); -} - -std::string CreateFileRequest::getCycleType()const -{ - return cycleType_; -} - -void CreateFileRequest::setCycleType(const std::string& cycleType) -{ - cycleType_ = cycleType; - setBodyParameter("CycleType", cycleType); -} - -std::string CreateFileRequest::getOwner()const -{ - return owner_; -} - -void CreateFileRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -int CreateFileRequest::getAutoRerunIntervalMillis()const -{ - return autoRerunIntervalMillis_; -} - -void CreateFileRequest::setAutoRerunIntervalMillis(int autoRerunIntervalMillis) -{ - autoRerunIntervalMillis_ = autoRerunIntervalMillis; - setBodyParameter("AutoRerunIntervalMillis", std::to_string(autoRerunIntervalMillis)); -} - -std::string CreateFileRequest::getInputList()const -{ - return inputList_; -} - -void CreateFileRequest::setInputList(const std::string& inputList) -{ - inputList_ = inputList; - setBodyParameter("InputList", inputList); -} - -std::string CreateFileRequest::getRerunMode()const -{ - return rerunMode_; -} - -void CreateFileRequest::setRerunMode(const std::string& rerunMode) -{ - rerunMode_ = rerunMode; - setBodyParameter("RerunMode", rerunMode); -} - -std::string CreateFileRequest::getConnectionName()const -{ - return connectionName_; -} - -void CreateFileRequest::setConnectionName(const std::string& connectionName) -{ - connectionName_ = connectionName; - setBodyParameter("ConnectionName", connectionName); -} - -std::string CreateFileRequest::getParaValue()const -{ - return paraValue_; -} - -void CreateFileRequest::setParaValue(const std::string& paraValue) -{ - paraValue_ = paraValue; - setBodyParameter("ParaValue", paraValue); -} - -std::string CreateFileRequest::getResourceGroupIdentifier()const -{ - return resourceGroupIdentifier_; -} - -void CreateFileRequest::setResourceGroupIdentifier(const std::string& resourceGroupIdentifier) -{ - resourceGroupIdentifier_ = resourceGroupIdentifier; - setBodyParameter("ResourceGroupIdentifier", resourceGroupIdentifier); -} - -int CreateFileRequest::getAutoRerunTimes()const -{ - return autoRerunTimes_; -} - -void CreateFileRequest::setAutoRerunTimes(int autoRerunTimes) -{ - autoRerunTimes_ = autoRerunTimes; - setBodyParameter("AutoRerunTimes", std::to_string(autoRerunTimes)); -} - -std::string CreateFileRequest::getCronExpress()const -{ - return cronExpress_; -} - -void CreateFileRequest::setCronExpress(const std::string& cronExpress) -{ - cronExpress_ = cronExpress; - setBodyParameter("CronExpress", cronExpress); -} - -long CreateFileRequest::getEndEffectDate()const -{ - return endEffectDate_; -} - -void CreateFileRequest::setEndEffectDate(long endEffectDate) -{ - endEffectDate_ = endEffectDate; - setBodyParameter("EndEffectDate", std::to_string(endEffectDate)); -} - -std::string CreateFileRequest::getFileName()const -{ - return fileName_; -} - -void CreateFileRequest::setFileName(const std::string& fileName) -{ - fileName_ = fileName; - setBodyParameter("FileName", fileName); -} - -bool CreateFileRequest::getStop()const -{ - return stop_; -} - -void CreateFileRequest::setStop(bool stop) -{ - stop_ = stop; - setBodyParameter("Stop", stop ? "true" : "false"); -} - -std::string CreateFileRequest::getDependentType()const -{ - return dependentType_; -} - -void CreateFileRequest::setDependentType(const std::string& dependentType) -{ - dependentType_ = dependentType; - setBodyParameter("DependentType", dependentType); -} - -std::string CreateFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; -} - -void CreateFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); -} - -std::string CreateFileRequest::getFileDescription()const -{ - return fileDescription_; -} - -void CreateFileRequest::setFileDescription(const std::string& fileDescription) -{ - fileDescription_ = fileDescription; - setBodyParameter("FileDescription", fileDescription); -} - diff --git a/dataworks-public/src/model/CreateFileResult.cc b/dataworks-public/src/model/CreateFileResult.cc deleted file mode 100644 index 0a4d5c2b2..000000000 --- a/dataworks-public/src/model/CreateFileResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateFileResult::CreateFileResult() : - ServiceResult() -{} - -CreateFileResult::CreateFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateFileResult::~CreateFileResult() -{} - -void CreateFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateFileResult::getData()const -{ - return data_; -} - -std::string CreateFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateFolderRequest.cc b/dataworks-public/src/model/CreateFolderRequest.cc deleted file mode 100644 index 603c655b4..000000000 --- a/dataworks-public/src/model/CreateFolderRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateFolderRequest; - -CreateFolderRequest::CreateFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateFolderRequest::~CreateFolderRequest() -{} - -std::string CreateFolderRequest::getFolderPath()const -{ - return folderPath_; -} - -void CreateFolderRequest::setFolderPath(const std::string& folderPath) -{ - folderPath_ = folderPath; - setBodyParameter("FolderPath", folderPath); -} - -long CreateFolderRequest::getProjectId()const -{ - return projectId_; -} - -void CreateFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string CreateFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void CreateFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/CreateFolderResult.cc b/dataworks-public/src/model/CreateFolderResult.cc deleted file mode 100644 index 6f5f3759d..000000000 --- a/dataworks-public/src/model/CreateFolderResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateFolderResult::CreateFolderResult() : - ServiceResult() -{} - -CreateFolderResult::CreateFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateFolderResult::~CreateFolderResult() -{} - -void CreateFolderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateFolderResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string CreateFolderResult::getData()const -{ - return data_; -} - -std::string CreateFolderResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateFolderResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateFolderResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateManualDagRequest.cc b/dataworks-public/src/model/CreateManualDagRequest.cc index ae421aea4..762bf8532 100644 --- a/dataworks-public/src/model/CreateManualDagRequest.cc +++ b/dataworks-public/src/model/CreateManualDagRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Dataworks_public::Model::CreateManualDagRequest; CreateManualDagRequest::CreateManualDagRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateManualDag") + RpcServiceRequest("dataworks-public", "2018-06-01", "CreateManualDag") { setMethod(HttpRequest::Method::Post); } @@ -27,17 +27,6 @@ CreateManualDagRequest::CreateManualDagRequest() : CreateManualDagRequest::~CreateManualDagRequest() {} -std::string CreateManualDagRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void CreateManualDagRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - std::string CreateManualDagRequest::getProjectName()const { return projectName_; @@ -46,18 +35,18 @@ std::string CreateManualDagRequest::getProjectName()const void CreateManualDagRequest::setProjectName(const std::string& projectName) { projectName_ = projectName; - setBodyParameter("ProjectName", projectName); + setParameter("ProjectName", projectName); } -std::string CreateManualDagRequest::getBizDate()const +std::string CreateManualDagRequest::getBizdate()const { - return bizDate_; + return bizdate_; } -void CreateManualDagRequest::setBizDate(const std::string& bizDate) +void CreateManualDagRequest::setBizdate(const std::string& bizdate) { - bizDate_ = bizDate; - setBodyParameter("BizDate", bizDate); + bizdate_ = bizdate; + setParameter("Bizdate", bizdate); } std::string CreateManualDagRequest::getFlowName()const @@ -68,28 +57,28 @@ std::string CreateManualDagRequest::getFlowName()const void CreateManualDagRequest::setFlowName(const std::string& flowName) { flowName_ = flowName; - setBodyParameter("FlowName", flowName); + setParameter("FlowName", flowName); } -std::string CreateManualDagRequest::getDagParameters()const +std::string CreateManualDagRequest::getDagPara()const { - return dagParameters_; + return dagPara_; } -void CreateManualDagRequest::setDagParameters(const std::string& dagParameters) +void CreateManualDagRequest::setDagPara(const std::string& dagPara) { - dagParameters_ = dagParameters; - setBodyParameter("DagParameters", dagParameters); + dagPara_ = dagPara; + setParameter("DagPara", dagPara); } -std::string CreateManualDagRequest::getNodeParameters()const +std::string CreateManualDagRequest::getNodePara()const { - return nodeParameters_; + return nodePara_; } -void CreateManualDagRequest::setNodeParameters(const std::string& nodeParameters) +void CreateManualDagRequest::setNodePara(const std::string& nodePara) { - nodeParameters_ = nodeParameters; - setBodyParameter("NodeParameters", nodeParameters); + nodePara_ = nodePara; + setParameter("NodePara", nodePara); } diff --git a/dataworks-public/src/model/CreateManualDagResult.cc b/dataworks-public/src/model/CreateManualDagResult.cc index 7fc36b699..4f7bf0261 100644 --- a/dataworks-public/src/model/CreateManualDagResult.cc +++ b/dataworks-public/src/model/CreateManualDagResult.cc @@ -39,13 +39,34 @@ void CreateManualDagResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["DagId"].isNull()) - dagId_ = std::stol(value["DagId"].asString()); + if(!value["ReturnCode"].isNull()) + returnCode_ = value["ReturnCode"].asString(); + if(!value["ReturnErrorSolution"].isNull()) + returnErrorSolution_ = value["ReturnErrorSolution"].asString(); + if(!value["ReturnMessage"].isNull()) + returnMessage_ = value["ReturnMessage"].asString(); + if(!value["ReturnValue"].isNull()) + returnValue_ = std::stol(value["ReturnValue"].asString()); } -long CreateManualDagResult::getDagId()const +std::string CreateManualDagResult::getReturnErrorSolution()const { - return dagId_; + return returnErrorSolution_; +} + +std::string CreateManualDagResult::getReturnCode()const +{ + return returnCode_; +} + +std::string CreateManualDagResult::getReturnMessage()const +{ + return returnMessage_; +} + +long CreateManualDagResult::getReturnValue()const +{ + return returnValue_; } diff --git a/dataworks-public/src/model/CreateMetaCategoryRequest.cc b/dataworks-public/src/model/CreateMetaCategoryRequest.cc deleted file mode 100644 index 8e647e6e4..000000000 --- a/dataworks-public/src/model/CreateMetaCategoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateMetaCategoryRequest; - -CreateMetaCategoryRequest::CreateMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateMetaCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateMetaCategoryRequest::~CreateMetaCategoryRequest() -{} - -std::string CreateMetaCategoryRequest::getName()const -{ - return name_; -} - -void CreateMetaCategoryRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string CreateMetaCategoryRequest::getComment()const -{ - return comment_; -} - -void CreateMetaCategoryRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -long CreateMetaCategoryRequest::getParentId()const -{ - return parentId_; -} - -void CreateMetaCategoryRequest::setParentId(long parentId) -{ - parentId_ = parentId; - setBodyParameter("ParentId", std::to_string(parentId)); -} - diff --git a/dataworks-public/src/model/CreateMetaCategoryResult.cc b/dataworks-public/src/model/CreateMetaCategoryResult.cc deleted file mode 100644 index e8d0fa031..000000000 --- a/dataworks-public/src/model/CreateMetaCategoryResult.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateMetaCategoryResult::CreateMetaCategoryResult() : - ServiceResult() -{} - -CreateMetaCategoryResult::CreateMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateMetaCategoryResult::~CreateMetaCategoryResult() -{} - -void CreateMetaCategoryResult::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["CategoryId"].isNull()) - data_.categoryId = std::stol(dataNode["CategoryId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int CreateMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -CreateMetaCategoryResult::Data CreateMetaCategoryResult::getData()const -{ - return data_; -} - -std::string CreateMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateProjectMemberRequest.cc b/dataworks-public/src/model/CreateProjectMemberRequest.cc deleted file mode 100644 index 8279632ce..000000000 --- a/dataworks-public/src/model/CreateProjectMemberRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateProjectMemberRequest; - -CreateProjectMemberRequest::CreateProjectMemberRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateProjectMember") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateProjectMemberRequest::~CreateProjectMemberRequest() -{} - -std::string CreateProjectMemberRequest::getRoleCode()const -{ - return roleCode_; -} - -void CreateProjectMemberRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setParameter("RoleCode", roleCode); -} - -std::string CreateProjectMemberRequest::getClientToken()const -{ - return clientToken_; -} - -void CreateProjectMemberRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); -} - -long CreateProjectMemberRequest::getProjectId()const -{ - return projectId_; -} - -void CreateProjectMemberRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -std::string CreateProjectMemberRequest::getUserId()const -{ - return userId_; -} - -void CreateProjectMemberRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/dataworks-public/src/model/CreateProjectMemberResult.cc b/dataworks-public/src/model/CreateProjectMemberResult.cc deleted file mode 100644 index 71b9eb144..000000000 --- a/dataworks-public/src/model/CreateProjectMemberResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateProjectMemberResult::CreateProjectMemberResult() : - ServiceResult() -{} - -CreateProjectMemberResult::CreateProjectMemberResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateProjectMemberResult::~CreateProjectMemberResult() -{} - -void CreateProjectMemberResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/dataworks-public/src/model/CreateQualityEntityRequest.cc b/dataworks-public/src/model/CreateQualityEntityRequest.cc deleted file mode 100644 index 832eccd68..000000000 --- a/dataworks-public/src/model/CreateQualityEntityRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateQualityEntityRequest; - -CreateQualityEntityRequest::CreateQualityEntityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityEntity") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateQualityEntityRequest::~CreateQualityEntityRequest() -{} - -std::string CreateQualityEntityRequest::getProjectName()const -{ - return projectName_; -} - -void CreateQualityEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -int CreateQualityEntityRequest::getEntityLevel()const -{ - return entityLevel_; -} - -void CreateQualityEntityRequest::setEntityLevel(int entityLevel) -{ - entityLevel_ = entityLevel; - setBodyParameter("EntityLevel", std::to_string(entityLevel)); -} - -std::string CreateQualityEntityRequest::getMatchExpression()const -{ - return matchExpression_; -} - -void CreateQualityEntityRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); -} - -std::string CreateQualityEntityRequest::getEnvType()const -{ - return envType_; -} - -void CreateQualityEntityRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); -} - -std::string CreateQualityEntityRequest::getTableName()const -{ - return tableName_; -} - -void CreateQualityEntityRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); -} - diff --git a/dataworks-public/src/model/CreateQualityEntityResult.cc b/dataworks-public/src/model/CreateQualityEntityResult.cc deleted file mode 100644 index 923fcc747..000000000 --- a/dataworks-public/src/model/CreateQualityEntityResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateQualityEntityResult::CreateQualityEntityResult() : - ServiceResult() -{} - -CreateQualityEntityResult::CreateQualityEntityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateQualityEntityResult::~CreateQualityEntityResult() -{} - -void CreateQualityEntityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = std::stoi(value["Data"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateQualityEntityResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -int CreateQualityEntityResult::getData()const -{ - return data_; -} - -std::string CreateQualityEntityResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateQualityEntityResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateQualityEntityResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateQualityFollowerRequest.cc b/dataworks-public/src/model/CreateQualityFollowerRequest.cc deleted file mode 100644 index 073864051..000000000 --- a/dataworks-public/src/model/CreateQualityFollowerRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateQualityFollowerRequest; - -CreateQualityFollowerRequest::CreateQualityFollowerRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityFollower") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateQualityFollowerRequest::~CreateQualityFollowerRequest() -{} - -int CreateQualityFollowerRequest::getAlarmMode()const -{ - return alarmMode_; -} - -void CreateQualityFollowerRequest::setAlarmMode(int alarmMode) -{ - alarmMode_ = alarmMode; - setBodyParameter("AlarmMode", std::to_string(alarmMode)); -} - -std::string CreateQualityFollowerRequest::getProjectName()const -{ - return projectName_; -} - -void CreateQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string CreateQualityFollowerRequest::getFollower()const -{ - return follower_; -} - -void CreateQualityFollowerRequest::setFollower(const std::string& follower) -{ - follower_ = follower; - setBodyParameter("Follower", follower); -} - -long CreateQualityFollowerRequest::getEntityId()const -{ - return entityId_; -} - -void CreateQualityFollowerRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - diff --git a/dataworks-public/src/model/CreateQualityFollowerResult.cc b/dataworks-public/src/model/CreateQualityFollowerResult.cc deleted file mode 100644 index f238e3b39..000000000 --- a/dataworks-public/src/model/CreateQualityFollowerResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateQualityFollowerResult::CreateQualityFollowerResult() : - ServiceResult() -{} - -CreateQualityFollowerResult::CreateQualityFollowerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateQualityFollowerResult::~CreateQualityFollowerResult() -{} - -void CreateQualityFollowerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = std::stoi(value["Data"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateQualityFollowerResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -int CreateQualityFollowerResult::getData()const -{ - return data_; -} - -std::string CreateQualityFollowerResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateQualityFollowerResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateQualityFollowerResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc b/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc deleted file mode 100644 index cd425f491..000000000 --- a/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateQualityRelativeNodeRequest; - -CreateQualityRelativeNodeRequest::CreateQualityRelativeNodeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityRelativeNode") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateQualityRelativeNodeRequest::~CreateQualityRelativeNodeRequest() -{} - -std::string CreateQualityRelativeNodeRequest::getProjectName()const -{ - return projectName_; -} - -void CreateQualityRelativeNodeRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long CreateQualityRelativeNodeRequest::getTargetNodeProjectId()const -{ - return targetNodeProjectId_; -} - -void CreateQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId) -{ - targetNodeProjectId_ = targetNodeProjectId; - setBodyParameter("TargetNodeProjectId", std::to_string(targetNodeProjectId)); -} - -std::string CreateQualityRelativeNodeRequest::getMatchExpression()const -{ - return matchExpression_; -} - -void CreateQualityRelativeNodeRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); -} - -std::string CreateQualityRelativeNodeRequest::getEnvType()const -{ - return envType_; -} - -void CreateQualityRelativeNodeRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); -} - -std::string CreateQualityRelativeNodeRequest::getTargetNodeProjectName()const -{ - return targetNodeProjectName_; -} - -void CreateQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string& targetNodeProjectName) -{ - targetNodeProjectName_ = targetNodeProjectName; - setBodyParameter("TargetNodeProjectName", targetNodeProjectName); -} - -std::string CreateQualityRelativeNodeRequest::getTableName()const -{ - return tableName_; -} - -void CreateQualityRelativeNodeRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); -} - -long CreateQualityRelativeNodeRequest::getNodeId()const -{ - return nodeId_; -} - -void CreateQualityRelativeNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - -long CreateQualityRelativeNodeRequest::getProjectId()const -{ - return projectId_; -} - -void CreateQualityRelativeNodeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/CreateQualityRelativeNodeResult.cc b/dataworks-public/src/model/CreateQualityRelativeNodeResult.cc deleted file mode 100644 index ba3b1afce..000000000 --- a/dataworks-public/src/model/CreateQualityRelativeNodeResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateQualityRelativeNodeResult::CreateQualityRelativeNodeResult() : - ServiceResult() -{} - -CreateQualityRelativeNodeResult::CreateQualityRelativeNodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateQualityRelativeNodeResult::~CreateQualityRelativeNodeResult() -{} - -void CreateQualityRelativeNodeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int CreateQualityRelativeNodeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool CreateQualityRelativeNodeResult::getData()const -{ - return data_; -} - -std::string CreateQualityRelativeNodeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateQualityRelativeNodeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateQualityRelativeNodeResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateQualityRuleRequest.cc b/dataworks-public/src/model/CreateQualityRuleRequest.cc deleted file mode 100644 index cdce82e53..000000000 --- a/dataworks-public/src/model/CreateQualityRuleRequest.cc +++ /dev/null @@ -1,227 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateQualityRuleRequest; - -CreateQualityRuleRequest::CreateQualityRuleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityRule") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateQualityRuleRequest::~CreateQualityRuleRequest() -{} - -std::string CreateQualityRuleRequest::getProjectName()const -{ - return projectName_; -} - -void CreateQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string CreateQualityRuleRequest::getTrend()const -{ - return trend_; -} - -void CreateQualityRuleRequest::setTrend(const std::string& trend) -{ - trend_ = trend; - setBodyParameter("Trend", trend); -} - -int CreateQualityRuleRequest::getRuleType()const -{ - return ruleType_; -} - -void CreateQualityRuleRequest::setRuleType(int ruleType) -{ - ruleType_ = ruleType; - setBodyParameter("RuleType", std::to_string(ruleType)); -} - -int CreateQualityRuleRequest::getBlockType()const -{ - return blockType_; -} - -void CreateQualityRuleRequest::setBlockType(int blockType) -{ - blockType_ = blockType; - setBodyParameter("BlockType", std::to_string(blockType)); -} - -std::string CreateQualityRuleRequest::getPropertyType()const -{ - return propertyType_; -} - -void CreateQualityRuleRequest::setPropertyType(const std::string& propertyType) -{ - propertyType_ = propertyType; - setBodyParameter("PropertyType", propertyType); -} - -long CreateQualityRuleRequest::getEntityId()const -{ - return entityId_; -} - -void CreateQualityRuleRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - -std::string CreateQualityRuleRequest::getRuleName()const -{ - return ruleName_; -} - -void CreateQualityRuleRequest::setRuleName(const std::string& ruleName) -{ - ruleName_ = ruleName; - setBodyParameter("RuleName", ruleName); -} - -int CreateQualityRuleRequest::getChecker()const -{ - return checker_; -} - -void CreateQualityRuleRequest::setChecker(int checker) -{ - checker_ = checker; - setBodyParameter("Checker", std::to_string(checker)); -} - -int CreateQualityRuleRequest::getTemplateId()const -{ - return templateId_; -} - -void CreateQualityRuleRequest::setTemplateId(int templateId) -{ - templateId_ = templateId; - setBodyParameter("TemplateId", std::to_string(templateId)); -} - -std::string CreateQualityRuleRequest::getExpectValue()const -{ - return expectValue_; -} - -void CreateQualityRuleRequest::setExpectValue(const std::string& expectValue) -{ - expectValue_ = expectValue; - setBodyParameter("ExpectValue", expectValue); -} - -std::string CreateQualityRuleRequest::get_Operator()const -{ - return _operator_; -} - -void CreateQualityRuleRequest::set_Operator(const std::string& _operator) -{ - _operator_ = _operator; - setBodyParameter("_Operator", _operator); -} - -std::string CreateQualityRuleRequest::getWhereCondition()const -{ - return whereCondition_; -} - -void CreateQualityRuleRequest::setWhereCondition(const std::string& whereCondition) -{ - whereCondition_ = whereCondition; - setBodyParameter("WhereCondition", whereCondition); -} - -std::string CreateQualityRuleRequest::getCriticalThreshold()const -{ - return criticalThreshold_; -} - -void CreateQualityRuleRequest::setCriticalThreshold(const std::string& criticalThreshold) -{ - criticalThreshold_ = criticalThreshold; - setBodyParameter("CriticalThreshold", criticalThreshold); -} - -std::string CreateQualityRuleRequest::getProperty()const -{ - return property_; -} - -void CreateQualityRuleRequest::setProperty(const std::string& property) -{ - property_ = property; - setBodyParameter("Property", property); -} - -std::string CreateQualityRuleRequest::getComment()const -{ - return comment_; -} - -void CreateQualityRuleRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -int CreateQualityRuleRequest::getPredictType()const -{ - return predictType_; -} - -void CreateQualityRuleRequest::setPredictType(int predictType) -{ - predictType_ = predictType; - setBodyParameter("PredictType", std::to_string(predictType)); -} - -std::string CreateQualityRuleRequest::getWarningThreshold()const -{ - return warningThreshold_; -} - -void CreateQualityRuleRequest::setWarningThreshold(const std::string& warningThreshold) -{ - warningThreshold_ = warningThreshold; - setBodyParameter("WarningThreshold", warningThreshold); -} - -std::string CreateQualityRuleRequest::getMethodName()const -{ - return methodName_; -} - -void CreateQualityRuleRequest::setMethodName(const std::string& methodName) -{ - methodName_ = methodName; - setBodyParameter("MethodName", methodName); -} - diff --git a/dataworks-public/src/model/CreateQualityRuleResult.cc b/dataworks-public/src/model/CreateQualityRuleResult.cc deleted file mode 100644 index b36e1932d..000000000 --- a/dataworks-public/src/model/CreateQualityRuleResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateQualityRuleResult::CreateQualityRuleResult() : - ServiceResult() -{} - -CreateQualityRuleResult::CreateQualityRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateQualityRuleResult::~CreateQualityRuleResult() -{} - -void CreateQualityRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateQualityRuleResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string CreateQualityRuleResult::getData()const -{ - return data_; -} - -std::string CreateQualityRuleResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateQualityRuleResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateQualityRuleResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateRealTimeProcessRequest.cc b/dataworks-public/src/model/CreateRealTimeProcessRequest.cc new file mode 100644 index 000000000..364bb4cdb --- /dev/null +++ b/dataworks-public/src/model/CreateRealTimeProcessRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateRealTimeProcessRequest; + +CreateRealTimeProcessRequest::CreateRealTimeProcessRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "CreateRealTimeProcess") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateRealTimeProcessRequest::~CreateRealTimeProcessRequest() +{} + +std::string CreateRealTimeProcessRequest::getJobConfig()const +{ + return jobConfig_; +} + +void CreateRealTimeProcessRequest::setJobConfig(const std::string& jobConfig) +{ + jobConfig_ = jobConfig; + setParameter("JobConfig", jobConfig); +} + +bool CreateRealTimeProcessRequest::getCreateResGroup()const +{ + return createResGroup_; +} + +void CreateRealTimeProcessRequest::setCreateResGroup(bool createResGroup) +{ + createResGroup_ = createResGroup; + setParameter("CreateResGroup", createResGroup ? "true" : "false"); +} + +std::string CreateRealTimeProcessRequest::getDataworksVersion()const +{ + return dataworksVersion_; +} + +void CreateRealTimeProcessRequest::setDataworksVersion(const std::string& dataworksVersion) +{ + dataworksVersion_ = dataworksVersion; + setParameter("DataworksVersion", dataworksVersion); +} + +std::string CreateRealTimeProcessRequest::getResourceSpec()const +{ + return resourceSpec_; +} + +void CreateRealTimeProcessRequest::setResourceSpec(const std::string& resourceSpec) +{ + resourceSpec_ = resourceSpec; + setParameter("ResourceSpec", resourceSpec); +} + +std::string CreateRealTimeProcessRequest::getTableRule()const +{ + return tableRule_; +} + +void CreateRealTimeProcessRequest::setTableRule(const std::string& tableRule) +{ + tableRule_ = tableRule; + setParameter("TableRule", tableRule); +} + +std::string CreateRealTimeProcessRequest::getTables()const +{ + return tables_; +} + +void CreateRealTimeProcessRequest::setTables(const std::string& tables) +{ + tables_ = tables; + setParameter("Tables", tables); +} + +std::string CreateRealTimeProcessRequest::getDataSource()const +{ + return dataSource_; +} + +void CreateRealTimeProcessRequest::setDataSource(const std::string& dataSource) +{ + dataSource_ = dataSource; + setParameter("DataSource", dataSource); +} + diff --git a/dataworks-public/src/model/GetDDLJobStatusResult.cc b/dataworks-public/src/model/CreateRealTimeProcessResult.cc similarity index 59% rename from dataworks-public/src/model/GetDDLJobStatusResult.cc rename to dataworks-public/src/model/CreateRealTimeProcessResult.cc index 909ff310d..4afb7006d 100644 --- a/dataworks-public/src/model/GetDDLJobStatusResult.cc +++ b/dataworks-public/src/model/CreateRealTimeProcessResult.cc @@ -14,45 +14,53 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -GetDDLJobStatusResult::GetDDLJobStatusResult() : +CreateRealTimeProcessResult::CreateRealTimeProcessResult() : ServiceResult() {} -GetDDLJobStatusResult::GetDDLJobStatusResult(const std::string &payload) : +CreateRealTimeProcessResult::CreateRealTimeProcessResult(const std::string &payload) : ServiceResult() { parse(payload); } -GetDDLJobStatusResult::~GetDDLJobStatusResult() +CreateRealTimeProcessResult::~CreateRealTimeProcessResult() {} -void GetDDLJobStatusResult::parse(const std::string &payload) +void CreateRealTimeProcessResult::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["NextTaskId"].isNull()) - data_.nextTaskId = dataNode["NextTaskId"].asString(); - if(!dataNode["Content"].isNull()) - data_.content = dataNode["Content"].asString(); - if(!dataNode["Status"].isNull()) - data_.status = dataNode["Status"].asString(); if(!dataNode["TaskId"].isNull()) data_.taskId = dataNode["TaskId"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); } -GetDDLJobStatusResult::Data GetDDLJobStatusResult::getData()const +std::string CreateRealTimeProcessResult::getMessage()const +{ + return message_; +} + +CreateRealTimeProcessResult::Data CreateRealTimeProcessResult::getData()const { return data_; } +int CreateRealTimeProcessResult::getCode()const +{ + return code_; +} + diff --git a/dataworks-public/src/model/CreateRemindRequest.cc b/dataworks-public/src/model/CreateRemindRequest.cc deleted file mode 100644 index 503685613..000000000 --- a/dataworks-public/src/model/CreateRemindRequest.cc +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateRemindRequest; - -CreateRemindRequest::CreateRemindRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateRemind") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateRemindRequest::~CreateRemindRequest() -{} - -std::string CreateRemindRequest::getDndEnd()const -{ - return dndEnd_; -} - -void CreateRemindRequest::setDndEnd(const std::string& dndEnd) -{ - dndEnd_ = dndEnd; - setBodyParameter("DndEnd", dndEnd); -} - -std::string CreateRemindRequest::getAlertUnit()const -{ - return alertUnit_; -} - -void CreateRemindRequest::setAlertUnit(const std::string& alertUnit) -{ - alertUnit_ = alertUnit; - setBodyParameter("AlertUnit", alertUnit); -} - -std::string CreateRemindRequest::getRemindUnit()const -{ - return remindUnit_; -} - -void CreateRemindRequest::setRemindUnit(const std::string& remindUnit) -{ - remindUnit_ = remindUnit; - setBodyParameter("RemindUnit", remindUnit); -} - -int CreateRemindRequest::getAlertInterval()const -{ - return alertInterval_; -} - -void CreateRemindRequest::setAlertInterval(int alertInterval) -{ - alertInterval_ = alertInterval; - setBodyParameter("AlertInterval", std::to_string(alertInterval)); -} - -std::string CreateRemindRequest::getAlertMethods()const -{ - return alertMethods_; -} - -void CreateRemindRequest::setAlertMethods(const std::string& alertMethods) -{ - alertMethods_ = alertMethods; - setBodyParameter("AlertMethods", alertMethods); -} - -std::string CreateRemindRequest::getRobotUrls()const -{ - return robotUrls_; -} - -void CreateRemindRequest::setRobotUrls(const std::string& robotUrls) -{ - robotUrls_ = robotUrls; - setBodyParameter("RobotUrls", robotUrls); -} - -int CreateRemindRequest::getMaxAlertTimes()const -{ - return maxAlertTimes_; -} - -void CreateRemindRequest::setMaxAlertTimes(int maxAlertTimes) -{ - maxAlertTimes_ = maxAlertTimes; - setBodyParameter("MaxAlertTimes", std::to_string(maxAlertTimes)); -} - -std::string CreateRemindRequest::getBizProcessIds()const -{ - return bizProcessIds_; -} - -void CreateRemindRequest::setBizProcessIds(const std::string& bizProcessIds) -{ - bizProcessIds_ = bizProcessIds; - setBodyParameter("BizProcessIds", bizProcessIds); -} - -std::string CreateRemindRequest::getRemindType()const -{ - return remindType_; -} - -void CreateRemindRequest::setRemindType(const std::string& remindType) -{ - remindType_ = remindType; - setBodyParameter("RemindType", remindType); -} - -std::string CreateRemindRequest::getAlertTargets()const -{ - return alertTargets_; -} - -void CreateRemindRequest::setAlertTargets(const std::string& alertTargets) -{ - alertTargets_ = alertTargets; - setBodyParameter("AlertTargets", alertTargets); -} - -std::string CreateRemindRequest::getBaselineIds()const -{ - return baselineIds_; -} - -void CreateRemindRequest::setBaselineIds(const std::string& baselineIds) -{ - baselineIds_ = baselineIds; - setBodyParameter("BaselineIds", baselineIds); -} - -std::string CreateRemindRequest::getDetail()const -{ - return detail_; -} - -void CreateRemindRequest::setDetail(const std::string& detail) -{ - detail_ = detail; - setBodyParameter("Detail", detail); -} - -std::string CreateRemindRequest::getRemindName()const -{ - return remindName_; -} - -void CreateRemindRequest::setRemindName(const std::string& remindName) -{ - remindName_ = remindName; - setBodyParameter("RemindName", remindName); -} - -long CreateRemindRequest::getProjectId()const -{ - return projectId_; -} - -void CreateRemindRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string CreateRemindRequest::getNodeIds()const -{ - return nodeIds_; -} - -void CreateRemindRequest::setNodeIds(const std::string& nodeIds) -{ - nodeIds_ = nodeIds; - setBodyParameter("NodeIds", nodeIds); -} - diff --git a/dataworks-public/src/model/CreateRemindResult.cc b/dataworks-public/src/model/CreateRemindResult.cc deleted file mode 100644 index ee934a747..000000000 --- a/dataworks-public/src/model/CreateRemindResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateRemindResult::CreateRemindResult() : - ServiceResult() -{} - -CreateRemindResult::CreateRemindResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateRemindResult::~CreateRemindResult() -{} - -void CreateRemindResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - -} - -int CreateRemindResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateRemindResult::getData()const -{ - return data_; -} - -std::string CreateRemindResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateRemindResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateRemindResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateTableLevelRequest.cc b/dataworks-public/src/model/CreateTableLevelRequest.cc deleted file mode 100644 index 99cccedd3..000000000 --- a/dataworks-public/src/model/CreateTableLevelRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateTableLevelRequest; - -CreateTableLevelRequest::CreateTableLevelRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTableLevel") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateTableLevelRequest::~CreateTableLevelRequest() -{} - -int CreateTableLevelRequest::getLevelType()const -{ - return levelType_; -} - -void CreateTableLevelRequest::setLevelType(int levelType) -{ - levelType_ = levelType; - setParameter("LevelType", std::to_string(levelType)); -} - -std::string CreateTableLevelRequest::getName()const -{ - return name_; -} - -void CreateTableLevelRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string CreateTableLevelRequest::getDescription()const -{ - return description_; -} - -void CreateTableLevelRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -long CreateTableLevelRequest::getProjectId()const -{ - return projectId_; -} - -void CreateTableLevelRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/CreateTableLevelResult.cc b/dataworks-public/src/model/CreateTableLevelResult.cc deleted file mode 100644 index 9055d65de..000000000 --- a/dataworks-public/src/model/CreateTableLevelResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateTableLevelResult::CreateTableLevelResult() : - ServiceResult() -{} - -CreateTableLevelResult::CreateTableLevelResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateTableLevelResult::~CreateTableLevelResult() -{} - -void CreateTableLevelResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["LevelId"].isNull()) - levelId_ = std::stol(value["LevelId"].asString()); - -} - -int CreateTableLevelResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string CreateTableLevelResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateTableLevelResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateTableLevelResult::getSuccess()const -{ - return success_; -} - -long CreateTableLevelResult::getLevelId()const -{ - return levelId_; -} - diff --git a/dataworks-public/src/model/CreateTableRequest.cc b/dataworks-public/src/model/CreateTableRequest.cc deleted file mode 100644 index aa0402c2a..000000000 --- a/dataworks-public/src/model/CreateTableRequest.cc +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateTableRequest; - -CreateTableRequest::CreateTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTable") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateTableRequest::~CreateTableRequest() -{} - -int CreateTableRequest::getVisibility()const -{ - return visibility_; -} - -void CreateTableRequest::setVisibility(int visibility) -{ - visibility_ = visibility; - setParameter("Visibility", std::to_string(visibility)); -} - -long CreateTableRequest::getPhysicsLevelId()const -{ - return physicsLevelId_; -} - -void CreateTableRequest::setPhysicsLevelId(long physicsLevelId) -{ - physicsLevelId_ = physicsLevelId; - setParameter("PhysicsLevelId", std::to_string(physicsLevelId)); -} - -std::vector CreateTableRequest::getColumns()const -{ - return columns_; -} - -void CreateTableRequest::setColumns(const std::vector& columns) -{ - columns_ = columns; - for(int dep1 = 0; dep1!= columns.size(); dep1++) { - auto columnsObj = columns.at(dep1); - std::string columnsObjStr = "Columns." + std::to_string(dep1 + 1); - setParameter(columnsObjStr + ".SeqNumber", std::to_string(columnsObj.seqNumber)); - setParameter(columnsObjStr + ".IsPartitionCol", std::to_string(columnsObj.isPartitionCol)); - setParameter(columnsObjStr + ".ColumnNameCn", columnsObj.columnNameCn); - setParameter(columnsObjStr + ".Length", std::to_string(columnsObj.length)); - setParameter(columnsObjStr + ".IsNullable", std::to_string(columnsObj.isNullable)); - setParameter(columnsObjStr + ".Comment", columnsObj.comment); - setParameter(columnsObjStr + ".IsPrimaryKey", std::to_string(columnsObj.isPrimaryKey)); - setParameter(columnsObjStr + ".ColumnName", columnsObj.columnName); - setParameter(columnsObjStr + ".ColumnType", columnsObj.columnType); - } -} - -std::string CreateTableRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateTableRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); -} - -int CreateTableRequest::getLifeCycle()const -{ - return lifeCycle_; -} - -void CreateTableRequest::setLifeCycle(int lifeCycle) -{ - lifeCycle_ = lifeCycle; - setParameter("LifeCycle", std::to_string(lifeCycle)); -} - -std::vector CreateTableRequest::getThemes()const -{ - return themes_; -} - -void CreateTableRequest::setThemes(const std::vector& themes) -{ - themes_ = themes; - for(int dep1 = 0; dep1!= themes.size(); dep1++) { - auto themesObj = themes.at(dep1); - std::string themesObjStr = "Themes." + std::to_string(dep1 + 1); - setParameter(themesObjStr + ".ThemeLevel", std::to_string(themesObj.themeLevel)); - setParameter(themesObjStr + ".ThemeId", std::to_string(themesObj.themeId)); - } -} - -long CreateTableRequest::getLogicalLevelId()const -{ - return logicalLevelId_; -} - -void CreateTableRequest::setLogicalLevelId(long logicalLevelId) -{ - logicalLevelId_ = logicalLevelId; - setParameter("LogicalLevelId", std::to_string(logicalLevelId)); -} - -std::string CreateTableRequest::getEndpoint()const -{ - return endpoint_; -} - -void CreateTableRequest::setEndpoint(const std::string& endpoint) -{ - endpoint_ = endpoint; - setBodyParameter("Endpoint", endpoint); -} - -int CreateTableRequest::getIsView()const -{ - return isView_; -} - -void CreateTableRequest::setIsView(int isView) -{ - isView_ = isView; - setParameter("IsView", std::to_string(isView)); -} - -std::string CreateTableRequest::getExternalTableType()const -{ - return externalTableType_; -} - -void CreateTableRequest::setExternalTableType(const std::string& externalTableType) -{ - externalTableType_ = externalTableType; - setParameter("ExternalTableType", externalTableType); -} - -int CreateTableRequest::getEnvType()const -{ - return envType_; -} - -void CreateTableRequest::setEnvType(int envType) -{ - envType_ = envType; - setBodyParameter("EnvType", std::to_string(envType)); -} - -int CreateTableRequest::getHasPart()const -{ - return hasPart_; -} - -void CreateTableRequest::setHasPart(int hasPart) -{ - hasPart_ = hasPart; - setParameter("HasPart", std::to_string(hasPart)); -} - -std::string CreateTableRequest::getLocation()const -{ - return location_; -} - -void CreateTableRequest::setLocation(const std::string& location) -{ - location_ = location; - setParameter("Location", location); -} - -std::string CreateTableRequest::getComment()const -{ - return comment_; -} - -void CreateTableRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setParameter("Comment", comment); -} - -std::string CreateTableRequest::getTableName()const -{ - return tableName_; -} - -void CreateTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - -std::string CreateTableRequest::getAppGuid()const -{ - return appGuid_; -} - -void CreateTableRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); -} - -long CreateTableRequest::getProjectId()const -{ - return projectId_; -} - -void CreateTableRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -long CreateTableRequest::getCategoryId()const -{ - return categoryId_; -} - -void CreateTableRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/CreateTableResult.cc b/dataworks-public/src/model/CreateTableResult.cc deleted file mode 100644 index a652bb35d..000000000 --- a/dataworks-public/src/model/CreateTableResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateTableResult::CreateTableResult() : - ServiceResult() -{} - -CreateTableResult::CreateTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateTableResult::~CreateTableResult() -{} - -void CreateTableResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto taskInfoNode = value["TaskInfo"]; - if(!taskInfoNode["TaskId"].isNull()) - taskInfo_.taskId = taskInfoNode["TaskId"].asString(); - if(!taskInfoNode["Content"].isNull()) - taskInfo_.content = taskInfoNode["Content"].asString(); - if(!taskInfoNode["Status"].isNull()) - taskInfo_.status = taskInfoNode["Status"].asString(); - if(!taskInfoNode["NextTaskId"].isNull()) - taskInfo_.nextTaskId = taskInfoNode["NextTaskId"].asString(); - -} - -CreateTableResult::TaskInfo CreateTableResult::getTaskInfo()const -{ - return taskInfo_; -} - diff --git a/dataworks-public/src/model/CreateTableThemeRequest.cc b/dataworks-public/src/model/CreateTableThemeRequest.cc deleted file mode 100644 index 20780bafb..000000000 --- a/dataworks-public/src/model/CreateTableThemeRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateTableThemeRequest; - -CreateTableThemeRequest::CreateTableThemeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTableTheme") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateTableThemeRequest::~CreateTableThemeRequest() -{} - -int CreateTableThemeRequest::getLevel()const -{ - return level_; -} - -void CreateTableThemeRequest::setLevel(int level) -{ - level_ = level; - setParameter("Level", std::to_string(level)); -} - -std::string CreateTableThemeRequest::getName()const -{ - return name_; -} - -void CreateTableThemeRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -long CreateTableThemeRequest::getProjectId()const -{ - return projectId_; -} - -void CreateTableThemeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -long CreateTableThemeRequest::getParentId()const -{ - return parentId_; -} - -void CreateTableThemeRequest::setParentId(long parentId) -{ - parentId_ = parentId; - setParameter("ParentId", std::to_string(parentId)); -} - diff --git a/dataworks-public/src/model/CreateTableThemeResult.cc b/dataworks-public/src/model/CreateTableThemeResult.cc deleted file mode 100644 index 199fbc1ad..000000000 --- a/dataworks-public/src/model/CreateTableThemeResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateTableThemeResult::CreateTableThemeResult() : - ServiceResult() -{} - -CreateTableThemeResult::CreateTableThemeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateTableThemeResult::~CreateTableThemeResult() -{} - -void CreateTableThemeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ThemeId"].isNull()) - themeId_ = std::stol(value["ThemeId"].asString()); - -} - -long CreateTableThemeResult::getThemeId()const -{ - return themeId_; -} - -int CreateTableThemeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string CreateTableThemeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateTableThemeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateTableThemeResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateUdfFileRequest.cc b/dataworks-public/src/model/CreateUdfFileRequest.cc deleted file mode 100644 index 750bc45df..000000000 --- a/dataworks-public/src/model/CreateUdfFileRequest.cc +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateUdfFileRequest; - -CreateUdfFileRequest::CreateUdfFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateUdfFile") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateUdfFileRequest::~CreateUdfFileRequest() -{} - -std::string CreateUdfFileRequest::getReturnValue()const -{ - return returnValue_; -} - -void CreateUdfFileRequest::setReturnValue(const std::string& returnValue) -{ - returnValue_ = returnValue; - setBodyParameter("ReturnValue", returnValue); -} - -std::string CreateUdfFileRequest::getResources()const -{ - return resources_; -} - -void CreateUdfFileRequest::setResources(const std::string& resources) -{ - resources_ = resources; - setBodyParameter("Resources", resources); -} - -std::string CreateUdfFileRequest::getFunctionType()const -{ - return functionType_; -} - -void CreateUdfFileRequest::setFunctionType(const std::string& functionType) -{ - functionType_ = functionType; - setBodyParameter("FunctionType", functionType); -} - -std::string CreateUdfFileRequest::getCmdDescription()const -{ - return cmdDescription_; -} - -void CreateUdfFileRequest::setCmdDescription(const std::string& cmdDescription) -{ - cmdDescription_ = cmdDescription; - setBodyParameter("CmdDescription", cmdDescription); -} - -std::string CreateUdfFileRequest::getUdfDescription()const -{ - return udfDescription_; -} - -void CreateUdfFileRequest::setUdfDescription(const std::string& udfDescription) -{ - udfDescription_ = udfDescription; - setBodyParameter("UdfDescription", udfDescription); -} - -std::string CreateUdfFileRequest::getParameterDescription()const -{ - return parameterDescription_; -} - -void CreateUdfFileRequest::setParameterDescription(const std::string& parameterDescription) -{ - parameterDescription_ = parameterDescription; - setBodyParameter("ParameterDescription", parameterDescription); -} - -std::string CreateUdfFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void CreateUdfFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string CreateUdfFileRequest::getExample()const -{ - return example_; -} - -void CreateUdfFileRequest::setExample(const std::string& example) -{ - example_ = example; - setBodyParameter("Example", example); -} - -std::string CreateUdfFileRequest::getFileName()const -{ - return fileName_; -} - -void CreateUdfFileRequest::setFileName(const std::string& fileName) -{ - fileName_ = fileName; - setBodyParameter("FileName", fileName); -} - -std::string CreateUdfFileRequest::getClassName()const -{ - return className_; -} - -void CreateUdfFileRequest::setClassName(const std::string& className) -{ - className_ = className; - setBodyParameter("ClassName", className); -} - -std::string CreateUdfFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; -} - -void CreateUdfFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); -} - -long CreateUdfFileRequest::getProjectId()const -{ - return projectId_; -} - -void CreateUdfFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/CreateUdfFileResult.cc b/dataworks-public/src/model/CreateUdfFileResult.cc deleted file mode 100644 index a15dfe231..000000000 --- a/dataworks-public/src/model/CreateUdfFileResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateUdfFileResult::CreateUdfFileResult() : - ServiceResult() -{} - -CreateUdfFileResult::CreateUdfFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateUdfFileResult::~CreateUdfFileResult() -{} - -void CreateUdfFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateUdfFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateUdfFileResult::getData()const -{ - return data_; -} - -std::string CreateUdfFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateUdfFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateUdfFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteBusinessRequest.cc b/dataworks-public/src/model/DeleteBusinessRequest.cc deleted file mode 100644 index b426266ef..000000000 --- a/dataworks-public/src/model/DeleteBusinessRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteBusinessRequest; - -DeleteBusinessRequest::DeleteBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteBusinessRequest::~DeleteBusinessRequest() -{} - -long DeleteBusinessRequest::getBusinessId()const -{ - return businessId_; -} - -void DeleteBusinessRequest::setBusinessId(long businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", std::to_string(businessId)); -} - -long DeleteBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string DeleteBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void DeleteBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/DeleteBusinessResult.cc b/dataworks-public/src/model/DeleteBusinessResult.cc deleted file mode 100644 index a73a3757a..000000000 --- a/dataworks-public/src/model/DeleteBusinessResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteBusinessResult::DeleteBusinessResult() : - ServiceResult() -{} - -DeleteBusinessResult::DeleteBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteBusinessResult::~DeleteBusinessResult() -{} - -void DeleteBusinessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int DeleteBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string DeleteBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteBusinessResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteConnectionRequest.cc b/dataworks-public/src/model/DeleteConnectionRequest.cc deleted file mode 100644 index 874c3c4fc..000000000 --- a/dataworks-public/src/model/DeleteConnectionRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteConnectionRequest; - -DeleteConnectionRequest::DeleteConnectionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteConnection") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteConnectionRequest::~DeleteConnectionRequest() -{} - -long DeleteConnectionRequest::getConnectionId()const -{ - return connectionId_; -} - -void DeleteConnectionRequest::setConnectionId(long connectionId) -{ - connectionId_ = connectionId; - setParameter("ConnectionId", std::to_string(connectionId)); -} - diff --git a/dataworks-public/src/model/DeleteConnectionResult.cc b/dataworks-public/src/model/DeleteConnectionResult.cc deleted file mode 100644 index 3ba91d571..000000000 --- a/dataworks-public/src/model/DeleteConnectionResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteConnectionResult::DeleteConnectionResult() : - ServiceResult() -{} - -DeleteConnectionResult::DeleteConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteConnectionResult::~DeleteConnectionResult() -{} - -void DeleteConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = value["HttpStatusCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -std::string DeleteConnectionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteConnectionResult::getData()const -{ - return data_; -} - -bool DeleteConnectionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteDataServiceApiAuthorityRequest.cc b/dataworks-public/src/model/DeleteDataServiceApiAuthorityRequest.cc deleted file mode 100644 index 87814349f..000000000 --- a/dataworks-public/src/model/DeleteDataServiceApiAuthorityRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteDataServiceApiAuthorityRequest; - -DeleteDataServiceApiAuthorityRequest::DeleteDataServiceApiAuthorityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataServiceApiAuthority") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDataServiceApiAuthorityRequest::~DeleteDataServiceApiAuthorityRequest() -{} - -long DeleteDataServiceApiAuthorityRequest::getAuthorizedProjectId()const -{ - return authorizedProjectId_; -} - -void DeleteDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId) -{ - authorizedProjectId_ = authorizedProjectId; - setBodyParameter("AuthorizedProjectId", std::to_string(authorizedProjectId)); -} - -long DeleteDataServiceApiAuthorityRequest::getTenantId()const -{ - return tenantId_; -} - -void DeleteDataServiceApiAuthorityRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long DeleteDataServiceApiAuthorityRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteDataServiceApiAuthorityRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long DeleteDataServiceApiAuthorityRequest::getApiId()const -{ - return apiId_; -} - -void DeleteDataServiceApiAuthorityRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/DeleteDataServiceApiAuthorityResult.cc b/dataworks-public/src/model/DeleteDataServiceApiAuthorityResult.cc deleted file mode 100644 index faafc8333..000000000 --- a/dataworks-public/src/model/DeleteDataServiceApiAuthorityResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteDataServiceApiAuthorityResult::DeleteDataServiceApiAuthorityResult() : - ServiceResult() -{} - -DeleteDataServiceApiAuthorityResult::DeleteDataServiceApiAuthorityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteDataServiceApiAuthorityResult::~DeleteDataServiceApiAuthorityResult() -{} - -void DeleteDataServiceApiAuthorityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -bool DeleteDataServiceApiAuthorityResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteDataServiceApiRequest.cc b/dataworks-public/src/model/DeleteDataServiceApiRequest.cc deleted file mode 100644 index 72d2a1f66..000000000 --- a/dataworks-public/src/model/DeleteDataServiceApiRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteDataServiceApiRequest; - -DeleteDataServiceApiRequest::DeleteDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDataServiceApiRequest::~DeleteDataServiceApiRequest() -{} - -long DeleteDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void DeleteDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long DeleteDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long DeleteDataServiceApiRequest::getApiId()const -{ - return apiId_; -} - -void DeleteDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/DeleteDataServiceApiResult.cc b/dataworks-public/src/model/DeleteDataServiceApiResult.cc deleted file mode 100644 index a87492222..000000000 --- a/dataworks-public/src/model/DeleteDataServiceApiResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteDataServiceApiResult::DeleteDataServiceApiResult() : - ServiceResult() -{} - -DeleteDataServiceApiResult::DeleteDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteDataServiceApiResult::~DeleteDataServiceApiResult() -{} - -void DeleteDataServiceApiResult::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["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int DeleteDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteDataServiceApiResult::getData()const -{ - return data_; -} - -std::string DeleteDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteFileRequest.cc b/dataworks-public/src/model/DeleteFileRequest.cc index c641b357c..1613c81b3 100644 --- a/dataworks-public/src/model/DeleteFileRequest.cc +++ b/dataworks-public/src/model/DeleteFileRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Dataworks_public::Model::DeleteFileRequest; DeleteFileRequest::DeleteFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFile") + RpcServiceRequest("dataworks-public", "2018-06-01", "DeleteFile") { setMethod(HttpRequest::Method::Post); } diff --git a/dataworks-public/src/model/DeleteFolderRequest.cc b/dataworks-public/src/model/DeleteFolderRequest.cc deleted file mode 100644 index ffd5b296d..000000000 --- a/dataworks-public/src/model/DeleteFolderRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteFolderRequest; - -DeleteFolderRequest::DeleteFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteFolderRequest::~DeleteFolderRequest() -{} - -long DeleteFolderRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string DeleteFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void DeleteFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string DeleteFolderRequest::getFolderId()const -{ - return folderId_; -} - -void DeleteFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); -} - diff --git a/dataworks-public/src/model/DeleteFolderResult.cc b/dataworks-public/src/model/DeleteFolderResult.cc deleted file mode 100644 index b51d6979f..000000000 --- a/dataworks-public/src/model/DeleteFolderResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteFolderResult::DeleteFolderResult() : - ServiceResult() -{} - -DeleteFolderResult::DeleteFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteFolderResult::~DeleteFolderResult() -{} - -void DeleteFolderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int DeleteFolderResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string DeleteFolderResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteFolderResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteFolderResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc b/dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc deleted file mode 100644 index 9628f6755..000000000 --- a/dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteFromMetaCategoryRequest; - -DeleteFromMetaCategoryRequest::DeleteFromMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFromMetaCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteFromMetaCategoryRequest::~DeleteFromMetaCategoryRequest() -{} - -std::string DeleteFromMetaCategoryRequest::getTableGuid()const -{ - return tableGuid_; -} - -void DeleteFromMetaCategoryRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -long DeleteFromMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void DeleteFromMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/DeleteFromMetaCategoryResult.cc b/dataworks-public/src/model/DeleteFromMetaCategoryResult.cc deleted file mode 100644 index 9e41dd7ad..000000000 --- a/dataworks-public/src/model/DeleteFromMetaCategoryResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteFromMetaCategoryResult::DeleteFromMetaCategoryResult() : - ServiceResult() -{} - -DeleteFromMetaCategoryResult::DeleteFromMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteFromMetaCategoryResult::~DeleteFromMetaCategoryResult() -{} - -void DeleteFromMetaCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int DeleteFromMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteFromMetaCategoryResult::getData()const -{ - return data_; -} - -std::string DeleteFromMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteFromMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteFromMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteMetaCategoryRequest.cc b/dataworks-public/src/model/DeleteMetaCategoryRequest.cc deleted file mode 100644 index 774ca5756..000000000 --- a/dataworks-public/src/model/DeleteMetaCategoryRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteMetaCategoryRequest; - -DeleteMetaCategoryRequest::DeleteMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteMetaCategory") -{ - setMethod(HttpRequest::Method::Get); -} - -DeleteMetaCategoryRequest::~DeleteMetaCategoryRequest() -{} - -long DeleteMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void DeleteMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/DeleteMetaCategoryResult.cc b/dataworks-public/src/model/DeleteMetaCategoryResult.cc deleted file mode 100644 index ea3177f1c..000000000 --- a/dataworks-public/src/model/DeleteMetaCategoryResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteMetaCategoryResult::DeleteMetaCategoryResult() : - ServiceResult() -{} - -DeleteMetaCategoryResult::DeleteMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteMetaCategoryResult::~DeleteMetaCategoryResult() -{} - -void DeleteMetaCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int DeleteMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteMetaCategoryResult::getData()const -{ - return data_; -} - -std::string DeleteMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteProjectMemberRequest.cc b/dataworks-public/src/model/DeleteProjectMemberRequest.cc deleted file mode 100644 index 6b67adadd..000000000 --- a/dataworks-public/src/model/DeleteProjectMemberRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteProjectMemberRequest; - -DeleteProjectMemberRequest::DeleteProjectMemberRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteProjectMember") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteProjectMemberRequest::~DeleteProjectMemberRequest() -{} - -long DeleteProjectMemberRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteProjectMemberRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -std::string DeleteProjectMemberRequest::getUserId()const -{ - return userId_; -} - -void DeleteProjectMemberRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/dataworks-public/src/model/DeleteProjectMemberResult.cc b/dataworks-public/src/model/DeleteProjectMemberResult.cc deleted file mode 100644 index 9b828aec4..000000000 --- a/dataworks-public/src/model/DeleteProjectMemberResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteProjectMemberResult::DeleteProjectMemberResult() : - ServiceResult() -{} - -DeleteProjectMemberResult::DeleteProjectMemberResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteProjectMemberResult::~DeleteProjectMemberResult() -{} - -void DeleteProjectMemberResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/dataworks-public/src/model/DeleteQualityEntityRequest.cc b/dataworks-public/src/model/DeleteQualityEntityRequest.cc deleted file mode 100644 index be9248b60..000000000 --- a/dataworks-public/src/model/DeleteQualityEntityRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteQualityEntityRequest; - -DeleteQualityEntityRequest::DeleteQualityEntityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityEntity") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteQualityEntityRequest::~DeleteQualityEntityRequest() -{} - -std::string DeleteQualityEntityRequest::getProjectName()const -{ - return projectName_; -} - -void DeleteQualityEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string DeleteQualityEntityRequest::getEnvType()const -{ - return envType_; -} - -void DeleteQualityEntityRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); -} - -long DeleteQualityEntityRequest::getEntityId()const -{ - return entityId_; -} - -void DeleteQualityEntityRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - diff --git a/dataworks-public/src/model/DeleteQualityEntityResult.cc b/dataworks-public/src/model/DeleteQualityEntityResult.cc deleted file mode 100644 index 4fb61fb09..000000000 --- a/dataworks-public/src/model/DeleteQualityEntityResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteQualityEntityResult::DeleteQualityEntityResult() : - ServiceResult() -{} - -DeleteQualityEntityResult::DeleteQualityEntityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteQualityEntityResult::~DeleteQualityEntityResult() -{} - -void DeleteQualityEntityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int DeleteQualityEntityResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteQualityEntityResult::getData()const -{ - return data_; -} - -std::string DeleteQualityEntityResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteQualityEntityResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteQualityEntityResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteQualityFollowerRequest.cc b/dataworks-public/src/model/DeleteQualityFollowerRequest.cc deleted file mode 100644 index fd2f43410..000000000 --- a/dataworks-public/src/model/DeleteQualityFollowerRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteQualityFollowerRequest; - -DeleteQualityFollowerRequest::DeleteQualityFollowerRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityFollower") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteQualityFollowerRequest::~DeleteQualityFollowerRequest() -{} - -std::string DeleteQualityFollowerRequest::getProjectName()const -{ - return projectName_; -} - -void DeleteQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long DeleteQualityFollowerRequest::getFollowerId()const -{ - return followerId_; -} - -void DeleteQualityFollowerRequest::setFollowerId(long followerId) -{ - followerId_ = followerId; - setBodyParameter("FollowerId", std::to_string(followerId)); -} - diff --git a/dataworks-public/src/model/DeleteQualityFollowerResult.cc b/dataworks-public/src/model/DeleteQualityFollowerResult.cc deleted file mode 100644 index cae8b0490..000000000 --- a/dataworks-public/src/model/DeleteQualityFollowerResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteQualityFollowerResult::DeleteQualityFollowerResult() : - ServiceResult() -{} - -DeleteQualityFollowerResult::DeleteQualityFollowerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteQualityFollowerResult::~DeleteQualityFollowerResult() -{} - -void DeleteQualityFollowerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int DeleteQualityFollowerResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteQualityFollowerResult::getData()const -{ - return data_; -} - -std::string DeleteQualityFollowerResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteQualityFollowerResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteQualityFollowerResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc b/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc deleted file mode 100644 index db27f6bb8..000000000 --- a/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteQualityRelativeNodeRequest; - -DeleteQualityRelativeNodeRequest::DeleteQualityRelativeNodeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityRelativeNode") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteQualityRelativeNodeRequest::~DeleteQualityRelativeNodeRequest() -{} - -std::string DeleteQualityRelativeNodeRequest::getProjectName()const -{ - return projectName_; -} - -void DeleteQualityRelativeNodeRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long DeleteQualityRelativeNodeRequest::getTargetNodeProjectId()const -{ - return targetNodeProjectId_; -} - -void DeleteQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId) -{ - targetNodeProjectId_ = targetNodeProjectId; - setBodyParameter("TargetNodeProjectId", std::to_string(targetNodeProjectId)); -} - -std::string DeleteQualityRelativeNodeRequest::getMatchExpression()const -{ - return matchExpression_; -} - -void DeleteQualityRelativeNodeRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); -} - -std::string DeleteQualityRelativeNodeRequest::getEnvType()const -{ - return envType_; -} - -void DeleteQualityRelativeNodeRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); -} - -std::string DeleteQualityRelativeNodeRequest::getTargetNodeProjectName()const -{ - return targetNodeProjectName_; -} - -void DeleteQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string& targetNodeProjectName) -{ - targetNodeProjectName_ = targetNodeProjectName; - setBodyParameter("TargetNodeProjectName", targetNodeProjectName); -} - -std::string DeleteQualityRelativeNodeRequest::getTableName()const -{ - return tableName_; -} - -void DeleteQualityRelativeNodeRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); -} - -long DeleteQualityRelativeNodeRequest::getNodeId()const -{ - return nodeId_; -} - -void DeleteQualityRelativeNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - -long DeleteQualityRelativeNodeRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteQualityRelativeNodeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/DeleteQualityRelativeNodeResult.cc b/dataworks-public/src/model/DeleteQualityRelativeNodeResult.cc deleted file mode 100644 index c7f27f1e1..000000000 --- a/dataworks-public/src/model/DeleteQualityRelativeNodeResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteQualityRelativeNodeResult::DeleteQualityRelativeNodeResult() : - ServiceResult() -{} - -DeleteQualityRelativeNodeResult::DeleteQualityRelativeNodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteQualityRelativeNodeResult::~DeleteQualityRelativeNodeResult() -{} - -void DeleteQualityRelativeNodeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int DeleteQualityRelativeNodeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteQualityRelativeNodeResult::getData()const -{ - return data_; -} - -std::string DeleteQualityRelativeNodeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteQualityRelativeNodeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteQualityRelativeNodeResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteQualityRuleRequest.cc b/dataworks-public/src/model/DeleteQualityRuleRequest.cc deleted file mode 100644 index 84480c6d6..000000000 --- a/dataworks-public/src/model/DeleteQualityRuleRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteQualityRuleRequest; - -DeleteQualityRuleRequest::DeleteQualityRuleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityRule") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteQualityRuleRequest::~DeleteQualityRuleRequest() -{} - -std::string DeleteQualityRuleRequest::getProjectName()const -{ - return projectName_; -} - -void DeleteQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long DeleteQualityRuleRequest::getRuleId()const -{ - return ruleId_; -} - -void DeleteQualityRuleRequest::setRuleId(long ruleId) -{ - ruleId_ = ruleId; - setBodyParameter("RuleId", std::to_string(ruleId)); -} - diff --git a/dataworks-public/src/model/DeleteQualityRuleResult.cc b/dataworks-public/src/model/DeleteQualityRuleResult.cc deleted file mode 100644 index 3568c769d..000000000 --- a/dataworks-public/src/model/DeleteQualityRuleResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteQualityRuleResult::DeleteQualityRuleResult() : - ServiceResult() -{} - -DeleteQualityRuleResult::DeleteQualityRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteQualityRuleResult::~DeleteQualityRuleResult() -{} - -void DeleteQualityRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int DeleteQualityRuleResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteQualityRuleResult::getData()const -{ - return data_; -} - -std::string DeleteQualityRuleResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteQualityRuleResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteQualityRuleResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteRemindResult.cc b/dataworks-public/src/model/DeleteRemindResult.cc deleted file mode 100644 index dac2e572a..000000000 --- a/dataworks-public/src/model/DeleteRemindResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteRemindResult::DeleteRemindResult() : - ServiceResult() -{} - -DeleteRemindResult::DeleteRemindResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteRemindResult::~DeleteRemindResult() -{} - -void DeleteRemindResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int DeleteRemindResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteRemindResult::getData()const -{ - return data_; -} - -std::string DeleteRemindResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteRemindResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteRemindResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteTableLevelRequest.cc b/dataworks-public/src/model/DeleteTableLevelRequest.cc deleted file mode 100644 index d2e6607de..000000000 --- a/dataworks-public/src/model/DeleteTableLevelRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteTableLevelRequest; - -DeleteTableLevelRequest::DeleteTableLevelRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTableLevel") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteTableLevelRequest::~DeleteTableLevelRequest() -{} - -long DeleteTableLevelRequest::getLevelId()const -{ - return levelId_; -} - -void DeleteTableLevelRequest::setLevelId(long levelId) -{ - levelId_ = levelId; - setParameter("LevelId", std::to_string(levelId)); -} - -long DeleteTableLevelRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteTableLevelRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/DeleteTableLevelResult.cc b/dataworks-public/src/model/DeleteTableLevelResult.cc deleted file mode 100644 index 1a582a994..000000000 --- a/dataworks-public/src/model/DeleteTableLevelResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteTableLevelResult::DeleteTableLevelResult() : - ServiceResult() -{} - -DeleteTableLevelResult::DeleteTableLevelResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteTableLevelResult::~DeleteTableLevelResult() -{} - -void DeleteTableLevelResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["DeleteResult"].isNull()) - deleteResult_ = value["DeleteResult"].asString() == "true"; - -} - -bool DeleteTableLevelResult::getDeleteResult()const -{ - return deleteResult_; -} - diff --git a/dataworks-public/src/model/DeleteTableRequest.cc b/dataworks-public/src/model/DeleteTableRequest.cc deleted file mode 100644 index fbf674c26..000000000 --- a/dataworks-public/src/model/DeleteTableRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteTableRequest; - -DeleteTableRequest::DeleteTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTable") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteTableRequest::~DeleteTableRequest() -{} - -int DeleteTableRequest::getEnvType()const -{ - return envType_; -} - -void DeleteTableRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); -} - -std::string DeleteTableRequest::getTableName()const -{ - return tableName_; -} - -void DeleteTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - -std::string DeleteTableRequest::getAppGuid()const -{ - return appGuid_; -} - -void DeleteTableRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); -} - -long DeleteTableRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteTableRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/DeleteTableResult.cc b/dataworks-public/src/model/DeleteTableResult.cc deleted file mode 100644 index f63adb2ce..000000000 --- a/dataworks-public/src/model/DeleteTableResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteTableResult::DeleteTableResult() : - ServiceResult() -{} - -DeleteTableResult::DeleteTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteTableResult::~DeleteTableResult() -{} - -void DeleteTableResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto taskInfoNode = value["TaskInfo"]; - if(!taskInfoNode["TaskId"].isNull()) - taskInfo_.taskId = taskInfoNode["TaskId"].asString(); - if(!taskInfoNode["Content"].isNull()) - taskInfo_.content = taskInfoNode["Content"].asString(); - if(!taskInfoNode["Status"].isNull()) - taskInfo_.status = taskInfoNode["Status"].asString(); - if(!taskInfoNode["NextTaskId"].isNull()) - taskInfo_.nextTaskId = taskInfoNode["NextTaskId"].asString(); - -} - -DeleteTableResult::TaskInfo DeleteTableResult::getTaskInfo()const -{ - return taskInfo_; -} - diff --git a/dataworks-public/src/model/DeleteTableThemeRequest.cc b/dataworks-public/src/model/DeleteTableThemeRequest.cc deleted file mode 100644 index 7fe092ec8..000000000 --- a/dataworks-public/src/model/DeleteTableThemeRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteTableThemeRequest; - -DeleteTableThemeRequest::DeleteTableThemeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTableTheme") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteTableThemeRequest::~DeleteTableThemeRequest() -{} - -long DeleteTableThemeRequest::getThemeId()const -{ - return themeId_; -} - -void DeleteTableThemeRequest::setThemeId(long themeId) -{ - themeId_ = themeId; - setParameter("ThemeId", std::to_string(themeId)); -} - -long DeleteTableThemeRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteTableThemeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/DeleteTableThemeResult.cc b/dataworks-public/src/model/DeleteTableThemeResult.cc deleted file mode 100644 index 675fdb185..000000000 --- a/dataworks-public/src/model/DeleteTableThemeResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteTableThemeResult::DeleteTableThemeResult() : - ServiceResult() -{} - -DeleteTableThemeResult::DeleteTableThemeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteTableThemeResult::~DeleteTableThemeResult() -{} - -void DeleteTableThemeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["DeleteResult"].isNull()) - deleteResult_ = value["DeleteResult"].asString() == "true"; - -} - -int DeleteTableThemeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string DeleteTableThemeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteTableThemeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteTableThemeResult::getSuccess()const -{ - return success_; -} - -bool DeleteTableThemeResult::getDeleteResult()const -{ - return deleteResult_; -} - diff --git a/dataworks-public/src/model/DeployFileRequest.cc b/dataworks-public/src/model/DeployFileRequest.cc deleted file mode 100644 index 7285985f4..000000000 --- a/dataworks-public/src/model/DeployFileRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeployFileRequest; - -DeployFileRequest::DeployFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeployFile") -{ - setMethod(HttpRequest::Method::Post); -} - -DeployFileRequest::~DeployFileRequest() -{} - -std::string DeployFileRequest::getComment()const -{ - return comment_; -} - -void DeployFileRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -long DeployFileRequest::getProjectId()const -{ - return projectId_; -} - -void DeployFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long DeployFileRequest::getNodeId()const -{ - return nodeId_; -} - -void DeployFileRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - -std::string DeployFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void DeployFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -long DeployFileRequest::getFileId()const -{ - return fileId_; -} - -void DeployFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - diff --git a/dataworks-public/src/model/DeployFileResult.cc b/dataworks-public/src/model/DeployFileResult.cc deleted file mode 100644 index 924739814..000000000 --- a/dataworks-public/src/model/DeployFileResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeployFileResult::DeployFileResult() : - ServiceResult() -{} - -DeployFileResult::DeployFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeployFileResult::~DeployFileResult() -{} - -void DeployFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int DeployFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long DeployFileResult::getData()const -{ - return data_; -} - -std::string DeployFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeployFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeployFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DescribeEmrHiveTableRequest.cc b/dataworks-public/src/model/DescribeEmrHiveTableRequest.cc new file mode 100644 index 000000000..6d532897a --- /dev/null +++ b/dataworks-public/src/model/DescribeEmrHiveTableRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DescribeEmrHiveTableRequest; + +DescribeEmrHiveTableRequest::DescribeEmrHiveTableRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "DescribeEmrHiveTable") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeEmrHiveTableRequest::~DescribeEmrHiveTableRequest() +{} + +std::string DescribeEmrHiveTableRequest::getDatabaseName()const +{ + return databaseName_; +} + +void DescribeEmrHiveTableRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +std::string DescribeEmrHiveTableRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeEmrHiveTableRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string DescribeEmrHiveTableRequest::getTableName()const +{ + return tableName_; +} + +void DescribeEmrHiveTableRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + diff --git a/dataworks-public/src/model/DescribeEmrHiveTableResult.cc b/dataworks-public/src/model/DescribeEmrHiveTableResult.cc new file mode 100644 index 000000000..fc99ec54e --- /dev/null +++ b/dataworks-public/src/model/DescribeEmrHiveTableResult.cc @@ -0,0 +1,130 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +DescribeEmrHiveTableResult::DescribeEmrHiveTableResult() : + ServiceResult() +{} + +DescribeEmrHiveTableResult::DescribeEmrHiveTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEmrHiveTableResult::~DescribeEmrHiveTableResult() +{} + +void DescribeEmrHiveTableResult::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["ClusterBizId"].isNull()) + data_.clusterBizId = dataNode["ClusterBizId"].asString(); + if(!dataNode["TableName"].isNull()) + data_.tableName = dataNode["TableName"].asString(); + if(!dataNode["TableType"].isNull()) + data_.tableType = dataNode["TableType"].asString(); + if(!dataNode["Owner"].isNull()) + data_.owner = dataNode["Owner"].asString(); + if(!dataNode["OwnerType"].isNull()) + data_.ownerType = dataNode["OwnerType"].asString(); + if(!dataNode["IsTemporary"].isNull()) + data_.isTemporary = dataNode["IsTemporary"].asString() == "true"; + if(!dataNode["SerializationLib"].isNull()) + data_.serializationLib = dataNode["SerializationLib"].asString(); + if(!dataNode["InputFormat"].isNull()) + data_.inputFormat = dataNode["InputFormat"].asString(); + if(!dataNode["OutputFormat"].isNull()) + data_.outputFormat = dataNode["OutputFormat"].asString(); + if(!dataNode["Location"].isNull()) + data_.location = dataNode["Location"].asString(); + if(!dataNode["LastAccessTime"].isNull()) + data_.lastAccessTime = dataNode["LastAccessTime"].asString(); + if(!dataNode["GmtCreate"].isNull()) + data_.gmtCreate = dataNode["GmtCreate"].asString(); + if(!dataNode["GmtModified"].isNull()) + data_.gmtModified = dataNode["GmtModified"].asString(); + if(!dataNode["TableComment"].isNull()) + data_.tableComment = dataNode["TableComment"].asString(); + if(!dataNode["TableParameters"].isNull()) + data_.tableParameters = dataNode["TableParameters"].asString(); + if(!dataNode["PartitionKeys"].isNull()) + data_.partitionKeys = dataNode["PartitionKeys"].asString(); + if(!dataNode["IsCompressed"].isNull()) + data_.isCompressed = dataNode["IsCompressed"].asString() == "true"; + if(!dataNode["ClusterBizName"].isNull()) + data_.clusterBizName = dataNode["ClusterBizName"].asString(); + if(!dataNode["DatabaseName"].isNull()) + data_.databaseName = dataNode["DatabaseName"].asString(); + if(!dataNode["OwnerId"].isNull()) + data_.ownerId = dataNode["OwnerId"].asString(); + if(!dataNode["TableDesc"].isNull()) + data_.tableDesc = dataNode["TableDesc"].asString(); + if(!dataNode["LastModifyTime"].isNull()) + data_.lastModifyTime = dataNode["LastModifyTime"].asString(); + if(!dataNode["TableSize"].isNull()) + data_.tableSize = std::stol(dataNode["TableSize"].asString()); + auto allColumnsNode = dataNode["Columns"]["TableColumn"]; + for (auto dataNodeColumnsTableColumn : allColumnsNode) + { + Data::TableColumn tableColumnObject; + if(!dataNodeColumnsTableColumn["ColumnPosition"].isNull()) + tableColumnObject.columnPosition = std::stoi(dataNodeColumnsTableColumn["ColumnPosition"].asString()); + if(!dataNodeColumnsTableColumn["ColumnName"].isNull()) + tableColumnObject.columnName = dataNodeColumnsTableColumn["ColumnName"].asString(); + if(!dataNodeColumnsTableColumn["ColumnType"].isNull()) + tableColumnObject.columnType = dataNodeColumnsTableColumn["ColumnType"].asString(); + if(!dataNodeColumnsTableColumn["ColumnComment"].isNull()) + tableColumnObject.columnComment = dataNodeColumnsTableColumn["ColumnComment"].asString(); + if(!dataNodeColumnsTableColumn["GmtCreate"].isNull()) + tableColumnObject.gmtCreate = dataNodeColumnsTableColumn["GmtCreate"].asString(); + if(!dataNodeColumnsTableColumn["GmtModified"].isNull()) + tableColumnObject.gmtModified = dataNodeColumnsTableColumn["GmtModified"].asString(); + if(!dataNodeColumnsTableColumn["Comment"].isNull()) + tableColumnObject.comment = dataNodeColumnsTableColumn["Comment"].asString(); + data_.columns.push_back(tableColumnObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +DescribeEmrHiveTableResult::Data DescribeEmrHiveTableResult::getData()const +{ + return data_; +} + +std::string DescribeEmrHiveTableResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeEmrHiveTableResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/DesensitizeDataRequest.cc b/dataworks-public/src/model/DesensitizeDataRequest.cc deleted file mode 100644 index c4f30604b..000000000 --- a/dataworks-public/src/model/DesensitizeDataRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DesensitizeDataRequest; - -DesensitizeDataRequest::DesensitizeDataRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DesensitizeData") -{ - setMethod(HttpRequest::Method::Get); -} - -DesensitizeDataRequest::~DesensitizeDataRequest() -{} - -std::string DesensitizeDataRequest::getSceneCode()const -{ - return sceneCode_; -} - -void DesensitizeDataRequest::setSceneCode(const std::string& sceneCode) -{ - sceneCode_ = sceneCode; - setBodyParameter("SceneCode", sceneCode); -} - -std::string DesensitizeDataRequest::getData()const -{ - return data_; -} - -void DesensitizeDataRequest::setData(const std::string& data) -{ - data_ = data; - setBodyParameter("Data", data); -} - diff --git a/dataworks-public/src/model/DesensitizeDataResult.cc b/dataworks-public/src/model/DesensitizeDataResult.cc deleted file mode 100644 index 495242857..000000000 --- a/dataworks-public/src/model/DesensitizeDataResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DesensitizeDataResult::DesensitizeDataResult() : - ServiceResult() -{} - -DesensitizeDataResult::DesensitizeDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DesensitizeDataResult::~DesensitizeDataResult() -{} - -void DesensitizeDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["DesensitizeData"].isNull()) - desensitizeData_ = value["DesensitizeData"].asString(); - -} - -std::string DesensitizeDataResult::getDesensitizeData()const -{ - return desensitizeData_; -} - diff --git a/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc b/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc deleted file mode 100644 index 2840949d9..000000000 --- a/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::EstablishRelationTableToBusinessRequest; - -EstablishRelationTableToBusinessRequest::EstablishRelationTableToBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "EstablishRelationTableToBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -EstablishRelationTableToBusinessRequest::~EstablishRelationTableToBusinessRequest() -{} - -std::string EstablishRelationTableToBusinessRequest::getTableGuid()const -{ - return tableGuid_; -} - -void EstablishRelationTableToBusinessRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setBodyParameter("TableGuid", tableGuid); -} - -std::string EstablishRelationTableToBusinessRequest::getBusinessId()const -{ - return businessId_; -} - -void EstablishRelationTableToBusinessRequest::setBusinessId(const std::string& businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", businessId); -} - -long EstablishRelationTableToBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void EstablishRelationTableToBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string EstablishRelationTableToBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void EstablishRelationTableToBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string EstablishRelationTableToBusinessRequest::getFolderId()const -{ - return folderId_; -} - -void EstablishRelationTableToBusinessRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); -} - diff --git a/dataworks-public/src/model/EstablishRelationTableToBusinessResult.cc b/dataworks-public/src/model/EstablishRelationTableToBusinessResult.cc deleted file mode 100644 index 33c00cb89..000000000 --- a/dataworks-public/src/model/EstablishRelationTableToBusinessResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -EstablishRelationTableToBusinessResult::EstablishRelationTableToBusinessResult() : - ServiceResult() -{} - -EstablishRelationTableToBusinessResult::EstablishRelationTableToBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -EstablishRelationTableToBusinessResult::~EstablishRelationTableToBusinessResult() -{} - -void EstablishRelationTableToBusinessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int EstablishRelationTableToBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string EstablishRelationTableToBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string EstablishRelationTableToBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool EstablishRelationTableToBusinessResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetBaselineConfigRequest.cc b/dataworks-public/src/model/GetBaselineConfigRequest.cc deleted file mode 100644 index 79cdf0151..000000000 --- a/dataworks-public/src/model/GetBaselineConfigRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetBaselineConfigRequest; - -GetBaselineConfigRequest::GetBaselineConfigRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -GetBaselineConfigRequest::~GetBaselineConfigRequest() -{} - -long GetBaselineConfigRequest::getBaselineId()const -{ - return baselineId_; -} - -void GetBaselineConfigRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); -} - diff --git a/dataworks-public/src/model/GetBaselineConfigResult.cc b/dataworks-public/src/model/GetBaselineConfigResult.cc deleted file mode 100644 index 8740ef455..000000000 --- a/dataworks-public/src/model/GetBaselineConfigResult.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetBaselineConfigResult::GetBaselineConfigResult() : - ServiceResult() -{} - -GetBaselineConfigResult::GetBaselineConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBaselineConfigResult::~GetBaselineConfigResult() -{} - -void GetBaselineConfigResult::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["BaselineId"].isNull()) - data_.baselineId = std::stol(dataNode["BaselineId"].asString()); - if(!dataNode["Priority"].isNull()) - data_.priority = std::stoi(dataNode["Priority"].asString()); - if(!dataNode["BaselineName"].isNull()) - data_.baselineName = dataNode["BaselineName"].asString(); - if(!dataNode["Owner"].isNull()) - data_.owner = dataNode["Owner"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["UseFlag"].isNull()) - data_.useFlag = dataNode["UseFlag"].asString() == "true"; - if(!dataNode["BaselineType"].isNull()) - data_.baselineType = dataNode["BaselineType"].asString(); - if(!dataNode["ExpHour"].isNull()) - data_.expHour = std::stoi(dataNode["ExpHour"].asString()); - if(!dataNode["ExpMinu"].isNull()) - data_.expMinu = std::stoi(dataNode["ExpMinu"].asString()); - if(!dataNode["SlaHour"].isNull()) - data_.slaHour = std::stoi(dataNode["SlaHour"].asString()); - if(!dataNode["SlaMinu"].isNull()) - data_.slaMinu = std::stoi(dataNode["SlaMinu"].asString()); - if(!dataNode["HourExpDetail"].isNull()) - data_.hourExpDetail = dataNode["HourExpDetail"].asString(); - if(!dataNode["HourSlaDetail"].isNull()) - data_.hourSlaDetail = dataNode["HourSlaDetail"].asString(); - if(!dataNode["IsDefault"].isNull()) - data_.isDefault = dataNode["IsDefault"].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 GetBaselineConfigResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetBaselineConfigResult::Data GetBaselineConfigResult::getData()const -{ - return data_; -} - -std::string GetBaselineConfigResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetBaselineConfigResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetBaselineConfigResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetBaselineKeyPathRequest.cc b/dataworks-public/src/model/GetBaselineKeyPathRequest.cc deleted file mode 100644 index 094c22e15..000000000 --- a/dataworks-public/src/model/GetBaselineKeyPathRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetBaselineKeyPathRequest; - -GetBaselineKeyPathRequest::GetBaselineKeyPathRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineKeyPath") -{ - setMethod(HttpRequest::Method::Post); -} - -GetBaselineKeyPathRequest::~GetBaselineKeyPathRequest() -{} - -std::string GetBaselineKeyPathRequest::getBizdate()const -{ - return bizdate_; -} - -void GetBaselineKeyPathRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); -} - -int GetBaselineKeyPathRequest::getInGroupId()const -{ - return inGroupId_; -} - -void GetBaselineKeyPathRequest::setInGroupId(int inGroupId) -{ - inGroupId_ = inGroupId; - setBodyParameter("InGroupId", std::to_string(inGroupId)); -} - -long GetBaselineKeyPathRequest::getBaselineId()const -{ - return baselineId_; -} - -void GetBaselineKeyPathRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); -} - diff --git a/dataworks-public/src/model/GetBaselineKeyPathResult.cc b/dataworks-public/src/model/GetBaselineKeyPathResult.cc deleted file mode 100644 index 27113b2cf..000000000 --- a/dataworks-public/src/model/GetBaselineKeyPathResult.cc +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetBaselineKeyPathResult::GetBaselineKeyPathResult() : - ServiceResult() -{} - -GetBaselineKeyPathResult::GetBaselineKeyPathResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBaselineKeyPathResult::~GetBaselineKeyPathResult() -{} - -void GetBaselineKeyPathResult::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["InstanceId"].isNull()) - dataObject.instanceId = std::stol(valueDataDataItem["InstanceId"].asString()); - if(!valueDataDataItem["ProjectId"].isNull()) - dataObject.projectId = std::stol(valueDataDataItem["ProjectId"].asString()); - if(!valueDataDataItem["NodeId"].isNull()) - dataObject.nodeId = std::stol(valueDataDataItem["NodeId"].asString()); - if(!valueDataDataItem["NodeName"].isNull()) - dataObject.nodeName = valueDataDataItem["NodeName"].asString(); - if(!valueDataDataItem["Bizdate"].isNull()) - dataObject.bizdate = std::stol(valueDataDataItem["Bizdate"].asString()); - if(!valueDataDataItem["InGroupId"].isNull()) - dataObject.inGroupId = std::stoi(valueDataDataItem["InGroupId"].asString()); - if(!valueDataDataItem["Owner"].isNull()) - dataObject.owner = valueDataDataItem["Owner"].asString(); - if(!valueDataDataItem["PrgType"].isNull()) - dataObject.prgType = std::stoi(valueDataDataItem["PrgType"].asString()); - auto allRunsNode = valueDataDataItem["Runs"]["RunsItem"]; - for (auto valueDataDataItemRunsRunsItem : allRunsNode) - { - DataItem::RunsItem runsObject; - if(!valueDataDataItemRunsRunsItem["AbsTime"].isNull()) - runsObject.absTime = std::stol(valueDataDataItemRunsRunsItem["AbsTime"].asString()); - if(!valueDataDataItemRunsRunsItem["BeginCast"].isNull()) - runsObject.beginCast = std::stol(valueDataDataItemRunsRunsItem["BeginCast"].asString()); - if(!valueDataDataItemRunsRunsItem["BeginRunningTime"].isNull()) - runsObject.beginRunningTime = std::stol(valueDataDataItemRunsRunsItem["BeginRunningTime"].asString()); - if(!valueDataDataItemRunsRunsItem["BeginWaitResTime"].isNull()) - runsObject.beginWaitResTime = std::stol(valueDataDataItemRunsRunsItem["BeginWaitResTime"].asString()); - if(!valueDataDataItemRunsRunsItem["BeginWaitTimeTime"].isNull()) - runsObject.beginWaitTimeTime = std::stol(valueDataDataItemRunsRunsItem["BeginWaitTimeTime"].asString()); - if(!valueDataDataItemRunsRunsItem["Bizdate"].isNull()) - runsObject.bizdate = std::stol(valueDataDataItemRunsRunsItem["Bizdate"].asString()); - if(!valueDataDataItemRunsRunsItem["CycTime"].isNull()) - runsObject.cycTime = std::stol(valueDataDataItemRunsRunsItem["CycTime"].asString()); - if(!valueDataDataItemRunsRunsItem["EndCast"].isNull()) - runsObject.endCast = std::stol(valueDataDataItemRunsRunsItem["EndCast"].asString()); - if(!valueDataDataItemRunsRunsItem["FinishTime"].isNull()) - runsObject.finishTime = std::stol(valueDataDataItemRunsRunsItem["FinishTime"].asString()); - if(!valueDataDataItemRunsRunsItem["InGroupId"].isNull()) - runsObject.inGroupId = std::stoi(valueDataDataItemRunsRunsItem["InGroupId"].asString()); - if(!valueDataDataItemRunsRunsItem["InstanceId"].isNull()) - runsObject.instanceId = std::stol(valueDataDataItemRunsRunsItem["InstanceId"].asString()); - if(!valueDataDataItemRunsRunsItem["NodeId"].isNull()) - runsObject.nodeId = std::stol(valueDataDataItemRunsRunsItem["NodeId"].asString()); - if(!valueDataDataItemRunsRunsItem["NodeName"].isNull()) - runsObject.nodeName = valueDataDataItemRunsRunsItem["NodeName"].asString(); - if(!valueDataDataItemRunsRunsItem["Owner"].isNull()) - runsObject.owner = valueDataDataItemRunsRunsItem["Owner"].asString(); - if(!valueDataDataItemRunsRunsItem["ProjectId"].isNull()) - runsObject.projectId = std::stol(valueDataDataItemRunsRunsItem["ProjectId"].asString()); - if(!valueDataDataItemRunsRunsItem["Status"].isNull()) - runsObject.status = valueDataDataItemRunsRunsItem["Status"].asString(); - dataObject.runs.push_back(runsObject); - } - auto allTopicsNode = valueDataDataItem["Topics"]["TopicsItem"]; - for (auto valueDataDataItemTopicsTopicsItem : allTopicsNode) - { - DataItem::TopicsItem topicsObject; - if(!valueDataDataItemTopicsTopicsItem["InstanceId"].isNull()) - topicsObject.instanceId = std::stol(valueDataDataItemTopicsTopicsItem["InstanceId"].asString()); - if(!valueDataDataItemTopicsTopicsItem["TopicId"].isNull()) - topicsObject.topicId = std::stol(valueDataDataItemTopicsTopicsItem["TopicId"].asString()); - if(!valueDataDataItemTopicsTopicsItem["TopicName"].isNull()) - topicsObject.topicName = std::stol(valueDataDataItemTopicsTopicsItem["TopicName"].asString()); - if(!valueDataDataItemTopicsTopicsItem["AddTime"].isNull()) - topicsObject.addTime = std::stol(valueDataDataItemTopicsTopicsItem["AddTime"].asString()); - dataObject.topics.push_back(topicsObject); - } - 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 GetBaselineKeyPathResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector GetBaselineKeyPathResult::getData()const -{ - return data_; -} - -std::string GetBaselineKeyPathResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetBaselineKeyPathResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetBaselineKeyPathResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetBaselineStatusRequest.cc b/dataworks-public/src/model/GetBaselineStatusRequest.cc deleted file mode 100644 index 7c98efd9f..000000000 --- a/dataworks-public/src/model/GetBaselineStatusRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetBaselineStatusRequest; - -GetBaselineStatusRequest::GetBaselineStatusRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetBaselineStatusRequest::~GetBaselineStatusRequest() -{} - -std::string GetBaselineStatusRequest::getBizdate()const -{ - return bizdate_; -} - -void GetBaselineStatusRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); -} - -int GetBaselineStatusRequest::getInGroupId()const -{ - return inGroupId_; -} - -void GetBaselineStatusRequest::setInGroupId(int inGroupId) -{ - inGroupId_ = inGroupId; - setBodyParameter("InGroupId", std::to_string(inGroupId)); -} - -long GetBaselineStatusRequest::getBaselineId()const -{ - return baselineId_; -} - -void GetBaselineStatusRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); -} - diff --git a/dataworks-public/src/model/GetBaselineStatusResult.cc b/dataworks-public/src/model/GetBaselineStatusResult.cc deleted file mode 100644 index 7b78aa4f2..000000000 --- a/dataworks-public/src/model/GetBaselineStatusResult.cc +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetBaselineStatusResult::GetBaselineStatusResult() : - ServiceResult() -{} - -GetBaselineStatusResult::GetBaselineStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBaselineStatusResult::~GetBaselineStatusResult() -{} - -void GetBaselineStatusResult::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["BaselineName"].isNull()) - data_.baselineName = dataNode["BaselineName"].asString(); - if(!dataNode["BaselineId"].isNull()) - data_.baselineId = std::stol(dataNode["BaselineId"].asString()); - if(!dataNode["Bizdate"].isNull()) - data_.bizdate = std::stol(dataNode["Bizdate"].asString()); - if(!dataNode["Owner"].isNull()) - data_.owner = dataNode["Owner"].asString(); - if(!dataNode["ExpTime"].isNull()) - data_.expTime = std::stol(dataNode["ExpTime"].asString()); - if(!dataNode["FinishTime"].isNull()) - data_.finishTime = std::stol(dataNode["FinishTime"].asString()); - if(!dataNode["EndCast"].isNull()) - data_.endCast = std::stol(dataNode["EndCast"].asString()); - if(!dataNode["SlaTime"].isNull()) - data_.slaTime = std::stol(dataNode["SlaTime"].asString()); - if(!dataNode["Priority"].isNull()) - data_.priority = std::stoi(dataNode["Priority"].asString()); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["Buffer"].isNull()) - data_.buffer = std::stof(dataNode["Buffer"].asString()); - if(!dataNode["Status"].isNull()) - data_.status = dataNode["Status"].asString(); - if(!dataNode["FinishStatus"].isNull()) - data_.finishStatus = dataNode["FinishStatus"].asString(); - if(!dataNode["InGroupId"].isNull()) - data_.inGroupId = std::stoi(dataNode["InGroupId"].asString()); - auto lastInstanceNode = dataNode["LastInstance"]; - if(!lastInstanceNode["InstanceId"].isNull()) - data_.lastInstance.instanceId = std::stol(lastInstanceNode["InstanceId"].asString()); - if(!lastInstanceNode["Status"].isNull()) - data_.lastInstance.status = lastInstanceNode["Status"].asString(); - if(!lastInstanceNode["ProjectId"].isNull()) - data_.lastInstance.projectId = std::stol(lastInstanceNode["ProjectId"].asString()); - if(!lastInstanceNode["Owner"].isNull()) - data_.lastInstance.owner = lastInstanceNode["Owner"].asString(); - if(!lastInstanceNode["NodeId"].isNull()) - data_.lastInstance.nodeId = std::stol(lastInstanceNode["NodeId"].asString()); - if(!lastInstanceNode["FinishTime"].isNull()) - data_.lastInstance.finishTime = std::stol(lastInstanceNode["FinishTime"].asString()); - if(!lastInstanceNode["EndCast"].isNull()) - data_.lastInstance.endCast = std::stol(lastInstanceNode["EndCast"].asString()); - if(!lastInstanceNode["NodeName"].isNull()) - data_.lastInstance.nodeName = lastInstanceNode["NodeName"].asString(); - auto blockInstanceNode = dataNode["BlockInstance"]; - if(!blockInstanceNode["InstanceId"].isNull()) - data_.blockInstance.instanceId = std::stol(blockInstanceNode["InstanceId"].asString()); - if(!blockInstanceNode["Status"].isNull()) - data_.blockInstance.status = blockInstanceNode["Status"].asString(); - if(!blockInstanceNode["ProjectId"].isNull()) - data_.blockInstance.projectId = std::stol(blockInstanceNode["ProjectId"].asString()); - if(!blockInstanceNode["Owner"].isNull()) - data_.blockInstance.owner = blockInstanceNode["Owner"].asString(); - if(!blockInstanceNode["NodeId"].isNull()) - data_.blockInstance.nodeId = std::stol(blockInstanceNode["NodeId"].asString()); - if(!blockInstanceNode["FinishTime"].isNull()) - data_.blockInstance.finishTime = std::stol(blockInstanceNode["FinishTime"].asString()); - if(!blockInstanceNode["EndCast"].isNull()) - data_.blockInstance.endCast = std::stol(blockInstanceNode["EndCast"].asString()); - if(!blockInstanceNode["NodeName"].isNull()) - data_.blockInstance.nodeName = blockInstanceNode["NodeName"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetBaselineStatusResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetBaselineStatusResult::Data GetBaselineStatusResult::getData()const -{ - return data_; -} - -std::string GetBaselineStatusResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetBaselineStatusResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetBaselineStatusResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetBusinessRequest.cc b/dataworks-public/src/model/GetBusinessRequest.cc deleted file mode 100644 index e49125a1c..000000000 --- a/dataworks-public/src/model/GetBusinessRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetBusinessRequest; - -GetBusinessRequest::GetBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -GetBusinessRequest::~GetBusinessRequest() -{} - -long GetBusinessRequest::getBusinessId()const -{ - return businessId_; -} - -void GetBusinessRequest::setBusinessId(long businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", std::to_string(businessId)); -} - -long GetBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void GetBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/GetBusinessResult.cc b/dataworks-public/src/model/GetBusinessResult.cc deleted file mode 100644 index 855fdaf95..000000000 --- a/dataworks-public/src/model/GetBusinessResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetBusinessResult::GetBusinessResult() : - ServiceResult() -{} - -GetBusinessResult::GetBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBusinessResult::~GetBusinessResult() -{} - -void GetBusinessResult::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["BusinessId"].isNull()) - data_.businessId = std::stol(dataNode["BusinessId"].asString()); - if(!dataNode["BusinessName"].isNull()) - data_.businessName = dataNode["BusinessName"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = dataNode["ProjectId"].asString(); - if(!dataNode["Owner"].isNull()) - data_.owner = dataNode["Owner"].asString(); - if(!dataNode["Description"].isNull()) - data_.description = dataNode["Description"].asString(); - if(!dataNode["UseType"].isNull()) - data_.useType = dataNode["UseType"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetBusinessResult::Data GetBusinessResult::getData()const -{ - return data_; -} - -std::string GetBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetBusinessResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetDagRequest.cc b/dataworks-public/src/model/GetDagRequest.cc deleted file mode 100644 index fd01c1bd1..000000000 --- a/dataworks-public/src/model/GetDagRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDagRequest; - -GetDagRequest::GetDagRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDag") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDagRequest::~GetDagRequest() -{} - -std::string GetDagRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetDagRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetDagRequest::getDagId()const -{ - return dagId_; -} - -void GetDagRequest::setDagId(long dagId) -{ - dagId_ = dagId; - setBodyParameter("DagId", std::to_string(dagId)); -} - diff --git a/dataworks-public/src/model/GetDagResult.cc b/dataworks-public/src/model/GetDagResult.cc deleted file mode 100644 index 3600a214f..000000000 --- a/dataworks-public/src/model/GetDagResult.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetDagResult::GetDagResult() : - ServiceResult() -{} - -GetDagResult::GetDagResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDagResult::~GetDagResult() -{} - -void GetDagResult::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["DagId"].isNull()) - data_.dagId = std::stol(dataNode["DagId"].asString()); - if(!dataNode["Name"].isNull()) - data_.name = dataNode["Name"].asString(); - if(!dataNode["Type"].isNull()) - data_.type = dataNode["Type"].asString(); - if(!dataNode["Status"].isNull()) - data_.status = dataNode["Status"].asString(); - if(!dataNode["Bizdate"].isNull()) - data_.bizdate = std::stol(dataNode["Bizdate"].asString()); - if(!dataNode["Gmtdate"].isNull()) - data_.gmtdate = std::stol(dataNode["Gmtdate"].asString()); - if(!dataNode["StartTime"].isNull()) - data_.startTime = std::stol(dataNode["StartTime"].asString()); - if(!dataNode["FinishTime"].isNull()) - data_.finishTime = std::stol(dataNode["FinishTime"].asString()); - if(!dataNode["CreateTime"].isNull()) - data_.createTime = std::stol(dataNode["CreateTime"].asString()); - if(!dataNode["CreateUser"].isNull()) - data_.createUser = dataNode["CreateUser"].asString(); - if(!dataNode["ModifyTime"].isNull()) - data_.modifyTime = std::stol(dataNode["ModifyTime"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - -} - -int GetDagResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetDagResult::Data GetDagResult::getData()const -{ - return data_; -} - -std::string GetDagResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetDagResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetDagResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetDataServiceApiRequest.cc b/dataworks-public/src/model/GetDataServiceApiRequest.cc deleted file mode 100644 index 7e73b8f68..000000000 --- a/dataworks-public/src/model/GetDataServiceApiRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataServiceApiRequest; - -GetDataServiceApiRequest::GetDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataServiceApiRequest::~GetDataServiceApiRequest() -{} - -long GetDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void GetDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long GetDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void GetDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long GetDataServiceApiRequest::getApiId()const -{ - return apiId_; -} - -void GetDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/GetDataServiceApiResult.cc b/dataworks-public/src/model/GetDataServiceApiResult.cc deleted file mode 100644 index 7c19ae7d0..000000000 --- a/dataworks-public/src/model/GetDataServiceApiResult.cc +++ /dev/null @@ -1,264 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetDataServiceApiResult::GetDataServiceApiResult() : - ServiceResult() -{} - -GetDataServiceApiResult::GetDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDataServiceApiResult::~GetDataServiceApiResult() -{} - -void GetDataServiceApiResult::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["ApiId"].isNull()) - data_.apiId = std::stol(dataNode["ApiId"].asString()); - if(!dataNode["ApiMode"].isNull()) - data_.apiMode = std::stoi(dataNode["ApiMode"].asString()); - if(!dataNode["ApiName"].isNull()) - data_.apiName = dataNode["ApiName"].asString(); - if(!dataNode["ApiPath"].isNull()) - data_.apiPath = dataNode["ApiPath"].asString(); - if(!dataNode["CreatedTime"].isNull()) - data_.createdTime = dataNode["CreatedTime"].asString(); - if(!dataNode["CreatorId"].isNull()) - data_.creatorId = dataNode["CreatorId"].asString(); - if(!dataNode["Description"].isNull()) - data_.description = dataNode["Description"].asString(); - if(!dataNode["GroupId"].isNull()) - data_.groupId = dataNode["GroupId"].asString(); - if(!dataNode["ModifiedTime"].isNull()) - data_.modifiedTime = dataNode["ModifiedTime"].asString(); - if(!dataNode["OperatorId"].isNull()) - data_.operatorId = dataNode["OperatorId"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["RequestMethod"].isNull()) - data_.requestMethod = std::stoi(dataNode["RequestMethod"].asString()); - if(!dataNode["ResponseContentType"].isNull()) - data_.responseContentType = std::stoi(dataNode["ResponseContentType"].asString()); - if(!dataNode["Status"].isNull()) - data_.status = std::stoi(dataNode["Status"].asString()); - if(!dataNode["TenantId"].isNull()) - data_.tenantId = std::stol(dataNode["TenantId"].asString()); - if(!dataNode["Timeout"].isNull()) - data_.timeout = std::stoi(dataNode["Timeout"].asString()); - if(!dataNode["VisibleRange"].isNull()) - data_.visibleRange = std::stoi(dataNode["VisibleRange"].asString()); - if(!dataNode["FolderId"].isNull()) - data_.folderId = std::stol(dataNode["FolderId"].asString()); - auto registrationDetailsNode = dataNode["RegistrationDetails"]; - if(!registrationDetailsNode["FailedResultSample"].isNull()) - data_.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); - if(!registrationDetailsNode["ServiceContentType"].isNull()) - data_.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString()); - if(!registrationDetailsNode["ServiceHost"].isNull()) - data_.registrationDetails.serviceHost = registrationDetailsNode["ServiceHost"].asString(); - if(!registrationDetailsNode["ServicePath"].isNull()) - data_.registrationDetails.servicePath = registrationDetailsNode["ServicePath"].asString(); - if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) - data_.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString(); - if(!registrationDetailsNode["SuccessfulResultSample"].isNull()) - data_.registrationDetails.successfulResultSample = registrationDetailsNode["SuccessfulResultSample"].asString(); - auto allRegistrationErrorCodesNode = registrationDetailsNode["RegistrationErrorCodes"]["RegistrationErrorCode"]; - for (auto registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode : allRegistrationErrorCodesNode) - { - Data::RegistrationDetails::RegistrationErrorCode registrationErrorCodeObject; - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull()) - registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].isNull()) - registrationErrorCodeObject.errorMessage = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) - registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); - data_.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); - } - auto allRegistrationRequestParametersNode = registrationDetailsNode["RegistrationRequestParameters"]["RegistrationRequestParameter"]; - for (auto registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter : allRegistrationRequestParametersNode) - { - Data::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].isNull()) - registrationRequestParameterObject.columnName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) - registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull()) - registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull()) - registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) - registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) - registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull()) - registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) - registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull()) - registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString()); - data_.registrationDetails.registrationRequestParameters.push_back(registrationRequestParameterObject); - } - auto scriptDetailsNode = dataNode["ScriptDetails"]; - if(!scriptDetailsNode["IsPagedResponse"].isNull()) - data_.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true"; - if(!scriptDetailsNode["Script"].isNull()) - data_.scriptDetails.script = scriptDetailsNode["Script"].asString(); - auto allScriptRequestParametersNode = scriptDetailsNode["ScriptRequestParameters"]["ScriptRequestParameter"]; - for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode) - { - Data::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].isNull()) - scriptRequestParameterObject.columnName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) - scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull()) - scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull()) - scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) - scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) - scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull()) - scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) - scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull()) - scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString()); - data_.scriptDetails.scriptRequestParameters.push_back(scriptRequestParameterObject); - } - auto allScriptResponseParametersNode = scriptDetailsNode["ScriptResponseParameters"]["ScriptResponseParameter"]; - for (auto scriptDetailsNodeScriptResponseParametersScriptResponseParameter : allScriptResponseParametersNode) - { - Data::ScriptDetails::ScriptResponseParameter scriptResponseParameterObject; - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].isNull()) - scriptResponseParameterObject.columnName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) - scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) - scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].isNull()) - scriptResponseParameterObject.parameterDescription = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull()) - scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString(); - data_.scriptDetails.scriptResponseParameters.push_back(scriptResponseParameterObject); - } - auto scriptConnectionNode = scriptDetailsNode["ScriptConnection"]; - if(!scriptConnectionNode["ConnectionId"].isNull()) - data_.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString()); - if(!scriptConnectionNode["TableName"].isNull()) - data_.scriptDetails.scriptConnection.tableName = scriptConnectionNode["TableName"].asString(); - auto wizardDetailsNode = dataNode["WizardDetails"]; - if(!wizardDetailsNode["IsPagedResponse"].isNull()) - data_.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true"; - auto allWizardRequestParametersNode = wizardDetailsNode["WizardRequestParameters"]["WizardRequestParameter"]; - for (auto wizardDetailsNodeWizardRequestParametersWizardRequestParameter : allWizardRequestParametersNode) - { - Data::WizardDetails::WizardRequestParameter wizardRequestParameterObject; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].isNull()) - wizardRequestParameterObject.columnName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) - wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull()) - wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull()) - wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) - wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) - wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull()) - wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) - wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull()) - wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString()); - data_.wizardDetails.wizardRequestParameters.push_back(wizardRequestParameterObject); - } - auto allWizardResponseParametersNode = wizardDetailsNode["WizardResponseParameters"]["WizardResponseParameter"]; - for (auto wizardDetailsNodeWizardResponseParametersWizardResponseParameter : allWizardResponseParametersNode) - { - Data::WizardDetails::WizardResponseParameter wizardResponseParameterObject; - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].isNull()) - wizardResponseParameterObject.columnName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) - wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) - wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].isNull()) - wizardResponseParameterObject.parameterDescription = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull()) - wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString(); - data_.wizardDetails.wizardResponseParameters.push_back(wizardResponseParameterObject); - } - auto wizardConnectionNode = wizardDetailsNode["WizardConnection"]; - if(!wizardConnectionNode["ConnectionId"].isNull()) - data_.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString()); - if(!wizardConnectionNode["TableName"].isNull()) - data_.wizardDetails.wizardConnection.tableName = wizardConnectionNode["TableName"].asString(); - auto allProtocols = dataNode["Protocols"]["Protocol"]; - for (auto value : allProtocols) - data_.protocols.push_back(value.asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetDataServiceApiResult::Data GetDataServiceApiResult::getData()const -{ - return data_; -} - -std::string GetDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetDataServiceApplicationRequest.cc b/dataworks-public/src/model/GetDataServiceApplicationRequest.cc deleted file mode 100644 index 2421d34d9..000000000 --- a/dataworks-public/src/model/GetDataServiceApplicationRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataServiceApplicationRequest; - -GetDataServiceApplicationRequest::GetDataServiceApplicationRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApplication") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataServiceApplicationRequest::~GetDataServiceApplicationRequest() -{} - -long GetDataServiceApplicationRequest::getTenantId()const -{ - return tenantId_; -} - -void GetDataServiceApplicationRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long GetDataServiceApplicationRequest::getApplicationId()const -{ - return applicationId_; -} - -void GetDataServiceApplicationRequest::setApplicationId(long applicationId) -{ - applicationId_ = applicationId; - setBodyParameter("ApplicationId", std::to_string(applicationId)); -} - -long GetDataServiceApplicationRequest::getProjectId()const -{ - return projectId_; -} - -void GetDataServiceApplicationRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/GetDataServiceApplicationResult.cc b/dataworks-public/src/model/GetDataServiceApplicationResult.cc deleted file mode 100644 index 32b9712a6..000000000 --- a/dataworks-public/src/model/GetDataServiceApplicationResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetDataServiceApplicationResult::GetDataServiceApplicationResult() : - ServiceResult() -{} - -GetDataServiceApplicationResult::GetDataServiceApplicationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDataServiceApplicationResult::~GetDataServiceApplicationResult() -{} - -void GetDataServiceApplicationResult::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["ApplicationCode"].isNull()) - data_.applicationCode = dataNode["ApplicationCode"].asString(); - if(!dataNode["ApplicationId"].isNull()) - data_.applicationId = std::stol(dataNode["ApplicationId"].asString()); - if(!dataNode["ApplicationKey"].isNull()) - data_.applicationKey = dataNode["ApplicationKey"].asString(); - if(!dataNode["ApplicationName"].isNull()) - data_.applicationName = dataNode["ApplicationName"].asString(); - if(!dataNode["ApplicationSecret"].isNull()) - data_.applicationSecret = dataNode["ApplicationSecret"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetDataServiceApplicationResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetDataServiceApplicationResult::Data GetDataServiceApplicationResult::getData()const -{ - return data_; -} - -std::string GetDataServiceApplicationResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetDataServiceApplicationResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetDataServiceApplicationResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetDataServiceFolderRequest.cc b/dataworks-public/src/model/GetDataServiceFolderRequest.cc deleted file mode 100644 index 2a54eb9ee..000000000 --- a/dataworks-public/src/model/GetDataServiceFolderRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataServiceFolderRequest; - -GetDataServiceFolderRequest::GetDataServiceFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataServiceFolderRequest::~GetDataServiceFolderRequest() -{} - -long GetDataServiceFolderRequest::getTenantId()const -{ - return tenantId_; -} - -void GetDataServiceFolderRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long GetDataServiceFolderRequest::getProjectId()const -{ - return projectId_; -} - -void GetDataServiceFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long GetDataServiceFolderRequest::getFolderId()const -{ - return folderId_; -} - -void GetDataServiceFolderRequest::setFolderId(long folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", std::to_string(folderId)); -} - diff --git a/dataworks-public/src/model/GetDataServiceFolderResult.cc b/dataworks-public/src/model/GetDataServiceFolderResult.cc deleted file mode 100644 index 52ea20a58..000000000 --- a/dataworks-public/src/model/GetDataServiceFolderResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetDataServiceFolderResult::GetDataServiceFolderResult() : - ServiceResult() -{} - -GetDataServiceFolderResult::GetDataServiceFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDataServiceFolderResult::~GetDataServiceFolderResult() -{} - -void GetDataServiceFolderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto folderNode = value["Folder"]; - if(!folderNode["TenantId"].isNull()) - folder_.tenantId = std::stol(folderNode["TenantId"].asString()); - if(!folderNode["ProjectId"].isNull()) - folder_.projectId = std::stol(folderNode["ProjectId"].asString()); - if(!folderNode["FolderId"].isNull()) - folder_.folderId = std::stol(folderNode["FolderId"].asString()); - if(!folderNode["FolderName"].isNull()) - folder_.folderName = folderNode["FolderName"].asString(); - if(!folderNode["CreatedTime"].isNull()) - folder_.createdTime = folderNode["CreatedTime"].asString(); - if(!folderNode["ModifiedTime"].isNull()) - folder_.modifiedTime = folderNode["ModifiedTime"].asString(); - if(!folderNode["GroupId"].isNull()) - folder_.groupId = folderNode["GroupId"].asString(); - if(!folderNode["ParentId"].isNull()) - folder_.parentId = std::stol(folderNode["ParentId"].asString()); - -} - -GetDataServiceFolderResult::Folder GetDataServiceFolderResult::getFolder()const -{ - return folder_; -} - diff --git a/dataworks-public/src/model/GetDataServiceGroupRequest.cc b/dataworks-public/src/model/GetDataServiceGroupRequest.cc deleted file mode 100644 index 0ccd5f045..000000000 --- a/dataworks-public/src/model/GetDataServiceGroupRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataServiceGroupRequest; - -GetDataServiceGroupRequest::GetDataServiceGroupRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataServiceGroupRequest::~GetDataServiceGroupRequest() -{} - -std::string GetDataServiceGroupRequest::getGroupId()const -{ - return groupId_; -} - -void GetDataServiceGroupRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setBodyParameter("GroupId", groupId); -} - -long GetDataServiceGroupRequest::getTenantId()const -{ - return tenantId_; -} - -void GetDataServiceGroupRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long GetDataServiceGroupRequest::getProjectId()const -{ - return projectId_; -} - -void GetDataServiceGroupRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/GetDataServiceGroupResult.cc b/dataworks-public/src/model/GetDataServiceGroupResult.cc deleted file mode 100644 index bec2b2fd0..000000000 --- a/dataworks-public/src/model/GetDataServiceGroupResult.cc +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetDataServiceGroupResult::GetDataServiceGroupResult() : - ServiceResult() -{} - -GetDataServiceGroupResult::GetDataServiceGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDataServiceGroupResult::~GetDataServiceGroupResult() -{} - -void GetDataServiceGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto groupNode = value["Group"]; - if(!groupNode["TenantId"].isNull()) - group_.tenantId = std::stol(groupNode["TenantId"].asString()); - if(!groupNode["ProjectId"].isNull()) - group_.projectId = std::stol(groupNode["ProjectId"].asString()); - if(!groupNode["GroupId"].isNull()) - group_.groupId = groupNode["GroupId"].asString(); - if(!groupNode["ApiGatewayGroupId"].isNull()) - group_.apiGatewayGroupId = groupNode["ApiGatewayGroupId"].asString(); - if(!groupNode["GroupName"].isNull()) - group_.groupName = groupNode["GroupName"].asString(); - if(!groupNode["Description"].isNull()) - group_.description = groupNode["Description"].asString(); - if(!groupNode["CreatedTime"].isNull()) - group_.createdTime = groupNode["CreatedTime"].asString(); - if(!groupNode["ModifiedTime"].isNull()) - group_.modifiedTime = groupNode["ModifiedTime"].asString(); - if(!groupNode["CreatorId"].isNull()) - group_.creatorId = groupNode["CreatorId"].asString(); - -} - -GetDataServiceGroupResult::Group GetDataServiceGroupResult::getGroup()const -{ - return group_; -} - diff --git a/dataworks-public/src/model/GetDataServicePublishedApiRequest.cc b/dataworks-public/src/model/GetDataServicePublishedApiRequest.cc deleted file mode 100644 index 23161f731..000000000 --- a/dataworks-public/src/model/GetDataServicePublishedApiRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataServicePublishedApiRequest; - -GetDataServicePublishedApiRequest::GetDataServicePublishedApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServicePublishedApi") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataServicePublishedApiRequest::~GetDataServicePublishedApiRequest() -{} - -long GetDataServicePublishedApiRequest::getTenantId()const -{ - return tenantId_; -} - -void GetDataServicePublishedApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long GetDataServicePublishedApiRequest::getProjectId()const -{ - return projectId_; -} - -void GetDataServicePublishedApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long GetDataServicePublishedApiRequest::getApiId()const -{ - return apiId_; -} - -void GetDataServicePublishedApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/GetDataServicePublishedApiResult.cc b/dataworks-public/src/model/GetDataServicePublishedApiResult.cc deleted file mode 100644 index b34f43934..000000000 --- a/dataworks-public/src/model/GetDataServicePublishedApiResult.cc +++ /dev/null @@ -1,284 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetDataServicePublishedApiResult::GetDataServicePublishedApiResult() : - ServiceResult() -{} - -GetDataServicePublishedApiResult::GetDataServicePublishedApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDataServicePublishedApiResult::~GetDataServicePublishedApiResult() -{} - -void GetDataServicePublishedApiResult::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["ApiId"].isNull()) - data_.apiId = std::stol(dataNode["ApiId"].asString()); - if(!dataNode["ApiMode"].isNull()) - data_.apiMode = std::stoi(dataNode["ApiMode"].asString()); - if(!dataNode["ApiName"].isNull()) - data_.apiName = dataNode["ApiName"].asString(); - if(!dataNode["ApiPath"].isNull()) - data_.apiPath = dataNode["ApiPath"].asString(); - if(!dataNode["CreatedTime"].isNull()) - data_.createdTime = dataNode["CreatedTime"].asString(); - if(!dataNode["CreatorId"].isNull()) - data_.creatorId = dataNode["CreatorId"].asString(); - if(!dataNode["Description"].isNull()) - data_.description = dataNode["Description"].asString(); - if(!dataNode["GroupId"].isNull()) - data_.groupId = dataNode["GroupId"].asString(); - if(!dataNode["ModifiedTime"].isNull()) - data_.modifiedTime = dataNode["ModifiedTime"].asString(); - if(!dataNode["OperatorId"].isNull()) - data_.operatorId = dataNode["OperatorId"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["RequestMethod"].isNull()) - data_.requestMethod = std::stoi(dataNode["RequestMethod"].asString()); - if(!dataNode["ResponseContentType"].isNull()) - data_.responseContentType = std::stoi(dataNode["ResponseContentType"].asString()); - if(!dataNode["Status"].isNull()) - data_.status = std::stoi(dataNode["Status"].asString()); - if(!dataNode["TenantId"].isNull()) - data_.tenantId = std::stol(dataNode["TenantId"].asString()); - if(!dataNode["Timeout"].isNull()) - data_.timeout = std::stoi(dataNode["Timeout"].asString()); - if(!dataNode["VisibleRange"].isNull()) - data_.visibleRange = std::stoi(dataNode["VisibleRange"].asString()); - auto registrationDetailsNode = dataNode["RegistrationDetails"]; - if(!registrationDetailsNode["FailedResultSample"].isNull()) - data_.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); - if(!registrationDetailsNode["ServiceContentType"].isNull()) - data_.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString()); - if(!registrationDetailsNode["ServiceHost"].isNull()) - data_.registrationDetails.serviceHost = registrationDetailsNode["ServiceHost"].asString(); - if(!registrationDetailsNode["ServicePath"].isNull()) - data_.registrationDetails.servicePath = registrationDetailsNode["ServicePath"].asString(); - if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) - data_.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString(); - if(!registrationDetailsNode["SuccessfulResultSample"].isNull()) - data_.registrationDetails.successfulResultSample = registrationDetailsNode["SuccessfulResultSample"].asString(); - auto allRegistrationErrorCodesNode = registrationDetailsNode["RegistrationErrorCodes"]["RegistrationErrorCode"]; - for (auto registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode : allRegistrationErrorCodesNode) - { - Data::RegistrationDetails::RegistrationErrorCode registrationErrorCodeObject; - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull()) - registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].isNull()) - registrationErrorCodeObject.errorMessage = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) - registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); - data_.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); - } - auto allRegistrationRequestParametersNode = registrationDetailsNode["RegistrationRequestParameters"]["RegistrationRequestParameter"]; - for (auto registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter : allRegistrationRequestParametersNode) - { - Data::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) - registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull()) - registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull()) - registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) - registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) - registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull()) - registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) - registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull()) - registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString()); - data_.registrationDetails.registrationRequestParameters.push_back(registrationRequestParameterObject); - } - auto scriptDetailsNode = dataNode["ScriptDetails"]; - if(!scriptDetailsNode["FailedResultSample"].isNull()) - data_.scriptDetails.failedResultSample = scriptDetailsNode["FailedResultSample"].asString(); - if(!scriptDetailsNode["IsPagedResponse"].isNull()) - data_.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true"; - if(!scriptDetailsNode["Script"].isNull()) - data_.scriptDetails.script = scriptDetailsNode["Script"].asString(); - if(!scriptDetailsNode["SuccessfulResultSample"].isNull()) - data_.scriptDetails.successfulResultSample = scriptDetailsNode["SuccessfulResultSample"].asString(); - auto allScriptErrorCodesNode = scriptDetailsNode["ScriptErrorCodes"]["ScriptErrorCode"]; - for (auto scriptDetailsNodeScriptErrorCodesScriptErrorCode : allScriptErrorCodesNode) - { - Data::ScriptDetails::ScriptErrorCode scriptErrorCodeObject; - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].isNull()) - scriptErrorCodeObject.errorCode = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].asString(); - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorMessage"].isNull()) - scriptErrorCodeObject.errorMessage = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorMessage"].asString(); - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].isNull()) - scriptErrorCodeObject.errorSolution = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].asString(); - data_.scriptDetails.scriptErrorCodes.push_back(scriptErrorCodeObject); - } - auto allScriptRequestParametersNode = scriptDetailsNode["ScriptRequestParameters"]["ScriptRequestParameter"]; - for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode) - { - Data::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) - scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull()) - scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull()) - scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) - scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) - scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull()) - scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) - scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull()) - scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString()); - data_.scriptDetails.scriptRequestParameters.push_back(scriptRequestParameterObject); - } - auto allScriptResponseParametersNode = scriptDetailsNode["ScriptResponseParameters"]["ScriptResponseParameter"]; - for (auto scriptDetailsNodeScriptResponseParametersScriptResponseParameter : allScriptResponseParametersNode) - { - Data::ScriptDetails::ScriptResponseParameter scriptResponseParameterObject; - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) - scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) - scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].isNull()) - scriptResponseParameterObject.parameterDescription = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull()) - scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString(); - data_.scriptDetails.scriptResponseParameters.push_back(scriptResponseParameterObject); - } - auto scriptConnectionNode = scriptDetailsNode["ScriptConnection"]; - if(!scriptConnectionNode["ConnectionId"].isNull()) - data_.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString()); - if(!scriptConnectionNode["TableName"].isNull()) - data_.scriptDetails.scriptConnection.tableName = scriptConnectionNode["TableName"].asString(); - auto wizardDetailsNode = dataNode["WizardDetails"]; - if(!wizardDetailsNode["FailedResultSample"].isNull()) - data_.wizardDetails.failedResultSample = wizardDetailsNode["FailedResultSample"].asString(); - if(!wizardDetailsNode["IsPagedResponse"].isNull()) - data_.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true"; - if(!wizardDetailsNode["SuccessfulResultSample"].isNull()) - data_.wizardDetails.successfulResultSample = wizardDetailsNode["SuccessfulResultSample"].asString(); - auto allWizardErrorCodesNode = wizardDetailsNode["WizardErrorCodes"]["WizardErrorCode"]; - for (auto wizardDetailsNodeWizardErrorCodesWizardErrorCode : allWizardErrorCodesNode) - { - Data::WizardDetails::WizardErrorCode wizardErrorCodeObject; - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].isNull()) - wizardErrorCodeObject.errorCode = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].asString(); - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorMessage"].isNull()) - wizardErrorCodeObject.errorMessage = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorMessage"].asString(); - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].isNull()) - wizardErrorCodeObject.errorSolution = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].asString(); - data_.wizardDetails.wizardErrorCodes.push_back(wizardErrorCodeObject); - } - auto allWizardRequestParametersNode = wizardDetailsNode["WizardRequestParameters"]["WizardRequestParameter"]; - for (auto wizardDetailsNodeWizardRequestParametersWizardRequestParameter : allWizardRequestParametersNode) - { - Data::WizardDetails::WizardRequestParameter wizardRequestParameterObject; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) - wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull()) - wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull()) - wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) - wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) - wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull()) - wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) - wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull()) - wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString()); - data_.wizardDetails.wizardRequestParameters.push_back(wizardRequestParameterObject); - } - auto allWizardResponseParametersNode = wizardDetailsNode["WizardResponseParameters"]["WizardResponseParameter"]; - for (auto wizardDetailsNodeWizardResponseParametersWizardResponseParameter : allWizardResponseParametersNode) - { - Data::WizardDetails::WizardResponseParameter wizardResponseParameterObject; - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) - wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) - wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].isNull()) - wizardResponseParameterObject.parameterDescription = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull()) - wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString(); - data_.wizardDetails.wizardResponseParameters.push_back(wizardResponseParameterObject); - } - auto wizardConnectionNode = wizardDetailsNode["WizardConnection"]; - if(!wizardConnectionNode["ConnectionId"].isNull()) - data_.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString()); - if(!wizardConnectionNode["TableName"].isNull()) - data_.wizardDetails.wizardConnection.tableName = wizardConnectionNode["TableName"].asString(); - auto allProtocols = dataNode["Protocols"]["Protocol"]; - for (auto value : allProtocols) - data_.protocols.push_back(value.asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetDataServicePublishedApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetDataServicePublishedApiResult::Data GetDataServicePublishedApiResult::getData()const -{ - return data_; -} - -std::string GetDataServicePublishedApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetDataServicePublishedApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetDataServicePublishedApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetDeploymentRequest.cc b/dataworks-public/src/model/GetDeploymentRequest.cc deleted file mode 100644 index f47baf811..000000000 --- a/dataworks-public/src/model/GetDeploymentRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDeploymentRequest; - -GetDeploymentRequest::GetDeploymentRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDeployment") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDeploymentRequest::~GetDeploymentRequest() -{} - -long GetDeploymentRequest::getDeploymentId()const -{ - return deploymentId_; -} - -void GetDeploymentRequest::setDeploymentId(long deploymentId) -{ - deploymentId_ = deploymentId; - setBodyParameter("DeploymentId", std::to_string(deploymentId)); -} - -long GetDeploymentRequest::getProjectId()const -{ - return projectId_; -} - -void GetDeploymentRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetDeploymentRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetDeploymentRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/GetDeploymentResult.cc b/dataworks-public/src/model/GetDeploymentResult.cc deleted file mode 100644 index e5226f452..000000000 --- a/dataworks-public/src/model/GetDeploymentResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetDeploymentResult::GetDeploymentResult() : - ServiceResult() -{} - -GetDeploymentResult::GetDeploymentResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDeploymentResult::~GetDeploymentResult() -{} - -void GetDeploymentResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - auto deploymentNode = dataNode["Deployment"]; - if(!deploymentNode["Name"].isNull()) - data_.deployment.name = deploymentNode["Name"].asString(); - if(!deploymentNode["CreatorId"].isNull()) - data_.deployment.creatorId = deploymentNode["CreatorId"].asString(); - if(!deploymentNode["HandlerId"].isNull()) - data_.deployment.handlerId = deploymentNode["HandlerId"].asString(); - if(!deploymentNode["CreateTime"].isNull()) - data_.deployment.createTime = std::stol(deploymentNode["CreateTime"].asString()); - if(!deploymentNode["ExecuteTime"].isNull()) - data_.deployment.executeTime = std::stol(deploymentNode["ExecuteTime"].asString()); - if(!deploymentNode["Status"].isNull()) - data_.deployment.status = std::stoi(deploymentNode["Status"].asString()); - if(!deploymentNode["FromEnvironment"].isNull()) - data_.deployment.fromEnvironment = std::stoi(deploymentNode["FromEnvironment"].asString()); - if(!deploymentNode["ToEnvironment"].isNull()) - data_.deployment.toEnvironment = std::stoi(deploymentNode["ToEnvironment"].asString()); - if(!deploymentNode["ErrorMessage"].isNull()) - data_.deployment.errorMessage = deploymentNode["ErrorMessage"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetDeploymentResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetDeploymentResult::Data GetDeploymentResult::getData()const -{ - return data_; -} - -std::string GetDeploymentResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetDeploymentResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetDeploymentResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetFileRequest.cc b/dataworks-public/src/model/GetFileRequest.cc deleted file mode 100644 index 75cac46e5..000000000 --- a/dataworks-public/src/model/GetFileRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetFileRequest; - -GetFileRequest::GetFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetFile") -{ - setMethod(HttpRequest::Method::Post); -} - -GetFileRequest::~GetFileRequest() -{} - -long GetFileRequest::getProjectId()const -{ - return projectId_; -} - -void GetFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -long GetFileRequest::getFileId()const -{ - return fileId_; -} - -void GetFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - diff --git a/dataworks-public/src/model/GetFileResult.cc b/dataworks-public/src/model/GetFileResult.cc deleted file mode 100644 index 9b5b76fb5..000000000 --- a/dataworks-public/src/model/GetFileResult.cc +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetFileResult::GetFileResult() : - ServiceResult() -{} - -GetFileResult::GetFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFileResult::~GetFileResult() -{} - -void GetFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - auto fileNode = dataNode["File"]; - if(!fileNode["ConnectionName"].isNull()) - data_.file.connectionName = fileNode["ConnectionName"].asString(); - if(!fileNode["ParentId"].isNull()) - data_.file.parentId = std::stol(fileNode["ParentId"].asString()); - if(!fileNode["IsMaxCompute"].isNull()) - data_.file.isMaxCompute = fileNode["IsMaxCompute"].asString() == "true"; - if(!fileNode["CreateTime"].isNull()) - data_.file.createTime = std::stol(fileNode["CreateTime"].asString()); - if(!fileNode["CreateUser"].isNull()) - data_.file.createUser = fileNode["CreateUser"].asString(); - if(!fileNode["BizId"].isNull()) - data_.file.bizId = std::stol(fileNode["BizId"].asString()); - if(!fileNode["FileFolderId"].isNull()) - data_.file.fileFolderId = fileNode["FileFolderId"].asString(); - if(!fileNode["FileName"].isNull()) - data_.file.fileName = fileNode["FileName"].asString(); - if(!fileNode["FileType"].isNull()) - data_.file.fileType = std::stoi(fileNode["FileType"].asString()); - if(!fileNode["UseType"].isNull()) - data_.file.useType = fileNode["UseType"].asString(); - if(!fileNode["FileDescription"].isNull()) - data_.file.fileDescription = fileNode["FileDescription"].asString(); - if(!fileNode["Content"].isNull()) - data_.file.content = fileNode["Content"].asString(); - if(!fileNode["NodeId"].isNull()) - data_.file.nodeId = std::stol(fileNode["NodeId"].asString()); - if(!fileNode["CurrentVersion"].isNull()) - data_.file.currentVersion = std::stoi(fileNode["CurrentVersion"].asString()); - if(!fileNode["Owner"].isNull()) - data_.file.owner = fileNode["Owner"].asString(); - if(!fileNode["LastEditUser"].isNull()) - data_.file.lastEditUser = fileNode["LastEditUser"].asString(); - if(!fileNode["LastEditTime"].isNull()) - data_.file.lastEditTime = std::stol(fileNode["LastEditTime"].asString()); - if(!fileNode["CommitStatus"].isNull()) - data_.file.commitStatus = std::stoi(fileNode["CommitStatus"].asString()); - auto nodeConfigurationNode = dataNode["NodeConfiguration"]; - if(!nodeConfigurationNode["AutoRerunTimes"].isNull()) - data_.nodeConfiguration.autoRerunTimes = std::stoi(nodeConfigurationNode["AutoRerunTimes"].asString()); - if(!nodeConfigurationNode["AutoRerunIntervalMillis"].isNull()) - data_.nodeConfiguration.autoRerunIntervalMillis = std::stoi(nodeConfigurationNode["AutoRerunIntervalMillis"].asString()); - if(!nodeConfigurationNode["RerunMode"].isNull()) - data_.nodeConfiguration.rerunMode = nodeConfigurationNode["RerunMode"].asString(); - if(!nodeConfigurationNode["Stop"].isNull()) - data_.nodeConfiguration.stop = nodeConfigurationNode["Stop"].asString() == "true"; - if(!nodeConfigurationNode["ParaValue"].isNull()) - data_.nodeConfiguration.paraValue = nodeConfigurationNode["ParaValue"].asString(); - if(!nodeConfigurationNode["StartEffectDate"].isNull()) - data_.nodeConfiguration.startEffectDate = std::stol(nodeConfigurationNode["StartEffectDate"].asString()); - if(!nodeConfigurationNode["EndEffectDate"].isNull()) - data_.nodeConfiguration.endEffectDate = std::stol(nodeConfigurationNode["EndEffectDate"].asString()); - if(!nodeConfigurationNode["CronExpress"].isNull()) - data_.nodeConfiguration.cronExpress = nodeConfigurationNode["CronExpress"].asString(); - if(!nodeConfigurationNode["CycleType"].isNull()) - data_.nodeConfiguration.cycleType = nodeConfigurationNode["CycleType"].asString(); - if(!nodeConfigurationNode["DependentType"].isNull()) - data_.nodeConfiguration.dependentType = nodeConfigurationNode["DependentType"].asString(); - if(!nodeConfigurationNode["DependentNodeIdList"].isNull()) - data_.nodeConfiguration.dependentNodeIdList = nodeConfigurationNode["DependentNodeIdList"].asString(); - if(!nodeConfigurationNode["ResourceGroupId"].isNull()) - data_.nodeConfiguration.resourceGroupId = std::stol(nodeConfigurationNode["ResourceGroupId"].asString()); - auto allInputListNode = nodeConfigurationNode["InputList"]["NodeInputOutput"]; - for (auto nodeConfigurationNodeInputListNodeInputOutput : allInputListNode) - { - Data::NodeConfiguration::NodeInputOutput nodeInputOutputObject; - if(!nodeConfigurationNodeInputListNodeInputOutput["Input"].isNull()) - nodeInputOutputObject.input = nodeConfigurationNodeInputListNodeInputOutput["Input"].asString(); - data_.nodeConfiguration.inputList.push_back(nodeInputOutputObject); - } - auto allOutputListNode = nodeConfigurationNode["OutputList"]["NodeInputOutput"]; - for (auto nodeConfigurationNodeOutputListNodeInputOutput : allOutputListNode) - { - Data::NodeConfiguration::NodeInputOutput1 nodeInputOutput1Object; - if(!nodeConfigurationNodeOutputListNodeInputOutput["Output"].isNull()) - nodeInputOutput1Object.output = nodeConfigurationNodeOutputListNodeInputOutput["Output"].asString(); - if(!nodeConfigurationNodeOutputListNodeInputOutput["RefTableName"].isNull()) - nodeInputOutput1Object.refTableName = nodeConfigurationNodeOutputListNodeInputOutput["RefTableName"].asString(); - data_.nodeConfiguration.outputList.push_back(nodeInputOutput1Object); - } - 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 GetFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetFileResult::Data GetFileResult::getData()const -{ - return data_; -} - -std::string GetFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetFileVersionRequest.cc b/dataworks-public/src/model/GetFileVersionRequest.cc deleted file mode 100644 index 14b4bf80b..000000000 --- a/dataworks-public/src/model/GetFileVersionRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetFileVersionRequest; - -GetFileVersionRequest::GetFileVersionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetFileVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -GetFileVersionRequest::~GetFileVersionRequest() -{} - -int GetFileVersionRequest::getFileVersion()const -{ - return fileVersion_; -} - -void GetFileVersionRequest::setFileVersion(int fileVersion) -{ - fileVersion_ = fileVersion; - setBodyParameter("FileVersion", std::to_string(fileVersion)); -} - -long GetFileVersionRequest::getProjectId()const -{ - return projectId_; -} - -void GetFileVersionRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetFileVersionRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetFileVersionRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -long GetFileVersionRequest::getFileId()const -{ - return fileId_; -} - -void GetFileVersionRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - diff --git a/dataworks-public/src/model/GetFileVersionResult.cc b/dataworks-public/src/model/GetFileVersionResult.cc deleted file mode 100644 index e10888522..000000000 --- a/dataworks-public/src/model/GetFileVersionResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetFileVersionResult::GetFileVersionResult() : - ServiceResult() -{} - -GetFileVersionResult::GetFileVersionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFileVersionResult::~GetFileVersionResult() -{} - -void GetFileVersionResult::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["FileVersion"].isNull()) - data_.fileVersion = std::stoi(dataNode["FileVersion"].asString()); - if(!dataNode["FileContent"].isNull()) - data_.fileContent = dataNode["FileContent"].asString(); - if(!dataNode["FilePropertyContent"].isNull()) - data_.filePropertyContent = dataNode["FilePropertyContent"].asString(); - if(!dataNode["NodeContent"].isNull()) - data_.nodeContent = dataNode["NodeContent"].asString(); - if(!dataNode["Comment"].isNull()) - data_.comment = dataNode["Comment"].asString(); - if(!dataNode["NodeId"].isNull()) - data_.nodeId = std::stol(dataNode["NodeId"].asString()); - if(!dataNode["IsCurrentProd"].isNull()) - data_.isCurrentProd = dataNode["IsCurrentProd"].asString() == "true"; - if(!dataNode["ChangeType"].isNull()) - data_.changeType = dataNode["ChangeType"].asString(); - if(!dataNode["Status"].isNull()) - data_.status = dataNode["Status"].asString(); - if(!dataNode["FileName"].isNull()) - data_.fileName = dataNode["FileName"].asString(); - if(!dataNode["CommitUser"].isNull()) - data_.commitUser = dataNode["CommitUser"].asString(); - if(!dataNode["CommitTime"].isNull()) - data_.commitTime = std::stol(dataNode["CommitTime"].asString()); - if(!dataNode["UseType"].isNull()) - data_.useType = dataNode["UseType"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetFileVersionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetFileVersionResult::Data GetFileVersionResult::getData()const -{ - return data_; -} - -std::string GetFileVersionResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetFileVersionResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetFileVersionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetFolderRequest.cc b/dataworks-public/src/model/GetFolderRequest.cc deleted file mode 100644 index 657c0a42c..000000000 --- a/dataworks-public/src/model/GetFolderRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetFolderRequest; - -GetFolderRequest::GetFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -GetFolderRequest::~GetFolderRequest() -{} - -std::string GetFolderRequest::getFolderPath()const -{ - return folderPath_; -} - -void GetFolderRequest::setFolderPath(const std::string& folderPath) -{ - folderPath_ = folderPath; - setBodyParameter("FolderPath", folderPath); -} - -long GetFolderRequest::getProjectId()const -{ - return projectId_; -} - -void GetFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string GetFolderRequest::getFolderId()const -{ - return folderId_; -} - -void GetFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); -} - diff --git a/dataworks-public/src/model/GetFolderResult.cc b/dataworks-public/src/model/GetFolderResult.cc deleted file mode 100644 index 9cd456f01..000000000 --- a/dataworks-public/src/model/GetFolderResult.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetFolderResult::GetFolderResult() : - ServiceResult() -{} - -GetFolderResult::GetFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFolderResult::~GetFolderResult() -{} - -void GetFolderResult::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["FolderId"].isNull()) - data_.folderId = dataNode["FolderId"].asString(); - if(!dataNode["FolderPath"].isNull()) - data_.folderPath = dataNode["FolderPath"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetFolderResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetFolderResult::Data GetFolderResult::getData()const -{ - return data_; -} - -std::string GetFolderResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetFolderResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetFolderResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetInstanceConsumeTimeRankRequest.cc b/dataworks-public/src/model/GetInstanceConsumeTimeRankRequest.cc deleted file mode 100644 index 2646ad555..000000000 --- a/dataworks-public/src/model/GetInstanceConsumeTimeRankRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceConsumeTimeRankRequest; - -GetInstanceConsumeTimeRankRequest::GetInstanceConsumeTimeRankRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceConsumeTimeRank") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceConsumeTimeRankRequest::~GetInstanceConsumeTimeRankRequest() -{} - -std::string GetInstanceConsumeTimeRankRequest::getBizdate()const -{ - return bizdate_; -} - -void GetInstanceConsumeTimeRankRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); -} - -long GetInstanceConsumeTimeRankRequest::getProjectId()const -{ - return projectId_; -} - -void GetInstanceConsumeTimeRankRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/GetInstanceConsumeTimeRankResult.cc b/dataworks-public/src/model/GetInstanceConsumeTimeRankResult.cc deleted file mode 100644 index 1a9b0f7a3..000000000 --- a/dataworks-public/src/model/GetInstanceConsumeTimeRankResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetInstanceConsumeTimeRankResult::GetInstanceConsumeTimeRankResult() : - ServiceResult() -{} - -GetInstanceConsumeTimeRankResult::GetInstanceConsumeTimeRankResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetInstanceConsumeTimeRankResult::~GetInstanceConsumeTimeRankResult() -{} - -void GetInstanceConsumeTimeRankResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto instanceConsumeTimeRankNode = value["InstanceConsumeTimeRank"]; - if(!instanceConsumeTimeRankNode["UpdateTime"].isNull()) - instanceConsumeTimeRank_.updateTime = std::stol(instanceConsumeTimeRankNode["UpdateTime"].asString()); - auto allConsumeTimeRankNode = instanceConsumeTimeRankNode["ConsumeTimeRank"]["ConsumeTimeRankItem"]; - for (auto instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem : allConsumeTimeRankNode) - { - InstanceConsumeTimeRank::ConsumeTimeRankItem consumeTimeRankItemObject; - if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["NodeName"].isNull()) - consumeTimeRankItemObject.nodeName = instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["NodeName"].asString(); - if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["NodeId"].isNull()) - consumeTimeRankItemObject.nodeId = std::stol(instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["NodeId"].asString()); - if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["Bizdate"].isNull()) - consumeTimeRankItemObject.bizdate = std::stol(instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["Bizdate"].asString()); - if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["Owner"].isNull()) - consumeTimeRankItemObject.owner = instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["Owner"].asString(); - if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["Consumed"].isNull()) - consumeTimeRankItemObject.consumed = std::stol(instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["Consumed"].asString()); - if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["InstanceId"].isNull()) - consumeTimeRankItemObject.instanceId = std::stol(instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["InstanceId"].asString()); - if(!instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["PrgType"].isNull()) - consumeTimeRankItemObject.prgType = std::stoi(instanceConsumeTimeRankNodeConsumeTimeRankConsumeTimeRankItem["PrgType"].asString()); - instanceConsumeTimeRank_.consumeTimeRank.push_back(consumeTimeRankItemObject); - } - -} - -GetInstanceConsumeTimeRankResult::InstanceConsumeTimeRank GetInstanceConsumeTimeRankResult::getInstanceConsumeTimeRank()const -{ - return instanceConsumeTimeRank_; -} - diff --git a/dataworks-public/src/model/GetInstanceCountTrendRequest.cc b/dataworks-public/src/model/GetInstanceCountTrendRequest.cc deleted file mode 100644 index 9dc377239..000000000 --- a/dataworks-public/src/model/GetInstanceCountTrendRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceCountTrendRequest; - -GetInstanceCountTrendRequest::GetInstanceCountTrendRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceCountTrend") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceCountTrendRequest::~GetInstanceCountTrendRequest() -{} - -std::string GetInstanceCountTrendRequest::getBeginDate()const -{ - return beginDate_; -} - -void GetInstanceCountTrendRequest::setBeginDate(const std::string& beginDate) -{ - beginDate_ = beginDate; - setBodyParameter("BeginDate", beginDate); -} - -std::string GetInstanceCountTrendRequest::getEndDate()const -{ - return endDate_; -} - -void GetInstanceCountTrendRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setBodyParameter("EndDate", endDate); -} - -long GetInstanceCountTrendRequest::getProjectId()const -{ - return projectId_; -} - -void GetInstanceCountTrendRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/GetInstanceCountTrendResult.cc b/dataworks-public/src/model/GetInstanceCountTrendResult.cc deleted file mode 100644 index 9ed9d7ab5..000000000 --- a/dataworks-public/src/model/GetInstanceCountTrendResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetInstanceCountTrendResult::GetInstanceCountTrendResult() : - ServiceResult() -{} - -GetInstanceCountTrendResult::GetInstanceCountTrendResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetInstanceCountTrendResult::~GetInstanceCountTrendResult() -{} - -void GetInstanceCountTrendResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allInstanceCountsNode = value["InstanceCounts"]["IntanceCounts"]; - for (auto valueInstanceCountsIntanceCounts : allInstanceCountsNode) - { - IntanceCounts instanceCountsObject; - if(!valueInstanceCountsIntanceCounts["Date"].isNull()) - instanceCountsObject.date = std::stol(valueInstanceCountsIntanceCounts["Date"].asString()); - if(!valueInstanceCountsIntanceCounts["Count"].isNull()) - instanceCountsObject.count = std::stoi(valueInstanceCountsIntanceCounts["Count"].asString()); - instanceCounts_.push_back(instanceCountsObject); - } - -} - -std::vector GetInstanceCountTrendResult::getInstanceCounts()const -{ - return instanceCounts_; -} - diff --git a/dataworks-public/src/model/GetInstanceErrorRankResult.cc b/dataworks-public/src/model/GetInstanceErrorRankResult.cc deleted file mode 100644 index 59e7e0c8a..000000000 --- a/dataworks-public/src/model/GetInstanceErrorRankResult.cc +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetInstanceErrorRankResult::GetInstanceErrorRankResult() : - ServiceResult() -{} - -GetInstanceErrorRankResult::GetInstanceErrorRankResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetInstanceErrorRankResult::~GetInstanceErrorRankResult() -{} - -void GetInstanceErrorRankResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto instanceErrorRankNode = value["InstanceErrorRank"]; - if(!instanceErrorRankNode["UpdateTime"].isNull()) - instanceErrorRank_.updateTime = std::stol(instanceErrorRankNode["UpdateTime"].asString()); - auto allErrorRankNode = instanceErrorRankNode["ErrorRank"]["ErrorRankItem"]; - for (auto instanceErrorRankNodeErrorRankErrorRankItem : allErrorRankNode) - { - InstanceErrorRank::ErrorRankItem errorRankItemObject; - if(!instanceErrorRankNodeErrorRankErrorRankItem["NodeId"].isNull()) - errorRankItemObject.nodeId = std::stol(instanceErrorRankNodeErrorRankErrorRankItem["NodeId"].asString()); - if(!instanceErrorRankNodeErrorRankErrorRankItem["NodeName"].isNull()) - errorRankItemObject.nodeName = instanceErrorRankNodeErrorRankErrorRankItem["NodeName"].asString(); - if(!instanceErrorRankNodeErrorRankErrorRankItem["Owner"].isNull()) - errorRankItemObject.owner = instanceErrorRankNodeErrorRankErrorRankItem["Owner"].asString(); - if(!instanceErrorRankNodeErrorRankErrorRankItem["Count"].isNull()) - errorRankItemObject.count = std::stoi(instanceErrorRankNodeErrorRankErrorRankItem["Count"].asString()); - if(!instanceErrorRankNodeErrorRankErrorRankItem["ProjectId"].isNull()) - errorRankItemObject.projectId = std::stol(instanceErrorRankNodeErrorRankErrorRankItem["ProjectId"].asString()); - if(!instanceErrorRankNodeErrorRankErrorRankItem["PrgType"].isNull()) - errorRankItemObject.prgType = std::stoi(instanceErrorRankNodeErrorRankErrorRankItem["PrgType"].asString()); - instanceErrorRank_.errorRank.push_back(errorRankItemObject); - } - -} - -GetInstanceErrorRankResult::InstanceErrorRank GetInstanceErrorRankResult::getInstanceErrorRank()const -{ - return instanceErrorRank_; -} - diff --git a/dataworks-public/src/model/GetInstanceLogRequest.cc b/dataworks-public/src/model/GetInstanceLogRequest.cc deleted file mode 100644 index 441eca4c6..000000000 --- a/dataworks-public/src/model/GetInstanceLogRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceLogRequest; - -GetInstanceLogRequest::GetInstanceLogRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceLog") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceLogRequest::~GetInstanceLogRequest() -{} - -std::string GetInstanceLogRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetInstanceLogRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetInstanceLogRequest::getInstanceId()const -{ - return instanceId_; -} - -void GetInstanceLogRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/GetInstanceLogResult.cc b/dataworks-public/src/model/GetInstanceLogResult.cc deleted file mode 100644 index 37bb9fc76..000000000 --- a/dataworks-public/src/model/GetInstanceLogResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetInstanceLogResult::GetInstanceLogResult() : - ServiceResult() -{} - -GetInstanceLogResult::GetInstanceLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetInstanceLogResult::~GetInstanceLogResult() -{} - -void GetInstanceLogResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -int GetInstanceLogResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string GetInstanceLogResult::getData()const -{ - return data_; -} - -std::string GetInstanceLogResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetInstanceLogResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetInstanceLogResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetInstanceRequest.cc b/dataworks-public/src/model/GetInstanceRequest.cc deleted file mode 100644 index 8f04e7f7f..000000000 --- a/dataworks-public/src/model/GetInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceRequest; - -GetInstanceRequest::GetInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceRequest::~GetInstanceRequest() -{} - -std::string GetInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void GetInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/GetInstanceResult.cc b/dataworks-public/src/model/GetInstanceResult.cc deleted file mode 100644 index 6e17a04bf..000000000 --- a/dataworks-public/src/model/GetInstanceResult.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetInstanceResult::GetInstanceResult() : - ServiceResult() -{} - -GetInstanceResult::GetInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetInstanceResult::~GetInstanceResult() -{} - -void GetInstanceResult::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["NodeId"].isNull()) - data_.nodeId = std::stol(dataNode["NodeId"].asString()); - if(!dataNode["InstanceId"].isNull()) - data_.instanceId = std::stol(dataNode["InstanceId"].asString()); - if(!dataNode["DagId"].isNull()) - data_.dagId = std::stol(dataNode["DagId"].asString()); - if(!dataNode["DagType"].isNull()) - data_.dagType = dataNode["DagType"].asString(); - if(!dataNode["Status"].isNull()) - data_.status = dataNode["Status"].asString(); - if(!dataNode["Bizdate"].isNull()) - data_.bizdate = std::stol(dataNode["Bizdate"].asString()); - if(!dataNode["ParamValues"].isNull()) - data_.paramValues = dataNode["ParamValues"].asString(); - if(!dataNode["CycTime"].isNull()) - data_.cycTime = std::stol(dataNode["CycTime"].asString()); - if(!dataNode["FinishTime"].isNull()) - data_.finishTime = std::stol(dataNode["FinishTime"].asString()); - if(!dataNode["BeginWaitTimeTime"].isNull()) - data_.beginWaitTimeTime = std::stol(dataNode["BeginWaitTimeTime"].asString()); - if(!dataNode["BeginWaitResTime"].isNull()) - data_.beginWaitResTime = std::stol(dataNode["BeginWaitResTime"].asString()); - if(!dataNode["BeginRunningTime"].isNull()) - data_.beginRunningTime = std::stol(dataNode["BeginRunningTime"].asString()); - if(!dataNode["CreateTime"].isNull()) - data_.createTime = std::stol(dataNode["CreateTime"].asString()); - if(!dataNode["ModifyTime"].isNull()) - data_.modifyTime = std::stol(dataNode["ModifyTime"].asString()); - if(!dataNode["NodeName"].isNull()) - data_.nodeName = dataNode["NodeName"].asString(); - if(!dataNode["Priority"].isNull()) - data_.priority = std::stoi(dataNode["Priority"].asString()); - if(!dataNode["BaselineId"].isNull()) - data_.baselineId = std::stol(dataNode["BaselineId"].asString()); - if(!dataNode["Repeatability"].isNull()) - data_.repeatability = dataNode["Repeatability"].asString() == "true"; - if(!dataNode["RepeatInterval"].isNull()) - data_.repeatInterval = std::stol(dataNode["RepeatInterval"].asString()); - if(!dataNode["Connection"].isNull()) - data_.connection = dataNode["Connection"].asString(); - if(!dataNode["DqcType"].isNull()) - data_.dqcType = std::stoi(dataNode["DqcType"].asString()); - if(!dataNode["DqcDescription"].isNull()) - data_.dqcDescription = dataNode["DqcDescription"].asString(); - if(!dataNode["ErrorMessage"].isNull()) - data_.errorMessage = dataNode["ErrorMessage"].asString(); - if(!dataNode["RelatedFlowId"].isNull()) - data_.relatedFlowId = std::stol(dataNode["RelatedFlowId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetInstanceResult::Data GetInstanceResult::getData()const -{ - return data_; -} - -std::string GetInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetInstanceStatusCountRequest.cc b/dataworks-public/src/model/GetInstanceStatusCountRequest.cc deleted file mode 100644 index 87a6a2d67..000000000 --- a/dataworks-public/src/model/GetInstanceStatusCountRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceStatusCountRequest; - -GetInstanceStatusCountRequest::GetInstanceStatusCountRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceStatusCount") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceStatusCountRequest::~GetInstanceStatusCountRequest() -{} - -std::string GetInstanceStatusCountRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetInstanceStatusCountRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -std::string GetInstanceStatusCountRequest::getBizDate()const -{ - return bizDate_; -} - -void GetInstanceStatusCountRequest::setBizDate(const std::string& bizDate) -{ - bizDate_ = bizDate; - setBodyParameter("BizDate", bizDate); -} - -long GetInstanceStatusCountRequest::getProjectId()const -{ - return projectId_; -} - -void GetInstanceStatusCountRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/GetInstanceStatusCountResult.cc b/dataworks-public/src/model/GetInstanceStatusCountResult.cc deleted file mode 100644 index 82241d067..000000000 --- a/dataworks-public/src/model/GetInstanceStatusCountResult.cc +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetInstanceStatusCountResult::GetInstanceStatusCountResult() : - ServiceResult() -{} - -GetInstanceStatusCountResult::GetInstanceStatusCountResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetInstanceStatusCountResult::~GetInstanceStatusCountResult() -{} - -void GetInstanceStatusCountResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto statusCountNode = value["StatusCount"]; - if(!statusCountNode["TotalCount"].isNull()) - statusCount_.totalCount = std::stoi(statusCountNode["TotalCount"].asString()); - if(!statusCountNode["NotRunCount"].isNull()) - statusCount_.notRunCount = std::stoi(statusCountNode["NotRunCount"].asString()); - if(!statusCountNode["WaitTimeCount"].isNull()) - statusCount_.waitTimeCount = std::stoi(statusCountNode["WaitTimeCount"].asString()); - if(!statusCountNode["WaitResCount"].isNull()) - statusCount_.waitResCount = std::stoi(statusCountNode["WaitResCount"].asString()); - if(!statusCountNode["RunningCount"].isNull()) - statusCount_.runningCount = std::stoi(statusCountNode["RunningCount"].asString()); - if(!statusCountNode["FailureCount"].isNull()) - statusCount_.failureCount = std::stoi(statusCountNode["FailureCount"].asString()); - if(!statusCountNode["SuccessCount"].isNull()) - statusCount_.successCount = std::stoi(statusCountNode["SuccessCount"].asString()); - -} - -GetInstanceStatusCountResult::StatusCount GetInstanceStatusCountResult::getStatusCount()const -{ - return statusCount_; -} - diff --git a/dataworks-public/src/model/GetManualDagInstancesRequest.cc b/dataworks-public/src/model/GetManualDagInstancesRequest.cc deleted file mode 100644 index 6864a457b..000000000 --- a/dataworks-public/src/model/GetManualDagInstancesRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetManualDagInstancesRequest; - -GetManualDagInstancesRequest::GetManualDagInstancesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetManualDagInstances") -{ - setMethod(HttpRequest::Method::Post); -} - -GetManualDagInstancesRequest::~GetManualDagInstancesRequest() -{} - -std::string GetManualDagInstancesRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetManualDagInstancesRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -std::string GetManualDagInstancesRequest::getProjectName()const -{ - return projectName_; -} - -void GetManualDagInstancesRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string GetManualDagInstancesRequest::getDagId()const -{ - return dagId_; -} - -void GetManualDagInstancesRequest::setDagId(const std::string& dagId) -{ - dagId_ = dagId; - setBodyParameter("DagId", dagId); -} - diff --git a/dataworks-public/src/model/GetManualDagInstancesResult.cc b/dataworks-public/src/model/GetManualDagInstancesResult.cc deleted file mode 100644 index 2c20b646a..000000000 --- a/dataworks-public/src/model/GetManualDagInstancesResult.cc +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetManualDagInstancesResult::GetManualDagInstancesResult() : - ServiceResult() -{} - -GetManualDagInstancesResult::GetManualDagInstancesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetManualDagInstancesResult::~GetManualDagInstancesResult() -{} - -void GetManualDagInstancesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allInstancesNode = value["Instances"]["InstancesItem"]; - for (auto valueInstancesInstancesItem : allInstancesNode) - { - InstancesItem instancesObject; - if(!valueInstancesInstancesItem["NodeId"].isNull()) - instancesObject.nodeId = std::stol(valueInstancesInstancesItem["NodeId"].asString()); - if(!valueInstancesInstancesItem["InstanceId"].isNull()) - instancesObject.instanceId = std::stol(valueInstancesInstancesItem["InstanceId"].asString()); - if(!valueInstancesInstancesItem["DagId"].isNull()) - instancesObject.dagId = std::stol(valueInstancesInstancesItem["DagId"].asString()); - if(!valueInstancesInstancesItem["DagType"].isNull()) - instancesObject.dagType = valueInstancesInstancesItem["DagType"].asString(); - if(!valueInstancesInstancesItem["Status"].isNull()) - instancesObject.status = valueInstancesInstancesItem["Status"].asString(); - if(!valueInstancesInstancesItem["BizDate"].isNull()) - instancesObject.bizDate = std::stol(valueInstancesInstancesItem["BizDate"].asString()); - if(!valueInstancesInstancesItem["CycTime"].isNull()) - instancesObject.cycTime = std::stol(valueInstancesInstancesItem["CycTime"].asString()); - if(!valueInstancesInstancesItem["CreateTime"].isNull()) - instancesObject.createTime = std::stol(valueInstancesInstancesItem["CreateTime"].asString()); - if(!valueInstancesInstancesItem["ModifyTime"].isNull()) - instancesObject.modifyTime = std::stol(valueInstancesInstancesItem["ModifyTime"].asString()); - if(!valueInstancesInstancesItem["NodeName"].isNull()) - instancesObject.nodeName = valueInstancesInstancesItem["NodeName"].asString(); - if(!valueInstancesInstancesItem["BeginWaitTimeTime"].isNull()) - instancesObject.beginWaitTimeTime = std::stol(valueInstancesInstancesItem["BeginWaitTimeTime"].asString()); - if(!valueInstancesInstancesItem["BeginWaitResTime"].isNull()) - instancesObject.beginWaitResTime = std::stol(valueInstancesInstancesItem["BeginWaitResTime"].asString()); - if(!valueInstancesInstancesItem["BeginRunningTime"].isNull()) - instancesObject.beginRunningTime = std::stol(valueInstancesInstancesItem["BeginRunningTime"].asString()); - if(!valueInstancesInstancesItem["ParamValues"].isNull()) - instancesObject.paramValues = valueInstancesInstancesItem["ParamValues"].asString(); - if(!valueInstancesInstancesItem["FinishTime"].isNull()) - instancesObject.finishTime = std::stol(valueInstancesInstancesItem["FinishTime"].asString()); - instances_.push_back(instancesObject); - } - -} - -std::vector GetManualDagInstancesResult::getInstances()const -{ - return instances_; -} - diff --git a/dataworks-public/src/model/GetMetaCategoryRequest.cc b/dataworks-public/src/model/GetMetaCategoryRequest.cc deleted file mode 100644 index 49c159010..000000000 --- a/dataworks-public/src/model/GetMetaCategoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaCategoryRequest; - -GetMetaCategoryRequest::GetMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaCategoryRequest::~GetMetaCategoryRequest() -{} - -long GetMetaCategoryRequest::getParentCategoryId()const -{ - return parentCategoryId_; -} - -void GetMetaCategoryRequest::setParentCategoryId(long parentCategoryId) -{ - parentCategoryId_ = parentCategoryId; - setParameter("ParentCategoryId", std::to_string(parentCategoryId)); -} - -int GetMetaCategoryRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaCategoryRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int GetMetaCategoryRequest::getPageNum()const -{ - return pageNum_; -} - -void GetMetaCategoryRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - diff --git a/dataworks-public/src/model/GetMetaCategoryResult.cc b/dataworks-public/src/model/GetMetaCategoryResult.cc deleted file mode 100644 index c32d6b5cb..000000000 --- a/dataworks-public/src/model/GetMetaCategoryResult.cc +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaCategoryResult::GetMetaCategoryResult() : - ServiceResult() -{} - -GetMetaCategoryResult::GetMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaCategoryResult::~GetMetaCategoryResult() -{} - -void GetMetaCategoryResult::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["PageNum"].isNull()) - data_.pageNum = std::stoi(dataNode["PageNum"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["CategoryId"].isNull()) - dataEntityListItemObject.categoryId = std::stol(dataNodeDataEntityListDataEntityListItem["CategoryId"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["Name"].isNull()) - dataEntityListItemObject.name = dataNodeDataEntityListDataEntityListItem["Name"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["CreateTime"].isNull()) - dataEntityListItemObject.createTime = std::stol(dataNodeDataEntityListDataEntityListItem["CreateTime"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["ModifiedTime"].isNull()) - dataEntityListItemObject.modifiedTime = std::stol(dataNodeDataEntityListDataEntityListItem["ModifiedTime"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["Comment"].isNull()) - dataEntityListItemObject.comment = dataNodeDataEntityListDataEntityListItem["Comment"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["OwnerId"].isNull()) - dataEntityListItemObject.ownerId = dataNodeDataEntityListDataEntityListItem["OwnerId"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["LastOperatorId"].isNull()) - dataEntityListItemObject.lastOperatorId = dataNodeDataEntityListDataEntityListItem["LastOperatorId"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ParentCategoryId"].isNull()) - dataEntityListItemObject.parentCategoryId = std::stol(dataNodeDataEntityListDataEntityListItem["ParentCategoryId"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["Depth"].isNull()) - dataEntityListItemObject.depth = std::stoi(dataNodeDataEntityListDataEntityListItem["Depth"].asString()); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaCategoryResult::Data GetMetaCategoryResult::getData()const -{ - return data_; -} - -std::string GetMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaColumnLineageRequest.cc b/dataworks-public/src/model/GetMetaColumnLineageRequest.cc deleted file mode 100644 index 6fe4fcc5f..000000000 --- a/dataworks-public/src/model/GetMetaColumnLineageRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaColumnLineageRequest; - -GetMetaColumnLineageRequest::GetMetaColumnLineageRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaColumnLineage") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaColumnLineageRequest::~GetMetaColumnLineageRequest() -{} - -std::string GetMetaColumnLineageRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void GetMetaColumnLineageRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string GetMetaColumnLineageRequest::getClusterId()const -{ - return clusterId_; -} - -void GetMetaColumnLineageRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -int GetMetaColumnLineageRequest::getPageNum()const -{ - return pageNum_; -} - -void GetMetaColumnLineageRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - -std::string GetMetaColumnLineageRequest::getColumnName()const -{ - return columnName_; -} - -void GetMetaColumnLineageRequest::setColumnName(const std::string& columnName) -{ - columnName_ = columnName; - setParameter("ColumnName", columnName); -} - -std::string GetMetaColumnLineageRequest::getColumnGuid()const -{ - return columnGuid_; -} - -void GetMetaColumnLineageRequest::setColumnGuid(const std::string& columnGuid) -{ - columnGuid_ = columnGuid; - setParameter("ColumnGuid", columnGuid); -} - -std::string GetMetaColumnLineageRequest::getDatabaseName()const -{ - return databaseName_; -} - -void GetMetaColumnLineageRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); -} - -int GetMetaColumnLineageRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaColumnLineageRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaColumnLineageRequest::getTableName()const -{ - return tableName_; -} - -void GetMetaColumnLineageRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - -std::string GetMetaColumnLineageRequest::getDirection()const -{ - return direction_; -} - -void GetMetaColumnLineageRequest::setDirection(const std::string& direction) -{ - direction_ = direction; - setParameter("Direction", direction); -} - diff --git a/dataworks-public/src/model/GetMetaColumnLineageResult.cc b/dataworks-public/src/model/GetMetaColumnLineageResult.cc deleted file mode 100644 index 7a935f6c9..000000000 --- a/dataworks-public/src/model/GetMetaColumnLineageResult.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaColumnLineageResult::GetMetaColumnLineageResult() : - ServiceResult() -{} - -GetMetaColumnLineageResult::GetMetaColumnLineageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaColumnLineageResult::~GetMetaColumnLineageResult() -{} - -void GetMetaColumnLineageResult::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["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - if(!dataNode["PageNum"].isNull()) - data_.pageNum = std::stoi(dataNode["PageNum"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["ColumnName"].isNull()) - dataEntityListItemObject.columnName = dataNodeDataEntityListDataEntityListItem["ColumnName"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ColumnGuid"].isNull()) - dataEntityListItemObject.columnGuid = dataNodeDataEntityListDataEntityListItem["ColumnGuid"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ClusterId"].isNull()) - dataEntityListItemObject.clusterId = dataNodeDataEntityListDataEntityListItem["ClusterId"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["DatabaseName"].isNull()) - dataEntityListItemObject.databaseName = dataNodeDataEntityListDataEntityListItem["DatabaseName"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["TableName"].isNull()) - dataEntityListItemObject.tableName = dataNodeDataEntityListDataEntityListItem["TableName"].asString(); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaColumnLineageResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaColumnLineageResult::Data GetMetaColumnLineageResult::getData()const -{ - return data_; -} - -std::string GetMetaColumnLineageResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaColumnLineageResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaColumnLineageResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaDBInfoRequest.cc b/dataworks-public/src/model/GetMetaDBInfoRequest.cc deleted file mode 100644 index cfccc196f..000000000 --- a/dataworks-public/src/model/GetMetaDBInfoRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaDBInfoRequest; - -GetMetaDBInfoRequest::GetMetaDBInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaDBInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaDBInfoRequest::~GetMetaDBInfoRequest() -{} - -std::string GetMetaDBInfoRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void GetMetaDBInfoRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string GetMetaDBInfoRequest::getDatabaseName()const -{ - return databaseName_; -} - -void GetMetaDBInfoRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); -} - -std::string GetMetaDBInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetMetaDBInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetMetaDBInfoRequest::getAppGuid()const -{ - return appGuid_; -} - -void GetMetaDBInfoRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); -} - diff --git a/dataworks-public/src/model/GetMetaDBInfoResult.cc b/dataworks-public/src/model/GetMetaDBInfoResult.cc deleted file mode 100644 index 514096031..000000000 --- a/dataworks-public/src/model/GetMetaDBInfoResult.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaDBInfoResult::GetMetaDBInfoResult() : - ServiceResult() -{} - -GetMetaDBInfoResult::GetMetaDBInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaDBInfoResult::~GetMetaDBInfoResult() -{} - -void GetMetaDBInfoResult::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["AppGuid"].isNull()) - data_.appGuid = dataNode["AppGuid"].asString(); - if(!dataNode["TenantId"].isNull()) - data_.tenantId = std::stol(dataNode["TenantId"].asString()); - if(!dataNode["Endpoint"].isNull()) - data_.endpoint = dataNode["Endpoint"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["EnvType"].isNull()) - data_.envType = std::stoi(dataNode["EnvType"].asString()); - if(!dataNode["ProjectName"].isNull()) - data_.projectName = dataNode["ProjectName"].asString(); - if(!dataNode["ProjectNameCn"].isNull()) - data_.projectNameCn = dataNode["ProjectNameCn"].asString(); - if(!dataNode["CreateTime"].isNull()) - data_.createTime = std::stol(dataNode["CreateTime"].asString()); - if(!dataNode["ModifyTime"].isNull()) - data_.modifyTime = std::stol(dataNode["ModifyTime"].asString()); - if(!dataNode["OwnerId"].isNull()) - data_.ownerId = dataNode["OwnerId"].asString(); - if(!dataNode["OwnerName"].isNull()) - data_.ownerName = dataNode["OwnerName"].asString(); - if(!dataNode["Name"].isNull()) - data_.name = dataNode["Name"].asString(); - if(!dataNode["Type"].isNull()) - data_.type = dataNode["Type"].asString(); - if(!dataNode["Comment"].isNull()) - data_.comment = dataNode["Comment"].asString(); - if(!dataNode["Location"].isNull()) - data_.location = dataNode["Location"].asString(); - if(!dataNode["ClusterBizId"].isNull()) - data_.clusterBizId = dataNode["ClusterBizId"].asString(); - -} - -GetMetaDBInfoResult::Data GetMetaDBInfoResult::getData()const -{ - return data_; -} - diff --git a/dataworks-public/src/model/GetMetaDBTableListRequest.cc b/dataworks-public/src/model/GetMetaDBTableListRequest.cc deleted file mode 100644 index e1b6413df..000000000 --- a/dataworks-public/src/model/GetMetaDBTableListRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaDBTableListRequest; - -GetMetaDBTableListRequest::GetMetaDBTableListRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaDBTableList") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaDBTableListRequest::~GetMetaDBTableListRequest() -{} - -std::string GetMetaDBTableListRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void GetMetaDBTableListRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string GetMetaDBTableListRequest::getDatabaseName()const -{ - return databaseName_; -} - -void GetMetaDBTableListRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); -} - -int GetMetaDBTableListRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaDBTableListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaDBTableListRequest::getClusterId()const -{ - return clusterId_; -} - -void GetMetaDBTableListRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetMetaDBTableListRequest::getAppGuid()const -{ - return appGuid_; -} - -void GetMetaDBTableListRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); -} - -int GetMetaDBTableListRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetMetaDBTableListRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/GetMetaDBTableListResult.cc b/dataworks-public/src/model/GetMetaDBTableListResult.cc deleted file mode 100644 index 7ede28137..000000000 --- a/dataworks-public/src/model/GetMetaDBTableListResult.cc +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaDBTableListResult::GetMetaDBTableListResult() : - ServiceResult() -{} - -GetMetaDBTableListResult::GetMetaDBTableListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaDBTableListResult::~GetMetaDBTableListResult() -{} - -void GetMetaDBTableListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allTableEntityListNode = dataNode["TableEntityList"]["TableEntityListItem"]; - for (auto dataNodeTableEntityListTableEntityListItem : allTableEntityListNode) - { - Data::TableEntityListItem tableEntityListItemObject; - if(!dataNodeTableEntityListTableEntityListItem["TableName"].isNull()) - tableEntityListItemObject.tableName = dataNodeTableEntityListTableEntityListItem["TableName"].asString(); - if(!dataNodeTableEntityListTableEntityListItem["TableGuid"].isNull()) - tableEntityListItemObject.tableGuid = dataNodeTableEntityListTableEntityListItem["TableGuid"].asString(); - if(!dataNodeTableEntityListTableEntityListItem["DatabaseName"].isNull()) - tableEntityListItemObject.databaseName = dataNodeTableEntityListTableEntityListItem["DatabaseName"].asString(); - data_.tableEntityList.push_back(tableEntityListItemObject); - } - -} - -GetMetaDBTableListResult::Data GetMetaDBTableListResult::getData()const -{ - return data_; -} - diff --git a/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc b/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc deleted file mode 100644 index 953fec98f..000000000 --- a/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableBasicInfoRequest; - -GetMetaTableBasicInfoRequest::GetMetaTableBasicInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableBasicInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableBasicInfoRequest::~GetMetaTableBasicInfoRequest() -{} - -std::string GetMetaTableBasicInfoRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void GetMetaTableBasicInfoRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string GetMetaTableBasicInfoRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableBasicInfoRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -std::string GetMetaTableBasicInfoRequest::getDatabaseName()const -{ - return databaseName_; -} - -void GetMetaTableBasicInfoRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); -} - -std::string GetMetaTableBasicInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetMetaTableBasicInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetMetaTableBasicInfoRequest::getTableName()const -{ - return tableName_; -} - -void GetMetaTableBasicInfoRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - diff --git a/dataworks-public/src/model/GetMetaTableBasicInfoResult.cc b/dataworks-public/src/model/GetMetaTableBasicInfoResult.cc deleted file mode 100644 index e5155b843..000000000 --- a/dataworks-public/src/model/GetMetaTableBasicInfoResult.cc +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableBasicInfoResult::GetMetaTableBasicInfoResult() : - ServiceResult() -{} - -GetMetaTableBasicInfoResult::GetMetaTableBasicInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableBasicInfoResult::~GetMetaTableBasicInfoResult() -{} - -void GetMetaTableBasicInfoResult::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["TableName"].isNull()) - data_.tableName = dataNode["TableName"].asString(); - if(!dataNode["TableGuid"].isNull()) - data_.tableGuid = dataNode["TableGuid"].asString(); - if(!dataNode["OwnerId"].isNull()) - data_.ownerId = dataNode["OwnerId"].asString(); - if(!dataNode["TenantId"].isNull()) - data_.tenantId = std::stol(dataNode["TenantId"].asString()); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["CreateTime"].isNull()) - data_.createTime = std::stol(dataNode["CreateTime"].asString()); - if(!dataNode["LastModifyTime"].isNull()) - data_.lastModifyTime = std::stol(dataNode["LastModifyTime"].asString()); - if(!dataNode["LifeCycle"].isNull()) - data_.lifeCycle = std::stoi(dataNode["LifeCycle"].asString()); - if(!dataNode["IsVisible"].isNull()) - data_.isVisible = std::stoi(dataNode["IsVisible"].asString()); - if(!dataNode["LastDdlTime"].isNull()) - data_.lastDdlTime = std::stol(dataNode["LastDdlTime"].asString()); - if(!dataNode["LastAccessTime"].isNull()) - data_.lastAccessTime = std::stol(dataNode["LastAccessTime"].asString()); - if(!dataNode["EnvType"].isNull()) - data_.envType = std::stoi(dataNode["EnvType"].asString()); - if(!dataNode["DataSize"].isNull()) - data_.dataSize = std::stol(dataNode["DataSize"].asString()); - if(!dataNode["Comment"].isNull()) - data_.comment = dataNode["Comment"].asString(); - if(!dataNode["ProjectName"].isNull()) - data_.projectName = dataNode["ProjectName"].asString(); - if(!dataNode["DatabaseName"].isNull()) - data_.databaseName = dataNode["DatabaseName"].asString(); - if(!dataNode["PartitionKeys"].isNull()) - data_.partitionKeys = dataNode["PartitionKeys"].asString(); - if(!dataNode["Location"].isNull()) - data_.location = dataNode["Location"].asString(); - if(!dataNode["ClusterId"].isNull()) - data_.clusterId = dataNode["ClusterId"].asString(); - if(!dataNode["Caption"].isNull()) - data_.caption = dataNode["Caption"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableBasicInfoResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableBasicInfoResult::Data GetMetaTableBasicInfoResult::getData()const -{ - return data_; -} - -std::string GetMetaTableBasicInfoResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableBasicInfoResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableBasicInfoResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableChangeLogRequest.cc b/dataworks-public/src/model/GetMetaTableChangeLogRequest.cc deleted file mode 100644 index b231d5d69..000000000 --- a/dataworks-public/src/model/GetMetaTableChangeLogRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableChangeLogRequest; - -GetMetaTableChangeLogRequest::GetMetaTableChangeLogRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableChangeLog") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTableChangeLogRequest::~GetMetaTableChangeLogRequest() -{} - -std::string GetMetaTableChangeLogRequest::getStartDate()const -{ - return startDate_; -} - -void GetMetaTableChangeLogRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); -} - -int GetMetaTableChangeLogRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetMetaTableChangeLogRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string GetMetaTableChangeLogRequest::getEndDate()const -{ - return endDate_; -} - -void GetMetaTableChangeLogRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setBodyParameter("EndDate", endDate); -} - -std::string GetMetaTableChangeLogRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableChangeLogRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setBodyParameter("TableGuid", tableGuid); -} - -std::string GetMetaTableChangeLogRequest::getChangeType()const -{ - return changeType_; -} - -void GetMetaTableChangeLogRequest::setChangeType(const std::string& changeType) -{ - changeType_ = changeType; - setBodyParameter("ChangeType", changeType); -} - -int GetMetaTableChangeLogRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableChangeLogRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaTableChangeLogRequest::getObjectType()const -{ - return objectType_; -} - -void GetMetaTableChangeLogRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setBodyParameter("ObjectType", objectType); -} - diff --git a/dataworks-public/src/model/GetMetaTableChangeLogResult.cc b/dataworks-public/src/model/GetMetaTableChangeLogResult.cc deleted file mode 100644 index fe1bbb457..000000000 --- a/dataworks-public/src/model/GetMetaTableChangeLogResult.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableChangeLogResult::GetMetaTableChangeLogResult() : - ServiceResult() -{} - -GetMetaTableChangeLogResult::GetMetaTableChangeLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableChangeLogResult::~GetMetaTableChangeLogResult() -{} - -void GetMetaTableChangeLogResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["CreateTime"].isNull()) - dataEntityListItemObject.createTime = std::stol(dataNodeDataEntityListDataEntityListItem["CreateTime"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["ModifiedTime"].isNull()) - dataEntityListItemObject.modifiedTime = std::stol(dataNodeDataEntityListDataEntityListItem["ModifiedTime"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["ChangeType"].isNull()) - dataEntityListItemObject.changeType = dataNodeDataEntityListDataEntityListItem["ChangeType"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["Operator"].isNull()) - dataEntityListItemObject._operator = dataNodeDataEntityListDataEntityListItem["Operator"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ObjectType"].isNull()) - dataEntityListItemObject.objectType = dataNodeDataEntityListDataEntityListItem["ObjectType"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ChangeContent"].isNull()) - dataEntityListItemObject.changeContent = dataNodeDataEntityListDataEntityListItem["ChangeContent"].asString(); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableChangeLogResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableChangeLogResult::Data GetMetaTableChangeLogResult::getData()const -{ - return data_; -} - -std::string GetMetaTableChangeLogResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableChangeLogResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableChangeLogResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableColumnRequest.cc b/dataworks-public/src/model/GetMetaTableColumnRequest.cc deleted file mode 100644 index 87173d0a6..000000000 --- a/dataworks-public/src/model/GetMetaTableColumnRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableColumnRequest; - -GetMetaTableColumnRequest::GetMetaTableColumnRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableColumn") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableColumnRequest::~GetMetaTableColumnRequest() -{} - -std::string GetMetaTableColumnRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void GetMetaTableColumnRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string GetMetaTableColumnRequest::getClusterId()const -{ - return clusterId_; -} - -void GetMetaTableColumnRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -int GetMetaTableColumnRequest::getPageNum()const -{ - return pageNum_; -} - -void GetMetaTableColumnRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - -std::string GetMetaTableColumnRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableColumnRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -std::string GetMetaTableColumnRequest::getDatabaseName()const -{ - return databaseName_; -} - -void GetMetaTableColumnRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); -} - -int GetMetaTableColumnRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableColumnRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaTableColumnRequest::getTableName()const -{ - return tableName_; -} - -void GetMetaTableColumnRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - diff --git a/dataworks-public/src/model/GetMetaTableColumnResult.cc b/dataworks-public/src/model/GetMetaTableColumnResult.cc deleted file mode 100644 index 6a761b7a0..000000000 --- a/dataworks-public/src/model/GetMetaTableColumnResult.cc +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableColumnResult::GetMetaTableColumnResult() : - ServiceResult() -{} - -GetMetaTableColumnResult::GetMetaTableColumnResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableColumnResult::~GetMetaTableColumnResult() -{} - -void GetMetaTableColumnResult::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["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - if(!dataNode["PageNum"].isNull()) - data_.pageNum = std::stoi(dataNode["PageNum"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - auto allColumnListNode = dataNode["ColumnList"]["ColumnListItem"]; - for (auto dataNodeColumnListColumnListItem : allColumnListNode) - { - Data::ColumnListItem columnListItemObject; - if(!dataNodeColumnListColumnListItem["ColumnName"].isNull()) - columnListItemObject.columnName = dataNodeColumnListColumnListItem["ColumnName"].asString(); - if(!dataNodeColumnListColumnListItem["ColumnGuid"].isNull()) - columnListItemObject.columnGuid = dataNodeColumnListColumnListItem["ColumnGuid"].asString(); - if(!dataNodeColumnListColumnListItem["Comment"].isNull()) - columnListItemObject.comment = dataNodeColumnListColumnListItem["Comment"].asString(); - if(!dataNodeColumnListColumnListItem["IsPrimaryKey"].isNull()) - columnListItemObject.isPrimaryKey = dataNodeColumnListColumnListItem["IsPrimaryKey"].asString() == "true"; - if(!dataNodeColumnListColumnListItem["ColumnType"].isNull()) - columnListItemObject.columnType = dataNodeColumnListColumnListItem["ColumnType"].asString(); - if(!dataNodeColumnListColumnListItem["IsPartitionColumn"].isNull()) - columnListItemObject.isPartitionColumn = dataNodeColumnListColumnListItem["IsPartitionColumn"].asString() == "true"; - if(!dataNodeColumnListColumnListItem["IsForeignKey"].isNull()) - columnListItemObject.isForeignKey = dataNodeColumnListColumnListItem["IsForeignKey"].asString() == "true"; - if(!dataNodeColumnListColumnListItem["Caption"].isNull()) - columnListItemObject.caption = dataNodeColumnListColumnListItem["Caption"].asString(); - if(!dataNodeColumnListColumnListItem["Position"].isNull()) - columnListItemObject.position = std::stoi(dataNodeColumnListColumnListItem["Position"].asString()); - data_.columnList.push_back(columnListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableColumnResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableColumnResult::Data GetMetaTableColumnResult::getData()const -{ - return data_; -} - -std::string GetMetaTableColumnResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableColumnResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableColumnResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableFullInfoRequest.cc b/dataworks-public/src/model/GetMetaTableFullInfoRequest.cc deleted file mode 100644 index fad2b3022..000000000 --- a/dataworks-public/src/model/GetMetaTableFullInfoRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableFullInfoRequest; - -GetMetaTableFullInfoRequest::GetMetaTableFullInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableFullInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableFullInfoRequest::~GetMetaTableFullInfoRequest() -{} - -std::string GetMetaTableFullInfoRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void GetMetaTableFullInfoRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string GetMetaTableFullInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetMetaTableFullInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -int GetMetaTableFullInfoRequest::getPageNum()const -{ - return pageNum_; -} - -void GetMetaTableFullInfoRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - -std::string GetMetaTableFullInfoRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableFullInfoRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -std::string GetMetaTableFullInfoRequest::getDatabaseName()const -{ - return databaseName_; -} - -void GetMetaTableFullInfoRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); -} - -int GetMetaTableFullInfoRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableFullInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaTableFullInfoRequest::getTableName()const -{ - return tableName_; -} - -void GetMetaTableFullInfoRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - diff --git a/dataworks-public/src/model/GetMetaTableFullInfoResult.cc b/dataworks-public/src/model/GetMetaTableFullInfoResult.cc deleted file mode 100644 index eaf26181d..000000000 --- a/dataworks-public/src/model/GetMetaTableFullInfoResult.cc +++ /dev/null @@ -1,142 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableFullInfoResult::GetMetaTableFullInfoResult() : - ServiceResult() -{} - -GetMetaTableFullInfoResult::GetMetaTableFullInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableFullInfoResult::~GetMetaTableFullInfoResult() -{} - -void GetMetaTableFullInfoResult::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["TableName"].isNull()) - data_.tableName = dataNode["TableName"].asString(); - if(!dataNode["TableGuid"].isNull()) - data_.tableGuid = dataNode["TableGuid"].asString(); - if(!dataNode["OwnerId"].isNull()) - data_.ownerId = dataNode["OwnerId"].asString(); - if(!dataNode["TenantId"].isNull()) - data_.tenantId = std::stol(dataNode["TenantId"].asString()); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["CreateTime"].isNull()) - data_.createTime = std::stol(dataNode["CreateTime"].asString()); - if(!dataNode["LastModifyTime"].isNull()) - data_.lastModifyTime = std::stol(dataNode["LastModifyTime"].asString()); - if(!dataNode["LifeCycle"].isNull()) - data_.lifeCycle = std::stoi(dataNode["LifeCycle"].asString()); - if(!dataNode["IsVisible"].isNull()) - data_.isVisible = std::stoi(dataNode["IsVisible"].asString()); - if(!dataNode["ProjectName"].isNull()) - data_.projectName = dataNode["ProjectName"].asString(); - if(!dataNode["DataSize"].isNull()) - data_.dataSize = std::stol(dataNode["DataSize"].asString()); - if(!dataNode["EnvType"].isNull()) - data_.envType = std::stoi(dataNode["EnvType"].asString()); - if(!dataNode["Comment"].isNull()) - data_.comment = dataNode["Comment"].asString(); - if(!dataNode["TotalColumnCount"].isNull()) - data_.totalColumnCount = std::stol(dataNode["TotalColumnCount"].asString()); - if(!dataNode["LastDdlTime"].isNull()) - data_.lastDdlTime = std::stol(dataNode["LastDdlTime"].asString()); - if(!dataNode["LastAccessTime"].isNull()) - data_.lastAccessTime = std::stol(dataNode["LastAccessTime"].asString()); - if(!dataNode["DatabaseName"].isNull()) - data_.databaseName = dataNode["DatabaseName"].asString(); - if(!dataNode["PartitionKeys"].isNull()) - data_.partitionKeys = dataNode["PartitionKeys"].asString(); - if(!dataNode["Location"].isNull()) - data_.location = dataNode["Location"].asString(); - if(!dataNode["ClusterId"].isNull()) - data_.clusterId = dataNode["ClusterId"].asString(); - auto allColumnListNode = dataNode["ColumnList"]["ColumnListItem"]; - for (auto dataNodeColumnListColumnListItem : allColumnListNode) - { - Data::ColumnListItem columnListItemObject; - if(!dataNodeColumnListColumnListItem["ColumnGuid"].isNull()) - columnListItemObject.columnGuid = dataNodeColumnListColumnListItem["ColumnGuid"].asString(); - if(!dataNodeColumnListColumnListItem["ColumnName"].isNull()) - columnListItemObject.columnName = dataNodeColumnListColumnListItem["ColumnName"].asString(); - if(!dataNodeColumnListColumnListItem["ColumnType"].isNull()) - columnListItemObject.columnType = dataNodeColumnListColumnListItem["ColumnType"].asString(); - if(!dataNodeColumnListColumnListItem["IsPrimaryKey"].isNull()) - columnListItemObject.isPrimaryKey = dataNodeColumnListColumnListItem["IsPrimaryKey"].asString() == "true"; - if(!dataNodeColumnListColumnListItem["Comment"].isNull()) - columnListItemObject.comment = dataNodeColumnListColumnListItem["Comment"].asString(); - if(!dataNodeColumnListColumnListItem["IsPartitionColumn"].isNull()) - columnListItemObject.isPartitionColumn = dataNodeColumnListColumnListItem["IsPartitionColumn"].asString() == "true"; - if(!dataNodeColumnListColumnListItem["IsForeignKey"].isNull()) - columnListItemObject.isForeignKey = dataNodeColumnListColumnListItem["IsForeignKey"].asString() == "true"; - if(!dataNodeColumnListColumnListItem["Caption"].isNull()) - columnListItemObject.caption = dataNodeColumnListColumnListItem["Caption"].asString(); - if(!dataNodeColumnListColumnListItem["Position"].isNull()) - columnListItemObject.position = std::stoi(dataNodeColumnListColumnListItem["Position"].asString()); - data_.columnList.push_back(columnListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableFullInfoResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableFullInfoResult::Data GetMetaTableFullInfoResult::getData()const -{ - return data_; -} - -std::string GetMetaTableFullInfoResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableFullInfoResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableFullInfoResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc b/dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc deleted file mode 100644 index cc406974e..000000000 --- a/dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableIntroWikiRequest; - -GetMetaTableIntroWikiRequest::GetMetaTableIntroWikiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableIntroWiki") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTableIntroWikiRequest::~GetMetaTableIntroWikiRequest() -{} - -long GetMetaTableIntroWikiRequest::getWikiVersion()const -{ - return wikiVersion_; -} - -void GetMetaTableIntroWikiRequest::setWikiVersion(long wikiVersion) -{ - wikiVersion_ = wikiVersion; - setParameter("WikiVersion", std::to_string(wikiVersion)); -} - -std::string GetMetaTableIntroWikiRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableIntroWikiRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - diff --git a/dataworks-public/src/model/GetMetaTableIntroWikiResult.cc b/dataworks-public/src/model/GetMetaTableIntroWikiResult.cc deleted file mode 100644 index b85b944a1..000000000 --- a/dataworks-public/src/model/GetMetaTableIntroWikiResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableIntroWikiResult::GetMetaTableIntroWikiResult() : - ServiceResult() -{} - -GetMetaTableIntroWikiResult::GetMetaTableIntroWikiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableIntroWikiResult::~GetMetaTableIntroWikiResult() -{} - -void GetMetaTableIntroWikiResult::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["CreateTime"].isNull()) - data_.createTime = std::stol(dataNode["CreateTime"].asString()); - if(!dataNode["ModifiedTime"].isNull()) - data_.modifiedTime = std::stol(dataNode["ModifiedTime"].asString()); - if(!dataNode["Creator"].isNull()) - data_.creator = dataNode["Creator"].asString(); - if(!dataNode["Version"].isNull()) - data_.version = std::stol(dataNode["Version"].asString()); - if(!dataNode["CreatorName"].isNull()) - data_.creatorName = dataNode["CreatorName"].asString(); - if(!dataNode["Content"].isNull()) - data_.content = dataNode["Content"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableIntroWikiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableIntroWikiResult::Data GetMetaTableIntroWikiResult::getData()const -{ - return data_; -} - -std::string GetMetaTableIntroWikiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableIntroWikiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableIntroWikiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableLineageRequest.cc b/dataworks-public/src/model/GetMetaTableLineageRequest.cc deleted file mode 100644 index 7f08362cc..000000000 --- a/dataworks-public/src/model/GetMetaTableLineageRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableLineageRequest; - -GetMetaTableLineageRequest::GetMetaTableLineageRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableLineage") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTableLineageRequest::~GetMetaTableLineageRequest() -{} - -std::string GetMetaTableLineageRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void GetMetaTableLineageRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string GetMetaTableLineageRequest::getClusterId()const -{ - return clusterId_; -} - -void GetMetaTableLineageRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetMetaTableLineageRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableLineageRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -std::string GetMetaTableLineageRequest::getNextPrimaryKey()const -{ - return nextPrimaryKey_; -} - -void GetMetaTableLineageRequest::setNextPrimaryKey(const std::string& nextPrimaryKey) -{ - nextPrimaryKey_ = nextPrimaryKey; - setParameter("NextPrimaryKey", nextPrimaryKey); -} - -std::string GetMetaTableLineageRequest::getDatabaseName()const -{ - return databaseName_; -} - -void GetMetaTableLineageRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); -} - -int GetMetaTableLineageRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableLineageRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaTableLineageRequest::getTableName()const -{ - return tableName_; -} - -void GetMetaTableLineageRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - -std::string GetMetaTableLineageRequest::getDirection()const -{ - return direction_; -} - -void GetMetaTableLineageRequest::setDirection(const std::string& direction) -{ - direction_ = direction; - setParameter("Direction", direction); -} - diff --git a/dataworks-public/src/model/GetMetaTableLineageResult.cc b/dataworks-public/src/model/GetMetaTableLineageResult.cc deleted file mode 100644 index 3159c693f..000000000 --- a/dataworks-public/src/model/GetMetaTableLineageResult.cc +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableLineageResult::GetMetaTableLineageResult() : - ServiceResult() -{} - -GetMetaTableLineageResult::GetMetaTableLineageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableLineageResult::~GetMetaTableLineageResult() -{} - -void GetMetaTableLineageResult::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["HasNext"].isNull()) - data_.hasNext = dataNode["HasNext"].asString() == "true"; - if(!dataNode["NextPrimaryKey"].isNull()) - data_.nextPrimaryKey = dataNode["NextPrimaryKey"].asString(); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["TableName"].isNull()) - dataEntityListItemObject.tableName = dataNodeDataEntityListDataEntityListItem["TableName"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["TableGuid"].isNull()) - dataEntityListItemObject.tableGuid = dataNodeDataEntityListDataEntityListItem["TableGuid"].asString(); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableLineageResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableLineageResult::Data GetMetaTableLineageResult::getData()const -{ - return data_; -} - -std::string GetMetaTableLineageResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableLineageResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableLineageResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc b/dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc deleted file mode 100644 index 9dac7d00c..000000000 --- a/dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableListByCategoryRequest; - -GetMetaTableListByCategoryRequest::GetMetaTableListByCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableListByCategory") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableListByCategoryRequest::~GetMetaTableListByCategoryRequest() -{} - -int GetMetaTableListByCategoryRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableListByCategoryRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int GetMetaTableListByCategoryRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetMetaTableListByCategoryRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -long GetMetaTableListByCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void GetMetaTableListByCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/GetMetaTableListByCategoryResult.cc b/dataworks-public/src/model/GetMetaTableListByCategoryResult.cc deleted file mode 100644 index 61325a8e9..000000000 --- a/dataworks-public/src/model/GetMetaTableListByCategoryResult.cc +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableListByCategoryResult::GetMetaTableListByCategoryResult() : - ServiceResult() -{} - -GetMetaTableListByCategoryResult::GetMetaTableListByCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableListByCategoryResult::~GetMetaTableListByCategoryResult() -{} - -void GetMetaTableListByCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allTableGuidList = dataNode["TableGuidList"]["TableGuidList"]; - for (auto value : allTableGuidList) - data_.tableGuidList.push_back(value.asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableListByCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableListByCategoryResult::Data GetMetaTableListByCategoryResult::getData()const -{ - return data_; -} - -std::string GetMetaTableListByCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableListByCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableListByCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableOutputRequest.cc b/dataworks-public/src/model/GetMetaTableOutputRequest.cc deleted file mode 100644 index e4c0224ef..000000000 --- a/dataworks-public/src/model/GetMetaTableOutputRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableOutputRequest; - -GetMetaTableOutputRequest::GetMetaTableOutputRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableOutput") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTableOutputRequest::~GetMetaTableOutputRequest() -{} - -std::string GetMetaTableOutputRequest::getEndDate()const -{ - return endDate_; -} - -void GetMetaTableOutputRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setParameter("EndDate", endDate); -} - -std::string GetMetaTableOutputRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableOutputRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -int GetMetaTableOutputRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableOutputRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaTableOutputRequest::getStartDate()const -{ - return startDate_; -} - -void GetMetaTableOutputRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setParameter("StartDate", startDate); -} - -int GetMetaTableOutputRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetMetaTableOutputRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/GetMetaTableOutputResult.cc b/dataworks-public/src/model/GetMetaTableOutputResult.cc deleted file mode 100644 index f893bd0ac..000000000 --- a/dataworks-public/src/model/GetMetaTableOutputResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableOutputResult::GetMetaTableOutputResult() : - ServiceResult() -{} - -GetMetaTableOutputResult::GetMetaTableOutputResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableOutputResult::~GetMetaTableOutputResult() -{} - -void GetMetaTableOutputResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["TableGuid"].isNull()) - dataEntityListItemObject.tableGuid = dataNodeDataEntityListDataEntityListItem["TableGuid"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["TaskId"].isNull()) - dataEntityListItemObject.taskId = dataNodeDataEntityListDataEntityListItem["TaskId"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["StartTime"].isNull()) - dataEntityListItemObject.startTime = dataNodeDataEntityListDataEntityListItem["StartTime"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["EndTime"].isNull()) - dataEntityListItemObject.endTime = dataNodeDataEntityListDataEntityListItem["EndTime"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["WaitTime"].isNull()) - dataEntityListItemObject.waitTime = dataNodeDataEntityListDataEntityListItem["WaitTime"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ProjectId"].isNull()) - dataEntityListItemObject.projectId = std::stol(dataNodeDataEntityListDataEntityListItem["ProjectId"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["TaskInstanceId"].isNull()) - dataEntityListItemObject.taskInstanceId = std::stol(dataNodeDataEntityListDataEntityListItem["TaskInstanceId"].asString()); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableOutputResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableOutputResult::Data GetMetaTableOutputResult::getData()const -{ - return data_; -} - -std::string GetMetaTableOutputResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableOutputResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableOutputResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTablePartitionRequest.cc b/dataworks-public/src/model/GetMetaTablePartitionRequest.cc deleted file mode 100644 index c94b42390..000000000 --- a/dataworks-public/src/model/GetMetaTablePartitionRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTablePartitionRequest; - -GetMetaTablePartitionRequest::GetMetaTablePartitionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTablePartition") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTablePartitionRequest::~GetMetaTablePartitionRequest() -{} - -std::string GetMetaTablePartitionRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void GetMetaTablePartitionRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string GetMetaTablePartitionRequest::getClusterId()const -{ - return clusterId_; -} - -void GetMetaTablePartitionRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -int GetMetaTablePartitionRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetMetaTablePartitionRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string GetMetaTablePartitionRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTablePartitionRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -std::string GetMetaTablePartitionRequest::getDatabaseName()const -{ - return databaseName_; -} - -void GetMetaTablePartitionRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); -} - -int GetMetaTablePartitionRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTablePartitionRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaTablePartitionRequest::getTableName()const -{ - return tableName_; -} - -void GetMetaTablePartitionRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - diff --git a/dataworks-public/src/model/GetMetaTablePartitionResult.cc b/dataworks-public/src/model/GetMetaTablePartitionResult.cc deleted file mode 100644 index 60690219e..000000000 --- a/dataworks-public/src/model/GetMetaTablePartitionResult.cc +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTablePartitionResult::GetMetaTablePartitionResult() : - ServiceResult() -{} - -GetMetaTablePartitionResult::GetMetaTablePartitionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTablePartitionResult::~GetMetaTablePartitionResult() -{} - -void GetMetaTablePartitionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["PartitionGuid"].isNull()) - dataEntityListItemObject.partitionGuid = dataNodeDataEntityListDataEntityListItem["PartitionGuid"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["PartitionName"].isNull()) - dataEntityListItemObject.partitionName = dataNodeDataEntityListDataEntityListItem["PartitionName"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["CreateTime"].isNull()) - dataEntityListItemObject.createTime = std::stol(dataNodeDataEntityListDataEntityListItem["CreateTime"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["DataSize"].isNull()) - dataEntityListItemObject.dataSize = std::stol(dataNodeDataEntityListDataEntityListItem["DataSize"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["RecordCount"].isNull()) - dataEntityListItemObject.recordCount = std::stol(dataNodeDataEntityListDataEntityListItem["RecordCount"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["ModifiedTime"].isNull()) - dataEntityListItemObject.modifiedTime = std::stol(dataNodeDataEntityListDataEntityListItem["ModifiedTime"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["TableGuid"].isNull()) - dataEntityListItemObject.tableGuid = dataNodeDataEntityListDataEntityListItem["TableGuid"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["Comment"].isNull()) - dataEntityListItemObject.comment = dataNodeDataEntityListDataEntityListItem["Comment"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["PartitionType"].isNull()) - dataEntityListItemObject.partitionType = dataNodeDataEntityListDataEntityListItem["PartitionType"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["PartitionPath"].isNull()) - dataEntityListItemObject.partitionPath = dataNodeDataEntityListDataEntityListItem["PartitionPath"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["PartitionLocation"].isNull()) - dataEntityListItemObject.partitionLocation = dataNodeDataEntityListDataEntityListItem["PartitionLocation"].asString(); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTablePartitionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTablePartitionResult::Data GetMetaTablePartitionResult::getData()const -{ - return data_; -} - -std::string GetMetaTablePartitionResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTablePartitionResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTablePartitionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetNodeChildrenRequest.cc b/dataworks-public/src/model/GetNodeChildrenRequest.cc deleted file mode 100644 index c7ea8cb72..000000000 --- a/dataworks-public/src/model/GetNodeChildrenRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeChildrenRequest; - -GetNodeChildrenRequest::GetNodeChildrenRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeChildren") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeChildrenRequest::~GetNodeChildrenRequest() -{} - -std::string GetNodeChildrenRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetNodeChildrenRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetNodeChildrenRequest::getNodeId()const -{ - return nodeId_; -} - -void GetNodeChildrenRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/GetNodeChildrenResult.cc b/dataworks-public/src/model/GetNodeChildrenResult.cc deleted file mode 100644 index b4cdbbe1d..000000000 --- a/dataworks-public/src/model/GetNodeChildrenResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetNodeChildrenResult::GetNodeChildrenResult() : - ServiceResult() -{} - -GetNodeChildrenResult::GetNodeChildrenResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetNodeChildrenResult::~GetNodeChildrenResult() -{} - -void GetNodeChildrenResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - auto allNodesNode = dataNode["Nodes"]["NodesItem"]; - for (auto dataNodeNodesNodesItem : allNodesNode) - { - Data::NodesItem nodesItemObject; - if(!dataNodeNodesNodesItem["NodeId"].isNull()) - nodesItemObject.nodeId = std::stol(dataNodeNodesNodesItem["NodeId"].asString()); - if(!dataNodeNodesNodesItem["NodeName"].isNull()) - nodesItemObject.nodeName = dataNodeNodesNodesItem["NodeName"].asString(); - if(!dataNodeNodesNodesItem["CronExpress"].isNull()) - nodesItemObject.cronExpress = dataNodeNodesNodesItem["CronExpress"].asString(); - if(!dataNodeNodesNodesItem["SchedulerType"].isNull()) - nodesItemObject.schedulerType = dataNodeNodesNodesItem["SchedulerType"].asString(); - if(!dataNodeNodesNodesItem["ProgramType"].isNull()) - nodesItemObject.programType = dataNodeNodesNodesItem["ProgramType"].asString(); - if(!dataNodeNodesNodesItem["OwnerId"].isNull()) - nodesItemObject.ownerId = dataNodeNodesNodesItem["OwnerId"].asString(); - if(!dataNodeNodesNodesItem["ProjectId"].isNull()) - nodesItemObject.projectId = std::stol(dataNodeNodesNodesItem["ProjectId"].asString()); - if(!dataNodeNodesNodesItem["Repeatability"].isNull()) - nodesItemObject.repeatability = dataNodeNodesNodesItem["Repeatability"].asString() == "true"; - if(!dataNodeNodesNodesItem["Priority"].isNull()) - nodesItemObject.priority = std::stoi(dataNodeNodesNodesItem["Priority"].asString()); - if(!dataNodeNodesNodesItem["BaselineId"].isNull()) - nodesItemObject.baselineId = std::stol(dataNodeNodesNodesItem["BaselineId"].asString()); - data_.nodes.push_back(nodesItemObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - -} - -int GetNodeChildrenResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetNodeChildrenResult::Data GetNodeChildrenResult::getData()const -{ - return data_; -} - -std::string GetNodeChildrenResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetNodeChildrenResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetNodeChildrenResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetNodeCodeRequest.cc b/dataworks-public/src/model/GetNodeCodeRequest.cc deleted file mode 100644 index 700e3e455..000000000 --- a/dataworks-public/src/model/GetNodeCodeRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeCodeRequest; - -GetNodeCodeRequest::GetNodeCodeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeCode") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeCodeRequest::~GetNodeCodeRequest() -{} - -std::string GetNodeCodeRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetNodeCodeRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetNodeCodeRequest::getNodeId()const -{ - return nodeId_; -} - -void GetNodeCodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/GetNodeCodeResult.cc b/dataworks-public/src/model/GetNodeCodeResult.cc deleted file mode 100644 index e8caf1c41..000000000 --- a/dataworks-public/src/model/GetNodeCodeResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetNodeCodeResult::GetNodeCodeResult() : - ServiceResult() -{} - -GetNodeCodeResult::GetNodeCodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetNodeCodeResult::~GetNodeCodeResult() -{} - -void GetNodeCodeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -int GetNodeCodeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string GetNodeCodeResult::getData()const -{ - return data_; -} - -std::string GetNodeCodeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetNodeCodeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetNodeCodeResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetNodeOnBaselineRequest.cc b/dataworks-public/src/model/GetNodeOnBaselineRequest.cc deleted file mode 100644 index 172e4710f..000000000 --- a/dataworks-public/src/model/GetNodeOnBaselineRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeOnBaselineRequest; - -GetNodeOnBaselineRequest::GetNodeOnBaselineRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeOnBaseline") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeOnBaselineRequest::~GetNodeOnBaselineRequest() -{} - -long GetNodeOnBaselineRequest::getBaselineId()const -{ - return baselineId_; -} - -void GetNodeOnBaselineRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); -} - diff --git a/dataworks-public/src/model/GetNodeOnBaselineResult.cc b/dataworks-public/src/model/GetNodeOnBaselineResult.cc deleted file mode 100644 index d121ddbdd..000000000 --- a/dataworks-public/src/model/GetNodeOnBaselineResult.cc +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetNodeOnBaselineResult::GetNodeOnBaselineResult() : - ServiceResult() -{} - -GetNodeOnBaselineResult::GetNodeOnBaselineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetNodeOnBaselineResult::~GetNodeOnBaselineResult() -{} - -void GetNodeOnBaselineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["NodeId"].isNull()) - dataObject.nodeId = std::stol(valueDataDataItem["NodeId"].asString()); - if(!valueDataDataItem["NodeName"].isNull()) - dataObject.nodeName = valueDataDataItem["NodeName"].asString(); - if(!valueDataDataItem["Owner"].isNull()) - dataObject.owner = valueDataDataItem["Owner"].asString(); - if(!valueDataDataItem["ProjectId"].isNull()) - dataObject.projectId = std::stol(valueDataDataItem["ProjectId"].asString()); - data_.push_back(dataObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetNodeOnBaselineResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector GetNodeOnBaselineResult::getData()const -{ - return data_; -} - -std::string GetNodeOnBaselineResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetNodeOnBaselineResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string GetNodeOnBaselineResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetNodeParentsRequest.cc b/dataworks-public/src/model/GetNodeParentsRequest.cc deleted file mode 100644 index 78bad213e..000000000 --- a/dataworks-public/src/model/GetNodeParentsRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeParentsRequest; - -GetNodeParentsRequest::GetNodeParentsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeParents") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeParentsRequest::~GetNodeParentsRequest() -{} - -std::string GetNodeParentsRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetNodeParentsRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetNodeParentsRequest::getNodeId()const -{ - return nodeId_; -} - -void GetNodeParentsRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/GetNodeParentsResult.cc b/dataworks-public/src/model/GetNodeParentsResult.cc deleted file mode 100644 index 23d2c47ea..000000000 --- a/dataworks-public/src/model/GetNodeParentsResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetNodeParentsResult::GetNodeParentsResult() : - ServiceResult() -{} - -GetNodeParentsResult::GetNodeParentsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetNodeParentsResult::~GetNodeParentsResult() -{} - -void GetNodeParentsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - auto allNodesNode = dataNode["Nodes"]["NodesItem"]; - for (auto dataNodeNodesNodesItem : allNodesNode) - { - Data::NodesItem nodesItemObject; - if(!dataNodeNodesNodesItem["NodeId"].isNull()) - nodesItemObject.nodeId = std::stol(dataNodeNodesNodesItem["NodeId"].asString()); - if(!dataNodeNodesNodesItem["NodeName"].isNull()) - nodesItemObject.nodeName = dataNodeNodesNodesItem["NodeName"].asString(); - if(!dataNodeNodesNodesItem["CronExpress"].isNull()) - nodesItemObject.cronExpress = dataNodeNodesNodesItem["CronExpress"].asString(); - if(!dataNodeNodesNodesItem["SchedulerType"].isNull()) - nodesItemObject.schedulerType = dataNodeNodesNodesItem["SchedulerType"].asString(); - if(!dataNodeNodesNodesItem["ProgramType"].isNull()) - nodesItemObject.programType = dataNodeNodesNodesItem["ProgramType"].asString(); - if(!dataNodeNodesNodesItem["OwnerId"].isNull()) - nodesItemObject.ownerId = dataNodeNodesNodesItem["OwnerId"].asString(); - if(!dataNodeNodesNodesItem["ProjectId"].isNull()) - nodesItemObject.projectId = std::stol(dataNodeNodesNodesItem["ProjectId"].asString()); - if(!dataNodeNodesNodesItem["Repeatability"].isNull()) - nodesItemObject.repeatability = dataNodeNodesNodesItem["Repeatability"].asString() == "true"; - if(!dataNodeNodesNodesItem["Priority"].isNull()) - nodesItemObject.priority = std::stoi(dataNodeNodesNodesItem["Priority"].asString()); - if(!dataNodeNodesNodesItem["BaselineId"].isNull()) - nodesItemObject.baselineId = std::stol(dataNodeNodesNodesItem["BaselineId"].asString()); - data_.nodes.push_back(nodesItemObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - -} - -int GetNodeParentsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetNodeParentsResult::Data GetNodeParentsResult::getData()const -{ - return data_; -} - -std::string GetNodeParentsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetNodeParentsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetNodeParentsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetNodeRequest.cc b/dataworks-public/src/model/GetNodeRequest.cc deleted file mode 100644 index f1c514740..000000000 --- a/dataworks-public/src/model/GetNodeRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeRequest; - -GetNodeRequest::GetNodeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNode") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeRequest::~GetNodeRequest() -{} - -std::string GetNodeRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetNodeRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetNodeRequest::getNodeId()const -{ - return nodeId_; -} - -void GetNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/GetNodeResult.cc b/dataworks-public/src/model/GetNodeResult.cc deleted file mode 100644 index 41a4ec0c4..000000000 --- a/dataworks-public/src/model/GetNodeResult.cc +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetNodeResult::GetNodeResult() : - ServiceResult() -{} - -GetNodeResult::GetNodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetNodeResult::~GetNodeResult() -{} - -void GetNodeResult::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["NodeId"].isNull()) - data_.nodeId = std::stol(dataNode["NodeId"].asString()); - if(!dataNode["OwnerId"].isNull()) - data_.ownerId = dataNode["OwnerId"].asString(); - if(!dataNode["Description"].isNull()) - data_.description = dataNode["Description"].asString(); - if(!dataNode["ResGroupName"].isNull()) - data_.resGroupName = dataNode["ResGroupName"].asString(); - if(!dataNode["NodeName"].isNull()) - data_.nodeName = dataNode["NodeName"].asString(); - if(!dataNode["CronExpress"].isNull()) - data_.cronExpress = dataNode["CronExpress"].asString(); - if(!dataNode["Repeatability"].isNull()) - data_.repeatability = dataNode["Repeatability"].asString(); - if(!dataNode["ProgramType"].isNull()) - data_.programType = dataNode["ProgramType"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["SchedulerType"].isNull()) - data_.schedulerType = dataNode["SchedulerType"].asString(); - if(!dataNode["ParamValues"].isNull()) - data_.paramValues = dataNode["ParamValues"].asString(); - if(!dataNode["Priority"].isNull()) - data_.priority = std::stoi(dataNode["Priority"].asString()); - if(!dataNode["BaselineId"].isNull()) - data_.baselineId = std::stol(dataNode["BaselineId"].asString()); - if(!dataNode["RepeatInterval"].isNull()) - data_.repeatInterval = std::stol(dataNode["RepeatInterval"].asString()); - if(!dataNode["Connection"].isNull()) - data_.connection = dataNode["Connection"].asString(); - if(!dataNode["DqcType"].isNull()) - data_.dqcType = std::stoi(dataNode["DqcType"].asString()); - if(!dataNode["DqcDescription"].isNull()) - data_.dqcDescription = dataNode["DqcDescription"].asString(); - if(!dataNode["RelatedFlowId"].isNull()) - data_.relatedFlowId = std::stol(dataNode["RelatedFlowId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetNodeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetNodeResult::Data GetNodeResult::getData()const -{ - return data_; -} - -std::string GetNodeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetNodeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetNodeResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetNodeTypeListInfoRequest.cc b/dataworks-public/src/model/GetNodeTypeListInfoRequest.cc deleted file mode 100644 index f07139aa3..000000000 --- a/dataworks-public/src/model/GetNodeTypeListInfoRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeTypeListInfoRequest; - -GetNodeTypeListInfoRequest::GetNodeTypeListInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeTypeListInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeTypeListInfoRequest::~GetNodeTypeListInfoRequest() -{} - -int GetNodeTypeListInfoRequest::getPageSize()const -{ - return pageSize_; -} - -void GetNodeTypeListInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetNodeTypeListInfoRequest::getKeyword()const -{ - return keyword_; -} - -void GetNodeTypeListInfoRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setBodyParameter("Keyword", keyword); -} - -std::string GetNodeTypeListInfoRequest::getLocale()const -{ - return locale_; -} - -void GetNodeTypeListInfoRequest::setLocale(const std::string& locale) -{ - locale_ = locale; - setBodyParameter("Locale", locale); -} - -long GetNodeTypeListInfoRequest::getProjectId()const -{ - return projectId_; -} - -void GetNodeTypeListInfoRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetNodeTypeListInfoRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetNodeTypeListInfoRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -int GetNodeTypeListInfoRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetNodeTypeListInfoRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/GetNodeTypeListInfoResult.cc b/dataworks-public/src/model/GetNodeTypeListInfoResult.cc deleted file mode 100644 index fa50f93e2..000000000 --- a/dataworks-public/src/model/GetNodeTypeListInfoResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetNodeTypeListInfoResult::GetNodeTypeListInfoResult() : - ServiceResult() -{} - -GetNodeTypeListInfoResult::GetNodeTypeListInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetNodeTypeListInfoResult::~GetNodeTypeListInfoResult() -{} - -void GetNodeTypeListInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto nodeTypeInfoListNode = value["NodeTypeInfoList"]; - if(!nodeTypeInfoListNode["PageNumber"].isNull()) - nodeTypeInfoList_.pageNumber = std::stoi(nodeTypeInfoListNode["PageNumber"].asString()); - if(!nodeTypeInfoListNode["PageSize"].isNull()) - nodeTypeInfoList_.pageSize = std::stoi(nodeTypeInfoListNode["PageSize"].asString()); - if(!nodeTypeInfoListNode["TotalCount"].isNull()) - nodeTypeInfoList_.totalCount = std::stoi(nodeTypeInfoListNode["TotalCount"].asString()); - auto allNodeTypeInfoNode = nodeTypeInfoListNode["NodeTypeInfo"]["NodeTypeInfoItem"]; - for (auto nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem : allNodeTypeInfoNode) - { - NodeTypeInfoList::NodeTypeInfoItem nodeTypeInfoItemObject; - if(!nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeType"].isNull()) - nodeTypeInfoItemObject.nodeType = std::stoi(nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeType"].asString()); - if(!nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeTypeName"].isNull()) - nodeTypeInfoItemObject.nodeTypeName = nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeTypeName"].asString(); - nodeTypeInfoList_.nodeTypeInfo.push_back(nodeTypeInfoItemObject); - } - -} - -GetNodeTypeListInfoResult::NodeTypeInfoList GetNodeTypeListInfoResult::getNodeTypeInfoList()const -{ - return nodeTypeInfoList_; -} - diff --git a/dataworks-public/src/model/GetOpRiskDataRequest.cc b/dataworks-public/src/model/GetOpRiskDataRequest.cc deleted file mode 100644 index 801eea234..000000000 --- a/dataworks-public/src/model/GetOpRiskDataRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetOpRiskDataRequest; - -GetOpRiskDataRequest::GetOpRiskDataRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetOpRiskData") -{ - setMethod(HttpRequest::Method::Get); -} - -GetOpRiskDataRequest::~GetOpRiskDataRequest() -{} - -std::string GetOpRiskDataRequest::getDate()const -{ - return date_; -} - -void GetOpRiskDataRequest::setDate(const std::string& date) -{ - date_ = date; - setParameter("Date", date); -} - -std::string GetOpRiskDataRequest::getRiskType()const -{ - return riskType_; -} - -void GetOpRiskDataRequest::setRiskType(const std::string& riskType) -{ - riskType_ = riskType; - setParameter("RiskType", riskType); -} - -int GetOpRiskDataRequest::getPageNo()const -{ - return pageNo_; -} - -void GetOpRiskDataRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); -} - -int GetOpRiskDataRequest::getPageSize()const -{ - return pageSize_; -} - -void GetOpRiskDataRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetOpRiskDataRequest::getName()const -{ - return name_; -} - -void GetOpRiskDataRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - diff --git a/dataworks-public/src/model/GetOpSensitiveDataRequest.cc b/dataworks-public/src/model/GetOpSensitiveDataRequest.cc deleted file mode 100644 index 293c67c07..000000000 --- a/dataworks-public/src/model/GetOpSensitiveDataRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetOpSensitiveDataRequest; - -GetOpSensitiveDataRequest::GetOpSensitiveDataRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetOpSensitiveData") -{ - setMethod(HttpRequest::Method::Get); -} - -GetOpSensitiveDataRequest::~GetOpSensitiveDataRequest() -{} - -std::string GetOpSensitiveDataRequest::getDate()const -{ - return date_; -} - -void GetOpSensitiveDataRequest::setDate(const std::string& date) -{ - date_ = date; - setParameter("Date", date); -} - -std::string GetOpSensitiveDataRequest::getOpType()const -{ - return opType_; -} - -void GetOpSensitiveDataRequest::setOpType(const std::string& opType) -{ - opType_ = opType; - setParameter("OpType", opType); -} - -int GetOpSensitiveDataRequest::getPageNo()const -{ - return pageNo_; -} - -void GetOpSensitiveDataRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); -} - -std::string GetOpSensitiveDataRequest::getName()const -{ - return name_; -} - -void GetOpSensitiveDataRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -int GetOpSensitiveDataRequest::getPageSize()const -{ - return pageSize_; -} - -void GetOpSensitiveDataRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/dataworks-public/src/model/GetOpSensitiveDataResult.cc b/dataworks-public/src/model/GetOpSensitiveDataResult.cc deleted file mode 100644 index 7d7ae9d2e..000000000 --- a/dataworks-public/src/model/GetOpSensitiveDataResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetOpSensitiveDataResult::GetOpSensitiveDataResult() : - ServiceResult() -{} - -GetOpSensitiveDataResult::GetOpSensitiveDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetOpSensitiveDataResult::~GetOpSensitiveDataResult() -{} - -void GetOpSensitiveDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["OpSensitiveData"].isNull()) - opSensitiveData_ = value["OpSensitiveData"].asString(); - -} - -std::string GetOpSensitiveDataResult::getOpSensitiveData()const -{ - return opSensitiveData_; -} - diff --git a/dataworks-public/src/model/GetProjectDetailRequest.cc b/dataworks-public/src/model/GetProjectDetailRequest.cc deleted file mode 100644 index 81e845185..000000000 --- a/dataworks-public/src/model/GetProjectDetailRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetProjectDetailRequest; - -GetProjectDetailRequest::GetProjectDetailRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetProjectDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -GetProjectDetailRequest::~GetProjectDetailRequest() -{} - -long GetProjectDetailRequest::getProjectId()const -{ - return projectId_; -} - -void GetProjectDetailRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/GetProjectDetailResult.cc b/dataworks-public/src/model/GetProjectDetailResult.cc deleted file mode 100644 index 99771c246..000000000 --- a/dataworks-public/src/model/GetProjectDetailResult.cc +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetProjectDetailResult::GetProjectDetailResult() : - ServiceResult() -{} - -GetProjectDetailResult::GetProjectDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetProjectDetailResult::~GetProjectDetailResult() -{} - -void GetProjectDetailResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["GmtModified"].isNull()) - data_.gmtModified = dataNode["GmtModified"].asString(); - if(!dataNode["DefaultDiResourceGroupIdentifier"].isNull()) - data_.defaultDiResourceGroupIdentifier = dataNode["DefaultDiResourceGroupIdentifier"].asString(); - if(!dataNode["IsAllowDownload"].isNull()) - data_.isAllowDownload = std::stoi(dataNode["IsAllowDownload"].asString()); - if(!dataNode["SchedulerRetryInterval"].isNull()) - data_.schedulerRetryInterval = std::stoi(dataNode["SchedulerRetryInterval"].asString()); - if(!dataNode["ResidentArea"].isNull()) - data_.residentArea = dataNode["ResidentArea"].asString(); - if(!dataNode["ProjectOwnerBaseId"].isNull()) - data_.projectOwnerBaseId = dataNode["ProjectOwnerBaseId"].asString(); - if(!dataNode["ProjectMode"].isNull()) - data_.projectMode = std::stoi(dataNode["ProjectMode"].asString()); - if(!dataNode["GmtCreate"].isNull()) - data_.gmtCreate = dataNode["GmtCreate"].asString(); - if(!dataNode["ProtectedMode"].isNull()) - data_.protectedMode = std::stoi(dataNode["ProtectedMode"].asString()); - if(!dataNode["TenantId"].isNull()) - data_.tenantId = std::stol(dataNode["TenantId"].asString()); - if(!dataNode["ProjectDescription"].isNull()) - data_.projectDescription = dataNode["ProjectDescription"].asString(); - if(!dataNode["SchedulerMaxRetryTimes"].isNull()) - data_.schedulerMaxRetryTimes = std::stoi(dataNode["SchedulerMaxRetryTimes"].asString()); - if(!dataNode["ProjectName"].isNull()) - data_.projectName = dataNode["ProjectName"].asString(); - if(!dataNode["ProjectIdentifier"].isNull()) - data_.projectIdentifier = dataNode["ProjectIdentifier"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stoi(dataNode["ProjectId"].asString()); - if(!dataNode["Status"].isNull()) - data_.status = std::stoi(dataNode["Status"].asString()); - if(!dataNode["DevelopmentType"].isNull()) - data_.developmentType = std::stoi(dataNode["DevelopmentType"].asString()); - auto allEnvTypes = dataNode["EnvTypes"]["EnvTypes"]; - for (auto value : allEnvTypes) - data_.envTypes.push_back(value.asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetProjectDetailResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetProjectDetailResult::Data GetProjectDetailResult::getData()const -{ - return data_; -} - -bool GetProjectDetailResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetQualityEntityRequest.cc b/dataworks-public/src/model/GetQualityEntityRequest.cc deleted file mode 100644 index 8634320f0..000000000 --- a/dataworks-public/src/model/GetQualityEntityRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetQualityEntityRequest; - -GetQualityEntityRequest::GetQualityEntityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetQualityEntity") -{ - setMethod(HttpRequest::Method::Post); -} - -GetQualityEntityRequest::~GetQualityEntityRequest() -{} - -std::string GetQualityEntityRequest::getProjectName()const -{ - return projectName_; -} - -void GetQualityEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string GetQualityEntityRequest::getMatchExpression()const -{ - return matchExpression_; -} - -void GetQualityEntityRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); -} - -std::string GetQualityEntityRequest::getEnvType()const -{ - return envType_; -} - -void GetQualityEntityRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); -} - -std::string GetQualityEntityRequest::getTableName()const -{ - return tableName_; -} - -void GetQualityEntityRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); -} - diff --git a/dataworks-public/src/model/GetQualityEntityResult.cc b/dataworks-public/src/model/GetQualityEntityResult.cc deleted file mode 100644 index f923ad490..000000000 --- a/dataworks-public/src/model/GetQualityEntityResult.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetQualityEntityResult::GetQualityEntityResult() : - ServiceResult() -{} - -GetQualityEntityResult::GetQualityEntityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetQualityEntityResult::~GetQualityEntityResult() -{} - -void GetQualityEntityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["EntityDto"]; - for (auto valueDataEntityDto : allDataNode) - { - EntityDto dataObject; - if(!valueDataEntityDto["Id"].isNull()) - dataObject.id = std::stol(valueDataEntityDto["Id"].asString()); - if(!valueDataEntityDto["ProjectName"].isNull()) - dataObject.projectName = valueDataEntityDto["ProjectName"].asString(); - if(!valueDataEntityDto["TableName"].isNull()) - dataObject.tableName = valueDataEntityDto["TableName"].asString(); - if(!valueDataEntityDto["EnvType"].isNull()) - dataObject.envType = valueDataEntityDto["EnvType"].asString(); - if(!valueDataEntityDto["MatchExpression"].isNull()) - dataObject.matchExpression = valueDataEntityDto["MatchExpression"].asString(); - if(!valueDataEntityDto["EntityLevel"].isNull()) - dataObject.entityLevel = std::stoi(valueDataEntityDto["EntityLevel"].asString()); - if(!valueDataEntityDto["OnDuty"].isNull()) - dataObject.onDuty = valueDataEntityDto["OnDuty"].asString(); - if(!valueDataEntityDto["ModifyUser"].isNull()) - dataObject.modifyUser = valueDataEntityDto["ModifyUser"].asString(); - if(!valueDataEntityDto["CreateTime"].isNull()) - dataObject.createTime = std::stol(valueDataEntityDto["CreateTime"].asString()); - if(!valueDataEntityDto["ModifyTime"].isNull()) - dataObject.modifyTime = std::stol(valueDataEntityDto["ModifyTime"].asString()); - if(!valueDataEntityDto["Sql"].isNull()) - dataObject.sql = std::stoi(valueDataEntityDto["Sql"].asString()); - if(!valueDataEntityDto["Task"].isNull()) - dataObject.task = std::stoi(valueDataEntityDto["Task"].asString()); - if(!valueDataEntityDto["Followers"].isNull()) - dataObject.followers = valueDataEntityDto["Followers"].asString(); - if(!valueDataEntityDto["HasRelativeNode"].isNull()) - dataObject.hasRelativeNode = valueDataEntityDto["HasRelativeNode"].asString() == "true"; - if(!valueDataEntityDto["RelativeNode"].isNull()) - dataObject.relativeNode = valueDataEntityDto["RelativeNode"].asString(); - if(!valueDataEntityDto["OnDutyAccountName"].isNull()) - dataObject.onDutyAccountName = valueDataEntityDto["OnDutyAccountName"].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 GetQualityEntityResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector GetQualityEntityResult::getData()const -{ - return data_; -} - -std::string GetQualityEntityResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetQualityEntityResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetQualityEntityResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetQualityFollowerRequest.cc b/dataworks-public/src/model/GetQualityFollowerRequest.cc deleted file mode 100644 index eaae64bd8..000000000 --- a/dataworks-public/src/model/GetQualityFollowerRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetQualityFollowerRequest; - -GetQualityFollowerRequest::GetQualityFollowerRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetQualityFollower") -{ - setMethod(HttpRequest::Method::Post); -} - -GetQualityFollowerRequest::~GetQualityFollowerRequest() -{} - -std::string GetQualityFollowerRequest::getProjectName()const -{ - return projectName_; -} - -void GetQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long GetQualityFollowerRequest::getEntityId()const -{ - return entityId_; -} - -void GetQualityFollowerRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - diff --git a/dataworks-public/src/model/GetQualityFollowerResult.cc b/dataworks-public/src/model/GetQualityFollowerResult.cc deleted file mode 100644 index bb3a42536..000000000 --- a/dataworks-public/src/model/GetQualityFollowerResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetQualityFollowerResult::GetQualityFollowerResult() : - ServiceResult() -{} - -GetQualityFollowerResult::GetQualityFollowerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetQualityFollowerResult::~GetQualityFollowerResult() -{} - -void GetQualityFollowerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["Follower"]; - for (auto valueDataFollower : allDataNode) - { - Follower dataObject; - if(!valueDataFollower["ProjectName"].isNull()) - dataObject.projectName = valueDataFollower["ProjectName"].asString(); - if(!valueDataFollower["TableName"].isNull()) - dataObject.tableName = valueDataFollower["TableName"].asString(); - if(!valueDataFollower["Id"].isNull()) - dataObject.id = std::stol(valueDataFollower["Id"].asString()); - if(!valueDataFollower["EntityId"].isNull()) - dataObject.entityId = valueDataFollower["EntityId"].asString(); - if(!valueDataFollower["Follower"].isNull()) - dataObject.follower = valueDataFollower["Follower"].asString(); - if(!valueDataFollower["AlarmMode"].isNull()) - dataObject.alarmMode = std::stoi(valueDataFollower["AlarmMode"].asString()); - if(!valueDataFollower["FollowerAccountName"].isNull()) - dataObject.followerAccountName = valueDataFollower["FollowerAccountName"].asString(); - data_.push_back(dataObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetQualityFollowerResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector GetQualityFollowerResult::getData()const -{ - return data_; -} - -std::string GetQualityFollowerResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetQualityFollowerResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetQualityFollowerResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetQualityRuleRequest.cc b/dataworks-public/src/model/GetQualityRuleRequest.cc deleted file mode 100644 index b37f0f348..000000000 --- a/dataworks-public/src/model/GetQualityRuleRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetQualityRuleRequest; - -GetQualityRuleRequest::GetQualityRuleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetQualityRule") -{ - setMethod(HttpRequest::Method::Post); -} - -GetQualityRuleRequest::~GetQualityRuleRequest() -{} - -std::string GetQualityRuleRequest::getProjectName()const -{ - return projectName_; -} - -void GetQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long GetQualityRuleRequest::getRuleId()const -{ - return ruleId_; -} - -void GetQualityRuleRequest::setRuleId(long ruleId) -{ - ruleId_ = ruleId; - setBodyParameter("RuleId", std::to_string(ruleId)); -} - diff --git a/dataworks-public/src/model/GetQualityRuleResult.cc b/dataworks-public/src/model/GetQualityRuleResult.cc deleted file mode 100644 index 45d18ec28..000000000 --- a/dataworks-public/src/model/GetQualityRuleResult.cc +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetQualityRuleResult::GetQualityRuleResult() : - ServiceResult() -{} - -GetQualityRuleResult::GetQualityRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetQualityRuleResult::~GetQualityRuleResult() -{} - -void GetQualityRuleResult::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["Id"].isNull()) - data_.id = std::stol(dataNode["Id"].asString()); - if(!dataNode["EntityId"].isNull()) - data_.entityId = std::stol(dataNode["EntityId"].asString()); - if(!dataNode["Property"].isNull()) - data_.property = dataNode["Property"].asString(); - if(!dataNode["MethodId"].isNull()) - data_.methodId = std::stoi(dataNode["MethodId"].asString()); - if(!dataNode["MethodName"].isNull()) - data_.methodName = dataNode["MethodName"].asString(); - if(!dataNode["WhereCondition"].isNull()) - data_.whereCondition = dataNode["WhereCondition"].asString(); - if(!dataNode["OnDuty"].isNull()) - data_.onDuty = dataNode["OnDuty"].asString(); - if(!dataNode["RuleType"].isNull()) - data_.ruleType = std::stoi(dataNode["RuleType"].asString()); - if(!dataNode["BlockType"].isNull()) - data_.blockType = std::stoi(dataNode["BlockType"].asString()); - if(!dataNode["TemplateId"].isNull()) - data_.templateId = std::stoi(dataNode["TemplateId"].asString()); - if(!dataNode["TemplateName"].isNull()) - data_.templateName = dataNode["TemplateName"].asString(); - if(!dataNode["Comment"].isNull()) - data_.comment = dataNode["Comment"].asString(); - if(!dataNode["RuleName"].isNull()) - data_.ruleName = dataNode["RuleName"].asString(); - if(!dataNode["PredictType"].isNull()) - data_.predictType = std::stoi(dataNode["PredictType"].asString()); - if(!dataNode["WarningThreshold"].isNull()) - data_.warningThreshold = dataNode["WarningThreshold"].asString(); - if(!dataNode["CriticalThreshold"].isNull()) - data_.criticalThreshold = dataNode["CriticalThreshold"].asString(); - if(!dataNode["Operator"].isNull()) - data_._operator = dataNode["Operator"].asString(); - if(!dataNode["ExpectValue"].isNull()) - data_.expectValue = dataNode["ExpectValue"].asString(); - if(!dataNode["Trend"].isNull()) - data_.trend = dataNode["Trend"].asString(); - if(!dataNode["CheckerName"].isNull()) - data_.checkerName = dataNode["CheckerName"].asString(); - if(!dataNode["Checker"].isNull()) - data_.checker = std::stoi(dataNode["Checker"].asString()); - if(!dataNode["FixCheck"].isNull()) - data_.fixCheck = dataNode["FixCheck"].asString() == "true"; - if(!dataNode["OnDutyAccountName"].isNull()) - data_.onDutyAccountName = dataNode["OnDutyAccountName"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetQualityRuleResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetQualityRuleResult::Data GetQualityRuleResult::getData()const -{ - return data_; -} - -std::string GetQualityRuleResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetQualityRuleResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetQualityRuleResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetRemindRequest.cc b/dataworks-public/src/model/GetRemindRequest.cc deleted file mode 100644 index b875eaf8d..000000000 --- a/dataworks-public/src/model/GetRemindRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetRemindRequest; - -GetRemindRequest::GetRemindRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetRemind") -{ - setMethod(HttpRequest::Method::Post); -} - -GetRemindRequest::~GetRemindRequest() -{} - -long GetRemindRequest::getRemindId()const -{ - return remindId_; -} - -void GetRemindRequest::setRemindId(long remindId) -{ - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); -} - diff --git a/dataworks-public/src/model/GetRemindResult.cc b/dataworks-public/src/model/GetRemindResult.cc deleted file mode 100644 index b8a232458..000000000 --- a/dataworks-public/src/model/GetRemindResult.cc +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetRemindResult::GetRemindResult() : - ServiceResult() -{} - -GetRemindResult::GetRemindResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetRemindResult::~GetRemindResult() -{} - -void GetRemindResult::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["RemindId"].isNull()) - data_.remindId = std::stol(dataNode["RemindId"].asString()); - if(!dataNode["RemindName"].isNull()) - data_.remindName = dataNode["RemindName"].asString(); - if(!dataNode["DndStart"].isNull()) - data_.dndStart = dataNode["DndStart"].asString(); - if(!dataNode["DndEnd"].isNull()) - data_.dndEnd = dataNode["DndEnd"].asString(); - if(!dataNode["RemindUnit"].isNull()) - data_.remindUnit = dataNode["RemindUnit"].asString(); - if(!dataNode["RemindType"].isNull()) - data_.remindType = dataNode["RemindType"].asString(); - if(!dataNode["AlertUnit"].isNull()) - data_.alertUnit = dataNode["AlertUnit"].asString(); - if(!dataNode["Useflag"].isNull()) - data_.useflag = dataNode["Useflag"].asString() == "true"; - if(!dataNode["Founder"].isNull()) - data_.founder = dataNode["Founder"].asString(); - if(!dataNode["AlertInterval"].isNull()) - data_.alertInterval = std::stoi(dataNode["AlertInterval"].asString()); - if(!dataNode["Detail"].isNull()) - data_.detail = dataNode["Detail"].asString(); - if(!dataNode["MaxAlertTimes"].isNull()) - data_.maxAlertTimes = std::stoi(dataNode["MaxAlertTimes"].asString()); - auto allRobotsNode = dataNode["Robots"]["RobotsItem"]; - for (auto dataNodeRobotsRobotsItem : allRobotsNode) - { - Data::RobotsItem robotsItemObject; - if(!dataNodeRobotsRobotsItem["WebUrl"].isNull()) - robotsItemObject.webUrl = dataNodeRobotsRobotsItem["WebUrl"].asString(); - if(!dataNodeRobotsRobotsItem["AtAll"].isNull()) - robotsItemObject.atAll = dataNodeRobotsRobotsItem["AtAll"].asString() == "true"; - data_.robots.push_back(robotsItemObject); - } - auto allNodesNode = dataNode["Nodes"]["NodesItem"]; - for (auto dataNodeNodesNodesItem : allNodesNode) - { - Data::NodesItem nodesItemObject; - if(!dataNodeNodesNodesItem["NodeId"].isNull()) - nodesItemObject.nodeId = std::stol(dataNodeNodesNodesItem["NodeId"].asString()); - if(!dataNodeNodesNodesItem["NodeName"].isNull()) - nodesItemObject.nodeName = dataNodeNodesNodesItem["NodeName"].asString(); - if(!dataNodeNodesNodesItem["Owner"].isNull()) - nodesItemObject.owner = dataNodeNodesNodesItem["Owner"].asString(); - if(!dataNodeNodesNodesItem["ProjectId"].isNull()) - nodesItemObject.projectId = std::stol(dataNodeNodesNodesItem["ProjectId"].asString()); - data_.nodes.push_back(nodesItemObject); - } - auto allBaselinesNode = dataNode["Baselines"]["BaselinesItem"]; - for (auto dataNodeBaselinesBaselinesItem : allBaselinesNode) - { - Data::BaselinesItem baselinesItemObject; - if(!dataNodeBaselinesBaselinesItem["BaselineId"].isNull()) - baselinesItemObject.baselineId = std::stol(dataNodeBaselinesBaselinesItem["BaselineId"].asString()); - if(!dataNodeBaselinesBaselinesItem["BaselineName"].isNull()) - baselinesItemObject.baselineName = dataNodeBaselinesBaselinesItem["BaselineName"].asString(); - data_.baselines.push_back(baselinesItemObject); - } - auto allProjectsNode = dataNode["Projects"]["ProjectsItem"]; - for (auto dataNodeProjectsProjectsItem : allProjectsNode) - { - Data::ProjectsItem projectsItemObject; - if(!dataNodeProjectsProjectsItem["ProjectId"].isNull()) - projectsItemObject.projectId = std::stol(dataNodeProjectsProjectsItem["ProjectId"].asString()); - data_.projects.push_back(projectsItemObject); - } - auto allBizProcessesNode = dataNode["BizProcesses"]["BizProcessesItem"]; - for (auto dataNodeBizProcessesBizProcessesItem : allBizProcessesNode) - { - Data::BizProcessesItem bizProcessesItemObject; - if(!dataNodeBizProcessesBizProcessesItem["BizId"].isNull()) - bizProcessesItemObject.bizId = std::stol(dataNodeBizProcessesBizProcessesItem["BizId"].asString()); - if(!dataNodeBizProcessesBizProcessesItem["BizProcessName"].isNull()) - bizProcessesItemObject.bizProcessName = dataNodeBizProcessesBizProcessesItem["BizProcessName"].asString(); - data_.bizProcesses.push_back(bizProcessesItemObject); - } - auto allAlertMethods = dataNode["AlertMethods"]["AlertMethods"]; - for (auto value : allAlertMethods) - data_.alertMethods.push_back(value.asString()); - auto allAlertTargets = dataNode["AlertTargets"]["AlertTargets"]; - for (auto value : allAlertTargets) - data_.alertTargets.push_back(value.asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetRemindResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetRemindResult::Data GetRemindResult::getData()const -{ - return data_; -} - -std::string GetRemindResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetRemindResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetRemindResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetSensitiveDataRequest.cc b/dataworks-public/src/model/GetSensitiveDataRequest.cc deleted file mode 100644 index 0303cdee9..000000000 --- a/dataworks-public/src/model/GetSensitiveDataRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetSensitiveDataRequest; - -GetSensitiveDataRequest::GetSensitiveDataRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetSensitiveData") -{ - setMethod(HttpRequest::Method::Get); -} - -GetSensitiveDataRequest::~GetSensitiveDataRequest() -{} - -int GetSensitiveDataRequest::getPageNo()const -{ - return pageNo_; -} - -void GetSensitiveDataRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); -} - -int GetSensitiveDataRequest::getPageSize()const -{ - return pageSize_; -} - -void GetSensitiveDataRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetSensitiveDataRequest::getName()const -{ - return name_; -} - -void GetSensitiveDataRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - diff --git a/dataworks-public/src/model/GetSensitiveDataResult.cc b/dataworks-public/src/model/GetSensitiveDataResult.cc deleted file mode 100644 index 67f10ae76..000000000 --- a/dataworks-public/src/model/GetSensitiveDataResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetSensitiveDataResult::GetSensitiveDataResult() : - ServiceResult() -{} - -GetSensitiveDataResult::GetSensitiveDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetSensitiveDataResult::~GetSensitiveDataResult() -{} - -void GetSensitiveDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["SensitiveData"].isNull()) - sensitiveData_ = value["SensitiveData"].asString(); - -} - -std::string GetSensitiveDataResult::getSensitiveData()const -{ - return sensitiveData_; -} - diff --git a/dataworks-public/src/model/GetSuccessInstanceTrendRequest.cc b/dataworks-public/src/model/GetSuccessInstanceTrendRequest.cc deleted file mode 100644 index c4f95e0d1..000000000 --- a/dataworks-public/src/model/GetSuccessInstanceTrendRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetSuccessInstanceTrendRequest; - -GetSuccessInstanceTrendRequest::GetSuccessInstanceTrendRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetSuccessInstanceTrend") -{ - setMethod(HttpRequest::Method::Post); -} - -GetSuccessInstanceTrendRequest::~GetSuccessInstanceTrendRequest() -{} - -long GetSuccessInstanceTrendRequest::getProjectId()const -{ - return projectId_; -} - -void GetSuccessInstanceTrendRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/GetSuccessInstanceTrendResult.cc b/dataworks-public/src/model/GetSuccessInstanceTrendResult.cc deleted file mode 100644 index 9559ca143..000000000 --- a/dataworks-public/src/model/GetSuccessInstanceTrendResult.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetSuccessInstanceTrendResult::GetSuccessInstanceTrendResult() : - ServiceResult() -{} - -GetSuccessInstanceTrendResult::GetSuccessInstanceTrendResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetSuccessInstanceTrendResult::~GetSuccessInstanceTrendResult() -{} - -void GetSuccessInstanceTrendResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto instanceStatusTrendNode = value["InstanceStatusTrend"]; - auto allTodayTrendNode = instanceStatusTrendNode["TodayTrend"]["TodayTrendItem"]; - for (auto instanceStatusTrendNodeTodayTrendTodayTrendItem : allTodayTrendNode) - { - InstanceStatusTrend::TodayTrendItem todayTrendItemObject; - if(!instanceStatusTrendNodeTodayTrendTodayTrendItem["Count"].isNull()) - todayTrendItemObject.count = std::stoi(instanceStatusTrendNodeTodayTrendTodayTrendItem["Count"].asString()); - if(!instanceStatusTrendNodeTodayTrendTodayTrendItem["TimePoint"].isNull()) - todayTrendItemObject.timePoint = instanceStatusTrendNodeTodayTrendTodayTrendItem["TimePoint"].asString(); - instanceStatusTrend_.todayTrend.push_back(todayTrendItemObject); - } - auto allYesterdayTrendNode = instanceStatusTrendNode["YesterdayTrend"]["YesterdayTrendItem"]; - for (auto instanceStatusTrendNodeYesterdayTrendYesterdayTrendItem : allYesterdayTrendNode) - { - InstanceStatusTrend::YesterdayTrendItem yesterdayTrendItemObject; - if(!instanceStatusTrendNodeYesterdayTrendYesterdayTrendItem["Count"].isNull()) - yesterdayTrendItemObject.count = std::stoi(instanceStatusTrendNodeYesterdayTrendYesterdayTrendItem["Count"].asString()); - if(!instanceStatusTrendNodeYesterdayTrendYesterdayTrendItem["TimePoint"].isNull()) - yesterdayTrendItemObject.timePoint = instanceStatusTrendNodeYesterdayTrendYesterdayTrendItem["TimePoint"].asString(); - instanceStatusTrend_.yesterdayTrend.push_back(yesterdayTrendItemObject); - } - auto allAvgTrendNode = instanceStatusTrendNode["AvgTrend"]["AvgTrendItem"]; - for (auto instanceStatusTrendNodeAvgTrendAvgTrendItem : allAvgTrendNode) - { - InstanceStatusTrend::AvgTrendItem avgTrendItemObject; - if(!instanceStatusTrendNodeAvgTrendAvgTrendItem["Count"].isNull()) - avgTrendItemObject.count = std::stoi(instanceStatusTrendNodeAvgTrendAvgTrendItem["Count"].asString()); - if(!instanceStatusTrendNodeAvgTrendAvgTrendItem["TimePoint"].isNull()) - avgTrendItemObject.timePoint = instanceStatusTrendNodeAvgTrendAvgTrendItem["TimePoint"].asString(); - instanceStatusTrend_.avgTrend.push_back(avgTrendItemObject); - } - -} - -GetSuccessInstanceTrendResult::InstanceStatusTrend GetSuccessInstanceTrendResult::getInstanceStatusTrend()const -{ - return instanceStatusTrend_; -} - diff --git a/dataworks-public/src/model/GetTopicInfluenceRequest.cc b/dataworks-public/src/model/GetTopicInfluenceRequest.cc deleted file mode 100644 index 6b2f14acb..000000000 --- a/dataworks-public/src/model/GetTopicInfluenceRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetTopicInfluenceRequest; - -GetTopicInfluenceRequest::GetTopicInfluenceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopicInfluence") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTopicInfluenceRequest::~GetTopicInfluenceRequest() -{} - -long GetTopicInfluenceRequest::getTopicId()const -{ - return topicId_; -} - -void GetTopicInfluenceRequest::setTopicId(long topicId) -{ - topicId_ = topicId; - setBodyParameter("TopicId", std::to_string(topicId)); -} - diff --git a/dataworks-public/src/model/GetTopicInfluenceResult.cc b/dataworks-public/src/model/GetTopicInfluenceResult.cc deleted file mode 100644 index 6596a47cd..000000000 --- a/dataworks-public/src/model/GetTopicInfluenceResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetTopicInfluenceResult::GetTopicInfluenceResult() : - ServiceResult() -{} - -GetTopicInfluenceResult::GetTopicInfluenceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetTopicInfluenceResult::~GetTopicInfluenceResult() -{} - -void GetTopicInfluenceResult::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["TopicId"].isNull()) - data_.topicId = std::stol(dataNode["TopicId"].asString()); - auto allInfluencesNode = dataNode["Influences"]["InfluencesItem"]; - for (auto dataNodeInfluencesInfluencesItem : allInfluencesNode) - { - Data::InfluencesItem influencesItemObject; - if(!dataNodeInfluencesInfluencesItem["BaselineId"].isNull()) - influencesItemObject.baselineId = std::stol(dataNodeInfluencesInfluencesItem["BaselineId"].asString()); - if(!dataNodeInfluencesInfluencesItem["Bizdate"].isNull()) - influencesItemObject.bizdate = std::stol(dataNodeInfluencesInfluencesItem["Bizdate"].asString()); - if(!dataNodeInfluencesInfluencesItem["InGroupId"].isNull()) - influencesItemObject.inGroupId = std::stoi(dataNodeInfluencesInfluencesItem["InGroupId"].asString()); - if(!dataNodeInfluencesInfluencesItem["BaselineName"].isNull()) - influencesItemObject.baselineName = dataNodeInfluencesInfluencesItem["BaselineName"].asString(); - if(!dataNodeInfluencesInfluencesItem["Owner"].isNull()) - influencesItemObject.owner = dataNodeInfluencesInfluencesItem["Owner"].asString(); - if(!dataNodeInfluencesInfluencesItem["Status"].isNull()) - influencesItemObject.status = dataNodeInfluencesInfluencesItem["Status"].asString(); - if(!dataNodeInfluencesInfluencesItem["ProjectId"].isNull()) - influencesItemObject.projectId = std::stol(dataNodeInfluencesInfluencesItem["ProjectId"].asString()); - if(!dataNodeInfluencesInfluencesItem["Priority"].isNull()) - influencesItemObject.priority = std::stoi(dataNodeInfluencesInfluencesItem["Priority"].asString()); - if(!dataNodeInfluencesInfluencesItem["Buffer"].isNull()) - influencesItemObject.buffer = std::stol(dataNodeInfluencesInfluencesItem["Buffer"].asString()); - data_.influences.push_back(influencesItemObject); - } - 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 GetTopicInfluenceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetTopicInfluenceResult::Data GetTopicInfluenceResult::getData()const -{ - return data_; -} - -std::string GetTopicInfluenceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetTopicInfluenceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetTopicInfluenceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetTopicResult.cc b/dataworks-public/src/model/GetTopicResult.cc deleted file mode 100644 index 0052ddf8f..000000000 --- a/dataworks-public/src/model/GetTopicResult.cc +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetTopicResult::GetTopicResult() : - ServiceResult() -{} - -GetTopicResult::GetTopicResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetTopicResult::~GetTopicResult() -{} - -void GetTopicResult::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["TopicId"].isNull()) - data_.topicId = std::stol(dataNode["TopicId"].asString()); - if(!dataNode["TopicName"].isNull()) - data_.topicName = dataNode["TopicName"].asString(); - if(!dataNode["TopicStatus"].isNull()) - data_.topicStatus = dataNode["TopicStatus"].asString(); - if(!dataNode["TopicType"].isNull()) - data_.topicType = dataNode["TopicType"].asString(); - if(!dataNode["AddTime"].isNull()) - data_.addTime = std::stol(dataNode["AddTime"].asString()); - if(!dataNode["AlertTime"].isNull()) - data_.alertTime = std::stol(dataNode["AlertTime"].asString()); - if(!dataNode["Assigner"].isNull()) - data_.assigner = dataNode["Assigner"].asString(); - if(!dataNode["BaselineId"].isNull()) - data_.baselineId = std::stol(dataNode["BaselineId"].asString()); - if(!dataNode["BaselineName"].isNull()) - data_.baselineName = dataNode["BaselineName"].asString(); - if(!dataNode["BaselineInGroupId"].isNull()) - data_.baselineInGroupId = std::stoi(dataNode["BaselineInGroupId"].asString()); - if(!dataNode["BaselineStatus"].isNull()) - data_.baselineStatus = dataNode["BaselineStatus"].asString(); - if(!dataNode["BaselineBuffer"].isNull()) - data_.baselineBuffer = std::stol(dataNode["BaselineBuffer"].asString()); - if(!dataNode["Buffer"].isNull()) - data_.buffer = std::stol(dataNode["Buffer"].asString()); - if(!dataNode["DealTime"].isNull()) - data_.dealTime = std::stol(dataNode["DealTime"].asString()); - if(!dataNode["DealUser"].isNull()) - data_.dealUser = dataNode["DealUser"].asString(); - if(!dataNode["FixTime"].isNull()) - data_.fixTime = std::stol(dataNode["FixTime"].asString()); - if(!dataNode["HappenTime"].isNull()) - data_.happenTime = std::stol(dataNode["HappenTime"].asString()); - if(!dataNode["InstanceId"].isNull()) - data_.instanceId = std::stol(dataNode["InstanceId"].asString()); - if(!dataNode["NextAlertTime"].isNull()) - data_.nextAlertTime = std::stol(dataNode["NextAlertTime"].asString()); - if(!dataNode["NodeId"].isNull()) - data_.nodeId = std::stol(dataNode["NodeId"].asString()); - if(!dataNode["NodeName"].isNull()) - data_.nodeName = dataNode["NodeName"].asString(); - if(!dataNode["Owner"].isNull()) - data_.owner = dataNode["Owner"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetTopicResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetTopicResult::Data GetTopicResult::getData()const -{ - return data_; -} - -std::string GetTopicResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetTopicResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetTopicResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListAlertMessagesRequest.cc b/dataworks-public/src/model/ListAlertMessagesRequest.cc deleted file mode 100644 index c59cf8d3d..000000000 --- a/dataworks-public/src/model/ListAlertMessagesRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListAlertMessagesRequest; - -ListAlertMessagesRequest::ListAlertMessagesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListAlertMessages") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAlertMessagesRequest::~ListAlertMessagesRequest() -{} - -std::string ListAlertMessagesRequest::getAlertUser()const -{ - return alertUser_; -} - -void ListAlertMessagesRequest::setAlertUser(const std::string& alertUser) -{ - alertUser_ = alertUser; - setBodyParameter("AlertUser", alertUser); -} - -std::string ListAlertMessagesRequest::getEndTime()const -{ - return endTime_; -} - -void ListAlertMessagesRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", endTime); -} - -std::string ListAlertMessagesRequest::getBeginTime()const -{ - return beginTime_; -} - -void ListAlertMessagesRequest::setBeginTime(const std::string& beginTime) -{ - beginTime_ = beginTime; - setBodyParameter("BeginTime", beginTime); -} - -std::string ListAlertMessagesRequest::getAlertMethods()const -{ - return alertMethods_; -} - -void ListAlertMessagesRequest::setAlertMethods(const std::string& alertMethods) -{ - alertMethods_ = alertMethods; - setBodyParameter("AlertMethods", alertMethods); -} - -int ListAlertMessagesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListAlertMessagesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -long ListAlertMessagesRequest::getRemindId()const -{ - return remindId_; -} - -void ListAlertMessagesRequest::setRemindId(long remindId) -{ - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); -} - -int ListAlertMessagesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListAlertMessagesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListAlertMessagesRequest::getAlertRuleTypes()const -{ - return alertRuleTypes_; -} - -void ListAlertMessagesRequest::setAlertRuleTypes(const std::string& alertRuleTypes) -{ - alertRuleTypes_ = alertRuleTypes; - setBodyParameter("AlertRuleTypes", alertRuleTypes); -} - diff --git a/dataworks-public/src/model/ListAlertMessagesResult.cc b/dataworks-public/src/model/ListAlertMessagesResult.cc deleted file mode 100644 index 40218b396..000000000 --- a/dataworks-public/src/model/ListAlertMessagesResult.cc +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListAlertMessagesResult::ListAlertMessagesResult() : - ServiceResult() -{} - -ListAlertMessagesResult::ListAlertMessagesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListAlertMessagesResult::~ListAlertMessagesResult() -{} - -void ListAlertMessagesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = dataNode["PageNumber"].asString(); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = dataNode["PageSize"].asString(); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = dataNode["TotalCount"].asString(); - auto allAlertMessagesNode = dataNode["AlertMessages"]["AlertMessagesItem"]; - for (auto dataNodeAlertMessagesAlertMessagesItem : allAlertMessagesNode) - { - Data::AlertMessagesItem alertMessagesItemObject; - if(!dataNodeAlertMessagesAlertMessagesItem["AlertId"].isNull()) - alertMessagesItemObject.alertId = std::stol(dataNodeAlertMessagesAlertMessagesItem["AlertId"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItem["AlertTime"].isNull()) - alertMessagesItemObject.alertTime = std::stol(dataNodeAlertMessagesAlertMessagesItem["AlertTime"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItem["Source"].isNull()) - alertMessagesItemObject.source = dataNodeAlertMessagesAlertMessagesItem["Source"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItem["RemindId"].isNull()) - alertMessagesItemObject.remindId = std::stol(dataNodeAlertMessagesAlertMessagesItem["RemindId"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItem["RemindName"].isNull()) - alertMessagesItemObject.remindName = dataNodeAlertMessagesAlertMessagesItem["RemindName"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItem["AlertUser"].isNull()) - alertMessagesItemObject.alertUser = dataNodeAlertMessagesAlertMessagesItem["AlertUser"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItem["AlertMethod"].isNull()) - alertMessagesItemObject.alertMethod = dataNodeAlertMessagesAlertMessagesItem["AlertMethod"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItem["AlertMessageStatus"].isNull()) - alertMessagesItemObject.alertMessageStatus = dataNodeAlertMessagesAlertMessagesItem["AlertMessageStatus"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItem["Content"].isNull()) - alertMessagesItemObject.content = dataNodeAlertMessagesAlertMessagesItem["Content"].asString(); - auto allInstancesNode = dataNodeAlertMessagesAlertMessagesItem["Instances"]["InstancesItem"]; - for (auto dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem : allInstancesNode) - { - Data::AlertMessagesItem::InstancesItem instancesObject; - if(!dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem["NodeId"].isNull()) - instancesObject.nodeId = std::stol(dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem["NodeId"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem["NodeName"].isNull()) - instancesObject.nodeName = dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem["NodeName"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem["ProjectId"].isNull()) - instancesObject.projectId = std::stol(dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem["ProjectId"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem["Status"].isNull()) - instancesObject.status = dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem["Status"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem["InstanceId"].isNull()) - instancesObject.instanceId = std::stol(dataNodeAlertMessagesAlertMessagesItemInstancesInstancesItem["InstanceId"].asString()); - alertMessagesItemObject.instances.push_back(instancesObject); - } - auto allTopicsNode = dataNodeAlertMessagesAlertMessagesItem["Topics"]["TopicsItem"]; - for (auto dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem : allTopicsNode) - { - Data::AlertMessagesItem::TopicsItem topicsObject; - if(!dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["NodeId"].isNull()) - topicsObject.nodeId = std::stol(dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["NodeId"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["InstanceId"].isNull()) - topicsObject.instanceId = std::stol(dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["InstanceId"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["TopicId"].isNull()) - topicsObject.topicId = std::stol(dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["TopicId"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["TopicName"].isNull()) - topicsObject.topicName = dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["TopicName"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["TopicOwner"].isNull()) - topicsObject.topicOwner = dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["TopicOwner"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["TopicStatus"].isNull()) - topicsObject.topicStatus = dataNodeAlertMessagesAlertMessagesItemTopicsTopicsItem["TopicStatus"].asString(); - alertMessagesItemObject.topics.push_back(topicsObject); - } - auto allNodesNode = dataNodeAlertMessagesAlertMessagesItem["Nodes"]["NodesItem"]; - for (auto dataNodeAlertMessagesAlertMessagesItemNodesNodesItem : allNodesNode) - { - Data::AlertMessagesItem::NodesItem nodesObject; - if(!dataNodeAlertMessagesAlertMessagesItemNodesNodesItem["NodeId"].isNull()) - nodesObject.nodeId = std::stol(dataNodeAlertMessagesAlertMessagesItemNodesNodesItem["NodeId"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItemNodesNodesItem["NodeName"].isNull()) - nodesObject.nodeName = dataNodeAlertMessagesAlertMessagesItemNodesNodesItem["NodeName"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItemNodesNodesItem["Owner"].isNull()) - nodesObject.owner = dataNodeAlertMessagesAlertMessagesItemNodesNodesItem["Owner"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItemNodesNodesItem["ProjectId"].isNull()) - nodesObject.projectId = std::stol(dataNodeAlertMessagesAlertMessagesItemNodesNodesItem["ProjectId"].asString()); - alertMessagesItemObject.nodes.push_back(nodesObject); - } - auto slaAlertNode = value["SlaAlert"]; - if(!slaAlertNode["BaselineId"].isNull()) - alertMessagesItemObject.slaAlert.baselineId = std::stol(slaAlertNode["BaselineId"].asString()); - if(!slaAlertNode["BaselineName"].isNull()) - alertMessagesItemObject.slaAlert.baselineName = slaAlertNode["BaselineName"].asString(); - if(!slaAlertNode["BaselineOwner"].isNull()) - alertMessagesItemObject.slaAlert.baselineOwner = slaAlertNode["BaselineOwner"].asString(); - if(!slaAlertNode["Bizdate"].isNull()) - alertMessagesItemObject.slaAlert.bizdate = std::stol(slaAlertNode["Bizdate"].asString()); - if(!slaAlertNode["InGroupId"].isNull()) - alertMessagesItemObject.slaAlert.inGroupId = std::stoi(slaAlertNode["InGroupId"].asString()); - if(!slaAlertNode["ProjectId"].isNull()) - alertMessagesItemObject.slaAlert.projectId = std::stol(slaAlertNode["ProjectId"].asString()); - if(!slaAlertNode["Status"].isNull()) - alertMessagesItemObject.slaAlert.status = slaAlertNode["Status"].asString(); - data_.alertMessages.push_back(alertMessagesItemObject); - } - 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 ListAlertMessagesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListAlertMessagesResult::Data ListAlertMessagesResult::getData()const -{ - return data_; -} - -std::string ListAlertMessagesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListAlertMessagesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListAlertMessagesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListBaselineConfigsRequest.cc b/dataworks-public/src/model/ListBaselineConfigsRequest.cc deleted file mode 100644 index 8c71e6c8b..000000000 --- a/dataworks-public/src/model/ListBaselineConfigsRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListBaselineConfigsRequest; - -ListBaselineConfigsRequest::ListBaselineConfigsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListBaselineConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -ListBaselineConfigsRequest::~ListBaselineConfigsRequest() -{} - -std::string ListBaselineConfigsRequest::getOwner()const -{ - return owner_; -} - -void ListBaselineConfigsRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListBaselineConfigsRequest::getSearchText()const -{ - return searchText_; -} - -void ListBaselineConfigsRequest::setSearchText(const std::string& searchText) -{ - searchText_ = searchText; - setBodyParameter("SearchText", searchText); -} - -bool ListBaselineConfigsRequest::getUseflag()const -{ - return useflag_; -} - -void ListBaselineConfigsRequest::setUseflag(bool useflag) -{ - useflag_ = useflag; - setBodyParameter("Useflag", useflag ? "true" : "false"); -} - -std::string ListBaselineConfigsRequest::getPriority()const -{ - return priority_; -} - -void ListBaselineConfigsRequest::setPriority(const std::string& priority) -{ - priority_ = priority; - setBodyParameter("Priority", priority); -} - -int ListBaselineConfigsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListBaselineConfigsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -int ListBaselineConfigsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListBaselineConfigsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListBaselineConfigsRequest::getProjectId()const -{ - return projectId_; -} - -void ListBaselineConfigsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListBaselineConfigsRequest::getBaselineTypes()const -{ - return baselineTypes_; -} - -void ListBaselineConfigsRequest::setBaselineTypes(const std::string& baselineTypes) -{ - baselineTypes_ = baselineTypes; - setBodyParameter("BaselineTypes", baselineTypes); -} - diff --git a/dataworks-public/src/model/ListBaselineConfigsResult.cc b/dataworks-public/src/model/ListBaselineConfigsResult.cc deleted file mode 100644 index 2d8ec036c..000000000 --- a/dataworks-public/src/model/ListBaselineConfigsResult.cc +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListBaselineConfigsResult::ListBaselineConfigsResult() : - ServiceResult() -{} - -ListBaselineConfigsResult::ListBaselineConfigsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListBaselineConfigsResult::~ListBaselineConfigsResult() -{} - -void ListBaselineConfigsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allBaselinesNode = dataNode["Baselines"]["BaselinesItem"]; - for (auto dataNodeBaselinesBaselinesItem : allBaselinesNode) - { - Data::BaselinesItem baselinesItemObject; - if(!dataNodeBaselinesBaselinesItem["BaselineId"].isNull()) - baselinesItemObject.baselineId = std::stol(dataNodeBaselinesBaselinesItem["BaselineId"].asString()); - if(!dataNodeBaselinesBaselinesItem["Priority"].isNull()) - baselinesItemObject.priority = std::stoi(dataNodeBaselinesBaselinesItem["Priority"].asString()); - if(!dataNodeBaselinesBaselinesItem["BaselineName"].isNull()) - baselinesItemObject.baselineName = dataNodeBaselinesBaselinesItem["BaselineName"].asString(); - if(!dataNodeBaselinesBaselinesItem["Owner"].isNull()) - baselinesItemObject.owner = dataNodeBaselinesBaselinesItem["Owner"].asString(); - if(!dataNodeBaselinesBaselinesItem["ProjectId"].isNull()) - baselinesItemObject.projectId = std::stol(dataNodeBaselinesBaselinesItem["ProjectId"].asString()); - if(!dataNodeBaselinesBaselinesItem["UseFlag"].isNull()) - baselinesItemObject.useFlag = dataNodeBaselinesBaselinesItem["UseFlag"].asString() == "true"; - if(!dataNodeBaselinesBaselinesItem["BaselineType"].isNull()) - baselinesItemObject.baselineType = dataNodeBaselinesBaselinesItem["BaselineType"].asString(); - if(!dataNodeBaselinesBaselinesItem["ExpHour"].isNull()) - baselinesItemObject.expHour = std::stoi(dataNodeBaselinesBaselinesItem["ExpHour"].asString()); - if(!dataNodeBaselinesBaselinesItem["ExpMinu"].isNull()) - baselinesItemObject.expMinu = std::stoi(dataNodeBaselinesBaselinesItem["ExpMinu"].asString()); - if(!dataNodeBaselinesBaselinesItem["SlaHour"].isNull()) - baselinesItemObject.slaHour = std::stoi(dataNodeBaselinesBaselinesItem["SlaHour"].asString()); - if(!dataNodeBaselinesBaselinesItem["SlaMinu"].isNull()) - baselinesItemObject.slaMinu = std::stoi(dataNodeBaselinesBaselinesItem["SlaMinu"].asString()); - if(!dataNodeBaselinesBaselinesItem["HourExpDetail"].isNull()) - baselinesItemObject.hourExpDetail = dataNodeBaselinesBaselinesItem["HourExpDetail"].asString(); - if(!dataNodeBaselinesBaselinesItem["HourSlaDetail"].isNull()) - baselinesItemObject.hourSlaDetail = dataNodeBaselinesBaselinesItem["HourSlaDetail"].asString(); - if(!dataNodeBaselinesBaselinesItem["IsDefault"].isNull()) - baselinesItemObject.isDefault = dataNodeBaselinesBaselinesItem["IsDefault"].asString() == "true"; - data_.baselines.push_back(baselinesItemObject); - } - 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 ListBaselineConfigsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListBaselineConfigsResult::Data ListBaselineConfigsResult::getData()const -{ - return data_; -} - -std::string ListBaselineConfigsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListBaselineConfigsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListBaselineConfigsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListBaselineStatusesRequest.cc b/dataworks-public/src/model/ListBaselineStatusesRequest.cc deleted file mode 100644 index ea69853af..000000000 --- a/dataworks-public/src/model/ListBaselineStatusesRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListBaselineStatusesRequest; - -ListBaselineStatusesRequest::ListBaselineStatusesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListBaselineStatuses") -{ - setMethod(HttpRequest::Method::Post); -} - -ListBaselineStatusesRequest::~ListBaselineStatusesRequest() -{} - -std::string ListBaselineStatusesRequest::getSearchText()const -{ - return searchText_; -} - -void ListBaselineStatusesRequest::setSearchText(const std::string& searchText) -{ - searchText_ = searchText; - setBodyParameter("SearchText", searchText); -} - -std::string ListBaselineStatusesRequest::getOwner()const -{ - return owner_; -} - -void ListBaselineStatusesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListBaselineStatusesRequest::getPriority()const -{ - return priority_; -} - -void ListBaselineStatusesRequest::setPriority(const std::string& priority) -{ - priority_ = priority; - setBodyParameter("Priority", priority); -} - -int ListBaselineStatusesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListBaselineStatusesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -long ListBaselineStatusesRequest::getTopicId()const -{ - return topicId_; -} - -void ListBaselineStatusesRequest::setTopicId(long topicId) -{ - topicId_ = topicId; - setBodyParameter("TopicId", std::to_string(topicId)); -} - -std::string ListBaselineStatusesRequest::getBizdate()const -{ - return bizdate_; -} - -void ListBaselineStatusesRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); -} - -std::string ListBaselineStatusesRequest::getFinishStatus()const -{ - return finishStatus_; -} - -void ListBaselineStatusesRequest::setFinishStatus(const std::string& finishStatus) -{ - finishStatus_ = finishStatus; - setBodyParameter("FinishStatus", finishStatus); -} - -int ListBaselineStatusesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListBaselineStatusesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListBaselineStatusesRequest::getBaselineTypes()const -{ - return baselineTypes_; -} - -void ListBaselineStatusesRequest::setBaselineTypes(const std::string& baselineTypes) -{ - baselineTypes_ = baselineTypes; - setBodyParameter("BaselineTypes", baselineTypes); -} - -std::string ListBaselineStatusesRequest::getStatus()const -{ - return status_; -} - -void ListBaselineStatusesRequest::setStatus(const std::string& status) -{ - status_ = status; - setBodyParameter("Status", status); -} - diff --git a/dataworks-public/src/model/ListBaselineStatusesResult.cc b/dataworks-public/src/model/ListBaselineStatusesResult.cc deleted file mode 100644 index b127e3dfe..000000000 --- a/dataworks-public/src/model/ListBaselineStatusesResult.cc +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListBaselineStatusesResult::ListBaselineStatusesResult() : - ServiceResult() -{} - -ListBaselineStatusesResult::ListBaselineStatusesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListBaselineStatusesResult::~ListBaselineStatusesResult() -{} - -void ListBaselineStatusesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allBaselineStatusesNode = dataNode["BaselineStatuses"]["BaselineStatusesItem"]; - for (auto dataNodeBaselineStatusesBaselineStatusesItem : allBaselineStatusesNode) - { - Data::BaselineStatusesItem baselineStatusesItemObject; - if(!dataNodeBaselineStatusesBaselineStatusesItem["BaselineName"].isNull()) - baselineStatusesItemObject.baselineName = dataNodeBaselineStatusesBaselineStatusesItem["BaselineName"].asString(); - if(!dataNodeBaselineStatusesBaselineStatusesItem["BaselineId"].isNull()) - baselineStatusesItemObject.baselineId = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["BaselineId"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["Bizdate"].isNull()) - baselineStatusesItemObject.bizdate = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["Bizdate"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["Owner"].isNull()) - baselineStatusesItemObject.owner = dataNodeBaselineStatusesBaselineStatusesItem["Owner"].asString(); - if(!dataNodeBaselineStatusesBaselineStatusesItem["ExpTime"].isNull()) - baselineStatusesItemObject.expTime = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["ExpTime"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["FinishTime"].isNull()) - baselineStatusesItemObject.finishTime = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["FinishTime"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["EndCast"].isNull()) - baselineStatusesItemObject.endCast = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["EndCast"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["SlaTime"].isNull()) - baselineStatusesItemObject.slaTime = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["SlaTime"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["Priority"].isNull()) - baselineStatusesItemObject.priority = std::stoi(dataNodeBaselineStatusesBaselineStatusesItem["Priority"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["ProjectId"].isNull()) - baselineStatusesItemObject.projectId = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["ProjectId"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["Buffer"].isNull()) - baselineStatusesItemObject.buffer = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["Buffer"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["Status"].isNull()) - baselineStatusesItemObject.status = dataNodeBaselineStatusesBaselineStatusesItem["Status"].asString(); - if(!dataNodeBaselineStatusesBaselineStatusesItem["FinishStatus"].isNull()) - baselineStatusesItemObject.finishStatus = dataNodeBaselineStatusesBaselineStatusesItem["FinishStatus"].asString(); - if(!dataNodeBaselineStatusesBaselineStatusesItem["InGroupId"].isNull()) - baselineStatusesItemObject.inGroupId = std::stoi(dataNodeBaselineStatusesBaselineStatusesItem["InGroupId"].asString()); - data_.baselineStatuses.push_back(baselineStatusesItemObject); - } - 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 ListBaselineStatusesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListBaselineStatusesResult::Data ListBaselineStatusesResult::getData()const -{ - return data_; -} - -std::string ListBaselineStatusesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListBaselineStatusesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListBaselineStatusesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListBusinessRequest.cc b/dataworks-public/src/model/ListBusinessRequest.cc deleted file mode 100644 index bd728f468..000000000 --- a/dataworks-public/src/model/ListBusinessRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListBusinessRequest; - -ListBusinessRequest::ListBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -ListBusinessRequest::~ListBusinessRequest() -{} - -int ListBusinessRequest::getPageSize()const -{ - return pageSize_; -} - -void ListBusinessRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListBusinessRequest::getKeyword()const -{ - return keyword_; -} - -void ListBusinessRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setBodyParameter("Keyword", keyword); -} - -long ListBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void ListBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void ListBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -int ListBusinessRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListBusinessRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListBusinessResult.cc b/dataworks-public/src/model/ListBusinessResult.cc deleted file mode 100644 index 9809cf386..000000000 --- a/dataworks-public/src/model/ListBusinessResult.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListBusinessResult::ListBusinessResult() : - ServiceResult() -{} - -ListBusinessResult::ListBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListBusinessResult::~ListBusinessResult() -{} - -void ListBusinessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allBusinessNode = dataNode["Business"]["BusinessItem"]; - for (auto dataNodeBusinessBusinessItem : allBusinessNode) - { - Data::BusinessItem businessItemObject; - if(!dataNodeBusinessBusinessItem["BusinessId"].isNull()) - businessItemObject.businessId = std::stol(dataNodeBusinessBusinessItem["BusinessId"].asString()); - if(!dataNodeBusinessBusinessItem["BusinessName"].isNull()) - businessItemObject.businessName = dataNodeBusinessBusinessItem["BusinessName"].asString(); - if(!dataNodeBusinessBusinessItem["ProjectId"].isNull()) - businessItemObject.projectId = std::stol(dataNodeBusinessBusinessItem["ProjectId"].asString()); - if(!dataNodeBusinessBusinessItem["Owner"].isNull()) - businessItemObject.owner = dataNodeBusinessBusinessItem["Owner"].asString(); - if(!dataNodeBusinessBusinessItem["Description"].isNull()) - businessItemObject.description = dataNodeBusinessBusinessItem["Description"].asString(); - if(!dataNodeBusinessBusinessItem["UseType"].isNull()) - businessItemObject.useType = dataNodeBusinessBusinessItem["UseType"].asString(); - data_.business.push_back(businessItemObject); - } - 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 ListBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListBusinessResult::Data ListBusinessResult::getData()const -{ - return data_; -} - -std::string ListBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListBusinessResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListCalcEnginesRequest.cc b/dataworks-public/src/model/ListCalcEnginesRequest.cc deleted file mode 100644 index 2e9647ff3..000000000 --- a/dataworks-public/src/model/ListCalcEnginesRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListCalcEnginesRequest; - -ListCalcEnginesRequest::ListCalcEnginesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListCalcEngines") -{ - setMethod(HttpRequest::Method::Post); -} - -ListCalcEnginesRequest::~ListCalcEnginesRequest() -{} - -std::string ListCalcEnginesRequest::getCalcEngineType()const -{ - return calcEngineType_; -} - -void ListCalcEnginesRequest::setCalcEngineType(const std::string& calcEngineType) -{ - calcEngineType_ = calcEngineType; - setParameter("CalcEngineType", calcEngineType); -} - -int ListCalcEnginesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListCalcEnginesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListCalcEnginesRequest::getName()const -{ - return name_; -} - -void ListCalcEnginesRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string ListCalcEnginesRequest::getEnvType()const -{ - return envType_; -} - -void ListCalcEnginesRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setParameter("EnvType", envType); -} - -int ListCalcEnginesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListCalcEnginesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long ListCalcEnginesRequest::getProjectId()const -{ - return projectId_; -} - -void ListCalcEnginesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListCalcEnginesResult.cc b/dataworks-public/src/model/ListCalcEnginesResult.cc deleted file mode 100644 index 2ebe1f5d7..000000000 --- a/dataworks-public/src/model/ListCalcEnginesResult.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListCalcEnginesResult::ListCalcEnginesResult() : - ServiceResult() -{} - -ListCalcEnginesResult::ListCalcEnginesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListCalcEnginesResult::~ListCalcEnginesResult() -{} - -void ListCalcEnginesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allCalcEnginesNode = dataNode["CalcEngines"]["CalcEnginesItem"]; - for (auto dataNodeCalcEnginesCalcEnginesItem : allCalcEnginesNode) - { - Data::CalcEnginesItem calcEnginesItemObject; - if(!dataNodeCalcEnginesCalcEnginesItem["CalcEngineType"].isNull()) - calcEnginesItemObject.calcEngineType = dataNodeCalcEnginesCalcEnginesItem["CalcEngineType"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["GmtCreate"].isNull()) - calcEnginesItemObject.gmtCreate = dataNodeCalcEnginesCalcEnginesItem["GmtCreate"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["DwRegion"].isNull()) - calcEnginesItemObject.dwRegion = dataNodeCalcEnginesCalcEnginesItem["DwRegion"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["IsDefault"].isNull()) - calcEnginesItemObject.isDefault = dataNodeCalcEnginesCalcEnginesItem["IsDefault"].asString() == "true"; - if(!dataNodeCalcEnginesCalcEnginesItem["BindingProjectId"].isNull()) - calcEnginesItemObject.bindingProjectId = std::stoi(dataNodeCalcEnginesCalcEnginesItem["BindingProjectId"].asString()); - if(!dataNodeCalcEnginesCalcEnginesItem["EnvType"].isNull()) - calcEnginesItemObject.envType = dataNodeCalcEnginesCalcEnginesItem["EnvType"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["TenantId"].isNull()) - calcEnginesItemObject.tenantId = std::stol(dataNodeCalcEnginesCalcEnginesItem["TenantId"].asString()); - if(!dataNodeCalcEnginesCalcEnginesItem["Name"].isNull()) - calcEnginesItemObject.name = dataNodeCalcEnginesCalcEnginesItem["Name"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["BindingProjectName"].isNull()) - calcEnginesItemObject.bindingProjectName = dataNodeCalcEnginesCalcEnginesItem["BindingProjectName"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["Region"].isNull()) - calcEnginesItemObject.region = dataNodeCalcEnginesCalcEnginesItem["Region"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["EngineId"].isNull()) - calcEnginesItemObject.engineId = std::stoi(dataNodeCalcEnginesCalcEnginesItem["EngineId"].asString()); - if(!dataNodeCalcEnginesCalcEnginesItem["EngineInfo"].isNull()) - calcEnginesItemObject.engineInfo = dataNodeCalcEnginesCalcEnginesItem["EngineInfo"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["TaskAuthType"].isNull()) - calcEnginesItemObject.taskAuthType = dataNodeCalcEnginesCalcEnginesItem["TaskAuthType"].asString(); - data_.calcEngines.push_back(calcEnginesItemObject); - } - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListCalcEnginesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListCalcEnginesResult::Data ListCalcEnginesResult::getData()const -{ - return data_; -} - -bool ListCalcEnginesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListConnectionsRequest.cc b/dataworks-public/src/model/ListConnectionsRequest.cc deleted file mode 100644 index d2a678525..000000000 --- a/dataworks-public/src/model/ListConnectionsRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListConnectionsRequest; - -ListConnectionsRequest::ListConnectionsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListConnections") -{ - setMethod(HttpRequest::Method::Get); -} - -ListConnectionsRequest::~ListConnectionsRequest() -{} - -int ListConnectionsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListConnectionsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListConnectionsRequest::getSubType()const -{ - return subType_; -} - -void ListConnectionsRequest::setSubType(const std::string& subType) -{ - subType_ = subType; - setParameter("SubType", subType); -} - -std::string ListConnectionsRequest::getName()const -{ - return name_; -} - -void ListConnectionsRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -int ListConnectionsRequest::getEnvType()const -{ - return envType_; -} - -void ListConnectionsRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); -} - -int ListConnectionsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListConnectionsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListConnectionsRequest::getConnectionType()const -{ - return connectionType_; -} - -void ListConnectionsRequest::setConnectionType(const std::string& connectionType) -{ - connectionType_ = connectionType; - setParameter("ConnectionType", connectionType); -} - -long ListConnectionsRequest::getProjectId()const -{ - return projectId_; -} - -void ListConnectionsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListConnectionsRequest::getStatus()const -{ - return status_; -} - -void ListConnectionsRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/dataworks-public/src/model/ListConnectionsResult.cc b/dataworks-public/src/model/ListConnectionsResult.cc deleted file mode 100644 index cdd563fa5..000000000 --- a/dataworks-public/src/model/ListConnectionsResult.cc +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListConnectionsResult::ListConnectionsResult() : - ServiceResult() -{} - -ListConnectionsResult::ListConnectionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListConnectionsResult::~ListConnectionsResult() -{} - -void ListConnectionsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allConnectionsNode = dataNode["Connections"]["ConnectionsItem"]; - for (auto dataNodeConnectionsConnectionsItem : allConnectionsNode) - { - Data::ConnectionsItem connectionsItemObject; - if(!dataNodeConnectionsConnectionsItem["Shared"].isNull()) - connectionsItemObject.shared = dataNodeConnectionsConnectionsItem["Shared"].asString() == "true"; - if(!dataNodeConnectionsConnectionsItem["GmtModified"].isNull()) - connectionsItemObject.gmtModified = dataNodeConnectionsConnectionsItem["GmtModified"].asString(); - if(!dataNodeConnectionsConnectionsItem["ConnectStatus"].isNull()) - connectionsItemObject.connectStatus = std::stoi(dataNodeConnectionsConnectionsItem["ConnectStatus"].asString()); - if(!dataNodeConnectionsConnectionsItem["BindingCalcEngineId"].isNull()) - connectionsItemObject.bindingCalcEngineId = std::stoi(dataNodeConnectionsConnectionsItem["BindingCalcEngineId"].asString()); - if(!dataNodeConnectionsConnectionsItem["Description"].isNull()) - connectionsItemObject.description = dataNodeConnectionsConnectionsItem["Description"].asString(); - if(!dataNodeConnectionsConnectionsItem["ConnectionType"].isNull()) - connectionsItemObject.connectionType = dataNodeConnectionsConnectionsItem["ConnectionType"].asString(); - if(!dataNodeConnectionsConnectionsItem["GmtCreate"].isNull()) - connectionsItemObject.gmtCreate = dataNodeConnectionsConnectionsItem["GmtCreate"].asString(); - if(!dataNodeConnectionsConnectionsItem["DefaultEngine"].isNull()) - connectionsItemObject.defaultEngine = dataNodeConnectionsConnectionsItem["DefaultEngine"].asString() == "true"; - if(!dataNodeConnectionsConnectionsItem["Operator"].isNull()) - connectionsItemObject._operator = dataNodeConnectionsConnectionsItem["Operator"].asString(); - if(!dataNodeConnectionsConnectionsItem["Sequence"].isNull()) - connectionsItemObject.sequence = std::stoi(dataNodeConnectionsConnectionsItem["Sequence"].asString()); - if(!dataNodeConnectionsConnectionsItem["EnvType"].isNull()) - connectionsItemObject.envType = std::stoi(dataNodeConnectionsConnectionsItem["EnvType"].asString()); - if(!dataNodeConnectionsConnectionsItem["TenantId"].isNull()) - connectionsItemObject.tenantId = std::stol(dataNodeConnectionsConnectionsItem["TenantId"].asString()); - if(!dataNodeConnectionsConnectionsItem["Name"].isNull()) - connectionsItemObject.name = dataNodeConnectionsConnectionsItem["Name"].asString(); - if(!dataNodeConnectionsConnectionsItem["SubType"].isNull()) - connectionsItemObject.subType = dataNodeConnectionsConnectionsItem["SubType"].asString(); - if(!dataNodeConnectionsConnectionsItem["Id"].isNull()) - connectionsItemObject.id = std::stoi(dataNodeConnectionsConnectionsItem["Id"].asString()); - if(!dataNodeConnectionsConnectionsItem["ProjectId"].isNull()) - connectionsItemObject.projectId = std::stoi(dataNodeConnectionsConnectionsItem["ProjectId"].asString()); - if(!dataNodeConnectionsConnectionsItem["Status"].isNull()) - connectionsItemObject.status = std::stoi(dataNodeConnectionsConnectionsItem["Status"].asString()); - if(!dataNodeConnectionsConnectionsItem["Content"].isNull()) - connectionsItemObject.content = dataNodeConnectionsConnectionsItem["Content"].asString(); - data_.connections.push_back(connectionsItemObject); - } - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListConnectionsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListConnectionsResult::Data ListConnectionsResult::getData()const -{ - return data_; -} - -bool ListConnectionsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc b/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc deleted file mode 100644 index ae5a2b37f..000000000 --- a/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceApiAuthoritiesRequest; - -ListDataServiceApiAuthoritiesRequest::ListDataServiceApiAuthoritiesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceApiAuthorities") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceApiAuthoritiesRequest::~ListDataServiceApiAuthoritiesRequest() -{} - -std::string ListDataServiceApiAuthoritiesRequest::getApiNameKeyword()const -{ - return apiNameKeyword_; -} - -void ListDataServiceApiAuthoritiesRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); -} - -int ListDataServiceApiAuthoritiesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServiceApiAuthoritiesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServiceApiAuthoritiesRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServiceApiAuthoritiesRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long ListDataServiceApiAuthoritiesRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataServiceApiAuthoritiesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -int ListDataServiceApiAuthoritiesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServiceApiAuthoritiesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc b/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc deleted file mode 100644 index 102c3e223..000000000 --- a/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServiceApiAuthoritiesResult::ListDataServiceApiAuthoritiesResult() : - ServiceResult() -{} - -ListDataServiceApiAuthoritiesResult::ListDataServiceApiAuthoritiesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServiceApiAuthoritiesResult::~ListDataServiceApiAuthoritiesResult() -{} - -void ListDataServiceApiAuthoritiesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allApiAuthorizationListNode = dataNode["ApiAuthorizationList"]["ApiAuthorization"]; - for (auto dataNodeApiAuthorizationListApiAuthorization : allApiAuthorizationListNode) - { - Data::ApiAuthorization apiAuthorizationObject; - if(!dataNodeApiAuthorizationListApiAuthorization["ApiId"].isNull()) - apiAuthorizationObject.apiId = std::stol(dataNodeApiAuthorizationListApiAuthorization["ApiId"].asString()); - if(!dataNodeApiAuthorizationListApiAuthorization["ApiName"].isNull()) - apiAuthorizationObject.apiName = dataNodeApiAuthorizationListApiAuthorization["ApiName"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["ApiPath"].isNull()) - apiAuthorizationObject.apiPath = dataNodeApiAuthorizationListApiAuthorization["ApiPath"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["ApiStatus"].isNull()) - apiAuthorizationObject.apiStatus = std::stoi(dataNodeApiAuthorizationListApiAuthorization["ApiStatus"].asString()); - if(!dataNodeApiAuthorizationListApiAuthorization["CreatedTime"].isNull()) - apiAuthorizationObject.createdTime = dataNodeApiAuthorizationListApiAuthorization["CreatedTime"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["CreatorId"].isNull()) - apiAuthorizationObject.creatorId = dataNodeApiAuthorizationListApiAuthorization["CreatorId"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["GroupId"].isNull()) - apiAuthorizationObject.groupId = dataNodeApiAuthorizationListApiAuthorization["GroupId"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["ModifiedTime"].isNull()) - apiAuthorizationObject.modifiedTime = dataNodeApiAuthorizationListApiAuthorization["ModifiedTime"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["ProjectId"].isNull()) - apiAuthorizationObject.projectId = std::stol(dataNodeApiAuthorizationListApiAuthorization["ProjectId"].asString()); - if(!dataNodeApiAuthorizationListApiAuthorization["TenantId"].isNull()) - apiAuthorizationObject.tenantId = std::stol(dataNodeApiAuthorizationListApiAuthorization["TenantId"].asString()); - auto allAuthorizationRecordsNode = dataNodeApiAuthorizationListApiAuthorization["AuthorizationRecords"]["AuthorizationRecord"]; - for (auto dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord : allAuthorizationRecordsNode) - { - Data::ApiAuthorization::AuthorizationRecord authorizationRecordsObject; - if(!dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatedTime"].isNull()) - authorizationRecordsObject.createdTime = dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatedTime"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatorId"].isNull()) - authorizationRecordsObject.creatorId = dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatorId"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["EndTime"].isNull()) - authorizationRecordsObject.endTime = dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["EndTime"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["ProjectId"].isNull()) - authorizationRecordsObject.projectId = std::stol(dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["ProjectId"].asString()); - apiAuthorizationObject.authorizationRecords.push_back(authorizationRecordsObject); - } - data_.apiAuthorizationList.push_back(apiAuthorizationObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListDataServiceApiAuthoritiesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListDataServiceApiAuthoritiesResult::Data ListDataServiceApiAuthoritiesResult::getData()const -{ - return data_; -} - -std::string ListDataServiceApiAuthoritiesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListDataServiceApiAuthoritiesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListDataServiceApiAuthoritiesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListDataServiceApisRequest.cc b/dataworks-public/src/model/ListDataServiceApisRequest.cc deleted file mode 100644 index 064b15335..000000000 --- a/dataworks-public/src/model/ListDataServiceApisRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceApisRequest; - -ListDataServiceApisRequest::ListDataServiceApisRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceApis") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceApisRequest::~ListDataServiceApisRequest() -{} - -std::string ListDataServiceApisRequest::getApiNameKeyword()const -{ - return apiNameKeyword_; -} - -void ListDataServiceApisRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); -} - -std::string ListDataServiceApisRequest::getApiPathKeyword()const -{ - return apiPathKeyword_; -} - -void ListDataServiceApisRequest::setApiPathKeyword(const std::string& apiPathKeyword) -{ - apiPathKeyword_ = apiPathKeyword; - setBodyParameter("ApiPathKeyword", apiPathKeyword); -} - -std::string ListDataServiceApisRequest::getCreatorId()const -{ - return creatorId_; -} - -void ListDataServiceApisRequest::setCreatorId(const std::string& creatorId) -{ - creatorId_ = creatorId; - setBodyParameter("CreatorId", creatorId); -} - -int ListDataServiceApisRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServiceApisRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -int ListDataServiceApisRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServiceApisRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServiceApisRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServiceApisRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long ListDataServiceApisRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataServiceApisRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListDataServiceApisResult.cc b/dataworks-public/src/model/ListDataServiceApisResult.cc deleted file mode 100644 index 36c82feec..000000000 --- a/dataworks-public/src/model/ListDataServiceApisResult.cc +++ /dev/null @@ -1,276 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServiceApisResult::ListDataServiceApisResult() : - ServiceResult() -{} - -ListDataServiceApisResult::ListDataServiceApisResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServiceApisResult::~ListDataServiceApisResult() -{} - -void ListDataServiceApisResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allApisNode = dataNode["Apis"]["Api"]; - for (auto dataNodeApisApi : allApisNode) - { - Data::Api apiObject; - if(!dataNodeApisApi["ApiId"].isNull()) - apiObject.apiId = std::stol(dataNodeApisApi["ApiId"].asString()); - if(!dataNodeApisApi["ApiMode"].isNull()) - apiObject.apiMode = std::stoi(dataNodeApisApi["ApiMode"].asString()); - if(!dataNodeApisApi["ApiName"].isNull()) - apiObject.apiName = dataNodeApisApi["ApiName"].asString(); - if(!dataNodeApisApi["ApiPath"].isNull()) - apiObject.apiPath = dataNodeApisApi["ApiPath"].asString(); - if(!dataNodeApisApi["CreatedTime"].isNull()) - apiObject.createdTime = dataNodeApisApi["CreatedTime"].asString(); - if(!dataNodeApisApi["CreatorId"].isNull()) - apiObject.creatorId = dataNodeApisApi["CreatorId"].asString(); - if(!dataNodeApisApi["Description"].isNull()) - apiObject.description = dataNodeApisApi["Description"].asString(); - if(!dataNodeApisApi["GroupId"].isNull()) - apiObject.groupId = dataNodeApisApi["GroupId"].asString(); - if(!dataNodeApisApi["ModifiedTime"].isNull()) - apiObject.modifiedTime = dataNodeApisApi["ModifiedTime"].asString(); - if(!dataNodeApisApi["OperatorId"].isNull()) - apiObject.operatorId = dataNodeApisApi["OperatorId"].asString(); - if(!dataNodeApisApi["ProjectId"].isNull()) - apiObject.projectId = std::stol(dataNodeApisApi["ProjectId"].asString()); - if(!dataNodeApisApi["RequestMethod"].isNull()) - apiObject.requestMethod = std::stoi(dataNodeApisApi["RequestMethod"].asString()); - if(!dataNodeApisApi["ResponseContentType"].isNull()) - apiObject.responseContentType = std::stoi(dataNodeApisApi["ResponseContentType"].asString()); - if(!dataNodeApisApi["Status"].isNull()) - apiObject.status = std::stoi(dataNodeApisApi["Status"].asString()); - if(!dataNodeApisApi["TenantId"].isNull()) - apiObject.tenantId = std::stol(dataNodeApisApi["TenantId"].asString()); - if(!dataNodeApisApi["Timeout"].isNull()) - apiObject.timeout = std::stoi(dataNodeApisApi["Timeout"].asString()); - if(!dataNodeApisApi["VisibleRange"].isNull()) - apiObject.visibleRange = std::stoi(dataNodeApisApi["VisibleRange"].asString()); - if(!dataNodeApisApi["FolderId"].isNull()) - apiObject.folderId = std::stol(dataNodeApisApi["FolderId"].asString()); - auto registrationDetailsNode = value["RegistrationDetails"]; - if(!registrationDetailsNode["FailedResultSample"].isNull()) - apiObject.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); - if(!registrationDetailsNode["ServiceContentType"].isNull()) - apiObject.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString()); - if(!registrationDetailsNode["ServiceHost"].isNull()) - apiObject.registrationDetails.serviceHost = registrationDetailsNode["ServiceHost"].asString(); - if(!registrationDetailsNode["ServicePath"].isNull()) - apiObject.registrationDetails.servicePath = registrationDetailsNode["ServicePath"].asString(); - if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) - apiObject.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString(); - if(!registrationDetailsNode["SuccessfulResultSample"].isNull()) - apiObject.registrationDetails.successfulResultSample = registrationDetailsNode["SuccessfulResultSample"].asString(); - auto allRegistrationErrorCodesNode = registrationDetailsNode["RegistrationErrorCodes"]["RegistrationErrorCode"]; - for (auto registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode : allRegistrationErrorCodesNode) - { - Data::Api::RegistrationDetails::RegistrationErrorCode registrationErrorCodeObject; - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull()) - registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].isNull()) - registrationErrorCodeObject.errorMessage = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) - registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); - apiObject.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); - } - auto allRegistrationRequestParametersNode = registrationDetailsNode["RegistrationRequestParameters"]["RegistrationRequestParameter"]; - for (auto registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter : allRegistrationRequestParametersNode) - { - Data::Api::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].isNull()) - registrationRequestParameterObject.columnName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) - registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull()) - registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull()) - registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) - registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) - registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull()) - registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) - registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull()) - registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString()); - apiObject.registrationDetails.registrationRequestParameters.push_back(registrationRequestParameterObject); - } - auto scriptDetailsNode = value["ScriptDetails"]; - if(!scriptDetailsNode["IsPagedResponse"].isNull()) - apiObject.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true"; - if(!scriptDetailsNode["Script"].isNull()) - apiObject.scriptDetails.script = scriptDetailsNode["Script"].asString(); - auto allScriptRequestParametersNode = scriptDetailsNode["ScriptRequestParameters"]["ScriptRequestParameter"]; - for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode) - { - Data::Api::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].isNull()) - scriptRequestParameterObject.columnName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) - scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull()) - scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull()) - scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) - scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) - scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull()) - scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) - scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull()) - scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString()); - apiObject.scriptDetails.scriptRequestParameters.push_back(scriptRequestParameterObject); - } - auto allScriptResponseParametersNode = scriptDetailsNode["ScriptResponseParameters"]["ScriptResponseParameter"]; - for (auto scriptDetailsNodeScriptResponseParametersScriptResponseParameter : allScriptResponseParametersNode) - { - Data::Api::ScriptDetails::ScriptResponseParameter scriptResponseParameterObject; - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].isNull()) - scriptResponseParameterObject.columnName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) - scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) - scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].isNull()) - scriptResponseParameterObject.parameterDescription = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull()) - scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString(); - apiObject.scriptDetails.scriptResponseParameters.push_back(scriptResponseParameterObject); - } - auto scriptConnectionNode = scriptDetailsNode["ScriptConnection"]; - if(!scriptConnectionNode["ConnectionId"].isNull()) - apiObject.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString()); - if(!scriptConnectionNode["TableName"].isNull()) - apiObject.scriptDetails.scriptConnection.tableName = scriptConnectionNode["TableName"].asString(); - auto wizardDetailsNode = value["WizardDetails"]; - if(!wizardDetailsNode["IsPagedResponse"].isNull()) - apiObject.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true"; - auto allWizardRequestParametersNode = wizardDetailsNode["WizardRequestParameters"]["WizardRequestParameter"]; - for (auto wizardDetailsNodeWizardRequestParametersWizardRequestParameter : allWizardRequestParametersNode) - { - Data::Api::WizardDetails::WizardRequestParameter wizardRequestParameterObject; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].isNull()) - wizardRequestParameterObject.columnName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) - wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull()) - wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull()) - wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) - wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) - wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull()) - wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) - wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull()) - wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString()); - apiObject.wizardDetails.wizardRequestParameters.push_back(wizardRequestParameterObject); - } - auto allWizardResponseParametersNode = wizardDetailsNode["WizardResponseParameters"]["WizardResponseParameter"]; - for (auto wizardDetailsNodeWizardResponseParametersWizardResponseParameter : allWizardResponseParametersNode) - { - Data::Api::WizardDetails::WizardResponseParameter wizardResponseParameterObject; - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].isNull()) - wizardResponseParameterObject.columnName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) - wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) - wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].isNull()) - wizardResponseParameterObject.parameterDescription = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull()) - wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString(); - apiObject.wizardDetails.wizardResponseParameters.push_back(wizardResponseParameterObject); - } - auto wizardConnectionNode = wizardDetailsNode["WizardConnection"]; - if(!wizardConnectionNode["ConnectionId"].isNull()) - apiObject.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString()); - if(!wizardConnectionNode["TableName"].isNull()) - apiObject.wizardDetails.wizardConnection.tableName = wizardConnectionNode["TableName"].asString(); - auto allProtocols = value["Protocols"]["Protocol"]; - for (auto value : allProtocols) - apiObject.protocols.push_back(value.asString()); - data_.apis.push_back(apiObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListDataServiceApisResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListDataServiceApisResult::Data ListDataServiceApisResult::getData()const -{ - return data_; -} - -std::string ListDataServiceApisResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListDataServiceApisResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListDataServiceApisResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListDataServiceApplicationsRequest.cc b/dataworks-public/src/model/ListDataServiceApplicationsRequest.cc deleted file mode 100644 index cc58381ed..000000000 --- a/dataworks-public/src/model/ListDataServiceApplicationsRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceApplicationsRequest; - -ListDataServiceApplicationsRequest::ListDataServiceApplicationsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceApplications") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceApplicationsRequest::~ListDataServiceApplicationsRequest() -{} - -int ListDataServiceApplicationsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServiceApplicationsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServiceApplicationsRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServiceApplicationsRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -std::string ListDataServiceApplicationsRequest::getProjectIdList()const -{ - return projectIdList_; -} - -void ListDataServiceApplicationsRequest::setProjectIdList(const std::string& projectIdList) -{ - projectIdList_ = projectIdList; - setBodyParameter("ProjectIdList", projectIdList); -} - -int ListDataServiceApplicationsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServiceApplicationsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListDataServiceApplicationsResult.cc b/dataworks-public/src/model/ListDataServiceApplicationsResult.cc deleted file mode 100644 index 9cb8c2793..000000000 --- a/dataworks-public/src/model/ListDataServiceApplicationsResult.cc +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServiceApplicationsResult::ListDataServiceApplicationsResult() : - ServiceResult() -{} - -ListDataServiceApplicationsResult::ListDataServiceApplicationsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServiceApplicationsResult::~ListDataServiceApplicationsResult() -{} - -void ListDataServiceApplicationsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allApplicationsNode = dataNode["Applications"]["Application"]; - for (auto dataNodeApplicationsApplication : allApplicationsNode) - { - Data::Application applicationObject; - if(!dataNodeApplicationsApplication["ApplicationId"].isNull()) - applicationObject.applicationId = std::stol(dataNodeApplicationsApplication["ApplicationId"].asString()); - if(!dataNodeApplicationsApplication["ApplicationName"].isNull()) - applicationObject.applicationName = dataNodeApplicationsApplication["ApplicationName"].asString(); - if(!dataNodeApplicationsApplication["ProjectId"].isNull()) - applicationObject.projectId = std::stol(dataNodeApplicationsApplication["ProjectId"].asString()); - data_.applications.push_back(applicationObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListDataServiceApplicationsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListDataServiceApplicationsResult::Data ListDataServiceApplicationsResult::getData()const -{ - return data_; -} - -std::string ListDataServiceApplicationsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListDataServiceApplicationsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListDataServiceApplicationsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc b/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc deleted file mode 100644 index c08dacdae..000000000 --- a/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceAuthorizedApisRequest; - -ListDataServiceAuthorizedApisRequest::ListDataServiceAuthorizedApisRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceAuthorizedApis") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceAuthorizedApisRequest::~ListDataServiceAuthorizedApisRequest() -{} - -std::string ListDataServiceAuthorizedApisRequest::getApiNameKeyword()const -{ - return apiNameKeyword_; -} - -void ListDataServiceAuthorizedApisRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); -} - -int ListDataServiceAuthorizedApisRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServiceAuthorizedApisRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServiceAuthorizedApisRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServiceAuthorizedApisRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long ListDataServiceAuthorizedApisRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataServiceAuthorizedApisRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -int ListDataServiceAuthorizedApisRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServiceAuthorizedApisRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc b/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc deleted file mode 100644 index c2f803ed4..000000000 --- a/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServiceAuthorizedApisResult::ListDataServiceAuthorizedApisResult() : - ServiceResult() -{} - -ListDataServiceAuthorizedApisResult::ListDataServiceAuthorizedApisResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServiceAuthorizedApisResult::~ListDataServiceAuthorizedApisResult() -{} - -void ListDataServiceAuthorizedApisResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allApiAuthorizedListNode = dataNode["ApiAuthorizedList"]["ApiAuthorized"]; - for (auto dataNodeApiAuthorizedListApiAuthorized : allApiAuthorizedListNode) - { - Data::ApiAuthorized apiAuthorizedObject; - if(!dataNodeApiAuthorizedListApiAuthorized["ApiId"].isNull()) - apiAuthorizedObject.apiId = std::stol(dataNodeApiAuthorizedListApiAuthorized["ApiId"].asString()); - if(!dataNodeApiAuthorizedListApiAuthorized["ApiName"].isNull()) - apiAuthorizedObject.apiName = dataNodeApiAuthorizedListApiAuthorized["ApiName"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["ApiPath"].isNull()) - apiAuthorizedObject.apiPath = dataNodeApiAuthorizedListApiAuthorized["ApiPath"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["ApiStatus"].isNull()) - apiAuthorizedObject.apiStatus = std::stoi(dataNodeApiAuthorizedListApiAuthorized["ApiStatus"].asString()); - if(!dataNodeApiAuthorizedListApiAuthorized["CreatedTime"].isNull()) - apiAuthorizedObject.createdTime = dataNodeApiAuthorizedListApiAuthorized["CreatedTime"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["CreatorId"].isNull()) - apiAuthorizedObject.creatorId = dataNodeApiAuthorizedListApiAuthorized["CreatorId"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["GrantCreatedTime"].isNull()) - apiAuthorizedObject.grantCreatedTime = dataNodeApiAuthorizedListApiAuthorized["GrantCreatedTime"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["GrantEndTime"].isNull()) - apiAuthorizedObject.grantEndTime = dataNodeApiAuthorizedListApiAuthorized["GrantEndTime"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["GrantOperatorId"].isNull()) - apiAuthorizedObject.grantOperatorId = dataNodeApiAuthorizedListApiAuthorized["GrantOperatorId"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["GroupId"].isNull()) - apiAuthorizedObject.groupId = dataNodeApiAuthorizedListApiAuthorized["GroupId"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["ModifiedTime"].isNull()) - apiAuthorizedObject.modifiedTime = dataNodeApiAuthorizedListApiAuthorized["ModifiedTime"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["ProjectId"].isNull()) - apiAuthorizedObject.projectId = std::stol(dataNodeApiAuthorizedListApiAuthorized["ProjectId"].asString()); - if(!dataNodeApiAuthorizedListApiAuthorized["TenantId"].isNull()) - apiAuthorizedObject.tenantId = std::stol(dataNodeApiAuthorizedListApiAuthorized["TenantId"].asString()); - data_.apiAuthorizedList.push_back(apiAuthorizedObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListDataServiceAuthorizedApisResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListDataServiceAuthorizedApisResult::Data ListDataServiceAuthorizedApisResult::getData()const -{ - return data_; -} - -std::string ListDataServiceAuthorizedApisResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListDataServiceAuthorizedApisResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListDataServiceAuthorizedApisResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListDataServiceFoldersRequest.cc b/dataworks-public/src/model/ListDataServiceFoldersRequest.cc deleted file mode 100644 index f0a0d49d8..000000000 --- a/dataworks-public/src/model/ListDataServiceFoldersRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceFoldersRequest; - -ListDataServiceFoldersRequest::ListDataServiceFoldersRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceFolders") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceFoldersRequest::~ListDataServiceFoldersRequest() -{} - -std::string ListDataServiceFoldersRequest::getFolderNameKeyword()const -{ - return folderNameKeyword_; -} - -void ListDataServiceFoldersRequest::setFolderNameKeyword(const std::string& folderNameKeyword) -{ - folderNameKeyword_ = folderNameKeyword; - setBodyParameter("FolderNameKeyword", folderNameKeyword); -} - -std::string ListDataServiceFoldersRequest::getGroupId()const -{ - return groupId_; -} - -void ListDataServiceFoldersRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setBodyParameter("GroupId", groupId); -} - -int ListDataServiceFoldersRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServiceFoldersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServiceFoldersRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServiceFoldersRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long ListDataServiceFoldersRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataServiceFoldersRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -int ListDataServiceFoldersRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServiceFoldersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListDataServiceFoldersResult.cc b/dataworks-public/src/model/ListDataServiceFoldersResult.cc deleted file mode 100644 index a9538cb82..000000000 --- a/dataworks-public/src/model/ListDataServiceFoldersResult.cc +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServiceFoldersResult::ListDataServiceFoldersResult() : - ServiceResult() -{} - -ListDataServiceFoldersResult::ListDataServiceFoldersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServiceFoldersResult::~ListDataServiceFoldersResult() -{} - -void ListDataServiceFoldersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto folderPagingResultNode = value["FolderPagingResult"]; - if(!folderPagingResultNode["PageNumber"].isNull()) - folderPagingResult_.pageNumber = std::stoi(folderPagingResultNode["PageNumber"].asString()); - if(!folderPagingResultNode["PageSize"].isNull()) - folderPagingResult_.pageSize = std::stoi(folderPagingResultNode["PageSize"].asString()); - if(!folderPagingResultNode["TotalCount"].isNull()) - folderPagingResult_.totalCount = std::stoi(folderPagingResultNode["TotalCount"].asString()); - auto allFoldersNode = folderPagingResultNode["Folders"]["Folder"]; - for (auto folderPagingResultNodeFoldersFolder : allFoldersNode) - { - FolderPagingResult::Folder folderObject; - if(!folderPagingResultNodeFoldersFolder["FolderId"].isNull()) - folderObject.folderId = std::stol(folderPagingResultNodeFoldersFolder["FolderId"].asString()); - if(!folderPagingResultNodeFoldersFolder["FolderName"].isNull()) - folderObject.folderName = folderPagingResultNodeFoldersFolder["FolderName"].asString(); - if(!folderPagingResultNodeFoldersFolder["ProjectId"].isNull()) - folderObject.projectId = std::stol(folderPagingResultNodeFoldersFolder["ProjectId"].asString()); - if(!folderPagingResultNodeFoldersFolder["TenantId"].isNull()) - folderObject.tenantId = std::stol(folderPagingResultNodeFoldersFolder["TenantId"].asString()); - if(!folderPagingResultNodeFoldersFolder["CreatedTime"].isNull()) - folderObject.createdTime = folderPagingResultNodeFoldersFolder["CreatedTime"].asString(); - if(!folderPagingResultNodeFoldersFolder["ModifiedTime"].isNull()) - folderObject.modifiedTime = folderPagingResultNodeFoldersFolder["ModifiedTime"].asString(); - if(!folderPagingResultNodeFoldersFolder["GroupId"].isNull()) - folderObject.groupId = folderPagingResultNodeFoldersFolder["GroupId"].asString(); - if(!folderPagingResultNodeFoldersFolder["ParentId"].isNull()) - folderObject.parentId = std::stol(folderPagingResultNodeFoldersFolder["ParentId"].asString()); - folderPagingResult_.folders.push_back(folderObject); - } - -} - -ListDataServiceFoldersResult::FolderPagingResult ListDataServiceFoldersResult::getFolderPagingResult()const -{ - return folderPagingResult_; -} - diff --git a/dataworks-public/src/model/ListDataServiceGroupsRequest.cc b/dataworks-public/src/model/ListDataServiceGroupsRequest.cc deleted file mode 100644 index 95d4dd9fa..000000000 --- a/dataworks-public/src/model/ListDataServiceGroupsRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceGroupsRequest; - -ListDataServiceGroupsRequest::ListDataServiceGroupsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceGroups") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceGroupsRequest::~ListDataServiceGroupsRequest() -{} - -int ListDataServiceGroupsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServiceGroupsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServiceGroupsRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServiceGroupsRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long ListDataServiceGroupsRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataServiceGroupsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListDataServiceGroupsRequest::getGroupNameKeyword()const -{ - return groupNameKeyword_; -} - -void ListDataServiceGroupsRequest::setGroupNameKeyword(const std::string& groupNameKeyword) -{ - groupNameKeyword_ = groupNameKeyword; - setBodyParameter("GroupNameKeyword", groupNameKeyword); -} - -int ListDataServiceGroupsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServiceGroupsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListDataServiceGroupsResult.cc b/dataworks-public/src/model/ListDataServiceGroupsResult.cc deleted file mode 100644 index 3f9fd7496..000000000 --- a/dataworks-public/src/model/ListDataServiceGroupsResult.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServiceGroupsResult::ListDataServiceGroupsResult() : - ServiceResult() -{} - -ListDataServiceGroupsResult::ListDataServiceGroupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServiceGroupsResult::~ListDataServiceGroupsResult() -{} - -void ListDataServiceGroupsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto groupPagingResultNode = value["GroupPagingResult"]; - if(!groupPagingResultNode["PageNumber"].isNull()) - groupPagingResult_.pageNumber = std::stoi(groupPagingResultNode["PageNumber"].asString()); - if(!groupPagingResultNode["PageSize"].isNull()) - groupPagingResult_.pageSize = std::stoi(groupPagingResultNode["PageSize"].asString()); - if(!groupPagingResultNode["TotalCount"].isNull()) - groupPagingResult_.totalCount = std::stoi(groupPagingResultNode["TotalCount"].asString()); - auto allGroupsNode = groupPagingResultNode["Groups"]["Group"]; - for (auto groupPagingResultNodeGroupsGroup : allGroupsNode) - { - GroupPagingResult::Group groupObject; - if(!groupPagingResultNodeGroupsGroup["TenantId"].isNull()) - groupObject.tenantId = std::stol(groupPagingResultNodeGroupsGroup["TenantId"].asString()); - if(!groupPagingResultNodeGroupsGroup["GroupId"].isNull()) - groupObject.groupId = groupPagingResultNodeGroupsGroup["GroupId"].asString(); - if(!groupPagingResultNodeGroupsGroup["ApiGatewayGroupId"].isNull()) - groupObject.apiGatewayGroupId = groupPagingResultNodeGroupsGroup["ApiGatewayGroupId"].asString(); - if(!groupPagingResultNodeGroupsGroup["GroupName"].isNull()) - groupObject.groupName = groupPagingResultNodeGroupsGroup["GroupName"].asString(); - if(!groupPagingResultNodeGroupsGroup["Description"].isNull()) - groupObject.description = groupPagingResultNodeGroupsGroup["Description"].asString(); - if(!groupPagingResultNodeGroupsGroup["CreatedTime"].isNull()) - groupObject.createdTime = groupPagingResultNodeGroupsGroup["CreatedTime"].asString(); - if(!groupPagingResultNodeGroupsGroup["ModifiedTime"].isNull()) - groupObject.modifiedTime = groupPagingResultNodeGroupsGroup["ModifiedTime"].asString(); - if(!groupPagingResultNodeGroupsGroup["CreatorId"].isNull()) - groupObject.creatorId = groupPagingResultNodeGroupsGroup["CreatorId"].asString(); - if(!groupPagingResultNodeGroupsGroup["ProjectId"].isNull()) - groupObject.projectId = std::stol(groupPagingResultNodeGroupsGroup["ProjectId"].asString()); - groupPagingResult_.groups.push_back(groupObject); - } - -} - -ListDataServiceGroupsResult::GroupPagingResult ListDataServiceGroupsResult::getGroupPagingResult()const -{ - return groupPagingResult_; -} - diff --git a/dataworks-public/src/model/ListDataServicePublishedApisRequest.cc b/dataworks-public/src/model/ListDataServicePublishedApisRequest.cc deleted file mode 100644 index 96ae0cd29..000000000 --- a/dataworks-public/src/model/ListDataServicePublishedApisRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServicePublishedApisRequest; - -ListDataServicePublishedApisRequest::ListDataServicePublishedApisRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServicePublishedApis") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServicePublishedApisRequest::~ListDataServicePublishedApisRequest() -{} - -std::string ListDataServicePublishedApisRequest::getApiNameKeyword()const -{ - return apiNameKeyword_; -} - -void ListDataServicePublishedApisRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); -} - -std::string ListDataServicePublishedApisRequest::getApiPathKeyword()const -{ - return apiPathKeyword_; -} - -void ListDataServicePublishedApisRequest::setApiPathKeyword(const std::string& apiPathKeyword) -{ - apiPathKeyword_ = apiPathKeyword; - setBodyParameter("ApiPathKeyword", apiPathKeyword); -} - -std::string ListDataServicePublishedApisRequest::getCreatorId()const -{ - return creatorId_; -} - -void ListDataServicePublishedApisRequest::setCreatorId(const std::string& creatorId) -{ - creatorId_ = creatorId; - setBodyParameter("CreatorId", creatorId); -} - -int ListDataServicePublishedApisRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServicePublishedApisRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -int ListDataServicePublishedApisRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServicePublishedApisRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServicePublishedApisRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServicePublishedApisRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long ListDataServicePublishedApisRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataServicePublishedApisRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListDataServicePublishedApisResult.cc b/dataworks-public/src/model/ListDataServicePublishedApisResult.cc deleted file mode 100644 index 5183b2aef..000000000 --- a/dataworks-public/src/model/ListDataServicePublishedApisResult.cc +++ /dev/null @@ -1,296 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServicePublishedApisResult::ListDataServicePublishedApisResult() : - ServiceResult() -{} - -ListDataServicePublishedApisResult::ListDataServicePublishedApisResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServicePublishedApisResult::~ListDataServicePublishedApisResult() -{} - -void ListDataServicePublishedApisResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allApisNode = dataNode["Apis"]["Api"]; - for (auto dataNodeApisApi : allApisNode) - { - Data::Api apiObject; - if(!dataNodeApisApi["ApiId"].isNull()) - apiObject.apiId = std::stol(dataNodeApisApi["ApiId"].asString()); - if(!dataNodeApisApi["ApiMode"].isNull()) - apiObject.apiMode = std::stoi(dataNodeApisApi["ApiMode"].asString()); - if(!dataNodeApisApi["ApiName"].isNull()) - apiObject.apiName = dataNodeApisApi["ApiName"].asString(); - if(!dataNodeApisApi["ApiPath"].isNull()) - apiObject.apiPath = dataNodeApisApi["ApiPath"].asString(); - if(!dataNodeApisApi["CreatedTime"].isNull()) - apiObject.createdTime = dataNodeApisApi["CreatedTime"].asString(); - if(!dataNodeApisApi["CreatorId"].isNull()) - apiObject.creatorId = dataNodeApisApi["CreatorId"].asString(); - if(!dataNodeApisApi["Description"].isNull()) - apiObject.description = dataNodeApisApi["Description"].asString(); - if(!dataNodeApisApi["GroupId"].isNull()) - apiObject.groupId = dataNodeApisApi["GroupId"].asString(); - if(!dataNodeApisApi["ModifiedTime"].isNull()) - apiObject.modifiedTime = dataNodeApisApi["ModifiedTime"].asString(); - if(!dataNodeApisApi["OperatorId"].isNull()) - apiObject.operatorId = dataNodeApisApi["OperatorId"].asString(); - if(!dataNodeApisApi["ProjectId"].isNull()) - apiObject.projectId = std::stol(dataNodeApisApi["ProjectId"].asString()); - if(!dataNodeApisApi["RequestMethod"].isNull()) - apiObject.requestMethod = std::stoi(dataNodeApisApi["RequestMethod"].asString()); - if(!dataNodeApisApi["ResponseContentType"].isNull()) - apiObject.responseContentType = std::stoi(dataNodeApisApi["ResponseContentType"].asString()); - if(!dataNodeApisApi["Status"].isNull()) - apiObject.status = std::stoi(dataNodeApisApi["Status"].asString()); - if(!dataNodeApisApi["TenantId"].isNull()) - apiObject.tenantId = std::stol(dataNodeApisApi["TenantId"].asString()); - if(!dataNodeApisApi["Timeout"].isNull()) - apiObject.timeout = std::stoi(dataNodeApisApi["Timeout"].asString()); - if(!dataNodeApisApi["VisibleRange"].isNull()) - apiObject.visibleRange = std::stoi(dataNodeApisApi["VisibleRange"].asString()); - auto registrationDetailsNode = value["RegistrationDetails"]; - if(!registrationDetailsNode["FailedResultSample"].isNull()) - apiObject.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); - if(!registrationDetailsNode["ServiceContentType"].isNull()) - apiObject.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString()); - if(!registrationDetailsNode["ServiceHost"].isNull()) - apiObject.registrationDetails.serviceHost = registrationDetailsNode["ServiceHost"].asString(); - if(!registrationDetailsNode["ServicePath"].isNull()) - apiObject.registrationDetails.servicePath = registrationDetailsNode["ServicePath"].asString(); - if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) - apiObject.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString(); - if(!registrationDetailsNode["SuccessfulResultSample"].isNull()) - apiObject.registrationDetails.successfulResultSample = registrationDetailsNode["SuccessfulResultSample"].asString(); - auto allRegistrationErrorCodesNode = registrationDetailsNode["RegistrationErrorCodes"]["RegistrationErrorCode"]; - for (auto registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode : allRegistrationErrorCodesNode) - { - Data::Api::RegistrationDetails::RegistrationErrorCode registrationErrorCodeObject; - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull()) - registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].isNull()) - registrationErrorCodeObject.errorMessage = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) - registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); - apiObject.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); - } - auto allRegistrationRequestParametersNode = registrationDetailsNode["RegistrationRequestParameters"]["RegistrationRequestParameter"]; - for (auto registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter : allRegistrationRequestParametersNode) - { - Data::Api::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) - registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull()) - registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull()) - registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) - registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) - registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull()) - registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) - registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull()) - registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString()); - apiObject.registrationDetails.registrationRequestParameters.push_back(registrationRequestParameterObject); - } - auto scriptDetailsNode = value["ScriptDetails"]; - if(!scriptDetailsNode["FailedResultSample"].isNull()) - apiObject.scriptDetails.failedResultSample = scriptDetailsNode["FailedResultSample"].asString(); - if(!scriptDetailsNode["IsPagedResponse"].isNull()) - apiObject.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true"; - if(!scriptDetailsNode["Script"].isNull()) - apiObject.scriptDetails.script = scriptDetailsNode["Script"].asString(); - if(!scriptDetailsNode["SuccessfulResultSample"].isNull()) - apiObject.scriptDetails.successfulResultSample = scriptDetailsNode["SuccessfulResultSample"].asString(); - auto allScriptErrorCodesNode = scriptDetailsNode["ScriptErrorCodes"]["ScriptErrorCode"]; - for (auto scriptDetailsNodeScriptErrorCodesScriptErrorCode : allScriptErrorCodesNode) - { - Data::Api::ScriptDetails::ScriptErrorCode scriptErrorCodeObject; - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].isNull()) - scriptErrorCodeObject.errorCode = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].asString(); - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorMessage"].isNull()) - scriptErrorCodeObject.errorMessage = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorMessage"].asString(); - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].isNull()) - scriptErrorCodeObject.errorSolution = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].asString(); - apiObject.scriptDetails.scriptErrorCodes.push_back(scriptErrorCodeObject); - } - auto allScriptRequestParametersNode = scriptDetailsNode["ScriptRequestParameters"]["ScriptRequestParameter"]; - for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode) - { - Data::Api::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) - scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull()) - scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull()) - scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) - scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) - scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull()) - scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) - scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull()) - scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString()); - apiObject.scriptDetails.scriptRequestParameters.push_back(scriptRequestParameterObject); - } - auto allScriptResponseParametersNode = scriptDetailsNode["ScriptResponseParameters"]["ScriptResponseParameter"]; - for (auto scriptDetailsNodeScriptResponseParametersScriptResponseParameter : allScriptResponseParametersNode) - { - Data::Api::ScriptDetails::ScriptResponseParameter scriptResponseParameterObject; - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) - scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) - scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].isNull()) - scriptResponseParameterObject.parameterDescription = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull()) - scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString(); - apiObject.scriptDetails.scriptResponseParameters.push_back(scriptResponseParameterObject); - } - auto scriptConnectionNode = scriptDetailsNode["ScriptConnection"]; - if(!scriptConnectionNode["ConnectionId"].isNull()) - apiObject.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString()); - if(!scriptConnectionNode["TableName"].isNull()) - apiObject.scriptDetails.scriptConnection.tableName = scriptConnectionNode["TableName"].asString(); - auto wizardDetailsNode = value["WizardDetails"]; - if(!wizardDetailsNode["FailedResultSample"].isNull()) - apiObject.wizardDetails.failedResultSample = wizardDetailsNode["FailedResultSample"].asString(); - if(!wizardDetailsNode["IsPagedResponse"].isNull()) - apiObject.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true"; - if(!wizardDetailsNode["SuccessfulResultSample"].isNull()) - apiObject.wizardDetails.successfulResultSample = wizardDetailsNode["SuccessfulResultSample"].asString(); - auto allWizardErrorCodesNode = wizardDetailsNode["WizardErrorCodes"]["WizardErrorCode"]; - for (auto wizardDetailsNodeWizardErrorCodesWizardErrorCode : allWizardErrorCodesNode) - { - Data::Api::WizardDetails::WizardErrorCode wizardErrorCodeObject; - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].isNull()) - wizardErrorCodeObject.errorCode = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].asString(); - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorMessage"].isNull()) - wizardErrorCodeObject.errorMessage = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorMessage"].asString(); - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].isNull()) - wizardErrorCodeObject.errorSolution = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].asString(); - apiObject.wizardDetails.wizardErrorCodes.push_back(wizardErrorCodeObject); - } - auto allWizardRequestParametersNode = wizardDetailsNode["WizardRequestParameters"]["WizardRequestParameter"]; - for (auto wizardDetailsNodeWizardRequestParametersWizardRequestParameter : allWizardRequestParametersNode) - { - Data::Api::WizardDetails::WizardRequestParameter wizardRequestParameterObject; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) - wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull()) - wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull()) - wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) - wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) - wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull()) - wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) - wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull()) - wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString()); - apiObject.wizardDetails.wizardRequestParameters.push_back(wizardRequestParameterObject); - } - auto allWizardResponseParametersNode = wizardDetailsNode["WizardResponseParameters"]["WizardResponseParameter"]; - for (auto wizardDetailsNodeWizardResponseParametersWizardResponseParameter : allWizardResponseParametersNode) - { - Data::Api::WizardDetails::WizardResponseParameter wizardResponseParameterObject; - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) - wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) - wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].isNull()) - wizardResponseParameterObject.parameterDescription = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull()) - wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString(); - apiObject.wizardDetails.wizardResponseParameters.push_back(wizardResponseParameterObject); - } - auto wizardConnectionNode = wizardDetailsNode["WizardConnection"]; - if(!wizardConnectionNode["ConnectionId"].isNull()) - apiObject.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString()); - if(!wizardConnectionNode["TableName"].isNull()) - apiObject.wizardDetails.wizardConnection.tableName = wizardConnectionNode["TableName"].asString(); - auto allProtocols = value["Protocols"]["Protocol"]; - for (auto value : allProtocols) - apiObject.protocols.push_back(value.asString()); - data_.apis.push_back(apiObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListDataServicePublishedApisResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListDataServicePublishedApisResult::Data ListDataServicePublishedApisResult::getData()const -{ - return data_; -} - -std::string ListDataServicePublishedApisResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListDataServicePublishedApisResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListDataServicePublishedApisResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListEmrHiveAuditLogsRequest.cc b/dataworks-public/src/model/ListEmrHiveAuditLogsRequest.cc new file mode 100644 index 000000000..e7ebce411 --- /dev/null +++ b/dataworks-public/src/model/ListEmrHiveAuditLogsRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListEmrHiveAuditLogsRequest; + +ListEmrHiveAuditLogsRequest::ListEmrHiveAuditLogsRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListEmrHiveAuditLogs") +{ + setMethod(HttpRequest::Method::Post); +} + +ListEmrHiveAuditLogsRequest::~ListEmrHiveAuditLogsRequest() +{} + +std::string ListEmrHiveAuditLogsRequest::getDatabaseName()const +{ + return databaseName_; +} + +void ListEmrHiveAuditLogsRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +int ListEmrHiveAuditLogsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListEmrHiveAuditLogsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int ListEmrHiveAuditLogsRequest::getEndTime()const +{ + return endTime_; +} + +void ListEmrHiveAuditLogsRequest::setEndTime(int endTime) +{ + endTime_ = endTime; + setParameter("EndTime", std::to_string(endTime)); +} + +std::string ListEmrHiveAuditLogsRequest::getClusterId()const +{ + return clusterId_; +} + +void ListEmrHiveAuditLogsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +int ListEmrHiveAuditLogsRequest::getStartTime()const +{ + return startTime_; +} + +void ListEmrHiveAuditLogsRequest::setStartTime(int startTime) +{ + startTime_ = startTime; + setParameter("StartTime", std::to_string(startTime)); +} + +std::string ListEmrHiveAuditLogsRequest::getTableName()const +{ + return tableName_; +} + +void ListEmrHiveAuditLogsRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + +int ListEmrHiveAuditLogsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListEmrHiveAuditLogsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/dataworks-public/src/model/ListFoldersResult.cc b/dataworks-public/src/model/ListEmrHiveAuditLogsResult.cc similarity index 50% rename from dataworks-public/src/model/ListFoldersResult.cc rename to dataworks-public/src/model/ListEmrHiveAuditLogsResult.cc index 3949f86f3..eac169f86 100644 --- a/dataworks-public/src/model/ListFoldersResult.cc +++ b/dataworks-public/src/model/ListEmrHiveAuditLogsResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -ListFoldersResult::ListFoldersResult() : +ListEmrHiveAuditLogsResult::ListEmrHiveAuditLogsResult() : ServiceResult() {} -ListFoldersResult::ListFoldersResult(const std::string &payload) : +ListEmrHiveAuditLogsResult::ListEmrHiveAuditLogsResult(const std::string &payload) : ServiceResult() { parse(payload); } -ListFoldersResult::~ListFoldersResult() +ListEmrHiveAuditLogsResult::~ListEmrHiveAuditLogsResult() {} -void ListFoldersResult::parse(const std::string &payload) +void ListEmrHiveAuditLogsResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -46,49 +46,44 @@ void ListFoldersResult::parse(const std::string &payload) data_.pageSize = std::stoi(dataNode["PageSize"].asString()); if(!dataNode["TotalCount"].isNull()) data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allFoldersNode = dataNode["Folders"]["FoldersItem"]; - for (auto dataNodeFoldersFoldersItem : allFoldersNode) + auto allPagedDataNode = dataNode["PagedData"]["AuditLog"]; + for (auto dataNodePagedDataAuditLog : allPagedDataNode) { - Data::FoldersItem foldersItemObject; - if(!dataNodeFoldersFoldersItem["FolderId"].isNull()) - foldersItemObject.folderId = dataNodeFoldersFoldersItem["FolderId"].asString(); - if(!dataNodeFoldersFoldersItem["FolderPath"].isNull()) - foldersItemObject.folderPath = dataNodeFoldersFoldersItem["FolderPath"].asString(); - data_.folders.push_back(foldersItemObject); + Data::AuditLog auditLogObject; + if(!dataNodePagedDataAuditLog["Table"].isNull()) + auditLogObject.table = dataNodePagedDataAuditLog["Table"].asString(); + if(!dataNodePagedDataAuditLog["Database"].isNull()) + auditLogObject.database = dataNodePagedDataAuditLog["Database"].asString(); + if(!dataNodePagedDataAuditLog["User"].isNull()) + auditLogObject.user = dataNodePagedDataAuditLog["User"].asString(); + if(!dataNodePagedDataAuditLog["Operation"].isNull()) + auditLogObject.operation = dataNodePagedDataAuditLog["Operation"].asString(); + if(!dataNodePagedDataAuditLog["EventTime"].isNull()) + auditLogObject.eventTime = std::stol(dataNodePagedDataAuditLog["EventTime"].asString()); + auto allGroups = value["Groups"]["Group"]; + for (auto value : allGroups) + auditLogObject.groups.push_back(value.asString()); + data_.pagedData.push_back(auditLogObject); } - 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 ListFoldersResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListFoldersResult::Data ListFoldersResult::getData()const +ListEmrHiveAuditLogsResult::Data ListEmrHiveAuditLogsResult::getData()const { return data_; } -std::string ListFoldersResult::getErrorCode()const +std::string ListEmrHiveAuditLogsResult::getErrorCode()const { return errorCode_; } -std::string ListFoldersResult::getErrorMessage()const +std::string ListEmrHiveAuditLogsResult::getErrorMessage()const { return errorMessage_; } -bool ListFoldersResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetInstanceErrorRankRequest.cc b/dataworks-public/src/model/ListEmrHiveDatabasesRequest.cc similarity index 54% rename from dataworks-public/src/model/GetInstanceErrorRankRequest.cc rename to dataworks-public/src/model/ListEmrHiveDatabasesRequest.cc index 24679b8ea..91c2bccac 100644 --- a/dataworks-public/src/model/GetInstanceErrorRankRequest.cc +++ b/dataworks-public/src/model/ListEmrHiveDatabasesRequest.cc @@ -14,27 +14,27 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Dataworks_public::Model::GetInstanceErrorRankRequest; +using AlibabaCloud::Dataworks_public::Model::ListEmrHiveDatabasesRequest; -GetInstanceErrorRankRequest::GetInstanceErrorRankRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceErrorRank") +ListEmrHiveDatabasesRequest::ListEmrHiveDatabasesRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListEmrHiveDatabases") { setMethod(HttpRequest::Method::Post); } -GetInstanceErrorRankRequest::~GetInstanceErrorRankRequest() +ListEmrHiveDatabasesRequest::~ListEmrHiveDatabasesRequest() {} -long GetInstanceErrorRankRequest::getProjectId()const +std::string ListEmrHiveDatabasesRequest::getClusterId()const { - return projectId_; + return clusterId_; } -void GetInstanceErrorRankRequest::setProjectId(long projectId) +void ListEmrHiveDatabasesRequest::setClusterId(const std::string& clusterId) { - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); } diff --git a/dataworks-public/src/model/ListEmrHiveDatabasesResult.cc b/dataworks-public/src/model/ListEmrHiveDatabasesResult.cc new file mode 100644 index 000000000..e3bfc8641 --- /dev/null +++ b/dataworks-public/src/model/ListEmrHiveDatabasesResult.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListEmrHiveDatabasesResult::ListEmrHiveDatabasesResult() : + ServiceResult() +{} + +ListEmrHiveDatabasesResult::ListEmrHiveDatabasesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListEmrHiveDatabasesResult::~ListEmrHiveDatabasesResult() +{} + +void ListEmrHiveDatabasesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["HiveDatabase"]; + for (auto valueDataHiveDatabase : allDataNode) + { + HiveDatabase dataObject; + if(!valueDataHiveDatabase["Name"].isNull()) + dataObject.name = valueDataHiveDatabase["Name"].asString(); + if(!valueDataHiveDatabase["Type"].isNull()) + dataObject.type = valueDataHiveDatabase["Type"].asString(); + if(!valueDataHiveDatabase["Owner"].isNull()) + dataObject.owner = valueDataHiveDatabase["Owner"].asString(); + if(!valueDataHiveDatabase["OwnerId"].isNull()) + dataObject.ownerId = valueDataHiveDatabase["OwnerId"].asString(); + if(!valueDataHiveDatabase["Comment"].isNull()) + dataObject.comment = valueDataHiveDatabase["Comment"].asString(); + if(!valueDataHiveDatabase["Location"].isNull()) + dataObject.location = valueDataHiveDatabase["Location"].asString(); + if(!valueDataHiveDatabase["Status"].isNull()) + dataObject.status = valueDataHiveDatabase["Status"].asString(); + if(!valueDataHiveDatabase["Parameters"].isNull()) + dataObject.parameters = valueDataHiveDatabase["Parameters"].asString(); + if(!valueDataHiveDatabase["GmtCreate"].isNull()) + dataObject.gmtCreate = std::stol(valueDataHiveDatabase["GmtCreate"].asString()); + if(!valueDataHiveDatabase["GmtModified"].isNull()) + dataObject.gmtModified = std::stol(valueDataHiveDatabase["GmtModified"].asString()); + if(!valueDataHiveDatabase["OwnerType"].isNull()) + dataObject.ownerType = valueDataHiveDatabase["OwnerType"].asString(); + if(!valueDataHiveDatabase["Region"].isNull()) + dataObject.region = valueDataHiveDatabase["Region"].asString(); + data_.push_back(dataObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::vector ListEmrHiveDatabasesResult::getData()const +{ + return data_; +} + +std::string ListEmrHiveDatabasesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListEmrHiveDatabasesResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/ListEmrHiveTablesRequest.cc b/dataworks-public/src/model/ListEmrHiveTablesRequest.cc new file mode 100644 index 000000000..4dfbecb02 --- /dev/null +++ b/dataworks-public/src/model/ListEmrHiveTablesRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListEmrHiveTablesRequest; + +ListEmrHiveTablesRequest::ListEmrHiveTablesRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListEmrHiveTables") +{ + setMethod(HttpRequest::Method::Post); +} + +ListEmrHiveTablesRequest::~ListEmrHiveTablesRequest() +{} + +std::string ListEmrHiveTablesRequest::getDatabaseName()const +{ + return databaseName_; +} + +void ListEmrHiveTablesRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +int ListEmrHiveTablesRequest::getPageSize()const +{ + return pageSize_; +} + +void ListEmrHiveTablesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListEmrHiveTablesRequest::getClusterId()const +{ + return clusterId_; +} + +void ListEmrHiveTablesRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +int ListEmrHiveTablesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListEmrHiveTablesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/dataworks-public/src/model/ListEmrHiveTablesResult.cc b/dataworks-public/src/model/ListEmrHiveTablesResult.cc new file mode 100644 index 000000000..7e91a7288 --- /dev/null +++ b/dataworks-public/src/model/ListEmrHiveTablesResult.cc @@ -0,0 +1,120 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListEmrHiveTablesResult::ListEmrHiveTablesResult() : + ServiceResult() +{} + +ListEmrHiveTablesResult::ListEmrHiveTablesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListEmrHiveTablesResult::~ListEmrHiveTablesResult() +{} + +void ListEmrHiveTablesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + auto allPagedDataNode = dataNode["PagedData"]["HiveTables"]; + for (auto dataNodePagedDataHiveTables : allPagedDataNode) + { + Data::HiveTables hiveTablesObject; + if(!dataNodePagedDataHiveTables["ClusterBizId"].isNull()) + hiveTablesObject.clusterBizId = dataNodePagedDataHiveTables["ClusterBizId"].asString(); + if(!dataNodePagedDataHiveTables["TableName"].isNull()) + hiveTablesObject.tableName = dataNodePagedDataHiveTables["TableName"].asString(); + if(!dataNodePagedDataHiveTables["TableType"].isNull()) + hiveTablesObject.tableType = dataNodePagedDataHiveTables["TableType"].asString(); + if(!dataNodePagedDataHiveTables["Owner"].isNull()) + hiveTablesObject.owner = dataNodePagedDataHiveTables["Owner"].asString(); + if(!dataNodePagedDataHiveTables["OwnerType"].isNull()) + hiveTablesObject.ownerType = dataNodePagedDataHiveTables["OwnerType"].asString(); + if(!dataNodePagedDataHiveTables["IsTemporary"].isNull()) + hiveTablesObject.isTemporary = dataNodePagedDataHiveTables["IsTemporary"].asString() == "true"; + if(!dataNodePagedDataHiveTables["SerializationLib"].isNull()) + hiveTablesObject.serializationLib = dataNodePagedDataHiveTables["SerializationLib"].asString(); + if(!dataNodePagedDataHiveTables["InputFormat"].isNull()) + hiveTablesObject.inputFormat = dataNodePagedDataHiveTables["InputFormat"].asString(); + if(!dataNodePagedDataHiveTables["OutputFormat"].isNull()) + hiveTablesObject.outputFormat = dataNodePagedDataHiveTables["OutputFormat"].asString(); + if(!dataNodePagedDataHiveTables["Location"].isNull()) + hiveTablesObject.location = dataNodePagedDataHiveTables["Location"].asString(); + if(!dataNodePagedDataHiveTables["LastAccessTime"].isNull()) + hiveTablesObject.lastAccessTime = dataNodePagedDataHiveTables["LastAccessTime"].asString(); + if(!dataNodePagedDataHiveTables["GmtCreate"].isNull()) + hiveTablesObject.gmtCreate = dataNodePagedDataHiveTables["GmtCreate"].asString(); + if(!dataNodePagedDataHiveTables["GmtModified"].isNull()) + hiveTablesObject.gmtModified = dataNodePagedDataHiveTables["GmtModified"].asString(); + if(!dataNodePagedDataHiveTables["TableComment"].isNull()) + hiveTablesObject.tableComment = dataNodePagedDataHiveTables["TableComment"].asString(); + if(!dataNodePagedDataHiveTables["TableParameters"].isNull()) + hiveTablesObject.tableParameters = dataNodePagedDataHiveTables["TableParameters"].asString(); + if(!dataNodePagedDataHiveTables["PartitionKeys"].isNull()) + hiveTablesObject.partitionKeys = dataNodePagedDataHiveTables["PartitionKeys"].asString(); + if(!dataNodePagedDataHiveTables["IsCompressed"].isNull()) + hiveTablesObject.isCompressed = dataNodePagedDataHiveTables["IsCompressed"].asString() == "true"; + if(!dataNodePagedDataHiveTables["ClusterBizName"].isNull()) + hiveTablesObject.clusterBizName = dataNodePagedDataHiveTables["ClusterBizName"].asString(); + if(!dataNodePagedDataHiveTables["DatabaseName"].isNull()) + hiveTablesObject.databaseName = dataNodePagedDataHiveTables["DatabaseName"].asString(); + if(!dataNodePagedDataHiveTables["OwnerId"].isNull()) + hiveTablesObject.ownerId = dataNodePagedDataHiveTables["OwnerId"].asString(); + if(!dataNodePagedDataHiveTables["LastModifyTime"].isNull()) + hiveTablesObject.lastModifyTime = dataNodePagedDataHiveTables["LastModifyTime"].asString(); + if(!dataNodePagedDataHiveTables["TableDesc"].isNull()) + hiveTablesObject.tableDesc = dataNodePagedDataHiveTables["TableDesc"].asString(); + data_.pagedData.push_back(hiveTablesObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +ListEmrHiveTablesResult::Data ListEmrHiveTablesResult::getData()const +{ + return data_; +} + +std::string ListEmrHiveTablesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListEmrHiveTablesResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/ListFileVersionsRequest.cc b/dataworks-public/src/model/ListFileVersionsRequest.cc deleted file mode 100644 index d3c155c8b..000000000 --- a/dataworks-public/src/model/ListFileVersionsRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListFileVersionsRequest; - -ListFileVersionsRequest::ListFileVersionsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListFileVersions") -{ - setMethod(HttpRequest::Method::Post); -} - -ListFileVersionsRequest::~ListFileVersionsRequest() -{} - -int ListFileVersionsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListFileVersionsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListFileVersionsRequest::getProjectId()const -{ - return projectId_; -} - -void ListFileVersionsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListFileVersionsRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void ListFileVersionsRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -int ListFileVersionsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListFileVersionsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -long ListFileVersionsRequest::getFileId()const -{ - return fileId_; -} - -void ListFileVersionsRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - diff --git a/dataworks-public/src/model/ListFileVersionsResult.cc b/dataworks-public/src/model/ListFileVersionsResult.cc deleted file mode 100644 index 05f4dd368..000000000 --- a/dataworks-public/src/model/ListFileVersionsResult.cc +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListFileVersionsResult::ListFileVersionsResult() : - ServiceResult() -{} - -ListFileVersionsResult::ListFileVersionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFileVersionsResult::~ListFileVersionsResult() -{} - -void ListFileVersionsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allFileVersionsNode = dataNode["FileVersions"]["FileVersion"]; - for (auto dataNodeFileVersionsFileVersion : allFileVersionsNode) - { - Data::FileVersion fileVersionObject; - if(!dataNodeFileVersionsFileVersion["FileVersion"].isNull()) - fileVersionObject.fileVersion = std::stoi(dataNodeFileVersionsFileVersion["FileVersion"].asString()); - if(!dataNodeFileVersionsFileVersion["FileContent"].isNull()) - fileVersionObject.fileContent = dataNodeFileVersionsFileVersion["FileContent"].asString(); - if(!dataNodeFileVersionsFileVersion["CommitTime"].isNull()) - fileVersionObject.commitTime = std::stol(dataNodeFileVersionsFileVersion["CommitTime"].asString()); - if(!dataNodeFileVersionsFileVersion["CommitUser"].isNull()) - fileVersionObject.commitUser = dataNodeFileVersionsFileVersion["CommitUser"].asString(); - if(!dataNodeFileVersionsFileVersion["FileName"].isNull()) - fileVersionObject.fileName = dataNodeFileVersionsFileVersion["FileName"].asString(); - if(!dataNodeFileVersionsFileVersion["Status"].isNull()) - fileVersionObject.status = dataNodeFileVersionsFileVersion["Status"].asString(); - if(!dataNodeFileVersionsFileVersion["ChangeType"].isNull()) - fileVersionObject.changeType = dataNodeFileVersionsFileVersion["ChangeType"].asString(); - if(!dataNodeFileVersionsFileVersion["IsCurrentProd"].isNull()) - fileVersionObject.isCurrentProd = dataNodeFileVersionsFileVersion["IsCurrentProd"].asString() == "true"; - if(!dataNodeFileVersionsFileVersion["NodeId"].isNull()) - fileVersionObject.nodeId = std::stol(dataNodeFileVersionsFileVersion["NodeId"].asString()); - if(!dataNodeFileVersionsFileVersion["Comment"].isNull()) - fileVersionObject.comment = dataNodeFileVersionsFileVersion["Comment"].asString(); - if(!dataNodeFileVersionsFileVersion["NodeContent"].isNull()) - fileVersionObject.nodeContent = dataNodeFileVersionsFileVersion["NodeContent"].asString(); - if(!dataNodeFileVersionsFileVersion["FilePropertyContent"].isNull()) - fileVersionObject.filePropertyContent = dataNodeFileVersionsFileVersion["FilePropertyContent"].asString(); - if(!dataNodeFileVersionsFileVersion["UseType"].isNull()) - fileVersionObject.useType = dataNodeFileVersionsFileVersion["UseType"].asString(); - data_.fileVersions.push_back(fileVersionObject); - } - 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 ListFileVersionsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListFileVersionsResult::Data ListFileVersionsResult::getData()const -{ - return data_; -} - -std::string ListFileVersionsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListFileVersionsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListFileVersionsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListFilesRequest.cc b/dataworks-public/src/model/ListFilesRequest.cc deleted file mode 100644 index 4a36ebf0e..000000000 --- a/dataworks-public/src/model/ListFilesRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListFilesRequest; - -ListFilesRequest::ListFilesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListFiles") -{ - setMethod(HttpRequest::Method::Post); -} - -ListFilesRequest::~ListFilesRequest() -{} - -std::string ListFilesRequest::getOwner()const -{ - return owner_; -} - -void ListFilesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListFilesRequest::getFileTypes()const -{ - return fileTypes_; -} - -void ListFilesRequest::setFileTypes(const std::string& fileTypes) -{ - fileTypes_ = fileTypes; - setBodyParameter("FileTypes", fileTypes); -} - -std::string ListFilesRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void ListFilesRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -int ListFilesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListFilesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListFilesRequest::getFileFolderPath()const -{ - return fileFolderPath_; -} - -void ListFilesRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); -} - -int ListFilesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListFilesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListFilesRequest::getKeyword()const -{ - return keyword_; -} - -void ListFilesRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setBodyParameter("Keyword", keyword); -} - -long ListFilesRequest::getProjectId()const -{ - return projectId_; -} - -void ListFilesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListFilesRequest::getUseType()const -{ - return useType_; -} - -void ListFilesRequest::setUseType(const std::string& useType) -{ - useType_ = useType; - setBodyParameter("UseType", useType); -} - diff --git a/dataworks-public/src/model/ListFilesResult.cc b/dataworks-public/src/model/ListFilesResult.cc deleted file mode 100644 index f340cc3c8..000000000 --- a/dataworks-public/src/model/ListFilesResult.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListFilesResult::ListFilesResult() : - ServiceResult() -{} - -ListFilesResult::ListFilesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFilesResult::~ListFilesResult() -{} - -void ListFilesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allFilesNode = dataNode["Files"]["File"]; - for (auto dataNodeFilesFile : allFilesNode) - { - Data::File fileObject; - if(!dataNodeFilesFile["ConnectionName"].isNull()) - fileObject.connectionName = dataNodeFilesFile["ConnectionName"].asString(); - if(!dataNodeFilesFile["ParentId"].isNull()) - fileObject.parentId = std::stol(dataNodeFilesFile["ParentId"].asString()); - if(!dataNodeFilesFile["IsMaxCompute"].isNull()) - fileObject.isMaxCompute = dataNodeFilesFile["IsMaxCompute"].asString() == "true"; - if(!dataNodeFilesFile["CreateTime"].isNull()) - fileObject.createTime = std::stol(dataNodeFilesFile["CreateTime"].asString()); - if(!dataNodeFilesFile["CreateUser"].isNull()) - fileObject.createUser = dataNodeFilesFile["CreateUser"].asString(); - if(!dataNodeFilesFile["BizId"].isNull()) - fileObject.bizId = std::stol(dataNodeFilesFile["BizId"].asString()); - if(!dataNodeFilesFile["FileFolderId"].isNull()) - fileObject.fileFolderId = dataNodeFilesFile["FileFolderId"].asString(); - if(!dataNodeFilesFile["FileName"].isNull()) - fileObject.fileName = dataNodeFilesFile["FileName"].asString(); - if(!dataNodeFilesFile["FileType"].isNull()) - fileObject.fileType = std::stoi(dataNodeFilesFile["FileType"].asString()); - if(!dataNodeFilesFile["UseType"].isNull()) - fileObject.useType = dataNodeFilesFile["UseType"].asString(); - if(!dataNodeFilesFile["FileDescription"].isNull()) - fileObject.fileDescription = dataNodeFilesFile["FileDescription"].asString(); - if(!dataNodeFilesFile["Content"].isNull()) - fileObject.content = dataNodeFilesFile["Content"].asString(); - if(!dataNodeFilesFile["NodeId"].isNull()) - fileObject.nodeId = std::stol(dataNodeFilesFile["NodeId"].asString()); - if(!dataNodeFilesFile["CurrentVersion"].isNull()) - fileObject.currentVersion = std::stoi(dataNodeFilesFile["CurrentVersion"].asString()); - if(!dataNodeFilesFile["Owner"].isNull()) - fileObject.owner = dataNodeFilesFile["Owner"].asString(); - if(!dataNodeFilesFile["LastEditUser"].isNull()) - fileObject.lastEditUser = dataNodeFilesFile["LastEditUser"].asString(); - if(!dataNodeFilesFile["LastEditTime"].isNull()) - fileObject.lastEditTime = std::stol(dataNodeFilesFile["LastEditTime"].asString()); - if(!dataNodeFilesFile["CommitStatus"].isNull()) - fileObject.commitStatus = std::stoi(dataNodeFilesFile["CommitStatus"].asString()); - if(!dataNodeFilesFile["FileId"].isNull()) - fileObject.fileId = std::stol(dataNodeFilesFile["FileId"].asString()); - data_.files.push_back(fileObject); - } - 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 ListFilesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListFilesResult::Data ListFilesResult::getData()const -{ - return data_; -} - -std::string ListFilesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListFilesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListFilesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListFoldersRequest.cc b/dataworks-public/src/model/ListFoldersRequest.cc deleted file mode 100644 index b27c61d72..000000000 --- a/dataworks-public/src/model/ListFoldersRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListFoldersRequest; - -ListFoldersRequest::ListFoldersRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListFolders") -{ - setMethod(HttpRequest::Method::Post); -} - -ListFoldersRequest::~ListFoldersRequest() -{} - -int ListFoldersRequest::getPageSize()const -{ - return pageSize_; -} - -void ListFoldersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListFoldersRequest::getParentFolderPath()const -{ - return parentFolderPath_; -} - -void ListFoldersRequest::setParentFolderPath(const std::string& parentFolderPath) -{ - parentFolderPath_ = parentFolderPath; - setBodyParameter("ParentFolderPath", parentFolderPath); -} - -long ListFoldersRequest::getProjectId()const -{ - return projectId_; -} - -void ListFoldersRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListFoldersRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void ListFoldersRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -int ListFoldersRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListFoldersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListHiveColumnLineagesRequest.cc b/dataworks-public/src/model/ListHiveColumnLineagesRequest.cc new file mode 100644 index 000000000..76cd9cc5e --- /dev/null +++ b/dataworks-public/src/model/ListHiveColumnLineagesRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListHiveColumnLineagesRequest; + +ListHiveColumnLineagesRequest::ListHiveColumnLineagesRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListHiveColumnLineages") +{ + setMethod(HttpRequest::Method::Post); +} + +ListHiveColumnLineagesRequest::~ListHiveColumnLineagesRequest() +{} + +std::string ListHiveColumnLineagesRequest::getDatabaseName()const +{ + return databaseName_; +} + +void ListHiveColumnLineagesRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +std::string ListHiveColumnLineagesRequest::getClusterId()const +{ + return clusterId_; +} + +void ListHiveColumnLineagesRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string ListHiveColumnLineagesRequest::getTableName()const +{ + return tableName_; +} + +void ListHiveColumnLineagesRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + +std::string ListHiveColumnLineagesRequest::getColumnName()const +{ + return columnName_; +} + +void ListHiveColumnLineagesRequest::setColumnName(const std::string& columnName) +{ + columnName_ = columnName; + setParameter("ColumnName", columnName); +} + diff --git a/dataworks-public/src/model/ListHiveColumnLineagesResult.cc b/dataworks-public/src/model/ListHiveColumnLineagesResult.cc new file mode 100644 index 000000000..ab4c81094 --- /dev/null +++ b/dataworks-public/src/model/ListHiveColumnLineagesResult.cc @@ -0,0 +1,124 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListHiveColumnLineagesResult::ListHiveColumnLineagesResult() : + ServiceResult() +{} + +ListHiveColumnLineagesResult::ListHiveColumnLineagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListHiveColumnLineagesResult::~ListHiveColumnLineagesResult() +{} + +void ListHiveColumnLineagesResult::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["UpstreamNumber"].isNull()) + data_.upstreamNumber = std::stoi(dataNode["UpstreamNumber"].asString()); + if(!dataNode["DownstreamNumber"].isNull()) + data_.downstreamNumber = std::stoi(dataNode["DownstreamNumber"].asString()); + auto allUpstreamLineagesNode = dataNode["UpstreamLineages"]["ColumnLineage"]; + for (auto dataNodeUpstreamLineagesColumnLineage : allUpstreamLineagesNode) + { + Data::ColumnLineage columnLineageObject; + if(!dataNodeUpstreamLineagesColumnLineage["ModifiedTime"].isNull()) + columnLineageObject.modifiedTime = dataNodeUpstreamLineagesColumnLineage["ModifiedTime"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["DirectDownColumnNumber"].isNull()) + columnLineageObject.directDownColumnNumber = std::stoi(dataNodeUpstreamLineagesColumnLineage["DirectDownColumnNumber"].asString()); + if(!dataNodeUpstreamLineagesColumnLineage["DatabaseName"].isNull()) + columnLineageObject.databaseName = dataNodeUpstreamLineagesColumnLineage["DatabaseName"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["ClusterId"].isNull()) + columnLineageObject.clusterId = dataNodeUpstreamLineagesColumnLineage["ClusterId"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["Source"].isNull()) + columnLineageObject.source = dataNodeUpstreamLineagesColumnLineage["Source"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["TableName"].isNull()) + columnLineageObject.tableName = dataNodeUpstreamLineagesColumnLineage["TableName"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["DirectDownTableNumber"].isNull()) + columnLineageObject.directDownTableNumber = std::stoi(dataNodeUpstreamLineagesColumnLineage["DirectDownTableNumber"].asString()); + if(!dataNodeUpstreamLineagesColumnLineage["DirectUpperTableNumber"].isNull()) + columnLineageObject.directUpperTableNumber = std::stoi(dataNodeUpstreamLineagesColumnLineage["DirectUpperTableNumber"].asString()); + if(!dataNodeUpstreamLineagesColumnLineage["CreateTime"].isNull()) + columnLineageObject.createTime = dataNodeUpstreamLineagesColumnLineage["CreateTime"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["DirectUpperColumnNumber"].isNull()) + columnLineageObject.directUpperColumnNumber = std::stoi(dataNodeUpstreamLineagesColumnLineage["DirectUpperColumnNumber"].asString()); + if(!dataNodeUpstreamLineagesColumnLineage["ColumnName"].isNull()) + columnLineageObject.columnName = dataNodeUpstreamLineagesColumnLineage["ColumnName"].asString(); + data_.upstreamLineages.push_back(columnLineageObject); + } + auto allDownstreamLineagesNode = dataNode["DownstreamLineages"]["ColumnLineage"]; + for (auto dataNodeDownstreamLineagesColumnLineage : allDownstreamLineagesNode) + { + Data::ColumnLineage columnLineageObject; + if(!dataNodeDownstreamLineagesColumnLineage["ModifiedTime"].isNull()) + columnLineageObject.modifiedTime = dataNodeDownstreamLineagesColumnLineage["ModifiedTime"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["DirectDownColumnNumber"].isNull()) + columnLineageObject.directDownColumnNumber = std::stoi(dataNodeDownstreamLineagesColumnLineage["DirectDownColumnNumber"].asString()); + if(!dataNodeDownstreamLineagesColumnLineage["DatabaseName"].isNull()) + columnLineageObject.databaseName = dataNodeDownstreamLineagesColumnLineage["DatabaseName"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["ClusterId"].isNull()) + columnLineageObject.clusterId = dataNodeDownstreamLineagesColumnLineage["ClusterId"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["Source"].isNull()) + columnLineageObject.source = dataNodeDownstreamLineagesColumnLineage["Source"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["TableName"].isNull()) + columnLineageObject.tableName = dataNodeDownstreamLineagesColumnLineage["TableName"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["DirectDownTableNumber"].isNull()) + columnLineageObject.directDownTableNumber = std::stoi(dataNodeDownstreamLineagesColumnLineage["DirectDownTableNumber"].asString()); + if(!dataNodeDownstreamLineagesColumnLineage["DirectUpperTableNumber"].isNull()) + columnLineageObject.directUpperTableNumber = std::stoi(dataNodeDownstreamLineagesColumnLineage["DirectUpperTableNumber"].asString()); + if(!dataNodeDownstreamLineagesColumnLineage["CreateTime"].isNull()) + columnLineageObject.createTime = dataNodeDownstreamLineagesColumnLineage["CreateTime"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["DirectUpperColumnNumber"].isNull()) + columnLineageObject.directUpperColumnNumber = std::stoi(dataNodeDownstreamLineagesColumnLineage["DirectUpperColumnNumber"].asString()); + if(!dataNodeDownstreamLineagesColumnLineage["ColumnName"].isNull()) + columnLineageObject.columnName = dataNodeDownstreamLineagesColumnLineage["ColumnName"].asString(); + data_.downstreamLineages.push_back(columnLineageObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +ListHiveColumnLineagesResult::Data ListHiveColumnLineagesResult::getData()const +{ + return data_; +} + +std::string ListHiveColumnLineagesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListHiveColumnLineagesResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/ListHiveTableLineagesRequest.cc b/dataworks-public/src/model/ListHiveTableLineagesRequest.cc new file mode 100644 index 000000000..8e22ea7ca --- /dev/null +++ b/dataworks-public/src/model/ListHiveTableLineagesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListHiveTableLineagesRequest; + +ListHiveTableLineagesRequest::ListHiveTableLineagesRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListHiveTableLineages") +{ + setMethod(HttpRequest::Method::Post); +} + +ListHiveTableLineagesRequest::~ListHiveTableLineagesRequest() +{} + +std::string ListHiveTableLineagesRequest::getDatabaseName()const +{ + return databaseName_; +} + +void ListHiveTableLineagesRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +std::string ListHiveTableLineagesRequest::getClusterId()const +{ + return clusterId_; +} + +void ListHiveTableLineagesRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string ListHiveTableLineagesRequest::getTableName()const +{ + return tableName_; +} + +void ListHiveTableLineagesRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + diff --git a/dataworks-public/src/model/ListHiveTableLineagesResult.cc b/dataworks-public/src/model/ListHiveTableLineagesResult.cc new file mode 100644 index 000000000..cf7c1a8a7 --- /dev/null +++ b/dataworks-public/src/model/ListHiveTableLineagesResult.cc @@ -0,0 +1,116 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListHiveTableLineagesResult::ListHiveTableLineagesResult() : + ServiceResult() +{} + +ListHiveTableLineagesResult::ListHiveTableLineagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListHiveTableLineagesResult::~ListHiveTableLineagesResult() +{} + +void ListHiveTableLineagesResult::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["UpstreamNumber"].isNull()) + data_.upstreamNumber = std::stoi(dataNode["UpstreamNumber"].asString()); + if(!dataNode["DownstreamNumber"].isNull()) + data_.downstreamNumber = std::stoi(dataNode["DownstreamNumber"].asString()); + auto allUpstreamLineagesNode = dataNode["UpstreamLineages"]["TableLineage"]; + for (auto dataNodeUpstreamLineagesTableLineage : allUpstreamLineagesNode) + { + Data::TableLineage tableLineageObject; + if(!dataNodeUpstreamLineagesTableLineage["ModifiedTime"].isNull()) + tableLineageObject.modifiedTime = dataNodeUpstreamLineagesTableLineage["ModifiedTime"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["DatabaseName"].isNull()) + tableLineageObject.databaseName = dataNodeUpstreamLineagesTableLineage["DatabaseName"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["Engine"].isNull()) + tableLineageObject.engine = dataNodeUpstreamLineagesTableLineage["Engine"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["CreateTime"].isNull()) + tableLineageObject.createTime = dataNodeUpstreamLineagesTableLineage["CreateTime"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["ClusterId"].isNull()) + tableLineageObject.clusterId = dataNodeUpstreamLineagesTableLineage["ClusterId"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["Source"].isNull()) + tableLineageObject.source = dataNodeUpstreamLineagesTableLineage["Source"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["TableName"].isNull()) + tableLineageObject.tableName = dataNodeUpstreamLineagesTableLineage["TableName"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["JobId"].isNull()) + tableLineageObject.jobId = dataNodeUpstreamLineagesTableLineage["JobId"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["QueryText"].isNull()) + tableLineageObject.queryText = dataNodeUpstreamLineagesTableLineage["QueryText"].asString(); + data_.upstreamLineages.push_back(tableLineageObject); + } + auto allDownstreamLineagesNode = dataNode["DownstreamLineages"]["TableLineage"]; + for (auto dataNodeDownstreamLineagesTableLineage : allDownstreamLineagesNode) + { + Data::TableLineage tableLineageObject; + if(!dataNodeDownstreamLineagesTableLineage["ModifiedTime"].isNull()) + tableLineageObject.modifiedTime = dataNodeDownstreamLineagesTableLineage["ModifiedTime"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["DatabaseName"].isNull()) + tableLineageObject.databaseName = dataNodeDownstreamLineagesTableLineage["DatabaseName"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["Engine"].isNull()) + tableLineageObject.engine = dataNodeDownstreamLineagesTableLineage["Engine"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["CreateTime"].isNull()) + tableLineageObject.createTime = dataNodeDownstreamLineagesTableLineage["CreateTime"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["ClusterId"].isNull()) + tableLineageObject.clusterId = dataNodeDownstreamLineagesTableLineage["ClusterId"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["Source"].isNull()) + tableLineageObject.source = dataNodeDownstreamLineagesTableLineage["Source"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["TableName"].isNull()) + tableLineageObject.tableName = dataNodeDownstreamLineagesTableLineage["TableName"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["JobId"].isNull()) + tableLineageObject.jobId = dataNodeDownstreamLineagesTableLineage["JobId"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["QueryText"].isNull()) + tableLineageObject.queryText = dataNodeDownstreamLineagesTableLineage["QueryText"].asString(); + data_.downstreamLineages.push_back(tableLineageObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +ListHiveTableLineagesResult::Data ListHiveTableLineagesResult::getData()const +{ + return data_; +} + +std::string ListHiveTableLineagesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListHiveTableLineagesResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/ListInstancesRequest.cc b/dataworks-public/src/model/ListInstancesRequest.cc deleted file mode 100644 index e94de1d5b..000000000 --- a/dataworks-public/src/model/ListInstancesRequest.cc +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListInstancesRequest; - -ListInstancesRequest::ListInstancesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListInstances") -{ - setMethod(HttpRequest::Method::Post); -} - -ListInstancesRequest::~ListInstancesRequest() -{} - -std::string ListInstancesRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void ListInstancesRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -std::string ListInstancesRequest::getOwner()const -{ - return owner_; -} - -void ListInstancesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListInstancesRequest::getBizName()const -{ - return bizName_; -} - -void ListInstancesRequest::setBizName(const std::string& bizName) -{ - bizName_ = bizName; - setBodyParameter("BizName", bizName); -} - -std::string ListInstancesRequest::getBeginBizdate()const -{ - return beginBizdate_; -} - -void ListInstancesRequest::setBeginBizdate(const std::string& beginBizdate) -{ - beginBizdate_ = beginBizdate; - setBodyParameter("BeginBizdate", beginBizdate); -} - -std::string ListInstancesRequest::getEndBizdate()const -{ - return endBizdate_; -} - -void ListInstancesRequest::setEndBizdate(const std::string& endBizdate) -{ - endBizdate_ = endBizdate; - setBodyParameter("EndBizdate", endBizdate); -} - -long ListInstancesRequest::getDagId()const -{ - return dagId_; -} - -void ListInstancesRequest::setDagId(long dagId) -{ - dagId_ = dagId; - setBodyParameter("DagId", std::to_string(dagId)); -} - -int ListInstancesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListInstancesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListInstancesRequest::getNodeName()const -{ - return nodeName_; -} - -void ListInstancesRequest::setNodeName(const std::string& nodeName) -{ - nodeName_ = nodeName; - setBodyParameter("NodeName", nodeName); -} - -std::string ListInstancesRequest::getProgramType()const -{ - return programType_; -} - -void ListInstancesRequest::setProgramType(const std::string& programType) -{ - programType_ = programType; - setBodyParameter("ProgramType", programType); -} - -std::string ListInstancesRequest::getBizdate()const -{ - return bizdate_; -} - -void ListInstancesRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); -} - -int ListInstancesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListInstancesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListInstancesRequest::getNodeId()const -{ - return nodeId_; -} - -void ListInstancesRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - -long ListInstancesRequest::getProjectId()const -{ - return projectId_; -} - -void ListInstancesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListInstancesResult.cc b/dataworks-public/src/model/ListInstancesResult.cc deleted file mode 100644 index 4680e0eb8..000000000 --- a/dataworks-public/src/model/ListInstancesResult.cc +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListInstancesResult::ListInstancesResult() : - ServiceResult() -{} - -ListInstancesResult::ListInstancesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListInstancesResult::~ListInstancesResult() -{} - -void ListInstancesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allInstancesNode = dataNode["Instances"]["Instance"]; - for (auto dataNodeInstancesInstance : allInstancesNode) - { - Data::Instance instanceObject; - if(!dataNodeInstancesInstance["NodeId"].isNull()) - instanceObject.nodeId = std::stol(dataNodeInstancesInstance["NodeId"].asString()); - if(!dataNodeInstancesInstance["InstanceId"].isNull()) - instanceObject.instanceId = std::stol(dataNodeInstancesInstance["InstanceId"].asString()); - if(!dataNodeInstancesInstance["DagId"].isNull()) - instanceObject.dagId = std::stol(dataNodeInstancesInstance["DagId"].asString()); - if(!dataNodeInstancesInstance["DagType"].isNull()) - instanceObject.dagType = dataNodeInstancesInstance["DagType"].asString(); - if(!dataNodeInstancesInstance["Status"].isNull()) - instanceObject.status = dataNodeInstancesInstance["Status"].asString(); - if(!dataNodeInstancesInstance["Bizdate"].isNull()) - instanceObject.bizdate = std::stol(dataNodeInstancesInstance["Bizdate"].asString()); - if(!dataNodeInstancesInstance["CycTime"].isNull()) - instanceObject.cycTime = std::stol(dataNodeInstancesInstance["CycTime"].asString()); - if(!dataNodeInstancesInstance["CreateTime"].isNull()) - instanceObject.createTime = std::stol(dataNodeInstancesInstance["CreateTime"].asString()); - if(!dataNodeInstancesInstance["ModifyTime"].isNull()) - instanceObject.modifyTime = std::stol(dataNodeInstancesInstance["ModifyTime"].asString()); - if(!dataNodeInstancesInstance["NodeName"].isNull()) - instanceObject.nodeName = dataNodeInstancesInstance["NodeName"].asString(); - if(!dataNodeInstancesInstance["BeginWaitTimeTime"].isNull()) - instanceObject.beginWaitTimeTime = std::stol(dataNodeInstancesInstance["BeginWaitTimeTime"].asString()); - if(!dataNodeInstancesInstance["BeginWaitResTime"].isNull()) - instanceObject.beginWaitResTime = std::stol(dataNodeInstancesInstance["BeginWaitResTime"].asString()); - if(!dataNodeInstancesInstance["BeginRunningTime"].isNull()) - instanceObject.beginRunningTime = std::stol(dataNodeInstancesInstance["BeginRunningTime"].asString()); - if(!dataNodeInstancesInstance["ParamValues"].isNull()) - instanceObject.paramValues = dataNodeInstancesInstance["ParamValues"].asString(); - if(!dataNodeInstancesInstance["FinishTime"].isNull()) - instanceObject.finishTime = std::stol(dataNodeInstancesInstance["FinishTime"].asString()); - if(!dataNodeInstancesInstance["Priority"].isNull()) - instanceObject.priority = std::stoi(dataNodeInstancesInstance["Priority"].asString()); - if(!dataNodeInstancesInstance["BaselineId"].isNull()) - instanceObject.baselineId = std::stol(dataNodeInstancesInstance["BaselineId"].asString()); - if(!dataNodeInstancesInstance["Repeatability"].isNull()) - instanceObject.repeatability = dataNodeInstancesInstance["Repeatability"].asString() == "true"; - if(!dataNodeInstancesInstance["RepeatInterval"].isNull()) - instanceObject.repeatInterval = std::stol(dataNodeInstancesInstance["RepeatInterval"].asString()); - if(!dataNodeInstancesInstance["Connection"].isNull()) - instanceObject.connection = dataNodeInstancesInstance["Connection"].asString(); - if(!dataNodeInstancesInstance["DqcType"].isNull()) - instanceObject.dqcType = std::stoi(dataNodeInstancesInstance["DqcType"].asString()); - if(!dataNodeInstancesInstance["DqcDescription"].isNull()) - instanceObject.dqcDescription = dataNodeInstancesInstance["DqcDescription"].asString(); - if(!dataNodeInstancesInstance["ErrorMessage"].isNull()) - instanceObject.errorMessage = dataNodeInstancesInstance["ErrorMessage"].asString(); - if(!dataNodeInstancesInstance["RelatedFlowId"].isNull()) - instanceObject.relatedFlowId = std::stol(dataNodeInstancesInstance["RelatedFlowId"].asString()); - data_.instances.push_back(instanceObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - -} - -int ListInstancesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListInstancesResult::Data ListInstancesResult::getData()const -{ - return data_; -} - -std::string ListInstancesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListInstancesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListInstancesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListMetaDBRequest.cc b/dataworks-public/src/model/ListMetaDBRequest.cc deleted file mode 100644 index 64614210e..000000000 --- a/dataworks-public/src/model/ListMetaDBRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListMetaDBRequest; - -ListMetaDBRequest::ListMetaDBRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListMetaDB") -{ - setMethod(HttpRequest::Method::Get); -} - -ListMetaDBRequest::~ListMetaDBRequest() -{} - -std::string ListMetaDBRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void ListMetaDBRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -int ListMetaDBRequest::getPageSize()const -{ - return pageSize_; -} - -void ListMetaDBRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int ListMetaDBRequest::getPageNum()const -{ - return pageNum_; -} - -void ListMetaDBRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - -long ListMetaDBRequest::getProjectId()const -{ - return projectId_; -} - -void ListMetaDBRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListMetaDBResult.cc b/dataworks-public/src/model/ListMetaDBResult.cc deleted file mode 100644 index 40a6cfbbe..000000000 --- a/dataworks-public/src/model/ListMetaDBResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListMetaDBResult::ListMetaDBResult() : - ServiceResult() -{} - -ListMetaDBResult::ListMetaDBResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListMetaDBResult::~ListMetaDBResult() -{} - -void ListMetaDBResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto databaseInfoNode = value["DatabaseInfo"]; - if(!databaseInfoNode["TotalCount"].isNull()) - databaseInfo_.totalCount = std::stol(databaseInfoNode["TotalCount"].asString()); - auto allDbListNode = databaseInfoNode["DbList"]["DbListItem"]; - for (auto databaseInfoNodeDbListDbListItem : allDbListNode) - { - DatabaseInfo::DbListItem dbListItemObject; - if(!databaseInfoNodeDbListDbListItem["Name"].isNull()) - dbListItemObject.name = databaseInfoNodeDbListDbListItem["Name"].asString(); - if(!databaseInfoNodeDbListDbListItem["Type"].isNull()) - dbListItemObject.type = databaseInfoNodeDbListDbListItem["Type"].asString(); - if(!databaseInfoNodeDbListDbListItem["OwnerId"].isNull()) - dbListItemObject.ownerId = databaseInfoNodeDbListDbListItem["OwnerId"].asString(); - if(!databaseInfoNodeDbListDbListItem["Location"].isNull()) - dbListItemObject.location = databaseInfoNodeDbListDbListItem["Location"].asString(); - if(!databaseInfoNodeDbListDbListItem["CreateTimeStamp"].isNull()) - dbListItemObject.createTimeStamp = std::stol(databaseInfoNodeDbListDbListItem["CreateTimeStamp"].asString()); - if(!databaseInfoNodeDbListDbListItem["ModifiedTimeStamp"].isNull()) - dbListItemObject.modifiedTimeStamp = std::stol(databaseInfoNodeDbListDbListItem["ModifiedTimeStamp"].asString()); - if(!databaseInfoNodeDbListDbListItem["UUID"].isNull()) - dbListItemObject.uUID = databaseInfoNodeDbListDbListItem["UUID"].asString(); - databaseInfo_.dbList.push_back(dbListItemObject); - } - -} - -ListMetaDBResult::DatabaseInfo ListMetaDBResult::getDatabaseInfo()const -{ - return databaseInfo_; -} - diff --git a/dataworks-public/src/model/ListNodeIORequest.cc b/dataworks-public/src/model/ListNodeIORequest.cc deleted file mode 100644 index 2bf66ad65..000000000 --- a/dataworks-public/src/model/ListNodeIORequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListNodeIORequest; - -ListNodeIORequest::ListNodeIORequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodeIO") -{ - setMethod(HttpRequest::Method::Post); -} - -ListNodeIORequest::~ListNodeIORequest() -{} - -std::string ListNodeIORequest::getProjectEnv()const -{ - return projectEnv_; -} - -void ListNodeIORequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long ListNodeIORequest::getNodeId()const -{ - return nodeId_; -} - -void ListNodeIORequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - -std::string ListNodeIORequest::getIoType()const -{ - return ioType_; -} - -void ListNodeIORequest::setIoType(const std::string& ioType) -{ - ioType_ = ioType; - setBodyParameter("IoType", ioType); -} - diff --git a/dataworks-public/src/model/ListNodeIOResult.cc b/dataworks-public/src/model/ListNodeIOResult.cc deleted file mode 100644 index f318bd482..000000000 --- a/dataworks-public/src/model/ListNodeIOResult.cc +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListNodeIOResult::ListNodeIOResult() : - ServiceResult() -{} - -ListNodeIOResult::ListNodeIOResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListNodeIOResult::~ListNodeIOResult() -{} - -void ListNodeIOResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["TableName"].isNull()) - dataObject.tableName = valueDataDataItem["TableName"].asString(); - if(!valueDataDataItem["Data"].isNull()) - dataObject.data = valueDataDataItem["Data"].asString(); - if(!valueDataDataItem["NodeId"].isNull()) - dataObject.nodeId = std::stol(valueDataDataItem["NodeId"].asString()); - data_.push_back(dataObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListNodeIOResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector ListNodeIOResult::getData()const -{ - return data_; -} - -std::string ListNodeIOResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListNodeIOResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListNodeIOResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListNodesRequest.cc b/dataworks-public/src/model/ListNodesRequest.cc deleted file mode 100644 index 5da74c759..000000000 --- a/dataworks-public/src/model/ListNodesRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListNodesRequest; - -ListNodesRequest::ListNodesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodes") -{ - setMethod(HttpRequest::Method::Post); -} - -ListNodesRequest::~ListNodesRequest() -{} - -std::string ListNodesRequest::getOwner()const -{ - return owner_; -} - -void ListNodesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListNodesRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void ListNodesRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -std::string ListNodesRequest::getBizName()const -{ - return bizName_; -} - -void ListNodesRequest::setBizName(const std::string& bizName) -{ - bizName_ = bizName; - setBodyParameter("BizName", bizName); -} - -int ListNodesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListNodesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListNodesRequest::getNodeName()const -{ - return nodeName_; -} - -void ListNodesRequest::setNodeName(const std::string& nodeName) -{ - nodeName_ = nodeName; - setBodyParameter("NodeName", nodeName); -} - -std::string ListNodesRequest::getProgramType()const -{ - return programType_; -} - -void ListNodesRequest::setProgramType(const std::string& programType) -{ - programType_ = programType; - setBodyParameter("ProgramType", programType); -} - -int ListNodesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListNodesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListNodesRequest::getProjectId()const -{ - return projectId_; -} - -void ListNodesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListNodesResult.cc b/dataworks-public/src/model/ListNodesResult.cc deleted file mode 100644 index e82cf474c..000000000 --- a/dataworks-public/src/model/ListNodesResult.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListNodesResult::ListNodesResult() : - ServiceResult() -{} - -ListNodesResult::ListNodesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListNodesResult::~ListNodesResult() -{} - -void ListNodesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allNodesNode = dataNode["Nodes"]["NodesItem"]; - for (auto dataNodeNodesNodesItem : allNodesNode) - { - Data::NodesItem nodesItemObject; - if(!dataNodeNodesNodesItem["NodeId"].isNull()) - nodesItemObject.nodeId = std::stol(dataNodeNodesNodesItem["NodeId"].asString()); - if(!dataNodeNodesNodesItem["NodeName"].isNull()) - nodesItemObject.nodeName = dataNodeNodesNodesItem["NodeName"].asString(); - if(!dataNodeNodesNodesItem["CronExpress"].isNull()) - nodesItemObject.cronExpress = dataNodeNodesNodesItem["CronExpress"].asString(); - if(!dataNodeNodesNodesItem["SchedulerType"].isNull()) - nodesItemObject.schedulerType = dataNodeNodesNodesItem["SchedulerType"].asString(); - if(!dataNodeNodesNodesItem["ProgramType"].isNull()) - nodesItemObject.programType = dataNodeNodesNodesItem["ProgramType"].asString(); - if(!dataNodeNodesNodesItem["OwnerId"].isNull()) - nodesItemObject.ownerId = dataNodeNodesNodesItem["OwnerId"].asString(); - if(!dataNodeNodesNodesItem["ProjectId"].isNull()) - nodesItemObject.projectId = std::stol(dataNodeNodesNodesItem["ProjectId"].asString()); - if(!dataNodeNodesNodesItem["Repeatability"].isNull()) - nodesItemObject.repeatability = dataNodeNodesNodesItem["Repeatability"].asString() == "true"; - if(!dataNodeNodesNodesItem["ParamValues"].isNull()) - nodesItemObject.paramValues = dataNodeNodesNodesItem["ParamValues"].asString(); - if(!dataNodeNodesNodesItem["Description"].isNull()) - nodesItemObject.description = dataNodeNodesNodesItem["Description"].asString(); - if(!dataNodeNodesNodesItem["ResGroupName"].isNull()) - nodesItemObject.resGroupName = dataNodeNodesNodesItem["ResGroupName"].asString(); - if(!dataNodeNodesNodesItem["Priority"].isNull()) - nodesItemObject.priority = std::stoi(dataNodeNodesNodesItem["Priority"].asString()); - if(!dataNodeNodesNodesItem["BaselineId"].isNull()) - nodesItemObject.baselineId = std::stol(dataNodeNodesNodesItem["BaselineId"].asString()); - if(!dataNodeNodesNodesItem["RepeatInterval"].isNull()) - nodesItemObject.repeatInterval = std::stol(dataNodeNodesNodesItem["RepeatInterval"].asString()); - if(!dataNodeNodesNodesItem["Connection"].isNull()) - nodesItemObject.connection = dataNodeNodesNodesItem["Connection"].asString(); - if(!dataNodeNodesNodesItem["DqcType"].isNull()) - nodesItemObject.dqcType = std::stoi(dataNodeNodesNodesItem["DqcType"].asString()); - if(!dataNodeNodesNodesItem["DqcDescription"].isNull()) - nodesItemObject.dqcDescription = dataNodeNodesNodesItem["DqcDescription"].asString(); - if(!dataNodeNodesNodesItem["RelatedFlowId"].isNull()) - nodesItemObject.relatedFlowId = std::stol(dataNodeNodesNodesItem["RelatedFlowId"].asString()); - data_.nodes.push_back(nodesItemObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - -} - -int ListNodesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListNodesResult::Data ListNodesResult::getData()const -{ - return data_; -} - -std::string ListNodesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListNodesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListNodesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListProgramTypeCountRequest.cc b/dataworks-public/src/model/ListProgramTypeCountRequest.cc deleted file mode 100644 index 06d0fc9cd..000000000 --- a/dataworks-public/src/model/ListProgramTypeCountRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListProgramTypeCountRequest; - -ListProgramTypeCountRequest::ListProgramTypeCountRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListProgramTypeCount") -{ - setMethod(HttpRequest::Method::Post); -} - -ListProgramTypeCountRequest::~ListProgramTypeCountRequest() -{} - -std::string ListProgramTypeCountRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void ListProgramTypeCountRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long ListProgramTypeCountRequest::getProjectId()const -{ - return projectId_; -} - -void ListProgramTypeCountRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListProgramTypeCountResult.cc b/dataworks-public/src/model/ListProgramTypeCountResult.cc deleted file mode 100644 index cb997c692..000000000 --- a/dataworks-public/src/model/ListProgramTypeCountResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListProgramTypeCountResult::ListProgramTypeCountResult() : - ServiceResult() -{} - -ListProgramTypeCountResult::ListProgramTypeCountResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListProgramTypeCountResult::~ListProgramTypeCountResult() -{} - -void ListProgramTypeCountResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allProgramTypeAndCountsNode = value["ProgramTypeAndCounts"]["ProgramTypeAndCount"]; - for (auto valueProgramTypeAndCountsProgramTypeAndCount : allProgramTypeAndCountsNode) - { - ProgramTypeAndCount programTypeAndCountsObject; - if(!valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].isNull()) - programTypeAndCountsObject.programType = valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].asString(); - if(!valueProgramTypeAndCountsProgramTypeAndCount["Count"].isNull()) - programTypeAndCountsObject.count = std::stoi(valueProgramTypeAndCountsProgramTypeAndCount["Count"].asString()); - programTypeAndCounts_.push_back(programTypeAndCountsObject); - } - -} - -std::vector ListProgramTypeCountResult::getProgramTypeAndCounts()const -{ - return programTypeAndCounts_; -} - diff --git a/dataworks-public/src/model/ListProjectMembersRequest.cc b/dataworks-public/src/model/ListProjectMembersRequest.cc deleted file mode 100644 index a0ce33360..000000000 --- a/dataworks-public/src/model/ListProjectMembersRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListProjectMembersRequest; - -ListProjectMembersRequest::ListProjectMembersRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectMembers") -{ - setMethod(HttpRequest::Method::Post); -} - -ListProjectMembersRequest::~ListProjectMembersRequest() -{} - -int ListProjectMembersRequest::getPageSize()const -{ - return pageSize_; -} - -void ListProjectMembersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long ListProjectMembersRequest::getProjectId()const -{ - return projectId_; -} - -void ListProjectMembersRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -int ListProjectMembersRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListProjectMembersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListProjectMembersResult.cc b/dataworks-public/src/model/ListProjectMembersResult.cc deleted file mode 100644 index 32c77d35e..000000000 --- a/dataworks-public/src/model/ListProjectMembersResult.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListProjectMembersResult::ListProjectMembersResult() : - ServiceResult() -{} - -ListProjectMembersResult::ListProjectMembersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListProjectMembersResult::~ListProjectMembersResult() -{} - -void ListProjectMembersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allProjectMemberListNode = dataNode["ProjectMemberList"]["ProjectMember"]; - for (auto dataNodeProjectMemberListProjectMember : allProjectMemberListNode) - { - Data::ProjectMember projectMemberObject; - if(!dataNodeProjectMemberListProjectMember["Nick"].isNull()) - projectMemberObject.nick = dataNodeProjectMemberListProjectMember["Nick"].asString(); - if(!dataNodeProjectMemberListProjectMember["ProjectMemberId"].isNull()) - projectMemberObject.projectMemberId = dataNodeProjectMemberListProjectMember["ProjectMemberId"].asString(); - if(!dataNodeProjectMemberListProjectMember["ProjectMemberName"].isNull()) - projectMemberObject.projectMemberName = dataNodeProjectMemberListProjectMember["ProjectMemberName"].asString(); - if(!dataNodeProjectMemberListProjectMember["ProjectMemberType"].isNull()) - projectMemberObject.projectMemberType = dataNodeProjectMemberListProjectMember["ProjectMemberType"].asString(); - if(!dataNodeProjectMemberListProjectMember["Status"].isNull()) - projectMemberObject.status = dataNodeProjectMemberListProjectMember["Status"].asString(); - auto allProjectRoleListNode = dataNodeProjectMemberListProjectMember["ProjectRoleList"]["Role"]; - for (auto dataNodeProjectMemberListProjectMemberProjectRoleListRole : allProjectRoleListNode) - { - Data::ProjectMember::Role projectRoleListObject; - if(!dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleCode"].isNull()) - projectRoleListObject.projectRoleCode = dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleCode"].asString(); - if(!dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleId"].isNull()) - projectRoleListObject.projectRoleId = std::stoi(dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleId"].asString()); - if(!dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleName"].isNull()) - projectRoleListObject.projectRoleName = dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleName"].asString(); - if(!dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleType"].isNull()) - projectRoleListObject.projectRoleType = dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleType"].asString(); - projectMemberObject.projectRoleList.push_back(projectRoleListObject); - } - data_.projectMemberList.push_back(projectMemberObject); - } - -} - -ListProjectMembersResult::Data ListProjectMembersResult::getData()const -{ - return data_; -} - diff --git a/dataworks-public/src/model/ListProjectRolesRequest.cc b/dataworks-public/src/model/ListProjectRolesRequest.cc deleted file mode 100644 index b4a1762b3..000000000 --- a/dataworks-public/src/model/ListProjectRolesRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListProjectRolesRequest; - -ListProjectRolesRequest::ListProjectRolesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectRoles") -{ - setMethod(HttpRequest::Method::Post); -} - -ListProjectRolesRequest::~ListProjectRolesRequest() -{} - -long ListProjectRolesRequest::getProjectId()const -{ - return projectId_; -} - -void ListProjectRolesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListProjectRolesResult.cc b/dataworks-public/src/model/ListProjectRolesResult.cc deleted file mode 100644 index fcf9cdacd..000000000 --- a/dataworks-public/src/model/ListProjectRolesResult.cc +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListProjectRolesResult::ListProjectRolesResult() : - ServiceResult() -{} - -ListProjectRolesResult::ListProjectRolesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListProjectRolesResult::~ListProjectRolesResult() -{} - -void ListProjectRolesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allProjectRoleListNode = value["ProjectRoleList"]["Role"]; - for (auto valueProjectRoleListRole : allProjectRoleListNode) - { - Role projectRoleListObject; - if(!valueProjectRoleListRole["ProjectRoleCode"].isNull()) - projectRoleListObject.projectRoleCode = valueProjectRoleListRole["ProjectRoleCode"].asString(); - if(!valueProjectRoleListRole["ProjectRoleId"].isNull()) - projectRoleListObject.projectRoleId = std::stoi(valueProjectRoleListRole["ProjectRoleId"].asString()); - if(!valueProjectRoleListRole["ProjectRoleName"].isNull()) - projectRoleListObject.projectRoleName = valueProjectRoleListRole["ProjectRoleName"].asString(); - if(!valueProjectRoleListRole["ProjectRoleType"].isNull()) - projectRoleListObject.projectRoleType = valueProjectRoleListRole["ProjectRoleType"].asString(); - projectRoleList_.push_back(projectRoleListObject); - } - -} - -std::vector ListProjectRolesResult::getProjectRoleList()const -{ - return projectRoleList_; -} - diff --git a/dataworks-public/src/model/ListProjectsRequest.cc b/dataworks-public/src/model/ListProjectsRequest.cc deleted file mode 100644 index 312782e84..000000000 --- a/dataworks-public/src/model/ListProjectsRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListProjectsRequest; - -ListProjectsRequest::ListProjectsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjects") -{ - setMethod(HttpRequest::Method::Post); -} - -ListProjectsRequest::~ListProjectsRequest() -{} - -int ListProjectsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListProjectsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int ListProjectsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListProjectsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListProjectsResult.cc b/dataworks-public/src/model/ListProjectsResult.cc deleted file mode 100644 index ad5985699..000000000 --- a/dataworks-public/src/model/ListProjectsResult.cc +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListProjectsResult::ListProjectsResult() : - ServiceResult() -{} - -ListProjectsResult::ListProjectsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListProjectsResult::~ListProjectsResult() -{} - -void ListProjectsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pageResultNode = value["PageResult"]; - if(!pageResultNode["PageNumber"].isNull()) - pageResult_.pageNumber = std::stoi(pageResultNode["PageNumber"].asString()); - if(!pageResultNode["PageSize"].isNull()) - pageResult_.pageSize = std::stoi(pageResultNode["PageSize"].asString()); - if(!pageResultNode["TotalCount"].isNull()) - pageResult_.totalCount = std::stoi(pageResultNode["TotalCount"].asString()); - auto allProjectListNode = pageResultNode["ProjectList"]["Project"]; - for (auto pageResultNodeProjectListProject : allProjectListNode) - { - PageResult::Project projectObject; - if(!pageResultNodeProjectListProject["ProjectName"].isNull()) - projectObject.projectName = pageResultNodeProjectListProject["ProjectName"].asString(); - if(!pageResultNodeProjectListProject["ProjectIdentifier"].isNull()) - projectObject.projectIdentifier = pageResultNodeProjectListProject["ProjectIdentifier"].asString(); - if(!pageResultNodeProjectListProject["ProjectDescription"].isNull()) - projectObject.projectDescription = pageResultNodeProjectListProject["ProjectDescription"].asString(); - if(!pageResultNodeProjectListProject["ProjectStatus"].isNull()) - projectObject.projectStatus = std::stoi(pageResultNodeProjectListProject["ProjectStatus"].asString()); - if(!pageResultNodeProjectListProject["ProjectId"].isNull()) - projectObject.projectId = std::stol(pageResultNodeProjectListProject["ProjectId"].asString()); - if(!pageResultNodeProjectListProject["ProjectOwnerBaseId"].isNull()) - projectObject.projectOwnerBaseId = pageResultNodeProjectListProject["ProjectOwnerBaseId"].asString(); - if(!pageResultNodeProjectListProject["ProjectStatusCode"].isNull()) - projectObject.projectStatusCode = pageResultNodeProjectListProject["ProjectStatusCode"].asString(); - pageResult_.projectList.push_back(projectObject); - } - -} - -ListProjectsResult::PageResult ListProjectsResult::getPageResult()const -{ - return pageResult_; -} - diff --git a/dataworks-public/src/model/ListQualityResultsByEntityRequest.cc b/dataworks-public/src/model/ListQualityResultsByEntityRequest.cc deleted file mode 100644 index efac31173..000000000 --- a/dataworks-public/src/model/ListQualityResultsByEntityRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListQualityResultsByEntityRequest; - -ListQualityResultsByEntityRequest::ListQualityResultsByEntityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListQualityResultsByEntity") -{ - setMethod(HttpRequest::Method::Post); -} - -ListQualityResultsByEntityRequest::~ListQualityResultsByEntityRequest() -{} - -std::string ListQualityResultsByEntityRequest::getProjectName()const -{ - return projectName_; -} - -void ListQualityResultsByEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string ListQualityResultsByEntityRequest::getEndDate()const -{ - return endDate_; -} - -void ListQualityResultsByEntityRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setBodyParameter("EndDate", endDate); -} - -int ListQualityResultsByEntityRequest::getPageSize()const -{ - return pageSize_; -} - -void ListQualityResultsByEntityRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -int ListQualityResultsByEntityRequest::getEntityId()const -{ - return entityId_; -} - -void ListQualityResultsByEntityRequest::setEntityId(int entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - -std::string ListQualityResultsByEntityRequest::getStartDate()const -{ - return startDate_; -} - -void ListQualityResultsByEntityRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); -} - -int ListQualityResultsByEntityRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListQualityResultsByEntityRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListQualityResultsByEntityResult.cc b/dataworks-public/src/model/ListQualityResultsByEntityResult.cc deleted file mode 100644 index 1165b478b..000000000 --- a/dataworks-public/src/model/ListQualityResultsByEntityResult.cc +++ /dev/null @@ -1,196 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListQualityResultsByEntityResult::ListQualityResultsByEntityResult() : - ServiceResult() -{} - -ListQualityResultsByEntityResult::ListQualityResultsByEntityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListQualityResultsByEntityResult::~ListQualityResultsByEntityResult() -{} - -void ListQualityResultsByEntityResult::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["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - auto allRuleChecksNode = dataNode["RuleChecks"]["RuleChecksItem"]; - for (auto dataNodeRuleChecksRuleChecksItem : allRuleChecksNode) - { - Data::RuleChecksItem ruleChecksItemObject; - if(!dataNodeRuleChecksRuleChecksItem["Id"].isNull()) - ruleChecksItemObject.id = std::stoi(dataNodeRuleChecksRuleChecksItem["Id"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["TaskId"].isNull()) - ruleChecksItemObject.taskId = dataNodeRuleChecksRuleChecksItem["TaskId"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["EntityId"].isNull()) - ruleChecksItemObject.entityId = std::stoi(dataNodeRuleChecksRuleChecksItem["EntityId"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["RuleId"].isNull()) - ruleChecksItemObject.ruleId = std::stoi(dataNodeRuleChecksRuleChecksItem["RuleId"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["Property"].isNull()) - ruleChecksItemObject.property = dataNodeRuleChecksRuleChecksItem["Property"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["BizDate"].isNull()) - ruleChecksItemObject.bizDate = std::stol(dataNodeRuleChecksRuleChecksItem["BizDate"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["DateType"].isNull()) - ruleChecksItemObject.dateType = dataNodeRuleChecksRuleChecksItem["DateType"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["ActualExpression"].isNull()) - ruleChecksItemObject.actualExpression = dataNodeRuleChecksRuleChecksItem["ActualExpression"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["MatchExpression"].isNull()) - ruleChecksItemObject.matchExpression = dataNodeRuleChecksRuleChecksItem["MatchExpression"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["BlockType"].isNull()) - ruleChecksItemObject.blockType = std::stoi(dataNodeRuleChecksRuleChecksItem["BlockType"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["CheckResult"].isNull()) - ruleChecksItemObject.checkResult = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckResult"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["CheckResultStatus"].isNull()) - ruleChecksItemObject.checkResultStatus = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckResultStatus"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["MethodName"].isNull()) - ruleChecksItemObject.methodName = dataNodeRuleChecksRuleChecksItem["MethodName"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["Comment"].isNull()) - ruleChecksItemObject.comment = dataNodeRuleChecksRuleChecksItem["Comment"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["WhereCondition"].isNull()) - ruleChecksItemObject.whereCondition = dataNodeRuleChecksRuleChecksItem["WhereCondition"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["BeginTime"].isNull()) - ruleChecksItemObject.beginTime = std::stol(dataNodeRuleChecksRuleChecksItem["BeginTime"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["EndTime"].isNull()) - ruleChecksItemObject.endTime = std::stol(dataNodeRuleChecksRuleChecksItem["EndTime"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["TimeCost"].isNull()) - ruleChecksItemObject.timeCost = dataNodeRuleChecksRuleChecksItem["TimeCost"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["ExternalType"].isNull()) - ruleChecksItemObject.externalType = dataNodeRuleChecksRuleChecksItem["ExternalType"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["ExternalId"].isNull()) - ruleChecksItemObject.externalId = dataNodeRuleChecksRuleChecksItem["ExternalId"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["DiscreteCheck"].isNull()) - ruleChecksItemObject.discreteCheck = dataNodeRuleChecksRuleChecksItem["DiscreteCheck"].asString() == "true"; - if(!dataNodeRuleChecksRuleChecksItem["FixedCheck"].isNull()) - ruleChecksItemObject.fixedCheck = dataNodeRuleChecksRuleChecksItem["FixedCheck"].asString() == "true"; - if(!dataNodeRuleChecksRuleChecksItem["Trend"].isNull()) - ruleChecksItemObject.trend = dataNodeRuleChecksRuleChecksItem["Trend"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["WarningThreshold"].isNull()) - ruleChecksItemObject.warningThreshold = std::stof(dataNodeRuleChecksRuleChecksItem["WarningThreshold"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["CriticalThreshold"].isNull()) - ruleChecksItemObject.criticalThreshold = std::stof(dataNodeRuleChecksRuleChecksItem["CriticalThreshold"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["ExpectValue"].isNull()) - ruleChecksItemObject.expectValue = std::stof(dataNodeRuleChecksRuleChecksItem["ExpectValue"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["Op"].isNull()) - ruleChecksItemObject.op = dataNodeRuleChecksRuleChecksItem["Op"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["ProjectName"].isNull()) - ruleChecksItemObject.projectName = dataNodeRuleChecksRuleChecksItem["ProjectName"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["TableName"].isNull()) - ruleChecksItemObject.tableName = dataNodeRuleChecksRuleChecksItem["TableName"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["TemplateId"].isNull()) - ruleChecksItemObject.templateId = std::stoi(dataNodeRuleChecksRuleChecksItem["TemplateId"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["TemplateName"].isNull()) - ruleChecksItemObject.templateName = dataNodeRuleChecksRuleChecksItem["TemplateName"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["ResultString"].isNull()) - ruleChecksItemObject.resultString = dataNodeRuleChecksRuleChecksItem["ResultString"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["CheckerId"].isNull()) - ruleChecksItemObject.checkerId = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckerId"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["CheckerType"].isNull()) - ruleChecksItemObject.checkerType = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckerType"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["RuleName"].isNull()) - ruleChecksItemObject.ruleName = dataNodeRuleChecksRuleChecksItem["RuleName"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["IsPrediction"].isNull()) - ruleChecksItemObject.isPrediction = dataNodeRuleChecksRuleChecksItem["IsPrediction"].asString() == "true"; - if(!dataNodeRuleChecksRuleChecksItem["UpperValue"].isNull()) - ruleChecksItemObject.upperValue = std::stof(dataNodeRuleChecksRuleChecksItem["UpperValue"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["LowerValue"].isNull()) - ruleChecksItemObject.lowerValue = std::stof(dataNodeRuleChecksRuleChecksItem["LowerValue"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["CheckerName"].isNull()) - ruleChecksItemObject.checkerName = dataNodeRuleChecksRuleChecksItem["CheckerName"].asString(); - auto allReferenceValueNode = dataNodeRuleChecksRuleChecksItem["ReferenceValue"]["ReferenceValueItem"]; - for (auto dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem : allReferenceValueNode) - { - Data::RuleChecksItem::ReferenceValueItem referenceValueObject; - if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].isNull()) - referenceValueObject.bizDate = dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].asString(); - if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].isNull()) - referenceValueObject.discreteProperty = dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].asString(); - if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].isNull()) - referenceValueObject.value = std::stof(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].asString()); - if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].isNull()) - referenceValueObject.threshold = std::stof(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].asString()); - if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].isNull()) - referenceValueObject.singleCheckResult = std::stoi(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].asString()); - ruleChecksItemObject.referenceValue.push_back(referenceValueObject); - } - auto allSampleValueNode = dataNodeRuleChecksRuleChecksItem["SampleValue"]["SampleValueItem"]; - for (auto dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem : allSampleValueNode) - { - Data::RuleChecksItem::SampleValueItem sampleValueObject; - if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].isNull()) - sampleValueObject.bizDate = dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].asString(); - if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].isNull()) - sampleValueObject.discreteProperty = dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].asString(); - if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].isNull()) - sampleValueObject.value = std::stof(dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].asString()); - ruleChecksItemObject.sampleValue.push_back(sampleValueObject); - } - data_.ruleChecks.push_back(ruleChecksItemObject); - } - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListQualityResultsByEntityResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListQualityResultsByEntityResult::Data ListQualityResultsByEntityResult::getData()const -{ - return data_; -} - -std::string ListQualityResultsByEntityResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListQualityResultsByEntityResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListQualityResultsByEntityResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListQualityResultsByRuleRequest.cc b/dataworks-public/src/model/ListQualityResultsByRuleRequest.cc deleted file mode 100644 index 0be7aec07..000000000 --- a/dataworks-public/src/model/ListQualityResultsByRuleRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListQualityResultsByRuleRequest; - -ListQualityResultsByRuleRequest::ListQualityResultsByRuleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListQualityResultsByRule") -{ - setMethod(HttpRequest::Method::Post); -} - -ListQualityResultsByRuleRequest::~ListQualityResultsByRuleRequest() -{} - -std::string ListQualityResultsByRuleRequest::getProjectName()const -{ - return projectName_; -} - -void ListQualityResultsByRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string ListQualityResultsByRuleRequest::getEndDate()const -{ - return endDate_; -} - -void ListQualityResultsByRuleRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setBodyParameter("EndDate", endDate); -} - -int ListQualityResultsByRuleRequest::getPageSize()const -{ - return pageSize_; -} - -void ListQualityResultsByRuleRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -int ListQualityResultsByRuleRequest::getRuleId()const -{ - return ruleId_; -} - -void ListQualityResultsByRuleRequest::setRuleId(int ruleId) -{ - ruleId_ = ruleId; - setBodyParameter("RuleId", std::to_string(ruleId)); -} - -std::string ListQualityResultsByRuleRequest::getStartDate()const -{ - return startDate_; -} - -void ListQualityResultsByRuleRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); -} - -int ListQualityResultsByRuleRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListQualityResultsByRuleRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListQualityResultsByRuleResult.cc b/dataworks-public/src/model/ListQualityResultsByRuleResult.cc deleted file mode 100644 index cd6b9a1b8..000000000 --- a/dataworks-public/src/model/ListQualityResultsByRuleResult.cc +++ /dev/null @@ -1,196 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListQualityResultsByRuleResult::ListQualityResultsByRuleResult() : - ServiceResult() -{} - -ListQualityResultsByRuleResult::ListQualityResultsByRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListQualityResultsByRuleResult::~ListQualityResultsByRuleResult() -{} - -void ListQualityResultsByRuleResult::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["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - auto allRuleChecksNode = dataNode["RuleChecks"]["RuleChecksItem"]; - for (auto dataNodeRuleChecksRuleChecksItem : allRuleChecksNode) - { - Data::RuleChecksItem ruleChecksItemObject; - if(!dataNodeRuleChecksRuleChecksItem["Id"].isNull()) - ruleChecksItemObject.id = std::stoi(dataNodeRuleChecksRuleChecksItem["Id"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["TaskId"].isNull()) - ruleChecksItemObject.taskId = dataNodeRuleChecksRuleChecksItem["TaskId"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["EntityId"].isNull()) - ruleChecksItemObject.entityId = std::stoi(dataNodeRuleChecksRuleChecksItem["EntityId"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["RuleId"].isNull()) - ruleChecksItemObject.ruleId = std::stoi(dataNodeRuleChecksRuleChecksItem["RuleId"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["Property"].isNull()) - ruleChecksItemObject.property = dataNodeRuleChecksRuleChecksItem["Property"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["BizDate"].isNull()) - ruleChecksItemObject.bizDate = std::stol(dataNodeRuleChecksRuleChecksItem["BizDate"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["DateType"].isNull()) - ruleChecksItemObject.dateType = dataNodeRuleChecksRuleChecksItem["DateType"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["ActualExpression"].isNull()) - ruleChecksItemObject.actualExpression = dataNodeRuleChecksRuleChecksItem["ActualExpression"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["MatchExpression"].isNull()) - ruleChecksItemObject.matchExpression = dataNodeRuleChecksRuleChecksItem["MatchExpression"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["BlockType"].isNull()) - ruleChecksItemObject.blockType = std::stoi(dataNodeRuleChecksRuleChecksItem["BlockType"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["CheckResult"].isNull()) - ruleChecksItemObject.checkResult = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckResult"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["CheckResultStatus"].isNull()) - ruleChecksItemObject.checkResultStatus = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckResultStatus"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["MethodName"].isNull()) - ruleChecksItemObject.methodName = dataNodeRuleChecksRuleChecksItem["MethodName"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["Comment"].isNull()) - ruleChecksItemObject.comment = dataNodeRuleChecksRuleChecksItem["Comment"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["WhereCondition"].isNull()) - ruleChecksItemObject.whereCondition = dataNodeRuleChecksRuleChecksItem["WhereCondition"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["BeginTime"].isNull()) - ruleChecksItemObject.beginTime = std::stol(dataNodeRuleChecksRuleChecksItem["BeginTime"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["EndTime"].isNull()) - ruleChecksItemObject.endTime = std::stol(dataNodeRuleChecksRuleChecksItem["EndTime"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["TimeCost"].isNull()) - ruleChecksItemObject.timeCost = dataNodeRuleChecksRuleChecksItem["TimeCost"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["ExternalType"].isNull()) - ruleChecksItemObject.externalType = dataNodeRuleChecksRuleChecksItem["ExternalType"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["ExternalId"].isNull()) - ruleChecksItemObject.externalId = dataNodeRuleChecksRuleChecksItem["ExternalId"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["DiscreteCheck"].isNull()) - ruleChecksItemObject.discreteCheck = dataNodeRuleChecksRuleChecksItem["DiscreteCheck"].asString() == "true"; - if(!dataNodeRuleChecksRuleChecksItem["FixedCheck"].isNull()) - ruleChecksItemObject.fixedCheck = dataNodeRuleChecksRuleChecksItem["FixedCheck"].asString() == "true"; - if(!dataNodeRuleChecksRuleChecksItem["Trend"].isNull()) - ruleChecksItemObject.trend = dataNodeRuleChecksRuleChecksItem["Trend"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["WarningThreshold"].isNull()) - ruleChecksItemObject.warningThreshold = std::stof(dataNodeRuleChecksRuleChecksItem["WarningThreshold"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["CriticalThreshold"].isNull()) - ruleChecksItemObject.criticalThreshold = std::stof(dataNodeRuleChecksRuleChecksItem["CriticalThreshold"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["ExpectValue"].isNull()) - ruleChecksItemObject.expectValue = std::stof(dataNodeRuleChecksRuleChecksItem["ExpectValue"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["Op"].isNull()) - ruleChecksItemObject.op = dataNodeRuleChecksRuleChecksItem["Op"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["ProjectName"].isNull()) - ruleChecksItemObject.projectName = dataNodeRuleChecksRuleChecksItem["ProjectName"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["TableName"].isNull()) - ruleChecksItemObject.tableName = dataNodeRuleChecksRuleChecksItem["TableName"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["TemplateId"].isNull()) - ruleChecksItemObject.templateId = std::stoi(dataNodeRuleChecksRuleChecksItem["TemplateId"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["TemplateName"].isNull()) - ruleChecksItemObject.templateName = dataNodeRuleChecksRuleChecksItem["TemplateName"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["ResultString"].isNull()) - ruleChecksItemObject.resultString = dataNodeRuleChecksRuleChecksItem["ResultString"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["CheckerId"].isNull()) - ruleChecksItemObject.checkerId = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckerId"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["CheckerType"].isNull()) - ruleChecksItemObject.checkerType = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckerType"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["RuleName"].isNull()) - ruleChecksItemObject.ruleName = dataNodeRuleChecksRuleChecksItem["RuleName"].asString(); - if(!dataNodeRuleChecksRuleChecksItem["IsPrediction"].isNull()) - ruleChecksItemObject.isPrediction = dataNodeRuleChecksRuleChecksItem["IsPrediction"].asString() == "true"; - if(!dataNodeRuleChecksRuleChecksItem["UpperValue"].isNull()) - ruleChecksItemObject.upperValue = std::stof(dataNodeRuleChecksRuleChecksItem["UpperValue"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["LowerValue"].isNull()) - ruleChecksItemObject.lowerValue = std::stof(dataNodeRuleChecksRuleChecksItem["LowerValue"].asString()); - if(!dataNodeRuleChecksRuleChecksItem["CheckerName"].isNull()) - ruleChecksItemObject.checkerName = dataNodeRuleChecksRuleChecksItem["CheckerName"].asString(); - auto allReferenceValueNode = dataNodeRuleChecksRuleChecksItem["ReferenceValue"]["ReferenceValueItem"]; - for (auto dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem : allReferenceValueNode) - { - Data::RuleChecksItem::ReferenceValueItem referenceValueObject; - if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].isNull()) - referenceValueObject.bizDate = dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].asString(); - if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].isNull()) - referenceValueObject.discreteProperty = dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].asString(); - if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].isNull()) - referenceValueObject.value = std::stof(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].asString()); - if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].isNull()) - referenceValueObject.threshold = std::stof(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].asString()); - if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].isNull()) - referenceValueObject.singleCheckResult = std::stoi(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].asString()); - ruleChecksItemObject.referenceValue.push_back(referenceValueObject); - } - auto allSampleValueNode = dataNodeRuleChecksRuleChecksItem["SampleValue"]["SampleValueItem"]; - for (auto dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem : allSampleValueNode) - { - Data::RuleChecksItem::SampleValueItem sampleValueObject; - if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].isNull()) - sampleValueObject.bizDate = dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].asString(); - if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].isNull()) - sampleValueObject.discreteProperty = dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].asString(); - if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].isNull()) - sampleValueObject.value = std::stof(dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].asString()); - ruleChecksItemObject.sampleValue.push_back(sampleValueObject); - } - data_.ruleChecks.push_back(ruleChecksItemObject); - } - 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 ListQualityResultsByRuleResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListQualityResultsByRuleResult::Data ListQualityResultsByRuleResult::getData()const -{ - return data_; -} - -std::string ListQualityResultsByRuleResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListQualityResultsByRuleResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListQualityResultsByRuleResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListQualityRulesRequest.cc b/dataworks-public/src/model/ListQualityRulesRequest.cc deleted file mode 100644 index 2f0b80d24..000000000 --- a/dataworks-public/src/model/ListQualityRulesRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListQualityRulesRequest; - -ListQualityRulesRequest::ListQualityRulesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListQualityRules") -{ - setMethod(HttpRequest::Method::Post); -} - -ListQualityRulesRequest::~ListQualityRulesRequest() -{} - -std::string ListQualityRulesRequest::getProjectName()const -{ - return projectName_; -} - -void ListQualityRulesRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -int ListQualityRulesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListQualityRulesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListQualityRulesRequest::getEntityId()const -{ - return entityId_; -} - -void ListQualityRulesRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - -int ListQualityRulesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListQualityRulesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListQualityRulesResult.cc b/dataworks-public/src/model/ListQualityRulesResult.cc deleted file mode 100644 index d3607c054..000000000 --- a/dataworks-public/src/model/ListQualityRulesResult.cc +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListQualityRulesResult::ListQualityRulesResult() : - ServiceResult() -{} - -ListQualityRulesResult::ListQualityRulesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListQualityRulesResult::~ListQualityRulesResult() -{} - -void ListQualityRulesResult::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["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - auto allRulesNode = dataNode["Rules"]["RulesItem"]; - for (auto dataNodeRulesRulesItem : allRulesNode) - { - Data::RulesItem rulesItemObject; - if(!dataNodeRulesRulesItem["ProjectName"].isNull()) - rulesItemObject.projectName = dataNodeRulesRulesItem["ProjectName"].asString(); - if(!dataNodeRulesRulesItem["TableName"].isNull()) - rulesItemObject.tableName = dataNodeRulesRulesItem["TableName"].asString(); - if(!dataNodeRulesRulesItem["Id"].isNull()) - rulesItemObject.id = std::stoi(dataNodeRulesRulesItem["Id"].asString()); - if(!dataNodeRulesRulesItem["EntityId"].isNull()) - rulesItemObject.entityId = std::stoi(dataNodeRulesRulesItem["EntityId"].asString()); - if(!dataNodeRulesRulesItem["Property"].isNull()) - rulesItemObject.property = dataNodeRulesRulesItem["Property"].asString(); - if(!dataNodeRulesRulesItem["MethodId"].isNull()) - rulesItemObject.methodId = std::stoi(dataNodeRulesRulesItem["MethodId"].asString()); - if(!dataNodeRulesRulesItem["MethodName"].isNull()) - rulesItemObject.methodName = dataNodeRulesRulesItem["MethodName"].asString(); - if(!dataNodeRulesRulesItem["OnDuty"].isNull()) - rulesItemObject.onDuty = dataNodeRulesRulesItem["OnDuty"].asString(); - if(!dataNodeRulesRulesItem["RuleType"].isNull()) - rulesItemObject.ruleType = std::stoi(dataNodeRulesRulesItem["RuleType"].asString()); - if(!dataNodeRulesRulesItem["BlockType"].isNull()) - rulesItemObject.blockType = std::stoi(dataNodeRulesRulesItem["BlockType"].asString()); - if(!dataNodeRulesRulesItem["TemplateId"].isNull()) - rulesItemObject.templateId = std::stoi(dataNodeRulesRulesItem["TemplateId"].asString()); - if(!dataNodeRulesRulesItem["TemplateName"].isNull()) - rulesItemObject.templateName = dataNodeRulesRulesItem["TemplateName"].asString(); - if(!dataNodeRulesRulesItem["RuleCheckerRelationId"].isNull()) - rulesItemObject.ruleCheckerRelationId = std::stoi(dataNodeRulesRulesItem["RuleCheckerRelationId"].asString()); - if(!dataNodeRulesRulesItem["CheckerId"].isNull()) - rulesItemObject.checkerId = std::stoi(dataNodeRulesRulesItem["CheckerId"].asString()); - if(!dataNodeRulesRulesItem["FixCheck"].isNull()) - rulesItemObject.fixCheck = dataNodeRulesRulesItem["FixCheck"].asString() == "true"; - if(!dataNodeRulesRulesItem["Trend"].isNull()) - rulesItemObject.trend = dataNodeRulesRulesItem["Trend"].asString(); - if(!dataNodeRulesRulesItem["WarningThreshold"].isNull()) - rulesItemObject.warningThreshold = dataNodeRulesRulesItem["WarningThreshold"].asString(); - if(!dataNodeRulesRulesItem["CriticalThreshold"].isNull()) - rulesItemObject.criticalThreshold = dataNodeRulesRulesItem["CriticalThreshold"].asString(); - if(!dataNodeRulesRulesItem["HistoryWarningThreshold"].isNull()) - rulesItemObject.historyWarningThreshold = dataNodeRulesRulesItem["HistoryWarningThreshold"].asString(); - if(!dataNodeRulesRulesItem["HistoryCriticalThreshold"].isNull()) - rulesItemObject.historyCriticalThreshold = dataNodeRulesRulesItem["HistoryCriticalThreshold"].asString(); - if(!dataNodeRulesRulesItem["PropertyKey"].isNull()) - rulesItemObject.propertyKey = dataNodeRulesRulesItem["PropertyKey"].asString(); - if(!dataNodeRulesRulesItem["MatchExpression"].isNull()) - rulesItemObject.matchExpression = dataNodeRulesRulesItem["MatchExpression"].asString(); - if(!dataNodeRulesRulesItem["Comment"].isNull()) - rulesItemObject.comment = dataNodeRulesRulesItem["Comment"].asString(); - if(!dataNodeRulesRulesItem["ExpectValue"].isNull()) - rulesItemObject.expectValue = dataNodeRulesRulesItem["ExpectValue"].asString(); - if(!dataNodeRulesRulesItem["OnDutyAccountName"].isNull()) - rulesItemObject.onDutyAccountName = dataNodeRulesRulesItem["OnDutyAccountName"].asString(); - data_.rules.push_back(rulesItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListQualityRulesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListQualityRulesResult::Data ListQualityRulesResult::getData()const -{ - return data_; -} - -std::string ListQualityRulesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListQualityRulesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListQualityRulesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListRemindsRequest.cc b/dataworks-public/src/model/ListRemindsRequest.cc deleted file mode 100644 index 807b21b67..000000000 --- a/dataworks-public/src/model/ListRemindsRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListRemindsRequest; - -ListRemindsRequest::ListRemindsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListReminds") -{ - setMethod(HttpRequest::Method::Post); -} - -ListRemindsRequest::~ListRemindsRequest() -{} - -std::string ListRemindsRequest::getSearchText()const -{ - return searchText_; -} - -void ListRemindsRequest::setSearchText(const std::string& searchText) -{ - searchText_ = searchText; - setBodyParameter("SearchText", searchText); -} - -std::string ListRemindsRequest::getFounder()const -{ - return founder_; -} - -void ListRemindsRequest::setFounder(const std::string& founder) -{ - founder_ = founder; - setBodyParameter("Founder", founder); -} - -std::string ListRemindsRequest::getRemindTypes()const -{ - return remindTypes_; -} - -void ListRemindsRequest::setRemindTypes(const std::string& remindTypes) -{ - remindTypes_ = remindTypes; - setBodyParameter("RemindTypes", remindTypes); -} - -int ListRemindsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListRemindsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListRemindsRequest::getAlertTarget()const -{ - return alertTarget_; -} - -void ListRemindsRequest::setAlertTarget(const std::string& alertTarget) -{ - alertTarget_ = alertTarget; - setBodyParameter("AlertTarget", alertTarget); -} - -int ListRemindsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListRemindsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListRemindsRequest::getNodeId()const -{ - return nodeId_; -} - -void ListRemindsRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/ListRemindsResult.cc b/dataworks-public/src/model/ListRemindsResult.cc deleted file mode 100644 index a7be80c2b..000000000 --- a/dataworks-public/src/model/ListRemindsResult.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListRemindsResult::ListRemindsResult() : - ServiceResult() -{} - -ListRemindsResult::ListRemindsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListRemindsResult::~ListRemindsResult() -{} - -void ListRemindsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allRemindsNode = dataNode["Reminds"]["RemindsItem"]; - for (auto dataNodeRemindsRemindsItem : allRemindsNode) - { - Data::RemindsItem remindsItemObject; - if(!dataNodeRemindsRemindsItem["RemindId"].isNull()) - remindsItemObject.remindId = std::stol(dataNodeRemindsRemindsItem["RemindId"].asString()); - if(!dataNodeRemindsRemindsItem["RemindName"].isNull()) - remindsItemObject.remindName = dataNodeRemindsRemindsItem["RemindName"].asString(); - if(!dataNodeRemindsRemindsItem["DndStart"].isNull()) - remindsItemObject.dndStart = dataNodeRemindsRemindsItem["DndStart"].asString(); - if(!dataNodeRemindsRemindsItem["DndEnd"].isNull()) - remindsItemObject.dndEnd = dataNodeRemindsRemindsItem["DndEnd"].asString(); - if(!dataNodeRemindsRemindsItem["RemindUnit"].isNull()) - remindsItemObject.remindUnit = dataNodeRemindsRemindsItem["RemindUnit"].asString(); - if(!dataNodeRemindsRemindsItem["RemindType"].isNull()) - remindsItemObject.remindType = dataNodeRemindsRemindsItem["RemindType"].asString(); - if(!dataNodeRemindsRemindsItem["AlertUnit"].isNull()) - remindsItemObject.alertUnit = dataNodeRemindsRemindsItem["AlertUnit"].asString(); - if(!dataNodeRemindsRemindsItem["Useflag"].isNull()) - remindsItemObject.useflag = dataNodeRemindsRemindsItem["Useflag"].asString() == "true"; - if(!dataNodeRemindsRemindsItem["Founder"].isNull()) - remindsItemObject.founder = dataNodeRemindsRemindsItem["Founder"].asString(); - auto allNodeIds = value["NodeIds"]["NodeIds"]; - for (auto value : allNodeIds) - remindsItemObject.nodeIds.push_back(value.asString()); - auto allBaselineIds = value["BaselineIds"]["BaselineIds"]; - for (auto value : allBaselineIds) - remindsItemObject.baselineIds.push_back(value.asString()); - auto allProjectIds = value["ProjectIds"]["ProjectIds"]; - for (auto value : allProjectIds) - remindsItemObject.projectIds.push_back(value.asString()); - auto allBizProcessIds = value["BizProcessIds"]["BizProcessIds"]; - for (auto value : allBizProcessIds) - remindsItemObject.bizProcessIds.push_back(value.asString()); - auto allAlertMethods = value["AlertMethods"]["AlertMethods"]; - for (auto value : allAlertMethods) - remindsItemObject.alertMethods.push_back(value.asString()); - auto allAlertTargets = value["AlertTargets"]["AlertTargets"]; - for (auto value : allAlertTargets) - remindsItemObject.alertTargets.push_back(value.asString()); - data_.reminds.push_back(remindsItemObject); - } - 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 ListRemindsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListRemindsResult::Data ListRemindsResult::getData()const -{ - return data_; -} - -std::string ListRemindsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListRemindsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListRemindsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListResourceGroupsRequest.cc b/dataworks-public/src/model/ListResourceGroupsRequest.cc deleted file mode 100644 index 2702ddd35..000000000 --- a/dataworks-public/src/model/ListResourceGroupsRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListResourceGroupsRequest; - -ListResourceGroupsRequest::ListResourceGroupsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListResourceGroups") -{ - setMethod(HttpRequest::Method::Post); -} - -ListResourceGroupsRequest::~ListResourceGroupsRequest() -{} - -int ListResourceGroupsRequest::getResourceGroupType()const -{ - return resourceGroupType_; -} - -void ListResourceGroupsRequest::setResourceGroupType(int resourceGroupType) -{ - resourceGroupType_ = resourceGroupType; - setParameter("ResourceGroupType", std::to_string(resourceGroupType)); -} - -std::string ListResourceGroupsRequest::getKeyword()const -{ - return keyword_; -} - -void ListResourceGroupsRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setParameter("Keyword", keyword); -} - diff --git a/dataworks-public/src/model/ListResourceGroupsResult.cc b/dataworks-public/src/model/ListResourceGroupsResult.cc deleted file mode 100644 index 62d83205e..000000000 --- a/dataworks-public/src/model/ListResourceGroupsResult.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListResourceGroupsResult::ListResourceGroupsResult() : - ServiceResult() -{} - -ListResourceGroupsResult::ListResourceGroupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListResourceGroupsResult::~ListResourceGroupsResult() -{} - -void ListResourceGroupsResult::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["Identifier"].isNull()) - dataObject.identifier = valueDataDataItem["Identifier"].asString(); - if(!valueDataDataItem["Cluster"].isNull()) - dataObject.cluster = valueDataDataItem["Cluster"].asString(); - if(!valueDataDataItem["BizExtKey"].isNull()) - dataObject.bizExtKey = valueDataDataItem["BizExtKey"].asString(); - if(!valueDataDataItem["EnableKp"].isNull()) - dataObject.enableKp = valueDataDataItem["EnableKp"].asString() == "true"; - if(!valueDataDataItem["UpdateTime"].isNull()) - dataObject.updateTime = valueDataDataItem["UpdateTime"].asString(); - if(!valueDataDataItem["ResourceGroupType"].isNull()) - dataObject.resourceGroupType = valueDataDataItem["ResourceGroupType"].asString(); - if(!valueDataDataItem["Mode"].isNull()) - dataObject.mode = valueDataDataItem["Mode"].asString(); - if(!valueDataDataItem["Sequence"].isNull()) - dataObject.sequence = std::stoi(valueDataDataItem["Sequence"].asString()); - if(!valueDataDataItem["IsDefault"].isNull()) - dataObject.isDefault = valueDataDataItem["IsDefault"].asString() == "true"; - if(!valueDataDataItem["CreateTime"].isNull()) - dataObject.createTime = valueDataDataItem["CreateTime"].asString(); - if(!valueDataDataItem["Name"].isNull()) - dataObject.name = valueDataDataItem["Name"].asString(); - if(!valueDataDataItem["TenantId"].isNull()) - dataObject.tenantId = std::stol(valueDataDataItem["TenantId"].asString()); - if(!valueDataDataItem["Id"].isNull()) - dataObject.id = std::stol(valueDataDataItem["Id"].asString()); - if(!valueDataDataItem["Status"].isNull()) - dataObject.status = std::stoi(valueDataDataItem["Status"].asString()); - if(!valueDataDataItem["Specs"].isNull()) - dataObject.specs = valueDataDataItem["Specs"].asString(); - data_.push_back(dataObject); - } - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListResourceGroupsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector ListResourceGroupsResult::getData()const -{ - return data_; -} - -bool ListResourceGroupsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListTableLevelRequest.cc b/dataworks-public/src/model/ListTableLevelRequest.cc deleted file mode 100644 index e02a99836..000000000 --- a/dataworks-public/src/model/ListTableLevelRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListTableLevelRequest; - -ListTableLevelRequest::ListTableLevelRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListTableLevel") -{ - setMethod(HttpRequest::Method::Get); -} - -ListTableLevelRequest::~ListTableLevelRequest() -{} - -int ListTableLevelRequest::getLevelType()const -{ - return levelType_; -} - -void ListTableLevelRequest::setLevelType(int levelType) -{ - levelType_ = levelType; - setParameter("LevelType", std::to_string(levelType)); -} - -long ListTableLevelRequest::getProjectId()const -{ - return projectId_; -} - -void ListTableLevelRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListTableLevelResult.cc b/dataworks-public/src/model/ListTableLevelResult.cc deleted file mode 100644 index 4a840d636..000000000 --- a/dataworks-public/src/model/ListTableLevelResult.cc +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListTableLevelResult::ListTableLevelResult() : - ServiceResult() -{} - -ListTableLevelResult::ListTableLevelResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTableLevelResult::~ListTableLevelResult() -{} - -void ListTableLevelResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto tableLevelInfoNode = value["TableLevelInfo"]; - if(!tableLevelInfoNode["TotalCount"].isNull()) - tableLevelInfo_.totalCount = std::stol(tableLevelInfoNode["TotalCount"].asString()); - auto allLevelListNode = tableLevelInfoNode["LevelList"]["LevelListItem"]; - for (auto tableLevelInfoNodeLevelListLevelListItem : allLevelListNode) - { - TableLevelInfo::LevelListItem levelListItemObject; - if(!tableLevelInfoNodeLevelListLevelListItem["LevelId"].isNull()) - levelListItemObject.levelId = std::stol(tableLevelInfoNodeLevelListLevelListItem["LevelId"].asString()); - if(!tableLevelInfoNodeLevelListLevelListItem["Name"].isNull()) - levelListItemObject.name = tableLevelInfoNodeLevelListLevelListItem["Name"].asString(); - if(!tableLevelInfoNodeLevelListLevelListItem["ProjectId"].isNull()) - levelListItemObject.projectId = std::stol(tableLevelInfoNodeLevelListLevelListItem["ProjectId"].asString()); - if(!tableLevelInfoNodeLevelListLevelListItem["LevelType"].isNull()) - levelListItemObject.levelType = std::stoi(tableLevelInfoNodeLevelListLevelListItem["LevelType"].asString()); - if(!tableLevelInfoNodeLevelListLevelListItem["Description"].isNull()) - levelListItemObject.description = tableLevelInfoNodeLevelListLevelListItem["Description"].asString(); - tableLevelInfo_.levelList.push_back(levelListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -ListTableLevelResult::TableLevelInfo ListTableLevelResult::getTableLevelInfo()const -{ - return tableLevelInfo_; -} - -int ListTableLevelResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string ListTableLevelResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListTableLevelResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListTableLevelResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListTablePartitionsRequest.cc b/dataworks-public/src/model/ListTablePartitionsRequest.cc new file mode 100644 index 000000000..4816985fb --- /dev/null +++ b/dataworks-public/src/model/ListTablePartitionsRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListTablePartitionsRequest; + +ListTablePartitionsRequest::ListTablePartitionsRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListTablePartitions") +{ + setMethod(HttpRequest::Method::Post); +} + +ListTablePartitionsRequest::~ListTablePartitionsRequest() +{} + +std::string ListTablePartitionsRequest::getDatabaseName()const +{ + return databaseName_; +} + +void ListTablePartitionsRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +int ListTablePartitionsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListTablePartitionsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListTablePartitionsRequest::getClusterId()const +{ + return clusterId_; +} + +void ListTablePartitionsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string ListTablePartitionsRequest::getSort()const +{ + return sort_; +} + +void ListTablePartitionsRequest::setSort(const std::string& sort) +{ + sort_ = sort; + setParameter("Sort", sort); +} + +std::string ListTablePartitionsRequest::getTableName()const +{ + return tableName_; +} + +void ListTablePartitionsRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + +int ListTablePartitionsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListTablePartitionsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListTablePartitionsRequest::getOrder()const +{ + return order_; +} + +void ListTablePartitionsRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + diff --git a/dataworks-public/src/model/ListTablePartitionsResult.cc b/dataworks-public/src/model/ListTablePartitionsResult.cc new file mode 100644 index 000000000..cbd408c7a --- /dev/null +++ b/dataworks-public/src/model/ListTablePartitionsResult.cc @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListTablePartitionsResult::ListTablePartitionsResult() : + ServiceResult() +{} + +ListTablePartitionsResult::ListTablePartitionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTablePartitionsResult::~ListTablePartitionsResult() +{} + +void ListTablePartitionsResult::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["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + auto allPagedDataNode = dataNode["PagedData"]["TablePartitions"]; + for (auto dataNodePagedDataTablePartitions : allPagedDataNode) + { + Data::TablePartitions tablePartitionsObject; + if(!dataNodePagedDataTablePartitions["GmtCreate"].isNull()) + tablePartitionsObject.gmtCreate = std::stol(dataNodePagedDataTablePartitions["GmtCreate"].asString()); + if(!dataNodePagedDataTablePartitions["GmtModified"].isNull()) + tablePartitionsObject.gmtModified = std::stol(dataNodePagedDataTablePartitions["GmtModified"].asString()); + if(!dataNodePagedDataTablePartitions["Location"].isNull()) + tablePartitionsObject.location = dataNodePagedDataTablePartitions["Location"].asString(); + if(!dataNodePagedDataTablePartitions["PartitionName"].isNull()) + tablePartitionsObject.partitionName = dataNodePagedDataTablePartitions["PartitionName"].asString(); + if(!dataNodePagedDataTablePartitions["PartitionPath"].isNull()) + tablePartitionsObject.partitionPath = dataNodePagedDataTablePartitions["PartitionPath"].asString(); + if(!dataNodePagedDataTablePartitions["PartitionType"].isNull()) + tablePartitionsObject.partitionType = dataNodePagedDataTablePartitions["PartitionType"].asString(); + if(!dataNodePagedDataTablePartitions["PartitionComment"].isNull()) + tablePartitionsObject.partitionComment = dataNodePagedDataTablePartitions["PartitionComment"].asString(); + data_.pagedData.push_back(tablePartitionsObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +ListTablePartitionsResult::Data ListTablePartitionsResult::getData()const +{ + return data_; +} + +std::string ListTablePartitionsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListTablePartitionsResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/ListTableThemeRequest.cc b/dataworks-public/src/model/ListTableThemeRequest.cc deleted file mode 100644 index 717b8814c..000000000 --- a/dataworks-public/src/model/ListTableThemeRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListTableThemeRequest; - -ListTableThemeRequest::ListTableThemeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListTableTheme") -{ - setMethod(HttpRequest::Method::Get); -} - -ListTableThemeRequest::~ListTableThemeRequest() -{} - -int ListTableThemeRequest::getPageSize()const -{ - return pageSize_; -} - -void ListTableThemeRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int ListTableThemeRequest::getPageNum()const -{ - return pageNum_; -} - -void ListTableThemeRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - -long ListTableThemeRequest::getProjectId()const -{ - return projectId_; -} - -void ListTableThemeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -long ListTableThemeRequest::getParentId()const -{ - return parentId_; -} - -void ListTableThemeRequest::setParentId(long parentId) -{ - parentId_ = parentId; - setParameter("ParentId", std::to_string(parentId)); -} - diff --git a/dataworks-public/src/model/ListTableThemeResult.cc b/dataworks-public/src/model/ListTableThemeResult.cc deleted file mode 100644 index bb20252f1..000000000 --- a/dataworks-public/src/model/ListTableThemeResult.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListTableThemeResult::ListTableThemeResult() : - ServiceResult() -{} - -ListTableThemeResult::ListTableThemeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTableThemeResult::~ListTableThemeResult() -{} - -void ListTableThemeResult::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["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allThemeListNode = dataNode["ThemeList"]["ThemeListItem"]; - for (auto dataNodeThemeListThemeListItem : allThemeListNode) - { - Data::ThemeListItem themeListItemObject; - if(!dataNodeThemeListThemeListItem["ThemeId"].isNull()) - themeListItemObject.themeId = std::stol(dataNodeThemeListThemeListItem["ThemeId"].asString()); - if(!dataNodeThemeListThemeListItem["Name"].isNull()) - themeListItemObject.name = dataNodeThemeListThemeListItem["Name"].asString(); - if(!dataNodeThemeListThemeListItem["Level"].isNull()) - themeListItemObject.level = std::stoi(dataNodeThemeListThemeListItem["Level"].asString()); - if(!dataNodeThemeListThemeListItem["ParentId"].isNull()) - themeListItemObject.parentId = std::stol(dataNodeThemeListThemeListItem["ParentId"].asString()); - if(!dataNodeThemeListThemeListItem["ProjectId"].isNull()) - themeListItemObject.projectId = std::stol(dataNodeThemeListThemeListItem["ProjectId"].asString()); - if(!dataNodeThemeListThemeListItem["Creator"].isNull()) - themeListItemObject.creator = dataNodeThemeListThemeListItem["Creator"].asString(); - if(!dataNodeThemeListThemeListItem["CreateTimeStamp"].isNull()) - themeListItemObject.createTimeStamp = std::stol(dataNodeThemeListThemeListItem["CreateTimeStamp"].asString()); - data_.themeList.push_back(themeListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListTableThemeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListTableThemeResult::Data ListTableThemeResult::getData()const -{ - return data_; -} - -std::string ListTableThemeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListTableThemeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListTableThemeResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListTopicsRequest.cc b/dataworks-public/src/model/ListTopicsRequest.cc deleted file mode 100644 index a1998cd8f..000000000 --- a/dataworks-public/src/model/ListTopicsRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListTopicsRequest; - -ListTopicsRequest::ListTopicsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListTopics") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTopicsRequest::~ListTopicsRequest() -{} - -std::string ListTopicsRequest::getOwner()const -{ - return owner_; -} - -void ListTopicsRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListTopicsRequest::getEndTime()const -{ - return endTime_; -} - -void ListTopicsRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", endTime); -} - -std::string ListTopicsRequest::getBeginTime()const -{ - return beginTime_; -} - -void ListTopicsRequest::setBeginTime(const std::string& beginTime) -{ - beginTime_ = beginTime; - setBodyParameter("BeginTime", beginTime); -} - -std::string ListTopicsRequest::getTopicStatuses()const -{ - return topicStatuses_; -} - -void ListTopicsRequest::setTopicStatuses(const std::string& topicStatuses) -{ - topicStatuses_ = topicStatuses; - setBodyParameter("TopicStatuses", topicStatuses); -} - -int ListTopicsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListTopicsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -long ListTopicsRequest::getInstanceId()const -{ - return instanceId_; -} - -void ListTopicsRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - -int ListTopicsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListTopicsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListTopicsRequest::getTopicTypes()const -{ - return topicTypes_; -} - -void ListTopicsRequest::setTopicTypes(const std::string& topicTypes) -{ - topicTypes_ = topicTypes; - setBodyParameter("TopicTypes", topicTypes); -} - -long ListTopicsRequest::getNodeId()const -{ - return nodeId_; -} - -void ListTopicsRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/ListTopicsResult.cc b/dataworks-public/src/model/ListTopicsResult.cc deleted file mode 100644 index 6960f3b67..000000000 --- a/dataworks-public/src/model/ListTopicsResult.cc +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListTopicsResult::ListTopicsResult() : - ServiceResult() -{} - -ListTopicsResult::ListTopicsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTopicsResult::~ListTopicsResult() -{} - -void ListTopicsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allTopicsNode = dataNode["Topics"]["TopicsItem"]; - for (auto dataNodeTopicsTopicsItem : allTopicsNode) - { - Data::TopicsItem topicsItemObject; - if(!dataNodeTopicsTopicsItem["TopicId"].isNull()) - topicsItemObject.topicId = std::stol(dataNodeTopicsTopicsItem["TopicId"].asString()); - if(!dataNodeTopicsTopicsItem["TopicName"].isNull()) - topicsItemObject.topicName = dataNodeTopicsTopicsItem["TopicName"].asString(); - if(!dataNodeTopicsTopicsItem["TopicStatus"].isNull()) - topicsItemObject.topicStatus = dataNodeTopicsTopicsItem["TopicStatus"].asString(); - if(!dataNodeTopicsTopicsItem["TopicType"].isNull()) - topicsItemObject.topicType = dataNodeTopicsTopicsItem["TopicType"].asString(); - if(!dataNodeTopicsTopicsItem["AddTime"].isNull()) - topicsItemObject.addTime = std::stol(dataNodeTopicsTopicsItem["AddTime"].asString()); - if(!dataNodeTopicsTopicsItem["HappenTime"].isNull()) - topicsItemObject.happenTime = std::stol(dataNodeTopicsTopicsItem["HappenTime"].asString()); - if(!dataNodeTopicsTopicsItem["FixTime"].isNull()) - topicsItemObject.fixTime = std::stol(dataNodeTopicsTopicsItem["FixTime"].asString()); - if(!dataNodeTopicsTopicsItem["InstanceId"].isNull()) - topicsItemObject.instanceId = std::stol(dataNodeTopicsTopicsItem["InstanceId"].asString()); - if(!dataNodeTopicsTopicsItem["NodeId"].isNull()) - topicsItemObject.nodeId = std::stol(dataNodeTopicsTopicsItem["NodeId"].asString()); - if(!dataNodeTopicsTopicsItem["NodeName"].isNull()) - topicsItemObject.nodeName = dataNodeTopicsTopicsItem["NodeName"].asString(); - if(!dataNodeTopicsTopicsItem["NodeOwner"].isNull()) - topicsItemObject.nodeOwner = dataNodeTopicsTopicsItem["NodeOwner"].asString(); - if(!dataNodeTopicsTopicsItem["ProjectId"].isNull()) - topicsItemObject.projectId = std::stol(dataNodeTopicsTopicsItem["ProjectId"].asString()); - data_.topics.push_back(topicsItemObject); - } - 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 ListTopicsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListTopicsResult::Data ListTopicsResult::getData()const -{ - return data_; -} - -std::string ListTopicsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListTopicsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListTopicsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteRemindRequest.cc b/dataworks-public/src/model/OpenDataWorksStandardServiceRequest.cc similarity index 52% rename from dataworks-public/src/model/DeleteRemindRequest.cc rename to dataworks-public/src/model/OpenDataWorksStandardServiceRequest.cc index d861e8e36..f55f3c56c 100644 --- a/dataworks-public/src/model/DeleteRemindRequest.cc +++ b/dataworks-public/src/model/OpenDataWorksStandardServiceRequest.cc @@ -14,27 +14,27 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Dataworks_public::Model::DeleteRemindRequest; +using AlibabaCloud::Dataworks_public::Model::OpenDataWorksStandardServiceRequest; -DeleteRemindRequest::DeleteRemindRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteRemind") +OpenDataWorksStandardServiceRequest::OpenDataWorksStandardServiceRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "OpenDataWorksStandardService") { setMethod(HttpRequest::Method::Post); } -DeleteRemindRequest::~DeleteRemindRequest() +OpenDataWorksStandardServiceRequest::~OpenDataWorksStandardServiceRequest() {} -long DeleteRemindRequest::getRemindId()const +std::string OpenDataWorksStandardServiceRequest::getRegion()const { - return remindId_; + return region_; } -void DeleteRemindRequest::setRemindId(long remindId) +void OpenDataWorksStandardServiceRequest::setRegion(const std::string& region) { - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); + region_ = region; + setParameter("Region", region); } diff --git a/dataworks-public/src/model/CreateDataServiceGroupResult.cc b/dataworks-public/src/model/OpenDataWorksStandardServiceResult.cc similarity index 62% rename from dataworks-public/src/model/CreateDataServiceGroupResult.cc rename to dataworks-public/src/model/OpenDataWorksStandardServiceResult.cc index af22978f4..f9a9a1c14 100644 --- a/dataworks-public/src/model/CreateDataServiceGroupResult.cc +++ b/dataworks-public/src/model/OpenDataWorksStandardServiceResult.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -CreateDataServiceGroupResult::CreateDataServiceGroupResult() : +OpenDataWorksStandardServiceResult::OpenDataWorksStandardServiceResult() : ServiceResult() {} -CreateDataServiceGroupResult::CreateDataServiceGroupResult(const std::string &payload) : +OpenDataWorksStandardServiceResult::OpenDataWorksStandardServiceResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateDataServiceGroupResult::~CreateDataServiceGroupResult() +OpenDataWorksStandardServiceResult::~OpenDataWorksStandardServiceResult() {} -void CreateDataServiceGroupResult::parse(const std::string &payload) +void OpenDataWorksStandardServiceResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["GroupId"].isNull()) - groupId_ = value["GroupId"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); } -std::string CreateDataServiceGroupResult::getGroupId()const +std::string OpenDataWorksStandardServiceResult::getOrderId()const { - return groupId_; + return orderId_; } diff --git a/dataworks-public/src/model/PublishDataServiceApiRequest.cc b/dataworks-public/src/model/PublishDataServiceApiRequest.cc deleted file mode 100644 index 5b92030f7..000000000 --- a/dataworks-public/src/model/PublishDataServiceApiRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::PublishDataServiceApiRequest; - -PublishDataServiceApiRequest::PublishDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "PublishDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -PublishDataServiceApiRequest::~PublishDataServiceApiRequest() -{} - -long PublishDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void PublishDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long PublishDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void PublishDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long PublishDataServiceApiRequest::getApiId()const -{ - return apiId_; -} - -void PublishDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/PublishDataServiceApiResult.cc b/dataworks-public/src/model/PublishDataServiceApiResult.cc deleted file mode 100644 index 5eefa2cbb..000000000 --- a/dataworks-public/src/model/PublishDataServiceApiResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -PublishDataServiceApiResult::PublishDataServiceApiResult() : - ServiceResult() -{} - -PublishDataServiceApiResult::PublishDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PublishDataServiceApiResult::~PublishDataServiceApiResult() -{} - -void PublishDataServiceApiResult::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["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int PublishDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool PublishDataServiceApiResult::getData()const -{ - return data_; -} - -std::string PublishDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string PublishDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool PublishDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetDDLJobStatusRequest.cc b/dataworks-public/src/model/QueryRealTimeProcessStatusRequest.cc similarity index 55% rename from dataworks-public/src/model/GetDDLJobStatusRequest.cc rename to dataworks-public/src/model/QueryRealTimeProcessStatusRequest.cc index 73863c498..565c49771 100644 --- a/dataworks-public/src/model/GetDDLJobStatusRequest.cc +++ b/dataworks-public/src/model/QueryRealTimeProcessStatusRequest.cc @@ -14,25 +14,25 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Dataworks_public::Model::GetDDLJobStatusRequest; +using AlibabaCloud::Dataworks_public::Model::QueryRealTimeProcessStatusRequest; -GetDDLJobStatusRequest::GetDDLJobStatusRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDDLJobStatus") +QueryRealTimeProcessStatusRequest::QueryRealTimeProcessStatusRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "QueryRealTimeProcessStatus") { - setMethod(HttpRequest::Method::Get); + setMethod(HttpRequest::Method::Post); } -GetDDLJobStatusRequest::~GetDDLJobStatusRequest() +QueryRealTimeProcessStatusRequest::~QueryRealTimeProcessStatusRequest() {} -std::string GetDDLJobStatusRequest::getTaskId()const +std::string QueryRealTimeProcessStatusRequest::getTaskId()const { return taskId_; } -void GetDDLJobStatusRequest::setTaskId(const std::string& taskId) +void QueryRealTimeProcessStatusRequest::setTaskId(const std::string& taskId) { taskId_ = taskId; setParameter("TaskId", taskId); diff --git a/dataworks-public/src/model/QueryRealTimeProcessStatusResult.cc b/dataworks-public/src/model/QueryRealTimeProcessStatusResult.cc new file mode 100644 index 000000000..050f78838 --- /dev/null +++ b/dataworks-public/src/model/QueryRealTimeProcessStatusResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +QueryRealTimeProcessStatusResult::QueryRealTimeProcessStatusResult() : + ServiceResult() +{} + +QueryRealTimeProcessStatusResult::QueryRealTimeProcessStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryRealTimeProcessStatusResult::~QueryRealTimeProcessStatusResult() +{} + +void QueryRealTimeProcessStatusResult::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["Status"].isNull()) + data_.status = dataNode["Status"].asString(); + if(!dataNode["TaskId"].isNull()) + data_.taskId = dataNode["TaskId"].asString(); + if(!dataNode["TaskUrl"].isNull()) + data_.taskUrl = dataNode["TaskUrl"].asString(); + if(!dataNode["Message"].isNull()) + data_.message = dataNode["Message"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + +} + +std::string QueryRealTimeProcessStatusResult::getMessage()const +{ + return message_; +} + +QueryRealTimeProcessStatusResult::Data QueryRealTimeProcessStatusResult::getData()const +{ + return data_; +} + +int QueryRealTimeProcessStatusResult::getCode()const +{ + return code_; +} + diff --git a/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc b/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc deleted file mode 100644 index 32444fcfc..000000000 --- a/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RemoveProjectMemberFromRoleRequest; - -RemoveProjectMemberFromRoleRequest::RemoveProjectMemberFromRoleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RemoveProjectMemberFromRole") -{ - setMethod(HttpRequest::Method::Post); -} - -RemoveProjectMemberFromRoleRequest::~RemoveProjectMemberFromRoleRequest() -{} - -std::string RemoveProjectMemberFromRoleRequest::getRoleCode()const -{ - return roleCode_; -} - -void RemoveProjectMemberFromRoleRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setParameter("RoleCode", roleCode); -} - -long RemoveProjectMemberFromRoleRequest::getProjectId()const -{ - return projectId_; -} - -void RemoveProjectMemberFromRoleRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -std::string RemoveProjectMemberFromRoleRequest::getUserId()const -{ - return userId_; -} - -void RemoveProjectMemberFromRoleRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/dataworks-public/src/model/RemoveProjectMemberFromRoleResult.cc b/dataworks-public/src/model/RemoveProjectMemberFromRoleResult.cc deleted file mode 100644 index efd4b3f5e..000000000 --- a/dataworks-public/src/model/RemoveProjectMemberFromRoleResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -RemoveProjectMemberFromRoleResult::RemoveProjectMemberFromRoleResult() : - ServiceResult() -{} - -RemoveProjectMemberFromRoleResult::RemoveProjectMemberFromRoleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RemoveProjectMemberFromRoleResult::~RemoveProjectMemberFromRoleResult() -{} - -void RemoveProjectMemberFromRoleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/dataworks-public/src/model/RestartInstanceRequest.cc b/dataworks-public/src/model/RestartInstanceRequest.cc deleted file mode 100644 index f6ef45132..000000000 --- a/dataworks-public/src/model/RestartInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RestartInstanceRequest; - -RestartInstanceRequest::RestartInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RestartInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -RestartInstanceRequest::~RestartInstanceRequest() -{} - -std::string RestartInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void RestartInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long RestartInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void RestartInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/RestartInstanceResult.cc b/dataworks-public/src/model/RestartInstanceResult.cc deleted file mode 100644 index e16b4961b..000000000 --- a/dataworks-public/src/model/RestartInstanceResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -RestartInstanceResult::RestartInstanceResult() : - ServiceResult() -{} - -RestartInstanceResult::RestartInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RestartInstanceResult::~RestartInstanceResult() -{} - -void RestartInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int RestartInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool RestartInstanceResult::getData()const -{ - return data_; -} - -std::string RestartInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string RestartInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool RestartInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ResumeInstanceRequest.cc b/dataworks-public/src/model/ResumeInstanceRequest.cc deleted file mode 100644 index 13aaf1a2a..000000000 --- a/dataworks-public/src/model/ResumeInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ResumeInstanceRequest; - -ResumeInstanceRequest::ResumeInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ResumeInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -ResumeInstanceRequest::~ResumeInstanceRequest() -{} - -std::string ResumeInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void ResumeInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long ResumeInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void ResumeInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/ResumeInstanceResult.cc b/dataworks-public/src/model/ResumeInstanceResult.cc deleted file mode 100644 index 36c5a3ce9..000000000 --- a/dataworks-public/src/model/ResumeInstanceResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ResumeInstanceResult::ResumeInstanceResult() : - ServiceResult() -{} - -ResumeInstanceResult::ResumeInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResumeInstanceResult::~ResumeInstanceResult() -{} - -void ResumeInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int ResumeInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool ResumeInstanceResult::getData()const -{ - return data_; -} - -std::string ResumeInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ResumeInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ResumeInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/RunTriggerNodeRequest.cc b/dataworks-public/src/model/RunTriggerNodeRequest.cc deleted file mode 100644 index a00326e53..000000000 --- a/dataworks-public/src/model/RunTriggerNodeRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RunTriggerNodeRequest; - -RunTriggerNodeRequest::RunTriggerNodeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RunTriggerNode") -{ - setMethod(HttpRequest::Method::Post); -} - -RunTriggerNodeRequest::~RunTriggerNodeRequest() -{} - -long RunTriggerNodeRequest::getBizDate()const -{ - return bizDate_; -} - -void RunTriggerNodeRequest::setBizDate(long bizDate) -{ - bizDate_ = bizDate; - setBodyParameter("BizDate", std::to_string(bizDate)); -} - -long RunTriggerNodeRequest::getAppId()const -{ - return appId_; -} - -void RunTriggerNodeRequest::setAppId(long appId) -{ - appId_ = appId; - setBodyParameter("AppId", std::to_string(appId)); -} - -long RunTriggerNodeRequest::getCycleTime()const -{ - return cycleTime_; -} - -void RunTriggerNodeRequest::setCycleTime(long cycleTime) -{ - cycleTime_ = cycleTime; - setBodyParameter("CycleTime", std::to_string(cycleTime)); -} - -long RunTriggerNodeRequest::getNodeId()const -{ - return nodeId_; -} - -void RunTriggerNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/RunTriggerNodeResult.cc b/dataworks-public/src/model/RunTriggerNodeResult.cc deleted file mode 100644 index 0c33f9e8a..000000000 --- a/dataworks-public/src/model/RunTriggerNodeResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -RunTriggerNodeResult::RunTriggerNodeResult() : - ServiceResult() -{} - -RunTriggerNodeResult::RunTriggerNodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RunTriggerNodeResult::~RunTriggerNodeResult() -{} - -void RunTriggerNodeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -bool RunTriggerNodeResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ScanSensitiveDataRequest.cc b/dataworks-public/src/model/ScanSensitiveDataRequest.cc deleted file mode 100644 index 664b6c5d1..000000000 --- a/dataworks-public/src/model/ScanSensitiveDataRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ScanSensitiveDataRequest; - -ScanSensitiveDataRequest::ScanSensitiveDataRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ScanSensitiveData") -{ - setMethod(HttpRequest::Method::Get); -} - -ScanSensitiveDataRequest::~ScanSensitiveDataRequest() -{} - -std::string ScanSensitiveDataRequest::getData()const -{ - return data_; -} - -void ScanSensitiveDataRequest::setData(const std::string& data) -{ - data_ = data; - setParameter("Data", data); -} - diff --git a/dataworks-public/src/model/ScanSensitiveDataResult.cc b/dataworks-public/src/model/ScanSensitiveDataResult.cc deleted file mode 100644 index 71fdb0bea..000000000 --- a/dataworks-public/src/model/ScanSensitiveDataResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ScanSensitiveDataResult::ScanSensitiveDataResult() : - ServiceResult() -{} - -ScanSensitiveDataResult::ScanSensitiveDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ScanSensitiveDataResult::~ScanSensitiveDataResult() -{} - -void ScanSensitiveDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Sensitives"].isNull()) - sensitives_ = value["Sensitives"].asString(); - -} - -std::string ScanSensitiveDataResult::getSensitives()const -{ - return sensitives_; -} - diff --git a/dataworks-public/src/model/SearchManualDagNodeInstanceRequest.cc b/dataworks-public/src/model/SearchManualDagNodeInstanceRequest.cc new file mode 100644 index 000000000..31081378f --- /dev/null +++ b/dataworks-public/src/model/SearchManualDagNodeInstanceRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::SearchManualDagNodeInstanceRequest; + +SearchManualDagNodeInstanceRequest::SearchManualDagNodeInstanceRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "SearchManualDagNodeInstance") +{ + setMethod(HttpRequest::Method::Post); +} + +SearchManualDagNodeInstanceRequest::~SearchManualDagNodeInstanceRequest() +{} + +std::string SearchManualDagNodeInstanceRequest::getProjectName()const +{ + return projectName_; +} + +void SearchManualDagNodeInstanceRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setParameter("ProjectName", projectName); +} + +long SearchManualDagNodeInstanceRequest::getDagId()const +{ + return dagId_; +} + +void SearchManualDagNodeInstanceRequest::setDagId(long dagId) +{ + dagId_ = dagId; + setParameter("DagId", std::to_string(dagId)); +} + diff --git a/dataworks-public/src/model/SearchManualDagNodeInstanceResult.cc b/dataworks-public/src/model/SearchManualDagNodeInstanceResult.cc new file mode 100644 index 000000000..bf8e34388 --- /dev/null +++ b/dataworks-public/src/model/SearchManualDagNodeInstanceResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +SearchManualDagNodeInstanceResult::SearchManualDagNodeInstanceResult() : + ServiceResult() +{} + +SearchManualDagNodeInstanceResult::SearchManualDagNodeInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SearchManualDagNodeInstanceResult::~SearchManualDagNodeInstanceResult() +{} + +void SearchManualDagNodeInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["NodeInsInfo"]; + for (auto valueDataNodeInsInfo : allDataNode) + { + NodeInsInfo dataObject; + if(!valueDataNodeInsInfo["InstanceId"].isNull()) + dataObject.instanceId = std::stol(valueDataNodeInsInfo["InstanceId"].asString()); + if(!valueDataNodeInsInfo["DagId"].isNull()) + dataObject.dagId = std::stol(valueDataNodeInsInfo["DagId"].asString()); + if(!valueDataNodeInsInfo["DagType"].isNull()) + dataObject.dagType = std::stoi(valueDataNodeInsInfo["DagType"].asString()); + if(!valueDataNodeInsInfo["Status"].isNull()) + dataObject.status = std::stoi(valueDataNodeInsInfo["Status"].asString()); + if(!valueDataNodeInsInfo["Bizdate"].isNull()) + dataObject.bizdate = valueDataNodeInsInfo["Bizdate"].asString(); + if(!valueDataNodeInsInfo["ParaValue"].isNull()) + dataObject.paraValue = valueDataNodeInsInfo["ParaValue"].asString(); + if(!valueDataNodeInsInfo["FinishTime"].isNull()) + dataObject.finishTime = valueDataNodeInsInfo["FinishTime"].asString(); + if(!valueDataNodeInsInfo["BeginWaitTimeTime"].isNull()) + dataObject.beginWaitTimeTime = valueDataNodeInsInfo["BeginWaitTimeTime"].asString(); + if(!valueDataNodeInsInfo["BeginWaitResTime"].isNull()) + dataObject.beginWaitResTime = valueDataNodeInsInfo["BeginWaitResTime"].asString(); + if(!valueDataNodeInsInfo["BeginRunningTime"].isNull()) + dataObject.beginRunningTime = valueDataNodeInsInfo["BeginRunningTime"].asString(); + if(!valueDataNodeInsInfo["CreateTime"].isNull()) + dataObject.createTime = valueDataNodeInsInfo["CreateTime"].asString(); + if(!valueDataNodeInsInfo["ModifyTime"].isNull()) + dataObject.modifyTime = valueDataNodeInsInfo["ModifyTime"].asString(); + if(!valueDataNodeInsInfo["NodeName"].isNull()) + dataObject.nodeName = valueDataNodeInsInfo["NodeName"].asString(); + data_.push_back(dataObject); + } + if(!value["ErrCode"].isNull()) + errCode_ = value["ErrCode"].asString(); + if(!value["ErrMsg"].isNull()) + errMsg_ = value["ErrMsg"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string SearchManualDagNodeInstanceResult::getErrMsg()const +{ + return errMsg_; +} + +std::vector SearchManualDagNodeInstanceResult::getData()const +{ + return data_; +} + +bool SearchManualDagNodeInstanceResult::getSuccess()const +{ + return success_; +} + +std::string SearchManualDagNodeInstanceResult::getErrCode()const +{ + return errCode_; +} + diff --git a/dataworks-public/src/model/SearchMetaTablesRequest.cc b/dataworks-public/src/model/SearchMetaTablesRequest.cc deleted file mode 100644 index 14b63c498..000000000 --- a/dataworks-public/src/model/SearchMetaTablesRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SearchMetaTablesRequest; - -SearchMetaTablesRequest::SearchMetaTablesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SearchMetaTables") -{ - setMethod(HttpRequest::Method::Post); -} - -SearchMetaTablesRequest::~SearchMetaTablesRequest() -{} - -std::string SearchMetaTablesRequest::getDataSourceType()const -{ - return dataSourceType_; -} - -void SearchMetaTablesRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); -} - -std::string SearchMetaTablesRequest::getClusterId()const -{ - return clusterId_; -} - -void SearchMetaTablesRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -int SearchMetaTablesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void SearchMetaTablesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -int SearchMetaTablesRequest::getEntityType()const -{ - return entityType_; -} - -void SearchMetaTablesRequest::setEntityType(int entityType) -{ - entityType_ = entityType; - setParameter("EntityType", std::to_string(entityType)); -} - -int SearchMetaTablesRequest::getPageSize()const -{ - return pageSize_; -} - -void SearchMetaTablesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string SearchMetaTablesRequest::getAppGuid()const -{ - return appGuid_; -} - -void SearchMetaTablesRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); -} - -std::string SearchMetaTablesRequest::getKeyword()const -{ - return keyword_; -} - -void SearchMetaTablesRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setParameter("Keyword", keyword); -} - diff --git a/dataworks-public/src/model/SearchMetaTablesResult.cc b/dataworks-public/src/model/SearchMetaTablesResult.cc deleted file mode 100644 index 233273f45..000000000 --- a/dataworks-public/src/model/SearchMetaTablesResult.cc +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -SearchMetaTablesResult::SearchMetaTablesResult() : - ServiceResult() -{} - -SearchMetaTablesResult::SearchMetaTablesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SearchMetaTablesResult::~SearchMetaTablesResult() -{} - -void SearchMetaTablesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["TableName"].isNull()) - dataEntityListItemObject.tableName = dataNodeDataEntityListDataEntityListItem["TableName"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["TableGuid"].isNull()) - dataEntityListItemObject.tableGuid = dataNodeDataEntityListDataEntityListItem["TableGuid"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["OwnerId"].isNull()) - dataEntityListItemObject.ownerId = dataNodeDataEntityListDataEntityListItem["OwnerId"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["TenantId"].isNull()) - dataEntityListItemObject.tenantId = std::stol(dataNodeDataEntityListDataEntityListItem["TenantId"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["EnvType"].isNull()) - dataEntityListItemObject.envType = std::stoi(dataNodeDataEntityListDataEntityListItem["EnvType"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["EntityType"].isNull()) - dataEntityListItemObject.entityType = std::stoi(dataNodeDataEntityListDataEntityListItem["EntityType"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["ProjectId"].isNull()) - dataEntityListItemObject.projectId = std::stol(dataNodeDataEntityListDataEntityListItem["ProjectId"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["ProjectName"].isNull()) - dataEntityListItemObject.projectName = dataNodeDataEntityListDataEntityListItem["ProjectName"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ClusterId"].isNull()) - dataEntityListItemObject.clusterId = dataNodeDataEntityListDataEntityListItem["ClusterId"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["DatabaseName"].isNull()) - dataEntityListItemObject.databaseName = dataNodeDataEntityListDataEntityListItem["DatabaseName"].asString(); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int SearchMetaTablesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -SearchMetaTablesResult::Data SearchMetaTablesResult::getData()const -{ - return data_; -} - -std::string SearchMetaTablesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string SearchMetaTablesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool SearchMetaTablesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/SearchNodesByOutputRequest.cc b/dataworks-public/src/model/SearchNodesByOutputRequest.cc deleted file mode 100644 index e830a27a3..000000000 --- a/dataworks-public/src/model/SearchNodesByOutputRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SearchNodesByOutputRequest; - -SearchNodesByOutputRequest::SearchNodesByOutputRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SearchNodesByOutput") -{ - setMethod(HttpRequest::Method::Post); -} - -SearchNodesByOutputRequest::~SearchNodesByOutputRequest() -{} - -std::string SearchNodesByOutputRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void SearchNodesByOutputRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -std::string SearchNodesByOutputRequest::getOutputs()const -{ - return outputs_; -} - -void SearchNodesByOutputRequest::setOutputs(const std::string& outputs) -{ - outputs_ = outputs; - setBodyParameter("Outputs", outputs); -} - diff --git a/dataworks-public/src/model/SearchNodesByOutputResult.cc b/dataworks-public/src/model/SearchNodesByOutputResult.cc deleted file mode 100644 index afc887de7..000000000 --- a/dataworks-public/src/model/SearchNodesByOutputResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -SearchNodesByOutputResult::SearchNodesByOutputResult() : - ServiceResult() -{} - -SearchNodesByOutputResult::SearchNodesByOutputResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SearchNodesByOutputResult::~SearchNodesByOutputResult() -{} - -void SearchNodesByOutputResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -int SearchNodesByOutputResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string SearchNodesByOutputResult::getData()const -{ - return data_; -} - -std::string SearchNodesByOutputResult::getErrorCode()const -{ - return errorCode_; -} - -std::string SearchNodesByOutputResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool SearchNodesByOutputResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/SetSuccessInstanceRequest.cc b/dataworks-public/src/model/SetSuccessInstanceRequest.cc deleted file mode 100644 index 891e4c40a..000000000 --- a/dataworks-public/src/model/SetSuccessInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SetSuccessInstanceRequest; - -SetSuccessInstanceRequest::SetSuccessInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SetSuccessInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -SetSuccessInstanceRequest::~SetSuccessInstanceRequest() -{} - -std::string SetSuccessInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void SetSuccessInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long SetSuccessInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void SetSuccessInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/SetSuccessInstanceResult.cc b/dataworks-public/src/model/SetSuccessInstanceResult.cc deleted file mode 100644 index 6d272cd9e..000000000 --- a/dataworks-public/src/model/SetSuccessInstanceResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -SetSuccessInstanceResult::SetSuccessInstanceResult() : - ServiceResult() -{} - -SetSuccessInstanceResult::SetSuccessInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetSuccessInstanceResult::~SetSuccessInstanceResult() -{} - -void SetSuccessInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int SetSuccessInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool SetSuccessInstanceResult::getData()const -{ - return data_; -} - -std::string SetSuccessInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string SetSuccessInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool SetSuccessInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/StopInstanceRequest.cc b/dataworks-public/src/model/StopInstanceRequest.cc deleted file mode 100644 index 1c9d99312..000000000 --- a/dataworks-public/src/model/StopInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::StopInstanceRequest; - -StopInstanceRequest::StopInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "StopInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -StopInstanceRequest::~StopInstanceRequest() -{} - -std::string StopInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void StopInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long StopInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void StopInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/StopInstanceResult.cc b/dataworks-public/src/model/StopInstanceResult.cc deleted file mode 100644 index 8681ede28..000000000 --- a/dataworks-public/src/model/StopInstanceResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -StopInstanceResult::StopInstanceResult() : - ServiceResult() -{} - -StopInstanceResult::StopInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StopInstanceResult::~StopInstanceResult() -{} - -void StopInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int StopInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool StopInstanceResult::getData()const -{ - return data_; -} - -std::string StopInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string StopInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool StopInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/SubmitFileRequest.cc b/dataworks-public/src/model/SubmitFileRequest.cc deleted file mode 100644 index 05f7520ad..000000000 --- a/dataworks-public/src/model/SubmitFileRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SubmitFileRequest; - -SubmitFileRequest::SubmitFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SubmitFile") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitFileRequest::~SubmitFileRequest() -{} - -std::string SubmitFileRequest::getComment()const -{ - return comment_; -} - -void SubmitFileRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -long SubmitFileRequest::getProjectId()const -{ - return projectId_; -} - -void SubmitFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string SubmitFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void SubmitFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -long SubmitFileRequest::getFileId()const -{ - return fileId_; -} - -void SubmitFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - diff --git a/dataworks-public/src/model/SubmitFileResult.cc b/dataworks-public/src/model/SubmitFileResult.cc deleted file mode 100644 index 1cd263565..000000000 --- a/dataworks-public/src/model/SubmitFileResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -SubmitFileResult::SubmitFileResult() : - ServiceResult() -{} - -SubmitFileResult::SubmitFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitFileResult::~SubmitFileResult() -{} - -void SubmitFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int SubmitFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long SubmitFileResult::getData()const -{ - return data_; -} - -std::string SubmitFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string SubmitFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool SubmitFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/SuspendInstanceRequest.cc b/dataworks-public/src/model/SuspendInstanceRequest.cc deleted file mode 100644 index 10561e45d..000000000 --- a/dataworks-public/src/model/SuspendInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SuspendInstanceRequest; - -SuspendInstanceRequest::SuspendInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SuspendInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -SuspendInstanceRequest::~SuspendInstanceRequest() -{} - -std::string SuspendInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void SuspendInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long SuspendInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void SuspendInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/SuspendInstanceResult.cc b/dataworks-public/src/model/SuspendInstanceResult.cc deleted file mode 100644 index d506c8382..000000000 --- a/dataworks-public/src/model/SuspendInstanceResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -SuspendInstanceResult::SuspendInstanceResult() : - ServiceResult() -{} - -SuspendInstanceResult::SuspendInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SuspendInstanceResult::~SuspendInstanceResult() -{} - -void SuspendInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int SuspendInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool SuspendInstanceResult::getData()const -{ - return data_; -} - -std::string SuspendInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string SuspendInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool SuspendInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateBusinessRequest.cc b/dataworks-public/src/model/UpdateBusinessRequest.cc deleted file mode 100644 index 347ff0dfb..000000000 --- a/dataworks-public/src/model/UpdateBusinessRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateBusinessRequest; - -UpdateBusinessRequest::UpdateBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateBusinessRequest::~UpdateBusinessRequest() -{} - -std::string UpdateBusinessRequest::getOwner()const -{ - return owner_; -} - -void UpdateBusinessRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -long UpdateBusinessRequest::getBusinessId()const -{ - return businessId_; -} - -void UpdateBusinessRequest::setBusinessId(long businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", std::to_string(businessId)); -} - -std::string UpdateBusinessRequest::getBusinessName()const -{ - return businessName_; -} - -void UpdateBusinessRequest::setBusinessName(const std::string& businessName) -{ - businessName_ = businessName; - setBodyParameter("BusinessName", businessName); -} - -std::string UpdateBusinessRequest::getDescription()const -{ - return description_; -} - -void UpdateBusinessRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); -} - -long UpdateBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string UpdateBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void UpdateBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/UpdateBusinessResult.cc b/dataworks-public/src/model/UpdateBusinessResult.cc deleted file mode 100644 index 9acf07629..000000000 --- a/dataworks-public/src/model/UpdateBusinessResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateBusinessResult::UpdateBusinessResult() : - ServiceResult() -{} - -UpdateBusinessResult::UpdateBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateBusinessResult::~UpdateBusinessResult() -{} - -void UpdateBusinessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string UpdateBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateBusinessResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateConnectionRequest.cc b/dataworks-public/src/model/UpdateConnectionRequest.cc deleted file mode 100644 index 880cd84fc..000000000 --- a/dataworks-public/src/model/UpdateConnectionRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateConnectionRequest; - -UpdateConnectionRequest::UpdateConnectionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateConnection") -{ - setMethod(HttpRequest::Method::Put); -} - -UpdateConnectionRequest::~UpdateConnectionRequest() -{} - -int UpdateConnectionRequest::getEnvType()const -{ - return envType_; -} - -void UpdateConnectionRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); -} - -std::string UpdateConnectionRequest::getDescription()const -{ - return description_; -} - -void UpdateConnectionRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -long UpdateConnectionRequest::getConnectionId()const -{ - return connectionId_; -} - -void UpdateConnectionRequest::setConnectionId(long connectionId) -{ - connectionId_ = connectionId; - setParameter("ConnectionId", std::to_string(connectionId)); -} - -std::string UpdateConnectionRequest::getContent()const -{ - return content_; -} - -void UpdateConnectionRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); -} - -std::string UpdateConnectionRequest::getStatus()const -{ - return status_; -} - -void UpdateConnectionRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/dataworks-public/src/model/UpdateConnectionResult.cc b/dataworks-public/src/model/UpdateConnectionResult.cc deleted file mode 100644 index 34106f32c..000000000 --- a/dataworks-public/src/model/UpdateConnectionResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateConnectionResult::UpdateConnectionResult() : - ServiceResult() -{} - -UpdateConnectionResult::UpdateConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateConnectionResult::~UpdateConnectionResult() -{} - -void UpdateConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = value["HttpStatusCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -std::string UpdateConnectionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateConnectionResult::getData()const -{ - return data_; -} - -bool UpdateConnectionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateDataServiceApiRequest.cc b/dataworks-public/src/model/UpdateDataServiceApiRequest.cc deleted file mode 100644 index af33434c6..000000000 --- a/dataworks-public/src/model/UpdateDataServiceApiRequest.cc +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateDataServiceApiRequest; - -UpdateDataServiceApiRequest::UpdateDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDataServiceApiRequest::~UpdateDataServiceApiRequest() -{} - -std::string UpdateDataServiceApiRequest::getScriptDetails()const -{ - return scriptDetails_; -} - -void UpdateDataServiceApiRequest::setScriptDetails(const std::string& scriptDetails) -{ - scriptDetails_ = scriptDetails; - setBodyParameter("ScriptDetails", scriptDetails); -} - -int UpdateDataServiceApiRequest::getRequestMethod()const -{ - return requestMethod_; -} - -void UpdateDataServiceApiRequest::setRequestMethod(int requestMethod) -{ - requestMethod_ = requestMethod; - setBodyParameter("RequestMethod", std::to_string(requestMethod)); -} - -std::string UpdateDataServiceApiRequest::getApiPath()const -{ - return apiPath_; -} - -void UpdateDataServiceApiRequest::setApiPath(const std::string& apiPath) -{ - apiPath_ = apiPath; - setBodyParameter("ApiPath", apiPath); -} - -std::string UpdateDataServiceApiRequest::getWizardDetails()const -{ - return wizardDetails_; -} - -void UpdateDataServiceApiRequest::setWizardDetails(const std::string& wizardDetails) -{ - wizardDetails_ = wizardDetails; - setBodyParameter("WizardDetails", wizardDetails); -} - -int UpdateDataServiceApiRequest::getVisibleRange()const -{ - return visibleRange_; -} - -void UpdateDataServiceApiRequest::setVisibleRange(int visibleRange) -{ - visibleRange_ = visibleRange; - setBodyParameter("VisibleRange", std::to_string(visibleRange)); -} - -std::string UpdateDataServiceApiRequest::getApiDescription()const -{ - return apiDescription_; -} - -void UpdateDataServiceApiRequest::setApiDescription(const std::string& apiDescription) -{ - apiDescription_ = apiDescription; - setBodyParameter("ApiDescription", apiDescription); -} - -int UpdateDataServiceApiRequest::getTimeout()const -{ - return timeout_; -} - -void UpdateDataServiceApiRequest::setTimeout(int timeout) -{ - timeout_ = timeout; - setBodyParameter("Timeout", std::to_string(timeout)); -} - -std::string UpdateDataServiceApiRequest::getRegistrationDetails()const -{ - return registrationDetails_; -} - -void UpdateDataServiceApiRequest::setRegistrationDetails(const std::string& registrationDetails) -{ - registrationDetails_ = registrationDetails; - setBodyParameter("RegistrationDetails", registrationDetails); -} - -long UpdateDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void UpdateDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -std::string UpdateDataServiceApiRequest::getProtocols()const -{ - return protocols_; -} - -void UpdateDataServiceApiRequest::setProtocols(const std::string& protocols) -{ - protocols_ = protocols; - setBodyParameter("Protocols", protocols); -} - -long UpdateDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long UpdateDataServiceApiRequest::getApiId()const -{ - return apiId_; -} - -void UpdateDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - -int UpdateDataServiceApiRequest::getResponseContentType()const -{ - return responseContentType_; -} - -void UpdateDataServiceApiRequest::setResponseContentType(int responseContentType) -{ - responseContentType_ = responseContentType; - setBodyParameter("ResponseContentType", std::to_string(responseContentType)); -} - diff --git a/dataworks-public/src/model/UpdateDataServiceApiResult.cc b/dataworks-public/src/model/UpdateDataServiceApiResult.cc deleted file mode 100644 index 6fde2e22a..000000000 --- a/dataworks-public/src/model/UpdateDataServiceApiResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateDataServiceApiResult::UpdateDataServiceApiResult() : - ServiceResult() -{} - -UpdateDataServiceApiResult::UpdateDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateDataServiceApiResult::~UpdateDataServiceApiResult() -{} - -void UpdateDataServiceApiResult::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["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int UpdateDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateDataServiceApiResult::getData()const -{ - return data_; -} - -std::string UpdateDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateFileRequest.cc b/dataworks-public/src/model/UpdateFileRequest.cc deleted file mode 100644 index c9afd9138..000000000 --- a/dataworks-public/src/model/UpdateFileRequest.cc +++ /dev/null @@ -1,282 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateFileRequest; - -UpdateFileRequest::UpdateFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateFile") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateFileRequest::~UpdateFileRequest() -{} - -std::string UpdateFileRequest::getOutputList()const -{ - return outputList_; -} - -void UpdateFileRequest::setOutputList(const std::string& outputList) -{ - outputList_ = outputList; - setBodyParameter("OutputList", outputList); -} - -std::string UpdateFileRequest::getDependentNodeIdList()const -{ - return dependentNodeIdList_; -} - -void UpdateFileRequest::setDependentNodeIdList(const std::string& dependentNodeIdList) -{ - dependentNodeIdList_ = dependentNodeIdList; - setBodyParameter("DependentNodeIdList", dependentNodeIdList); -} - -std::string UpdateFileRequest::getContent()const -{ - return content_; -} - -void UpdateFileRequest::setContent(const std::string& content) -{ - content_ = content; - setBodyParameter("Content", content); -} - -std::string UpdateFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void UpdateFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -long UpdateFileRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long UpdateFileRequest::getStartEffectDate()const -{ - return startEffectDate_; -} - -void UpdateFileRequest::setStartEffectDate(long startEffectDate) -{ - startEffectDate_ = startEffectDate; - setBodyParameter("StartEffectDate", std::to_string(startEffectDate)); -} - -std::string UpdateFileRequest::getCycleType()const -{ - return cycleType_; -} - -void UpdateFileRequest::setCycleType(const std::string& cycleType) -{ - cycleType_ = cycleType; - setBodyParameter("CycleType", cycleType); -} - -long UpdateFileRequest::getFileId()const -{ - return fileId_; -} - -void UpdateFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - -int UpdateFileRequest::getAutoRerunIntervalMillis()const -{ - return autoRerunIntervalMillis_; -} - -void UpdateFileRequest::setAutoRerunIntervalMillis(int autoRerunIntervalMillis) -{ - autoRerunIntervalMillis_ = autoRerunIntervalMillis; - setBodyParameter("AutoRerunIntervalMillis", std::to_string(autoRerunIntervalMillis)); -} - -std::string UpdateFileRequest::getOwner()const -{ - return owner_; -} - -void UpdateFileRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string UpdateFileRequest::getInputList()const -{ - return inputList_; -} - -void UpdateFileRequest::setInputList(const std::string& inputList) -{ - inputList_ = inputList; - setBodyParameter("InputList", inputList); -} - -std::string UpdateFileRequest::getRerunMode()const -{ - return rerunMode_; -} - -void UpdateFileRequest::setRerunMode(const std::string& rerunMode) -{ - rerunMode_ = rerunMode; - setBodyParameter("RerunMode", rerunMode); -} - -std::string UpdateFileRequest::getConnectionName()const -{ - return connectionName_; -} - -void UpdateFileRequest::setConnectionName(const std::string& connectionName) -{ - connectionName_ = connectionName; - setBodyParameter("ConnectionName", connectionName); -} - -std::string UpdateFileRequest::getParaValue()const -{ - return paraValue_; -} - -void UpdateFileRequest::setParaValue(const std::string& paraValue) -{ - paraValue_ = paraValue; - setBodyParameter("ParaValue", paraValue); -} - -std::string UpdateFileRequest::getResourceGroupIdentifier()const -{ - return resourceGroupIdentifier_; -} - -void UpdateFileRequest::setResourceGroupIdentifier(const std::string& resourceGroupIdentifier) -{ - resourceGroupIdentifier_ = resourceGroupIdentifier; - setBodyParameter("ResourceGroupIdentifier", resourceGroupIdentifier); -} - -int UpdateFileRequest::getAutoRerunTimes()const -{ - return autoRerunTimes_; -} - -void UpdateFileRequest::setAutoRerunTimes(int autoRerunTimes) -{ - autoRerunTimes_ = autoRerunTimes; - setBodyParameter("AutoRerunTimes", std::to_string(autoRerunTimes)); -} - -std::string UpdateFileRequest::getCronExpress()const -{ - return cronExpress_; -} - -void UpdateFileRequest::setCronExpress(const std::string& cronExpress) -{ - cronExpress_ = cronExpress; - setBodyParameter("CronExpress", cronExpress); -} - -long UpdateFileRequest::getEndEffectDate()const -{ - return endEffectDate_; -} - -void UpdateFileRequest::setEndEffectDate(long endEffectDate) -{ - endEffectDate_ = endEffectDate; - setBodyParameter("EndEffectDate", std::to_string(endEffectDate)); -} - -std::string UpdateFileRequest::getFileName()const -{ - return fileName_; -} - -void UpdateFileRequest::setFileName(const std::string& fileName) -{ - fileName_ = fileName; - setBodyParameter("FileName", fileName); -} - -bool UpdateFileRequest::getStop()const -{ - return stop_; -} - -void UpdateFileRequest::setStop(bool stop) -{ - stop_ = stop; - setBodyParameter("Stop", stop ? "true" : "false"); -} - -std::string UpdateFileRequest::getDependentType()const -{ - return dependentType_; -} - -void UpdateFileRequest::setDependentType(const std::string& dependentType) -{ - dependentType_ = dependentType; - setBodyParameter("DependentType", dependentType); -} - -std::string UpdateFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; -} - -void UpdateFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); -} - -std::string UpdateFileRequest::getFileDescription()const -{ - return fileDescription_; -} - -void UpdateFileRequest::setFileDescription(const std::string& fileDescription) -{ - fileDescription_ = fileDescription; - setBodyParameter("FileDescription", fileDescription); -} - diff --git a/dataworks-public/src/model/UpdateFileResult.cc b/dataworks-public/src/model/UpdateFileResult.cc deleted file mode 100644 index 042144f44..000000000 --- a/dataworks-public/src/model/UpdateFileResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateFileResult::UpdateFileResult() : - ServiceResult() -{} - -UpdateFileResult::UpdateFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateFileResult::~UpdateFileResult() -{} - -void UpdateFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string UpdateFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateFolderRequest.cc b/dataworks-public/src/model/UpdateFolderRequest.cc deleted file mode 100644 index fd8720be3..000000000 --- a/dataworks-public/src/model/UpdateFolderRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateFolderRequest; - -UpdateFolderRequest::UpdateFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateFolderRequest::~UpdateFolderRequest() -{} - -std::string UpdateFolderRequest::getFolderName()const -{ - return folderName_; -} - -void UpdateFolderRequest::setFolderName(const std::string& folderName) -{ - folderName_ = folderName; - setBodyParameter("FolderName", folderName); -} - -long UpdateFolderRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string UpdateFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void UpdateFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string UpdateFolderRequest::getFolderId()const -{ - return folderId_; -} - -void UpdateFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); -} - diff --git a/dataworks-public/src/model/UpdateFolderResult.cc b/dataworks-public/src/model/UpdateFolderResult.cc deleted file mode 100644 index 0fa8df4e6..000000000 --- a/dataworks-public/src/model/UpdateFolderResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateFolderResult::UpdateFolderResult() : - ServiceResult() -{} - -UpdateFolderResult::UpdateFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateFolderResult::~UpdateFolderResult() -{} - -void UpdateFolderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateFolderResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string UpdateFolderResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateFolderResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateFolderResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateMetaCategoryRequest.cc b/dataworks-public/src/model/UpdateMetaCategoryRequest.cc deleted file mode 100644 index 46244ed3f..000000000 --- a/dataworks-public/src/model/UpdateMetaCategoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateMetaCategoryRequest; - -UpdateMetaCategoryRequest::UpdateMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateMetaCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateMetaCategoryRequest::~UpdateMetaCategoryRequest() -{} - -std::string UpdateMetaCategoryRequest::getName()const -{ - return name_; -} - -void UpdateMetaCategoryRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string UpdateMetaCategoryRequest::getComment()const -{ - return comment_; -} - -void UpdateMetaCategoryRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -long UpdateMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void UpdateMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setBodyParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/UpdateMetaCategoryResult.cc b/dataworks-public/src/model/UpdateMetaCategoryResult.cc deleted file mode 100644 index febf733a4..000000000 --- a/dataworks-public/src/model/UpdateMetaCategoryResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateMetaCategoryResult::UpdateMetaCategoryResult() : - ServiceResult() -{} - -UpdateMetaCategoryResult::UpdateMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateMetaCategoryResult::~UpdateMetaCategoryResult() -{} - -void UpdateMetaCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int UpdateMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateMetaCategoryResult::getData()const -{ - return data_; -} - -std::string UpdateMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateMetaTableIntroWikiRequest.cc b/dataworks-public/src/model/UpdateMetaTableIntroWikiRequest.cc deleted file mode 100644 index 76dd592a4..000000000 --- a/dataworks-public/src/model/UpdateMetaTableIntroWikiRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateMetaTableIntroWikiRequest; - -UpdateMetaTableIntroWikiRequest::UpdateMetaTableIntroWikiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateMetaTableIntroWiki") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateMetaTableIntroWikiRequest::~UpdateMetaTableIntroWikiRequest() -{} - -std::string UpdateMetaTableIntroWikiRequest::getTableGuid()const -{ - return tableGuid_; -} - -void UpdateMetaTableIntroWikiRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -std::string UpdateMetaTableIntroWikiRequest::getContent()const -{ - return content_; -} - -void UpdateMetaTableIntroWikiRequest::setContent(const std::string& content) -{ - content_ = content; - setBodyParameter("Content", content); -} - diff --git a/dataworks-public/src/model/UpdateMetaTableIntroWikiResult.cc b/dataworks-public/src/model/UpdateMetaTableIntroWikiResult.cc deleted file mode 100644 index ad4713a37..000000000 --- a/dataworks-public/src/model/UpdateMetaTableIntroWikiResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateMetaTableIntroWikiResult::UpdateMetaTableIntroWikiResult() : - ServiceResult() -{} - -UpdateMetaTableIntroWikiResult::UpdateMetaTableIntroWikiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateMetaTableIntroWikiResult::~UpdateMetaTableIntroWikiResult() -{} - -void UpdateMetaTableIntroWikiResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["UpdateResult"].isNull()) - updateResult_ = value["UpdateResult"].asString() == "true"; - -} - -bool UpdateMetaTableIntroWikiResult::getUpdateResult()const -{ - return updateResult_; -} - diff --git a/dataworks-public/src/model/UpdateMetaTableRequest.cc b/dataworks-public/src/model/UpdateMetaTableRequest.cc deleted file mode 100644 index 1407b06a2..000000000 --- a/dataworks-public/src/model/UpdateMetaTableRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateMetaTableRequest; - -UpdateMetaTableRequest::UpdateMetaTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateMetaTable") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateMetaTableRequest::~UpdateMetaTableRequest() -{} - -int UpdateMetaTableRequest::getVisibility()const -{ - return visibility_; -} - -void UpdateMetaTableRequest::setVisibility(int visibility) -{ - visibility_ = visibility; - setParameter("Visibility", std::to_string(visibility)); -} - -std::string UpdateMetaTableRequest::getCaption()const -{ - return caption_; -} - -void UpdateMetaTableRequest::setCaption(const std::string& caption) -{ - caption_ = caption; - setParameter("Caption", caption); -} - -std::string UpdateMetaTableRequest::getNewOwnerId()const -{ - return newOwnerId_; -} - -void UpdateMetaTableRequest::setNewOwnerId(const std::string& newOwnerId) -{ - newOwnerId_ = newOwnerId; - setParameter("NewOwnerId", newOwnerId); -} - -std::string UpdateMetaTableRequest::getTableGuid()const -{ - return tableGuid_; -} - -void UpdateMetaTableRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -std::string UpdateMetaTableRequest::getAddedLabels()const -{ - return addedLabels_; -} - -void UpdateMetaTableRequest::setAddedLabels(const std::string& addedLabels) -{ - addedLabels_ = addedLabels; - setBodyParameter("AddedLabels", addedLabels); -} - -std::string UpdateMetaTableRequest::getRemovedLabels()const -{ - return removedLabels_; -} - -void UpdateMetaTableRequest::setRemovedLabels(const std::string& removedLabels) -{ - removedLabels_ = removedLabels; - setBodyParameter("RemovedLabels", removedLabels); -} - -int UpdateMetaTableRequest::getEnvType()const -{ - return envType_; -} - -void UpdateMetaTableRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); -} - -std::string UpdateMetaTableRequest::getTableName()const -{ - return tableName_; -} - -void UpdateMetaTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - -long UpdateMetaTableRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateMetaTableRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -long UpdateMetaTableRequest::getCategoryId()const -{ - return categoryId_; -} - -void UpdateMetaTableRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/UpdateMetaTableResult.cc b/dataworks-public/src/model/UpdateMetaTableResult.cc deleted file mode 100644 index 1a585a1cd..000000000 --- a/dataworks-public/src/model/UpdateMetaTableResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateMetaTableResult::UpdateMetaTableResult() : - ServiceResult() -{} - -UpdateMetaTableResult::UpdateMetaTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateMetaTableResult::~UpdateMetaTableResult() -{} - -void UpdateMetaTableResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["UpdateResult"].isNull()) - updateResult_ = value["UpdateResult"].asString() == "true"; - -} - -bool UpdateMetaTableResult::getUpdateResult()const -{ - return updateResult_; -} - diff --git a/dataworks-public/src/model/UpdateQualityFollowerRequest.cc b/dataworks-public/src/model/UpdateQualityFollowerRequest.cc deleted file mode 100644 index 1cb047c29..000000000 --- a/dataworks-public/src/model/UpdateQualityFollowerRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateQualityFollowerRequest; - -UpdateQualityFollowerRequest::UpdateQualityFollowerRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateQualityFollower") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateQualityFollowerRequest::~UpdateQualityFollowerRequest() -{} - -int UpdateQualityFollowerRequest::getAlarmMode()const -{ - return alarmMode_; -} - -void UpdateQualityFollowerRequest::setAlarmMode(int alarmMode) -{ - alarmMode_ = alarmMode; - setBodyParameter("AlarmMode", std::to_string(alarmMode)); -} - -std::string UpdateQualityFollowerRequest::getProjectName()const -{ - return projectName_; -} - -void UpdateQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string UpdateQualityFollowerRequest::getFollower()const -{ - return follower_; -} - -void UpdateQualityFollowerRequest::setFollower(const std::string& follower) -{ - follower_ = follower; - setBodyParameter("Follower", follower); -} - -long UpdateQualityFollowerRequest::getFollowerId()const -{ - return followerId_; -} - -void UpdateQualityFollowerRequest::setFollowerId(long followerId) -{ - followerId_ = followerId; - setBodyParameter("FollowerId", std::to_string(followerId)); -} - diff --git a/dataworks-public/src/model/UpdateQualityFollowerResult.cc b/dataworks-public/src/model/UpdateQualityFollowerResult.cc deleted file mode 100644 index 98c135d2c..000000000 --- a/dataworks-public/src/model/UpdateQualityFollowerResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateQualityFollowerResult::UpdateQualityFollowerResult() : - ServiceResult() -{} - -UpdateQualityFollowerResult::UpdateQualityFollowerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateQualityFollowerResult::~UpdateQualityFollowerResult() -{} - -void UpdateQualityFollowerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateQualityFollowerResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateQualityFollowerResult::getData()const -{ - return data_; -} - -std::string UpdateQualityFollowerResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateQualityFollowerResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateQualityFollowerResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateQualityRuleRequest.cc b/dataworks-public/src/model/UpdateQualityRuleRequest.cc deleted file mode 100644 index 2192af582..000000000 --- a/dataworks-public/src/model/UpdateQualityRuleRequest.cc +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateQualityRuleRequest; - -UpdateQualityRuleRequest::UpdateQualityRuleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateQualityRule") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateQualityRuleRequest::~UpdateQualityRuleRequest() -{} - -std::string UpdateQualityRuleRequest::getTrend()const -{ - return trend_; -} - -void UpdateQualityRuleRequest::setTrend(const std::string& trend) -{ - trend_ = trend; - setBodyParameter("Trend", trend); -} - -int UpdateQualityRuleRequest::getBlockType()const -{ - return blockType_; -} - -void UpdateQualityRuleRequest::setBlockType(int blockType) -{ - blockType_ = blockType; - setBodyParameter("BlockType", std::to_string(blockType)); -} - -std::string UpdateQualityRuleRequest::getPropertyType()const -{ - return propertyType_; -} - -void UpdateQualityRuleRequest::setPropertyType(const std::string& propertyType) -{ - propertyType_ = propertyType; - setBodyParameter("PropertyType", propertyType); -} - -long UpdateQualityRuleRequest::getEntityId()const -{ - return entityId_; -} - -void UpdateQualityRuleRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - -std::string UpdateQualityRuleRequest::getRuleName()const -{ - return ruleName_; -} - -void UpdateQualityRuleRequest::setRuleName(const std::string& ruleName) -{ - ruleName_ = ruleName; - setBodyParameter("RuleName", ruleName); -} - -int UpdateQualityRuleRequest::getChecker()const -{ - return checker_; -} - -void UpdateQualityRuleRequest::setChecker(int checker) -{ - checker_ = checker; - setBodyParameter("Checker", std::to_string(checker)); -} - -std::string UpdateQualityRuleRequest::get_Operator()const -{ - return _operator_; -} - -void UpdateQualityRuleRequest::set_Operator(const std::string& _operator) -{ - _operator_ = _operator; - setBodyParameter("_Operator", _operator); -} - -std::string UpdateQualityRuleRequest::getProperty()const -{ - return property_; -} - -void UpdateQualityRuleRequest::setProperty(const std::string& property) -{ - property_ = property; - setBodyParameter("Property", property); -} - -long UpdateQualityRuleRequest::getId()const -{ - return id_; -} - -void UpdateQualityRuleRequest::setId(long id) -{ - id_ = id; - setBodyParameter("Id", std::to_string(id)); -} - -std::string UpdateQualityRuleRequest::getWarningThreshold()const -{ - return warningThreshold_; -} - -void UpdateQualityRuleRequest::setWarningThreshold(const std::string& warningThreshold) -{ - warningThreshold_ = warningThreshold; - setBodyParameter("WarningThreshold", warningThreshold); -} - -std::string UpdateQualityRuleRequest::getMethodName()const -{ - return methodName_; -} - -void UpdateQualityRuleRequest::setMethodName(const std::string& methodName) -{ - methodName_ = methodName; - setBodyParameter("MethodName", methodName); -} - -std::string UpdateQualityRuleRequest::getProjectName()const -{ - return projectName_; -} - -void UpdateQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -int UpdateQualityRuleRequest::getRuleType()const -{ - return ruleType_; -} - -void UpdateQualityRuleRequest::setRuleType(int ruleType) -{ - ruleType_ = ruleType; - setBodyParameter("RuleType", std::to_string(ruleType)); -} - -int UpdateQualityRuleRequest::getTemplateId()const -{ - return templateId_; -} - -void UpdateQualityRuleRequest::setTemplateId(int templateId) -{ - templateId_ = templateId; - setBodyParameter("TemplateId", std::to_string(templateId)); -} - -std::string UpdateQualityRuleRequest::getExpectValue()const -{ - return expectValue_; -} - -void UpdateQualityRuleRequest::setExpectValue(const std::string& expectValue) -{ - expectValue_ = expectValue; - setBodyParameter("ExpectValue", expectValue); -} - -std::string UpdateQualityRuleRequest::getWhereCondition()const -{ - return whereCondition_; -} - -void UpdateQualityRuleRequest::setWhereCondition(const std::string& whereCondition) -{ - whereCondition_ = whereCondition; - setBodyParameter("WhereCondition", whereCondition); -} - -std::string UpdateQualityRuleRequest::getCriticalThreshold()const -{ - return criticalThreshold_; -} - -void UpdateQualityRuleRequest::setCriticalThreshold(const std::string& criticalThreshold) -{ - criticalThreshold_ = criticalThreshold; - setBodyParameter("CriticalThreshold", criticalThreshold); -} - -std::string UpdateQualityRuleRequest::getComment()const -{ - return comment_; -} - -void UpdateQualityRuleRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -int UpdateQualityRuleRequest::getPredictType()const -{ - return predictType_; -} - -void UpdateQualityRuleRequest::setPredictType(int predictType) -{ - predictType_ = predictType; - setBodyParameter("PredictType", std::to_string(predictType)); -} - diff --git a/dataworks-public/src/model/UpdateQualityRuleResult.cc b/dataworks-public/src/model/UpdateQualityRuleResult.cc deleted file mode 100644 index a630733e5..000000000 --- a/dataworks-public/src/model/UpdateQualityRuleResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateQualityRuleResult::UpdateQualityRuleResult() : - ServiceResult() -{} - -UpdateQualityRuleResult::UpdateQualityRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateQualityRuleResult::~UpdateQualityRuleResult() -{} - -void UpdateQualityRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateQualityRuleResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateQualityRuleResult::getData()const -{ - return data_; -} - -std::string UpdateQualityRuleResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateQualityRuleResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateQualityRuleResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateRemindRequest.cc b/dataworks-public/src/model/UpdateRemindRequest.cc deleted file mode 100644 index dd164e3bd..000000000 --- a/dataworks-public/src/model/UpdateRemindRequest.cc +++ /dev/null @@ -1,216 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateRemindRequest; - -UpdateRemindRequest::UpdateRemindRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateRemind") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateRemindRequest::~UpdateRemindRequest() -{} - -std::string UpdateRemindRequest::getDndEnd()const -{ - return dndEnd_; -} - -void UpdateRemindRequest::setDndEnd(const std::string& dndEnd) -{ - dndEnd_ = dndEnd; - setBodyParameter("DndEnd", dndEnd); -} - -std::string UpdateRemindRequest::getAlertUnit()const -{ - return alertUnit_; -} - -void UpdateRemindRequest::setAlertUnit(const std::string& alertUnit) -{ - alertUnit_ = alertUnit; - setBodyParameter("AlertUnit", alertUnit); -} - -std::string UpdateRemindRequest::getRemindUnit()const -{ - return remindUnit_; -} - -void UpdateRemindRequest::setRemindUnit(const std::string& remindUnit) -{ - remindUnit_ = remindUnit; - setBodyParameter("RemindUnit", remindUnit); -} - -bool UpdateRemindRequest::getUseFlag()const -{ - return useFlag_; -} - -void UpdateRemindRequest::setUseFlag(bool useFlag) -{ - useFlag_ = useFlag; - setBodyParameter("UseFlag", useFlag ? "true" : "false"); -} - -int UpdateRemindRequest::getAlertInterval()const -{ - return alertInterval_; -} - -void UpdateRemindRequest::setAlertInterval(int alertInterval) -{ - alertInterval_ = alertInterval; - setBodyParameter("AlertInterval", std::to_string(alertInterval)); -} - -std::string UpdateRemindRequest::getAlertMethods()const -{ - return alertMethods_; -} - -void UpdateRemindRequest::setAlertMethods(const std::string& alertMethods) -{ - alertMethods_ = alertMethods; - setBodyParameter("AlertMethods", alertMethods); -} - -std::string UpdateRemindRequest::getRobotUrls()const -{ - return robotUrls_; -} - -void UpdateRemindRequest::setRobotUrls(const std::string& robotUrls) -{ - robotUrls_ = robotUrls; - setBodyParameter("RobotUrls", robotUrls); -} - -int UpdateRemindRequest::getMaxAlertTimes()const -{ - return maxAlertTimes_; -} - -void UpdateRemindRequest::setMaxAlertTimes(int maxAlertTimes) -{ - maxAlertTimes_ = maxAlertTimes; - setBodyParameter("MaxAlertTimes", std::to_string(maxAlertTimes)); -} - -std::string UpdateRemindRequest::getBizProcessIds()const -{ - return bizProcessIds_; -} - -void UpdateRemindRequest::setBizProcessIds(const std::string& bizProcessIds) -{ - bizProcessIds_ = bizProcessIds; - setBodyParameter("BizProcessIds", bizProcessIds); -} - -std::string UpdateRemindRequest::getRemindType()const -{ - return remindType_; -} - -void UpdateRemindRequest::setRemindType(const std::string& remindType) -{ - remindType_ = remindType; - setBodyParameter("RemindType", remindType); -} - -std::string UpdateRemindRequest::getAlertTargets()const -{ - return alertTargets_; -} - -void UpdateRemindRequest::setAlertTargets(const std::string& alertTargets) -{ - alertTargets_ = alertTargets; - setBodyParameter("AlertTargets", alertTargets); -} - -std::string UpdateRemindRequest::getBaselineIds()const -{ - return baselineIds_; -} - -void UpdateRemindRequest::setBaselineIds(const std::string& baselineIds) -{ - baselineIds_ = baselineIds; - setBodyParameter("BaselineIds", baselineIds); -} - -long UpdateRemindRequest::getRemindId()const -{ - return remindId_; -} - -void UpdateRemindRequest::setRemindId(long remindId) -{ - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); -} - -std::string UpdateRemindRequest::getDetail()const -{ - return detail_; -} - -void UpdateRemindRequest::setDetail(const std::string& detail) -{ - detail_ = detail; - setBodyParameter("Detail", detail); -} - -std::string UpdateRemindRequest::getRemindName()const -{ - return remindName_; -} - -void UpdateRemindRequest::setRemindName(const std::string& remindName) -{ - remindName_ = remindName; - setBodyParameter("RemindName", remindName); -} - -long UpdateRemindRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateRemindRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string UpdateRemindRequest::getNodeIds()const -{ - return nodeIds_; -} - -void UpdateRemindRequest::setNodeIds(const std::string& nodeIds) -{ - nodeIds_ = nodeIds; - setBodyParameter("NodeIds", nodeIds); -} - diff --git a/dataworks-public/src/model/UpdateRemindResult.cc b/dataworks-public/src/model/UpdateRemindResult.cc deleted file mode 100644 index 8205cfeba..000000000 --- a/dataworks-public/src/model/UpdateRemindResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateRemindResult::UpdateRemindResult() : - ServiceResult() -{} - -UpdateRemindResult::UpdateRemindResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateRemindResult::~UpdateRemindResult() -{} - -void UpdateRemindResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int UpdateRemindResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateRemindResult::getData()const -{ - return data_; -} - -std::string UpdateRemindResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateRemindResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateRemindResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateTableLevelRequest.cc b/dataworks-public/src/model/UpdateTableLevelRequest.cc deleted file mode 100644 index 7ba73cbde..000000000 --- a/dataworks-public/src/model/UpdateTableLevelRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateTableLevelRequest; - -UpdateTableLevelRequest::UpdateTableLevelRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableLevel") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTableLevelRequest::~UpdateTableLevelRequest() -{} - -long UpdateTableLevelRequest::getLevelId()const -{ - return levelId_; -} - -void UpdateTableLevelRequest::setLevelId(long levelId) -{ - levelId_ = levelId; - setParameter("LevelId", std::to_string(levelId)); -} - -int UpdateTableLevelRequest::getLevelType()const -{ - return levelType_; -} - -void UpdateTableLevelRequest::setLevelType(int levelType) -{ - levelType_ = levelType; - setParameter("LevelType", std::to_string(levelType)); -} - -std::string UpdateTableLevelRequest::getName()const -{ - return name_; -} - -void UpdateTableLevelRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string UpdateTableLevelRequest::getDescription()const -{ - return description_; -} - -void UpdateTableLevelRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -long UpdateTableLevelRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateTableLevelRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/UpdateTableLevelResult.cc b/dataworks-public/src/model/UpdateTableLevelResult.cc deleted file mode 100644 index db5716d41..000000000 --- a/dataworks-public/src/model/UpdateTableLevelResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateTableLevelResult::UpdateTableLevelResult() : - ServiceResult() -{} - -UpdateTableLevelResult::UpdateTableLevelResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateTableLevelResult::~UpdateTableLevelResult() -{} - -void UpdateTableLevelResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["UpdateResult"].isNull()) - updateResult_ = value["UpdateResult"].asString() == "true"; - -} - -int UpdateTableLevelResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string UpdateTableLevelResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateTableLevelResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateTableLevelResult::getSuccess()const -{ - return success_; -} - -bool UpdateTableLevelResult::getUpdateResult()const -{ - return updateResult_; -} - diff --git a/dataworks-public/src/model/UpdateTableModelInfoRequest.cc b/dataworks-public/src/model/UpdateTableModelInfoRequest.cc deleted file mode 100644 index 84b6fb378..000000000 --- a/dataworks-public/src/model/UpdateTableModelInfoRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateTableModelInfoRequest; - -UpdateTableModelInfoRequest::UpdateTableModelInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableModelInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTableModelInfoRequest::~UpdateTableModelInfoRequest() -{} - -long UpdateTableModelInfoRequest::getSecondLevelThemeId()const -{ - return secondLevelThemeId_; -} - -void UpdateTableModelInfoRequest::setSecondLevelThemeId(long secondLevelThemeId) -{ - secondLevelThemeId_ = secondLevelThemeId; - setParameter("SecondLevelThemeId", std::to_string(secondLevelThemeId)); -} - -std::string UpdateTableModelInfoRequest::getTableGuid()const -{ - return tableGuid_; -} - -void UpdateTableModelInfoRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -long UpdateTableModelInfoRequest::getLevelId()const -{ - return levelId_; -} - -void UpdateTableModelInfoRequest::setLevelId(long levelId) -{ - levelId_ = levelId; - setParameter("LevelId", std::to_string(levelId)); -} - -int UpdateTableModelInfoRequest::getLevelType()const -{ - return levelType_; -} - -void UpdateTableModelInfoRequest::setLevelType(int levelType) -{ - levelType_ = levelType; - setParameter("LevelType", std::to_string(levelType)); -} - -long UpdateTableModelInfoRequest::getFirstLevelThemeId()const -{ - return firstLevelThemeId_; -} - -void UpdateTableModelInfoRequest::setFirstLevelThemeId(long firstLevelThemeId) -{ - firstLevelThemeId_ = firstLevelThemeId; - setParameter("FirstLevelThemeId", std::to_string(firstLevelThemeId)); -} - diff --git a/dataworks-public/src/model/UpdateTableModelInfoResult.cc b/dataworks-public/src/model/UpdateTableModelInfoResult.cc deleted file mode 100644 index c83b85909..000000000 --- a/dataworks-public/src/model/UpdateTableModelInfoResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateTableModelInfoResult::UpdateTableModelInfoResult() : - ServiceResult() -{} - -UpdateTableModelInfoResult::UpdateTableModelInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateTableModelInfoResult::~UpdateTableModelInfoResult() -{} - -void UpdateTableModelInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["UpdateResult"].isNull()) - updateResult_ = value["UpdateResult"].asString() == "true"; - -} - -bool UpdateTableModelInfoResult::getUpdateResult()const -{ - return updateResult_; -} - diff --git a/dataworks-public/src/model/UpdateTableRequest.cc b/dataworks-public/src/model/UpdateTableRequest.cc deleted file mode 100644 index 6bf268d92..000000000 --- a/dataworks-public/src/model/UpdateTableRequest.cc +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateTableRequest; - -UpdateTableRequest::UpdateTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTable") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTableRequest::~UpdateTableRequest() -{} - -int UpdateTableRequest::getVisibility()const -{ - return visibility_; -} - -void UpdateTableRequest::setVisibility(int visibility) -{ - visibility_ = visibility; - setParameter("Visibility", std::to_string(visibility)); -} - -long UpdateTableRequest::getPhysicsLevelId()const -{ - return physicsLevelId_; -} - -void UpdateTableRequest::setPhysicsLevelId(long physicsLevelId) -{ - physicsLevelId_ = physicsLevelId; - setParameter("PhysicsLevelId", std::to_string(physicsLevelId)); -} - -std::vector UpdateTableRequest::getColumns()const -{ - return columns_; -} - -void UpdateTableRequest::setColumns(const std::vector& columns) -{ - columns_ = columns; - for(int dep1 = 0; dep1!= columns.size(); dep1++) { - auto columnsObj = columns.at(dep1); - std::string columnsObjStr = "Columns." + std::to_string(dep1 + 1); - setParameter(columnsObjStr + ".SeqNumber", std::to_string(columnsObj.seqNumber)); - setParameter(columnsObjStr + ".IsPartitionCol", std::to_string(columnsObj.isPartitionCol)); - setParameter(columnsObjStr + ".ColumnNameCn", columnsObj.columnNameCn); - setParameter(columnsObjStr + ".Length", std::to_string(columnsObj.length)); - setParameter(columnsObjStr + ".IsNullable", std::to_string(columnsObj.isNullable)); - setParameter(columnsObjStr + ".Comment", columnsObj.comment); - setParameter(columnsObjStr + ".IsPrimaryKey", std::to_string(columnsObj.isPrimaryKey)); - setParameter(columnsObjStr + ".ColumnName", columnsObj.columnName); - setParameter(columnsObjStr + ".ColumnType", columnsObj.columnType); - } -} - -std::string UpdateTableRequest::getOwnerId()const -{ - return ownerId_; -} - -void UpdateTableRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); -} - -int UpdateTableRequest::getLifeCycle()const -{ - return lifeCycle_; -} - -void UpdateTableRequest::setLifeCycle(int lifeCycle) -{ - lifeCycle_ = lifeCycle; - setParameter("LifeCycle", std::to_string(lifeCycle)); -} - -std::vector UpdateTableRequest::getThemes()const -{ - return themes_; -} - -void UpdateTableRequest::setThemes(const std::vector& themes) -{ - themes_ = themes; - for(int dep1 = 0; dep1!= themes.size(); dep1++) { - auto themesObj = themes.at(dep1); - std::string themesObjStr = "Themes." + std::to_string(dep1 + 1); - setParameter(themesObjStr + ".ThemeLevel", std::to_string(themesObj.themeLevel)); - setParameter(themesObjStr + ".ThemeId", std::to_string(themesObj.themeId)); - } -} - -long UpdateTableRequest::getLogicalLevelId()const -{ - return logicalLevelId_; -} - -void UpdateTableRequest::setLogicalLevelId(long logicalLevelId) -{ - logicalLevelId_ = logicalLevelId; - setParameter("LogicalLevelId", std::to_string(logicalLevelId)); -} - -std::string UpdateTableRequest::getEndpoint()const -{ - return endpoint_; -} - -void UpdateTableRequest::setEndpoint(const std::string& endpoint) -{ - endpoint_ = endpoint; - setBodyParameter("Endpoint", endpoint); -} - -int UpdateTableRequest::getIsView()const -{ - return isView_; -} - -void UpdateTableRequest::setIsView(int isView) -{ - isView_ = isView; - setParameter("IsView", std::to_string(isView)); -} - -std::string UpdateTableRequest::getExternalTableType()const -{ - return externalTableType_; -} - -void UpdateTableRequest::setExternalTableType(const std::string& externalTableType) -{ - externalTableType_ = externalTableType; - setParameter("ExternalTableType", externalTableType); -} - -int UpdateTableRequest::getEnvType()const -{ - return envType_; -} - -void UpdateTableRequest::setEnvType(int envType) -{ - envType_ = envType; - setBodyParameter("EnvType", std::to_string(envType)); -} - -int UpdateTableRequest::getHasPart()const -{ - return hasPart_; -} - -void UpdateTableRequest::setHasPart(int hasPart) -{ - hasPart_ = hasPart; - setParameter("HasPart", std::to_string(hasPart)); -} - -std::string UpdateTableRequest::getLocation()const -{ - return location_; -} - -void UpdateTableRequest::setLocation(const std::string& location) -{ - location_ = location; - setParameter("Location", location); -} - -std::string UpdateTableRequest::getTableName()const -{ - return tableName_; -} - -void UpdateTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); -} - -std::string UpdateTableRequest::getAppGuid()const -{ - return appGuid_; -} - -void UpdateTableRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); -} - -long UpdateTableRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateTableRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -long UpdateTableRequest::getCategoryId()const -{ - return categoryId_; -} - -void UpdateTableRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - -bool UpdateTableRequest::getCreateIfNotExists()const -{ - return createIfNotExists_; -} - -void UpdateTableRequest::setCreateIfNotExists(bool createIfNotExists) -{ - createIfNotExists_ = createIfNotExists; - setParameter("CreateIfNotExists", createIfNotExists ? "true" : "false"); -} - diff --git a/dataworks-public/src/model/UpdateTableResult.cc b/dataworks-public/src/model/UpdateTableResult.cc deleted file mode 100644 index d1ccd7575..000000000 --- a/dataworks-public/src/model/UpdateTableResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateTableResult::UpdateTableResult() : - ServiceResult() -{} - -UpdateTableResult::UpdateTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateTableResult::~UpdateTableResult() -{} - -void UpdateTableResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto taskInfoNode = value["TaskInfo"]; - if(!taskInfoNode["TaskId"].isNull()) - taskInfo_.taskId = taskInfoNode["TaskId"].asString(); - if(!taskInfoNode["Content"].isNull()) - taskInfo_.content = taskInfoNode["Content"].asString(); - if(!taskInfoNode["Status"].isNull()) - taskInfo_.status = taskInfoNode["Status"].asString(); - if(!taskInfoNode["NextTaskId"].isNull()) - taskInfo_.nextTaskId = taskInfoNode["NextTaskId"].asString(); - -} - -UpdateTableResult::TaskInfo UpdateTableResult::getTaskInfo()const -{ - return taskInfo_; -} - diff --git a/dataworks-public/src/model/UpdateTableThemeRequest.cc b/dataworks-public/src/model/UpdateTableThemeRequest.cc deleted file mode 100644 index d2debf600..000000000 --- a/dataworks-public/src/model/UpdateTableThemeRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateTableThemeRequest; - -UpdateTableThemeRequest::UpdateTableThemeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableTheme") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTableThemeRequest::~UpdateTableThemeRequest() -{} - -std::string UpdateTableThemeRequest::getName()const -{ - return name_; -} - -void UpdateTableThemeRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -long UpdateTableThemeRequest::getThemeId()const -{ - return themeId_; -} - -void UpdateTableThemeRequest::setThemeId(long themeId) -{ - themeId_ = themeId; - setParameter("ThemeId", std::to_string(themeId)); -} - -long UpdateTableThemeRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateTableThemeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/UpdateTableThemeResult.cc b/dataworks-public/src/model/UpdateTableThemeResult.cc deleted file mode 100644 index 964d4f2f5..000000000 --- a/dataworks-public/src/model/UpdateTableThemeResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateTableThemeResult::UpdateTableThemeResult() : - ServiceResult() -{} - -UpdateTableThemeResult::UpdateTableThemeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateTableThemeResult::~UpdateTableThemeResult() -{} - -void UpdateTableThemeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["UpdateResult"].isNull()) - updateResult_ = value["UpdateResult"].asString() == "true"; - -} - -int UpdateTableThemeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string UpdateTableThemeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateTableThemeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateTableThemeResult::getSuccess()const -{ - return success_; -} - -bool UpdateTableThemeResult::getUpdateResult()const -{ - return updateResult_; -} - diff --git a/dataworks-public/src/model/UpdateUdfFileRequest.cc b/dataworks-public/src/model/UpdateUdfFileRequest.cc deleted file mode 100644 index b42be4745..000000000 --- a/dataworks-public/src/model/UpdateUdfFileRequest.cc +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateUdfFileRequest; - -UpdateUdfFileRequest::UpdateUdfFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateUdfFile") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateUdfFileRequest::~UpdateUdfFileRequest() -{} - -std::string UpdateUdfFileRequest::getReturnValue()const -{ - return returnValue_; -} - -void UpdateUdfFileRequest::setReturnValue(const std::string& returnValue) -{ - returnValue_ = returnValue; - setBodyParameter("ReturnValue", returnValue); -} - -std::string UpdateUdfFileRequest::getResources()const -{ - return resources_; -} - -void UpdateUdfFileRequest::setResources(const std::string& resources) -{ - resources_ = resources; - setBodyParameter("Resources", resources); -} - -std::string UpdateUdfFileRequest::getFunctionType()const -{ - return functionType_; -} - -void UpdateUdfFileRequest::setFunctionType(const std::string& functionType) -{ - functionType_ = functionType; - setBodyParameter("FunctionType", functionType); -} - -std::string UpdateUdfFileRequest::getCmdDescription()const -{ - return cmdDescription_; -} - -void UpdateUdfFileRequest::setCmdDescription(const std::string& cmdDescription) -{ - cmdDescription_ = cmdDescription; - setBodyParameter("CmdDescription", cmdDescription); -} - -std::string UpdateUdfFileRequest::getUdfDescription()const -{ - return udfDescription_; -} - -void UpdateUdfFileRequest::setUdfDescription(const std::string& udfDescription) -{ - udfDescription_ = udfDescription; - setBodyParameter("UdfDescription", udfDescription); -} - -std::string UpdateUdfFileRequest::getParameterDescription()const -{ - return parameterDescription_; -} - -void UpdateUdfFileRequest::setParameterDescription(const std::string& parameterDescription) -{ - parameterDescription_ = parameterDescription; - setBodyParameter("ParameterDescription", parameterDescription); -} - -std::string UpdateUdfFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void UpdateUdfFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string UpdateUdfFileRequest::getExample()const -{ - return example_; -} - -void UpdateUdfFileRequest::setExample(const std::string& example) -{ - example_ = example; - setBodyParameter("Example", example); -} - -std::string UpdateUdfFileRequest::getClassName()const -{ - return className_; -} - -void UpdateUdfFileRequest::setClassName(const std::string& className) -{ - className_ = className; - setBodyParameter("ClassName", className); -} - -std::string UpdateUdfFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; -} - -void UpdateUdfFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); -} - -long UpdateUdfFileRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateUdfFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string UpdateUdfFileRequest::getFileId()const -{ - return fileId_; -} - -void UpdateUdfFileRequest::setFileId(const std::string& fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", fileId); -} - diff --git a/dataworks-public/src/model/UpdateUdfFileResult.cc b/dataworks-public/src/model/UpdateUdfFileResult.cc deleted file mode 100644 index 8a822729b..000000000 --- a/dataworks-public/src/model/UpdateUdfFileResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateUdfFileResult::UpdateUdfFileResult() : - ServiceResult() -{} - -UpdateUdfFileResult::UpdateUdfFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateUdfFileResult::~UpdateUdfFileResult() -{} - -void UpdateUdfFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateUdfFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string UpdateUdfFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateUdfFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateUdfFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/version-2018-06-01.xml b/dataworks-public/version-2018-06-01.xml index 8d1a93217..ea9d3a218 100644 --- a/dataworks-public/version-2018-06-01.xml +++ b/dataworks-public/version-2018-06-01.xml @@ -1 +1 @@ - +