From f9099c074679af878939cb4cc71af4fad3c406cc Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 24 Feb 2021 12:38:14 +0000 Subject: [PATCH] Generated 2020-05-18 for dataworks-public. --- CHANGELOG | 3 + dataworks-public/2018-06-01/CheckCallback.xml | 1 + dataworks-public/2018-06-01/CreateDag.xml | 1 + .../2018-06-01/CreateManualDag.xml | 1 + .../2018-06-01/CreateRealTimeProcess.xml | 1 + dataworks-public/2018-06-01/DeleteFile.xml | 1 + .../2018-06-01/DescribeEmrHiveTable.xml | 1 + dataworks-public/2018-06-01/GetInstance.xml | 1 + .../2018-06-01/GetInstanceLog.xml | 1 + .../2018-06-01/GetInstanceStatistic.xml | 1 + dataworks-public/2018-06-01/GetNode.xml | 1 + dataworks-public/2018-06-01/GetNodeCode.xml | 1 + .../2018-06-01/ListEmrHiveAuditLogs.xml | 1 + .../2018-06-01/ListEmrHiveDatabases.xml | 1 + .../2018-06-01/ListEmrHiveTables.xml | 1 + .../2018-06-01/ListHiveColumnLineages.xml | 1 + .../2018-06-01/ListHiveTableLineages.xml | 1 + .../2018-06-01/ListTablePartitions.xml | 1 + .../2018-06-01/ListTagResources.xml | 1 + .../2018-06-01/QueryInstances.xml | 1 + dataworks-public/2018-06-01/QueryNode.xml | 1 + .../2018-06-01/QueryRealTimeProcessStatus.xml | 1 + .../SearchManualDagNodeInstance.xml | 1 + .../2018-06-01/SearchNodeInstanceList.xml | 1 + .../2018-06-01/SendTaskMetaCallback.xml | 1 + dataworks-public/2018-06-01/TagResources.xml | 1 + dataworks-public/2018-06-01/TestDemo.xml | 1 + .../2018-06-01/UnTagResources.xml | 1 + .../2020-05-18/AbolishDataServiceApi.xml | 1 + .../2020-05-18/AddProjectMemberToRole.xml | 1 + .../2020-05-18/AddToMetaCategory.xml | 1 + .../2020-05-18/AlterMetaColumns.xml | 1 + .../2020-05-18/AlterMetaTable.xml | 1 + .../2020-05-18/CheckMetaPartition.xml | 1 + .../2020-05-18/CheckMetaTable.xml | 1 + .../2020-05-18/CreateBusiness.xml | 1 + .../2020-05-18/CreateConnection.xml | 1 + .../2020-05-18/CreateDagComplement.xml | 1 + dataworks-public/2020-05-18/CreateDagTest.xml | 1 + .../2020-05-18/CreateDataServiceApi.xml | 1 + .../CreateDataServiceApiAuthority.xml | 1 + .../2020-05-18/CreateDataServiceFolder.xml | 1 + .../2020-05-18/CreateDataServiceGroup.xml | 1 + dataworks-public/2020-05-18/CreateFile.xml | 1 + dataworks-public/2020-05-18/CreateFolder.xml | 1 + .../2020-05-18/CreateManualDag.xml | 1 + .../2020-05-18/CreateMetaCategory.xml | 1 + .../2020-05-18/CreateNodeComplement1.xml | 1 + .../2020-05-18/CreateNodeTest1.xml | 1 + .../2020-05-18/CreateProjectMember.xml | 1 + .../2020-05-18/CreateQualityEntity.xml | 1 + .../2020-05-18/CreateQualityFollower.xml | 1 + .../2020-05-18/CreateQualityRelativeNode.xml | 1 + .../2020-05-18/CreateQualityRule.xml | 1 + dataworks-public/2020-05-18/CreateRemind.xml | 1 + dataworks-public/2020-05-18/CreateTable.xml | 1 + .../2020-05-18/CreateTableLevel.xml | 1 + .../2020-05-18/CreateTableTheme.xml | 1 + dataworks-public/2020-05-18/CreateUdfFile.xml | 1 + .../2020-05-18/DeleteBusiness.xml | 1 + .../2020-05-18/DeleteConnection.xml | 1 + .../2020-05-18/DeleteDataServiceApi.xml | 1 + .../DeleteDataServiceApiAuthority.xml | 1 + dataworks-public/2020-05-18/DeleteFile.xml | 1 + dataworks-public/2020-05-18/DeleteFolder.xml | 1 + .../2020-05-18/DeleteFromMetaCategory.xml | 1 + .../2020-05-18/DeleteMetaCategory.xml | 1 + .../2020-05-18/DeleteProjectMember.xml | 1 + .../2020-05-18/DeleteProjectMember1.xml | 1 + .../2020-05-18/DeleteQualityEntity.xml | 1 + .../2020-05-18/DeleteQualityFollower.xml | 1 + .../2020-05-18/DeleteQualityRelativeNode.xml | 1 + .../2020-05-18/DeleteQualityRule.xml | 1 + dataworks-public/2020-05-18/DeleteRemind.xml | 1 + dataworks-public/2020-05-18/DeleteTable.xml | 1 + .../2020-05-18/DeleteTableLevel.xml | 1 + .../2020-05-18/DeleteTableTheme.xml | 1 + dataworks-public/2020-05-18/DeployFile.xml | 1 + .../2020-05-18/DesensitizeData.xml | 1 + .../EstablishRelationTableToBusiness.xml | 1 + .../2020-05-18/GetBaselineConfig.xml | 1 + .../2020-05-18/GetBaselineKeyPath.xml | 1 + .../2020-05-18/GetBaselineStatus.xml | 1 + dataworks-public/2020-05-18/GetBusiness.xml | 1 + .../2020-05-18/GetDDLJobStatus.xml | 1 + dataworks-public/2020-05-18/GetDag.xml | 1 + .../2020-05-18/GetDataServiceApi.xml | 1 + .../2020-05-18/GetDataServiceApplication.xml | 1 + .../2020-05-18/GetDataServiceFolder.xml | 1 + .../2020-05-18/GetDataServiceGroup.xml | 1 + .../2020-05-18/GetDataServicePublishedApi.xml | 1 + dataworks-public/2020-05-18/GetDeployment.xml | 1 + dataworks-public/2020-05-18/GetFile.xml | 1 + .../2020-05-18/GetFileVersion.xml | 1 + dataworks-public/2020-05-18/GetFolder.xml | 1 + dataworks-public/2020-05-18/GetInstance.xml | 1 + dataworks-public/2020-05-18/GetInstance1.xml | 1 + .../2020-05-18/GetInstanceConsumeTimeRank.xml | 1 + .../2020-05-18/GetInstanceCountTrend.xml | 1 + .../2020-05-18/GetInstanceErrorRank.xml | 1 + .../2020-05-18/GetInstanceLog.xml | 1 + .../2020-05-18/GetInstanceStatusCount.xml | 1 + .../2020-05-18/GetManualDagInstances.xml | 1 + .../2020-05-18/GetMetaCategory.xml | 1 + .../2020-05-18/GetMetaColumnLineage.xml | 1 + dataworks-public/2020-05-18/GetMetaDBInfo.xml | 1 + .../2020-05-18/GetMetaDBTableList.xml | 1 + .../2020-05-18/GetMetaTableBasicInfo.xml | 1 + .../2020-05-18/GetMetaTableChangeLog.xml | 1 + .../2020-05-18/GetMetaTableColumn.xml | 1 + .../2020-05-18/GetMetaTableFullInfo.xml | 1 + .../2020-05-18/GetMetaTableIntroWiki.xml | 1 + .../2020-05-18/GetMetaTableLineage.xml | 1 + .../2020-05-18/GetMetaTableListByCategory.xml | 1 + .../2020-05-18/GetMetaTableOutput.xml | 1 + .../2020-05-18/GetMetaTablePartition.xml | 1 + dataworks-public/2020-05-18/GetNode.xml | 1 + .../2020-05-18/GetNodeChildren.xml | 1 + dataworks-public/2020-05-18/GetNodeCode.xml | 1 + .../2020-05-18/GetNodeOnBaseline.xml | 1 + .../2020-05-18/GetNodeParents.xml | 1 + .../2020-05-18/GetNodeTypeListInfo.xml | 1 + dataworks-public/2020-05-18/GetOpRiskData.xml | 1 + .../2020-05-18/GetOpSensitiveData.xml | 1 + .../2020-05-18/GetProjectDetail.xml | 1 + .../2020-05-18/GetQualityEntity.xml | 1 + .../2020-05-18/GetQualityFollower.xml | 1 + .../2020-05-18/GetQualityRule.xml | 1 + dataworks-public/2020-05-18/GetRemind.xml | 1 + .../2020-05-18/GetSensitiveData.xml | 1 + .../2020-05-18/GetSuccessInstanceTrend.xml | 1 + dataworks-public/2020-05-18/GetTopic.xml | 1 + .../2020-05-18/GetTopicInfluence.xml | 1 + .../2020-05-18/ListAlertMessages.xml | 1 + .../2020-05-18/ListBaselineConfigs.xml | 1 + .../2020-05-18/ListBaselineStatuses.xml | 1 + dataworks-public/2020-05-18/ListBusiness.xml | 1 + .../2020-05-18/ListCalcEngines.xml | 1 + .../2020-05-18/ListConnections.xml | 1 + .../ListDataServiceApiAuthorities.xml | 1 + .../2020-05-18/ListDataServiceApis.xml | 1 + .../ListDataServiceApplications.xml | 1 + .../ListDataServiceAuthorizedApis.xml | 1 + .../2020-05-18/ListDataServiceFolders.xml | 1 + .../2020-05-18/ListDataServiceGroups.xml | 1 + .../ListDataServicePublishedApis.xml | 1 + .../2020-05-18/ListFileVersions.xml | 1 + dataworks-public/2020-05-18/ListFiles.xml | 1 + dataworks-public/2020-05-18/ListFolders.xml | 1 + dataworks-public/2020-05-18/ListInstances.xml | 1 + .../2020-05-18/ListInstances1.xml | 1 + dataworks-public/2020-05-18/ListMetaDB.xml | 1 + dataworks-public/2020-05-18/ListNodeIO.xml | 1 + dataworks-public/2020-05-18/ListNodes.xml | 1 + .../2020-05-18/ListProgramTypeCount.xml | 1 + .../2020-05-18/ListProjectMembers.xml | 1 + .../2020-05-18/ListProjectRoles.xml | 1 + dataworks-public/2020-05-18/ListProjects.xml | 1 + .../2020-05-18/ListQualityResultsByEntity.xml | 1 + .../2020-05-18/ListQualityResultsByRule.xml | 1 + .../2020-05-18/ListQualityRules.xml | 1 + dataworks-public/2020-05-18/ListReminds.xml | 1 + .../2020-05-18/ListResourceGroups.xml | 1 + .../2020-05-18/ListTableLevel.xml | 1 + .../2020-05-18/ListTableTheme.xml | 1 + dataworks-public/2020-05-18/ListTopics.xml | 1 + .../2020-05-18/PublishDataServiceApi.xml | 1 + .../RemoveProjectMemberFromRole.xml | 1 + .../2020-05-18/RestartInstance.xml | 1 + .../2020-05-18/RestartInstance1.xml | 1 + .../2020-05-18/ResumeInstance.xml | 1 + .../2020-05-18/ResumeInstance1.xml | 1 + .../2020-05-18/RunTriggerNode.xml | 1 + .../2020-05-18/ScanSensitiveData.xml | 1 + .../2020-05-18/SearchMetaTables.xml | 1 + .../2020-05-18/SearchNodesByOutput.xml | 1 + .../2020-05-18/SetSuccessInstance.xml | 1 + .../2020-05-18/SetSuccessInstance1.xml | 1 + dataworks-public/2020-05-18/StopInstance.xml | 1 + dataworks-public/2020-05-18/StopInstance1.xml | 1 + dataworks-public/2020-05-18/SubmitFile.xml | 1 + .../2020-05-18/SuspendInstance.xml | 1 + .../2020-05-18/SuspendInstance1.xml | 1 + .../2020-05-18/UpdateBusiness.xml | 1 + .../2020-05-18/UpdateConnection.xml | 1 + .../2020-05-18/UpdateDataServiceApi.xml | 1 + dataworks-public/2020-05-18/UpdateFile.xml | 1 + dataworks-public/2020-05-18/UpdateFolder.xml | 1 + .../2020-05-18/UpdateMetaCategory.xml | 1 + .../2020-05-18/UpdateMetaTable.xml | 1 + .../2020-05-18/UpdateMetaTableIntroWiki.xml | 1 + .../2020-05-18/UpdateQualityEntity.xml | 1 + .../2020-05-18/UpdateQualityFollower.xml | 1 + .../2020-05-18/UpdateQualityRule.xml | 1 + dataworks-public/2020-05-18/UpdateRemind.xml | 1 + dataworks-public/2020-05-18/UpdateTable.xml | 1 + .../2020-05-18/UpdateTableLevel.xml | 1 + .../2020-05-18/UpdateTableModelInfo.xml | 1 + .../2020-05-18/UpdateTableTheme.xml | 1 + dataworks-public/2020-05-18/UpdateUdfFile.xml | 1 + dataworks-public/CMakeLists.txt | 688 ++- .../dataworks-public/Dataworks_publicClient.h | 1376 ++++- .../model/AbolishDataServiceApiRequest.h | 54 + .../model/AbolishDataServiceApiResult.h | 59 + .../model/AddProjectMemberToRoleRequest.h | 57 + .../model/AddProjectMemberToRoleResult.h | 49 + .../model/AddToMetaCategoryRequest.h | 51 + .../model/AddToMetaCategoryResult.h | 59 + .../model/CheckMetaPartitionRequest.h | 63 + .../model/CheckMetaPartitionResult.h | 59 + ...eagesRequest.h => CheckMetaTableRequest.h} | 18 +- ...sourcesResult.h => CheckMetaTableResult.h} | 16 +- .../model/CreateBusinessRequest.h | 63 + .../model/CreateBusinessResult.h | 59 + .../model/CreateConnectionRequest.h | 66 + .../model/CreateConnectionResult.h | 55 + .../model/CreateDagComplementRequest.h | 78 + .../model/CreateDagComplementResult.h | 59 + .../model/CreateDagTestRequest.h | 60 + .../model/CreateDagTestResult.h | 59 + .../CreateDataServiceApiAuthorityRequest.h | 60 + .../CreateDataServiceApiAuthorityResult.h | 51 + .../model/CreateDataServiceApiRequest.h | 93 + .../model/CreateDataServiceApiResult.h | 59 + .../model/CreateDataServiceFolderRequest.h | 60 + .../model/CreateDataServiceFolderResult.h | 51 + .../model/CreateDataServiceGroupRequest.h | 60 + .../model/CreateDataServiceGroupResult.h | 51 + .../model/CreateFileRequest.h | 114 + .../dataworks-public/model/CreateFileResult.h | 59 + .../model/CreateFolderRequest.h | 54 + .../model/CreateFolderResult.h | 59 + .../model/CreateManualDagRequest.h | 21 +- .../model/CreateManualDagResult.h | 10 +- .../model/CreateMetaCategoryRequest.h | 54 + .../model/CreateMetaCategoryResult.h | 63 + .../model/CreateProjectMemberRequest.h | 57 + ...esResult.h => CreateProjectMemberResult.h} | 14 +- .../model/CreateQualityEntityRequest.h | 60 + .../model/CreateQualityEntityResult.h | 59 + .../model/CreateQualityFollowerRequest.h | 57 + .../model/CreateQualityFollowerResult.h | 59 + .../model/CreateQualityRelativeNodeRequest.h | 69 + .../model/CreateQualityRelativeNodeResult.h | 59 + .../model/CreateQualityRuleRequest.h | 99 + .../model/CreateQualityRuleResult.h | 59 + .../model/CreateRealTimeProcessRequest.h | 69 - .../model/CreateRemindRequest.h | 90 + .../model/CreateRemindResult.h | 59 + .../model/CreateTableLevelRequest.h | 57 + .../model/CreateTableLevelResult.h | 59 + .../model/CreateTableRequest.h | 117 + .../model/CreateTableResult.h | 58 + .../model/CreateTableThemeRequest.h | 57 + .../model/CreateTableThemeResult.h | 59 + .../model/CreateUdfFileRequest.h | 81 + .../model/CreateUdfFileResult.h | 59 + .../model/DeleteBusinessRequest.h | 54 + .../model/DeleteBusinessResult.h | 57 + ...ackRequest.h => DeleteConnectionRequest.h} | 18 +- .../model/DeleteConnectionResult.h | 55 + .../DeleteDataServiceApiAuthorityRequest.h | 57 + .../DeleteDataServiceApiAuthorityResult.h | 51 + .../model/DeleteDataServiceApiRequest.h | 54 + .../model/DeleteDataServiceApiResult.h | 59 + .../model/DeleteFolderRequest.h | 54 + .../model/DeleteFolderResult.h | 57 + .../model/DeleteFromMetaCategoryRequest.h | 51 + .../model/DeleteFromMetaCategoryResult.h | 59 + .../model/DeleteMetaCategoryRequest.h | 48 + .../model/DeleteMetaCategoryResult.h | 59 + .../model/DeleteProjectMemberRequest.h | 51 + .../model/DeleteProjectMemberResult.h | 49 + .../model/DeleteQualityEntityRequest.h | 54 + .../model/DeleteQualityEntityResult.h | 59 + ...quest.h => DeleteQualityFollowerRequest.h} | 18 +- .../model/DeleteQualityFollowerResult.h | 59 + .../model/DeleteQualityRelativeNodeRequest.h | 69 + .../model/DeleteQualityRelativeNodeResult.h | 59 + .../model/DeleteQualityRuleRequest.h | 51 + .../model/DeleteQualityRuleResult.h | 59 + .../model/DeleteRemindRequest.h | 48 + .../model/DeleteRemindResult.h | 59 + .../model/DeleteTableLevelRequest.h | 51 + .../model/DeleteTableLevelResult.h | 51 + .../model/DeleteTableRequest.h | 57 + .../model/DeleteTableResult.h | 58 + .../model/DeleteTableThemeRequest.h | 51 + .../model/DeleteTableThemeResult.h | 59 + .../model/DeployFileRequest.h | 60 + .../dataworks-public/model/DeployFileResult.h | 59 + .../model/DesensitizeDataRequest.h | 51 + .../model/DesensitizeDataResult.h | 51 + .../EstablishRelationTableToBusinessRequest.h | 60 + .../EstablishRelationTableToBusinessResult.h | 57 + .../model/GetBaselineConfigRequest.h | 48 + .../model/GetBaselineConfigResult.h | 76 + .../model/GetBaselineKeyPathRequest.h | 54 + .../model/GetBaselineKeyPathResult.h | 98 + .../model/GetBaselineStatusRequest.h | 54 + .../model/GetBaselineStatusResult.h | 100 + .../model/GetBusinessRequest.h | 54 + .../model/GetBusinessResult.h | 68 + ...atusRequest.h => GetDDLJobStatusRequest.h} | 15 +- ...rocessResult.h => GetDDLJobStatusResult.h} | 21 +- .../dataworks-public/model/GetDagRequest.h | 51 + ...mrHiveDatabasesResult.h => GetDagResult.h} | 42 +- .../model/GetDataServiceApiRequest.h | 54 + .../model/GetDataServiceApiResult.h | 178 + .../model/GetDataServiceApplicationRequest.h | 54 + .../model/GetDataServiceApplicationResult.h | 68 + .../model/GetDataServiceFolderRequest.h | 54 + .../model/GetDataServiceFolderResult.h | 62 + .../model/GetDataServiceGroupRequest.h | 54 + .../model/GetDataServiceGroupResult.h | 63 + .../model/GetDataServicePublishedApiRequest.h | 54 + .../model/GetDataServicePublishedApiResult.h | 190 + .../model/GetDeploymentRequest.h | 54 + .../model/GetDeploymentResult.h | 75 + .../dataworks-public/model/GetFileRequest.h | 54 + .../dataworks-public/model/GetFileResult.h | 111 + ...urcesRequest.h => GetFileVersionRequest.h} | 36 +- .../model/GetFileVersionResult.h | 75 + .../dataworks-public/model/GetFolderRequest.h | 57 + ...rocessStatusResult.h => GetFolderResult.h} | 31 +- .../model/GetInstanceConsumeTimeRankRequest.h | 51 + .../model/GetInstanceConsumeTimeRankResult.h | 66 + .../model/GetInstanceCountTrendRequest.h | 54 + .../model/GetInstanceCountTrendResult.h | 56 + ...equest.h => GetInstanceErrorRankRequest.h} | 18 +- .../model/GetInstanceErrorRankResult.h | 65 + .../model/GetInstanceLogRequest.h | 51 + .../model/GetInstanceLogResult.h | 59 + .../model/GetInstanceRequest.h | 51 + .../model/GetInstanceResult.h | 86 + .../model/GetInstanceStatusCountRequest.h | 54 + .../model/GetInstanceStatusCountResult.h | 61 + .../model/GetManualDagInstancesRequest.h | 54 + .../model/GetManualDagInstancesResult.h | 69 + .../model/GetMetaCategoryRequest.h | 54 + .../model/GetMetaCategoryResult.h | 78 + .../model/GetMetaColumnLineageRequest.h | 72 + ...sResult.h => GetMetaColumnLineageResult.h} | 36 +- ...neagesRequest.h => GetMetaDBInfoRequest.h} | 24 +- .../model/GetMetaDBInfoResult.h | 70 + ...sRequest.h => GetMetaDBTableListRequest.h} | 18 +- .../model/GetMetaDBTableListResult.h | 64 + ...quest.h => GetMetaTableBasicInfoRequest.h} | 18 +- .../model/GetMetaTableBasicInfoResult.h | 82 + .../model/GetMetaTableChangeLogRequest.h | 66 + .../model/GetMetaTableChangeLogResult.h | 75 + .../model/GetMetaTableColumnRequest.h | 66 + .../model/GetMetaTableColumnResult.h | 78 + ...equest.h => GetMetaTableFullInfoRequest.h} | 36 +- ...eResult.h => GetMetaTableFullInfoResult.h} | 65 +- .../model/GetMetaTableIntroWikiRequest.h | 51 + .../model/GetMetaTableIntroWikiResult.h | 68 + .../model/GetMetaTableLineageRequest.h | 69 + .../model/GetMetaTableLineageResult.h | 70 + .../model/GetMetaTableListByCategoryRequest.h | 54 + .../model/GetMetaTableListByCategoryResult.h | 66 + .../model/GetMetaTableOutputRequest.h | 60 + .../model/GetMetaTableOutputResult.h | 76 + ...quest.h => GetMetaTablePartitionRequest.h} | 36 +- .../model/GetMetaTablePartitionResult.h | 80 + .../model/GetNodeChildrenRequest.h | 51 + .../model/GetNodeChildrenResult.h | 76 + .../model/GetNodeCodeRequest.h | 51 + .../model/GetNodeCodeResult.h | 59 + .../model/GetNodeOnBaselineRequest.h | 48 + .../model/GetNodeOnBaselineResult.h | 66 + .../model/GetNodeParentsRequest.h | 51 + .../model/GetNodeParentsResult.h | 76 + .../dataworks-public/model/GetNodeRequest.h | 51 + .../dataworks-public/model/GetNodeResult.h | 80 + .../model/GetNodeTypeListInfoRequest.h | 63 + .../model/GetNodeTypeListInfoResult.h | 63 + .../model/GetOpRiskDataRequest.h | 60 + ...CallbackResult.h => GetOpRiskDataResult.h} | 20 +- .../model/GetOpSensitiveDataRequest.h | 60 + .../model/GetOpSensitiveDataResult.h | 51 + .../model/GetProjectDetailRequest.h | 48 + .../model/GetProjectDetailResult.h | 76 + .../model/GetQualityEntityRequest.h | 57 + .../model/GetQualityEntityResult.h | 77 + .../model/GetQualityFollowerRequest.h | 51 + .../model/GetQualityFollowerResult.h | 68 + .../model/GetQualityRuleRequest.h | 51 + .../model/GetQualityRuleResult.h | 84 + .../dataworks-public/model/GetRemindRequest.h | 48 + .../dataworks-public/model/GetRemindResult.h | 107 + .../model/GetSensitiveDataRequest.h | 54 + .../model/GetSensitiveDataResult.h | 51 + .../model/GetSuccessInstanceTrendRequest.h | 48 + .../model/GetSuccessInstanceTrendResult.h | 72 + .../model/GetTopicInfluenceRequest.h | 48 + .../model/GetTopicInfluenceResult.h | 76 + .../dataworks-public/model/GetTopicRequest.h | 48 + .../dataworks-public/model/GetTopicResult.h | 85 + .../model/ListAlertMessagesRequest.h | 69 + .../model/ListAlertMessagesResult.h | 116 + .../model/ListBaselineConfigsRequest.h | 69 + .../model/ListBaselineConfigsResult.h | 83 + .../model/ListBaselineStatusesRequest.h | 75 + .../model/ListBaselineStatusesResult.h | 83 + .../model/ListBusinessRequest.h | 60 + ...artitionsResult.h => ListBusinessResult.h} | 36 +- .../model/ListCalcEnginesRequest.h | 63 + .../model/ListCalcEnginesResult.h | 78 + .../model/ListConnectionsRequest.h | 69 + .../model/ListConnectionsResult.h | 83 + .../ListDataServiceApiAuthoritiesRequest.h | 60 + .../ListDataServiceApiAuthoritiesResult.h | 87 + .../model/ListDataServiceApisRequest.h | 66 + .../model/ListDataServiceApisResult.h | 185 + .../ListDataServiceApplicationsRequest.h | 57 + .../model/ListDataServiceApplicationsResult.h | 72 + .../ListDataServiceAuthorizedApisRequest.h | 60 + .../ListDataServiceAuthorizedApisResult.h | 82 + .../model/ListDataServiceFoldersRequest.h | 63 + .../model/ListDataServiceFoldersResult.h | 69 + .../model/ListDataServiceGroupsRequest.h | 60 + .../model/ListDataServiceGroupsResult.h | 70 + .../ListDataServicePublishedApisRequest.h | 66 + .../ListDataServicePublishedApisResult.h | 197 + .../model/ListFileVersionsRequest.h | 60 + .../model/ListFileVersionsResult.h | 82 + .../dataworks-public/model/ListFilesRequest.h | 72 + .../dataworks-public/model/ListFilesResult.h | 88 + .../model/ListFoldersRequest.h | 60 + ...eAuditLogsResult.h => ListFoldersResult.h} | 30 +- .../model/ListInstancesRequest.h | 84 + .../model/ListInstancesResult.h | 93 + .../model/ListMetaDBRequest.h | 57 + .../dataworks-public/model/ListMetaDBResult.h | 66 + .../model/ListNodeIORequest.h | 54 + .../dataworks-public/model/ListNodeIOResult.h | 65 + .../dataworks-public/model/ListNodesRequest.h | 69 + ...mrHiveTablesResult.h => ListNodesResult.h} | 60 +- .../model/ListProgramTypeCountRequest.h | 51 + .../model/ListProgramTypeCountResult.h | 56 + .../model/ListProjectMembersRequest.h | 54 + .../model/ListProjectMembersResult.h | 74 + .../model/ListProjectRolesRequest.h | 48 + ...urcesResult.h => ListProjectRolesResult.h} | 30 +- .../model/ListProjectsRequest.h | 51 + .../model/ListProjectsResult.h | 68 + .../model/ListQualityResultsByEntityRequest.h | 63 + .../model/ListQualityResultsByEntityResult.h | 124 + .../model/ListQualityResultsByRuleRequest.h | 63 + .../model/ListQualityResultsByRuleResult.h | 124 + .../model/ListQualityRulesRequest.h | 57 + .../model/ListQualityRulesResult.h | 93 + .../model/ListRemindsRequest.h | 66 + .../model/ListRemindsResult.h | 84 + .../model/ListResourceGroupsRequest.h | 51 + ...nceResult.h => ListResourceGroupsResult.h} | 50 +- .../model/ListTableLevelRequest.h | 51 + .../model/ListTableLevelResult.h | 72 + .../model/ListTableThemeRequest.h | 57 + .../model/ListTableThemeResult.h | 74 + .../model/ListTopicsRequest.h | 72 + .../dataworks-public/model/ListTopicsResult.h | 81 + .../model/PublishDataServiceApiRequest.h | 54 + .../model/PublishDataServiceApiResult.h | 59 + .../RemoveProjectMemberFromRoleRequest.h | 54 + .../model/RemoveProjectMemberFromRoleResult.h | 49 + .../model/RestartInstanceRequest.h | 51 + .../model/RestartInstanceResult.h | 59 + .../model/ResumeInstanceRequest.h | 51 + .../model/ResumeInstanceResult.h | 59 + .../model/RunTriggerNodeRequest.h | 57 + .../model/RunTriggerNodeResult.h | 51 + .../model/ScanSensitiveDataRequest.h | 48 + .../model/ScanSensitiveDataResult.h | 51 + .../model/SearchMetaTablesRequest.h | 66 + ...eagesResult.h => SearchMetaTablesResult.h} | 43 +- .../model/SearchNodesByOutputRequest.h | 51 + .../model/SearchNodesByOutputResult.h | 59 + .../model/SendTaskMetaCallbackRequest.h | 75 - .../model/SetSuccessInstanceRequest.h | 51 + .../model/SetSuccessInstanceResult.h | 59 + .../model/StopInstanceRequest.h | 51 + .../model/StopInstanceResult.h | 59 + .../model/SubmitFileRequest.h | 57 + .../dataworks-public/model/SubmitFileResult.h | 59 + .../model/SuspendInstanceRequest.h | 51 + .../model/SuspendInstanceResult.h | 59 + .../model/UpdateBusinessRequest.h | 63 + .../model/UpdateBusinessResult.h | 57 + ...cesRequest.h => UpdateConnectionRequest.h} | 45 +- .../model/UpdateConnectionResult.h | 55 + .../model/UpdateDataServiceApiRequest.h | 84 + .../model/UpdateDataServiceApiResult.h | 59 + .../model/UpdateFileRequest.h | 114 + .../dataworks-public/model/UpdateFileResult.h | 57 + ...sourcesRequest.h => UpdateFolderRequest.h} | 39 +- .../model/UpdateFolderResult.h | 57 + .../model/UpdateMetaCategoryRequest.h | 54 + .../model/UpdateMetaCategoryResult.h | 59 + .../model/UpdateMetaTableIntroWikiRequest.h | 51 + .../model/UpdateMetaTableIntroWikiResult.h | 51 + .../model/UpdateMetaTableRequest.h | 75 + .../model/UpdateMetaTableResult.h | 51 + .../model/UpdateQualityFollowerRequest.h | 57 + .../model/UpdateQualityFollowerResult.h | 59 + .../model/UpdateQualityRuleRequest.h | 102 + .../model/UpdateQualityRuleResult.h | 59 + .../model/UpdateRemindRequest.h | 96 + .../model/UpdateRemindResult.h | 59 + .../model/UpdateTableLevelRequest.h | 60 + .../model/UpdateTableLevelResult.h | 59 + .../model/UpdateTableModelInfoRequest.h | 60 + ...kResult.h => UpdateTableModelInfoResult.h} | 22 +- .../model/UpdateTableRequest.h | 117 + .../model/UpdateTableResult.h | 58 + .../model/UpdateTableThemeRequest.h | 54 + .../model/UpdateTableThemeResult.h | 59 + .../model/UpdateUdfFileRequest.h | 81 + .../model/UpdateUdfFileResult.h | 57 + .../src/Dataworks-publicClient.cc | 5382 ++++++++++++++++- .../src/model/AbolishDataServiceApiRequest.cc | 62 + .../src/model/AbolishDataServiceApiResult.cc | 79 + .../model/AddProjectMemberToRoleRequest.cc | 73 + .../src/model/AddProjectMemberToRoleResult.cc | 44 + .../src/model/AddToMetaCategoryRequest.cc | 51 + .../src/model/AddToMetaCategoryResult.cc | 79 + .../src/model/CheckMetaPartitionRequest.cc | 95 + .../src/model/CheckMetaPartitionResult.cc | 79 + .../src/model/CheckMetaTableRequest.cc | 84 + .../src/model/CheckMetaTableResult.cc | 51 + .../src/model/CreateBusinessRequest.cc | 95 + .../src/model/CreateBusinessResult.cc | 79 + .../src/model/CreateConnectionRequest.cc | 106 + ...ackResult.cc => CreateConnectionResult.cc} | 30 +- .../src/model/CreateDagComplementRequest.cc | 150 + .../src/model/CreateDagComplementResult.cc | 80 + .../src/model/CreateDagTestRequest.cc | 84 + .../src/model/CreateDagTestResult.cc | 79 + .../CreateDataServiceApiAuthorityRequest.cc | 84 + .../CreateDataServiceApiAuthorityResult.cc | 51 + .../src/model/CreateDataServiceApiRequest.cc | 205 + .../src/model/CreateDataServiceApiResult.cc | 79 + .../model/CreateDataServiceFolderRequest.cc | 84 + .../model/CreateDataServiceFolderResult.cc | 51 + .../model/CreateDataServiceGroupRequest.cc | 84 + .../src/model/CreateDataServiceGroupResult.cc | 51 + .../src/model/CreateFileRequest.cc | 282 + .../src/model/CreateFileResult.cc | 79 + .../src/model/CreateFolderRequest.cc | 62 + .../src/model/CreateFolderResult.cc | 79 + .../src/model/CreateManualDagRequest.cc | 47 +- .../src/model/CreateManualDagResult.cc | 29 +- .../src/model/CreateMetaCategoryRequest.cc | 62 + .../src/model/CreateMetaCategoryResult.cc | 80 + .../src/model/CreateProjectMemberRequest.cc | 73 + ...Result.cc => CreateProjectMemberResult.cc} | 10 +- .../src/model/CreateQualityEntityRequest.cc | 84 + .../src/model/CreateQualityEntityResult.cc | 79 + .../src/model/CreateQualityFollowerRequest.cc | 73 + .../src/model/CreateQualityFollowerResult.cc | 79 + .../model/CreateQualityRelativeNodeRequest.cc | 117 + .../model/CreateQualityRelativeNodeResult.cc | 79 + .../src/model/CreateQualityRuleRequest.cc | 227 + .../src/model/CreateQualityRuleResult.cc | 79 + .../src/model/CreateRealTimeProcessRequest.cc | 117 - .../src/model/CreateRemindRequest.cc | 194 + .../src/model/CreateRemindResult.cc | 79 + .../src/model/CreateTableLevelRequest.cc | 73 + .../src/model/CreateTableLevelResult.cc | 79 + .../src/model/CreateTableRequest.cc | 244 + .../src/model/CreateTableResult.cc | 58 + .../src/model/CreateTableThemeRequest.cc | 73 + .../src/model/CreateTableThemeResult.cc | 79 + .../src/model/CreateUdfFileRequest.cc | 161 + .../src/model/CreateUdfFileResult.cc | 79 + .../src/model/DeleteBusinessRequest.cc | 62 + .../src/model/DeleteBusinessResult.cc | 72 + ...sRequest.cc => DeleteConnectionRequest.cc} | 20 +- .../src/model/DeleteConnectionResult.cc | 65 + .../DeleteDataServiceApiAuthorityRequest.cc | 73 + .../DeleteDataServiceApiAuthorityResult.cc | 51 + .../src/model/DeleteDataServiceApiRequest.cc | 62 + .../src/model/DeleteDataServiceApiResult.cc | 79 + .../src/model/DeleteFileRequest.cc | 2 +- .../src/model/DeleteFolderRequest.cc | 62 + .../src/model/DeleteFolderResult.cc | 72 + .../model/DeleteFromMetaCategoryRequest.cc | 51 + .../src/model/DeleteFromMetaCategoryResult.cc | 79 + .../src/model/DeleteMetaCategoryRequest.cc | 40 + .../src/model/DeleteMetaCategoryResult.cc | 79 + .../src/model/DeleteProjectMemberRequest.cc | 51 + ...Result.cc => DeleteProjectMemberResult.cc} | 10 +- .../src/model/DeleteQualityEntityRequest.cc | 62 + .../src/model/DeleteQualityEntityResult.cc | 79 + .../src/model/DeleteQualityFollowerRequest.cc | 51 + .../src/model/DeleteQualityFollowerResult.cc | 79 + .../model/DeleteQualityRelativeNodeRequest.cc | 117 + .../model/DeleteQualityRelativeNodeResult.cc | 79 + .../src/model/DeleteQualityRuleRequest.cc | 51 + .../src/model/DeleteQualityRuleResult.cc | 79 + .../src/model/DeleteRemindRequest.cc | 40 + .../src/model/DeleteRemindResult.cc | 79 + .../src/model/DeleteTableLevelRequest.cc | 51 + .../src/model/DeleteTableLevelResult.cc | 51 + .../src/model/DeleteTableRequest.cc | 73 + .../src/model/DeleteTableResult.cc | 58 + .../src/model/DeleteTableThemeRequest.cc | 51 + .../src/model/DeleteTableThemeResult.cc | 79 + .../src/model/DeployFileRequest.cc | 84 + .../src/model/DeployFileResult.cc | 79 + .../src/model/DescribeEmrHiveTableRequest.cc | 62 - .../src/model/DescribeEmrHiveTableResult.cc | 130 - .../src/model/DesensitizeDataRequest.cc | 51 + .../src/model/DesensitizeDataResult.cc | 51 + ...EstablishRelationTableToBusinessRequest.cc | 84 + .../EstablishRelationTableToBusinessResult.cc | 72 + .../src/model/GetBaselineConfigRequest.cc | 40 + .../src/model/GetBaselineConfigResult.cc | 106 + .../src/model/GetBaselineKeyPathRequest.cc | 62 + .../src/model/GetBaselineKeyPathResult.cc | 151 + .../src/model/GetBaselineStatusRequest.cc | 62 + .../src/model/GetBaselineStatusResult.cc | 140 + .../src/model/GetBusinessRequest.cc | 62 + .../src/model/GetBusinessResult.cc | 90 + .../src/model/GetDDLJobStatusRequest.cc | 40 + ...cessResult.cc => GetDDLJobStatusResult.cc} | 32 +- dataworks-public/src/model/GetDagRequest.cc | 51 + dataworks-public/src/model/GetDagResult.cc | 102 + .../src/model/GetDataServiceApiRequest.cc | 62 + .../src/model/GetDataServiceApiResult.cc | 264 + .../model/GetDataServiceApplicationRequest.cc | 62 + .../model/GetDataServiceApplicationResult.cc | 90 + .../src/model/GetDataServiceFolderRequest.cc | 62 + .../src/model/GetDataServiceFolderResult.cc | 66 + .../src/model/GetDataServiceGroupRequest.cc | 62 + .../src/model/GetDataServiceGroupResult.cc | 68 + .../GetDataServicePublishedApiRequest.cc | 62 + .../model/GetDataServicePublishedApiResult.cc | 284 + .../src/model/GetDeploymentRequest.cc | 62 + .../src/model/GetDeploymentResult.cc | 97 + dataworks-public/src/model/GetFileRequest.cc | 62 + dataworks-public/src/model/GetFileResult.cc | 158 + .../src/model/GetFileVersionRequest.cc | 73 + .../src/model/GetFileVersionResult.cc | 104 + .../src/model/GetFolderRequest.cc | 73 + dataworks-public/src/model/GetFolderResult.cc | 82 + .../GetInstanceConsumeTimeRankRequest.cc | 51 + .../model/GetInstanceConsumeTimeRankResult.cc | 72 + .../src/model/GetInstanceCountTrendRequest.cc | 62 + .../src/model/GetInstanceCountTrendResult.cc | 59 + .../src/model/GetInstanceErrorRankRequest.cc | 40 + .../src/model/GetInstanceErrorRankResult.cc | 70 + .../src/model/GetInstanceLogRequest.cc | 51 + .../src/model/GetInstanceLogResult.cc | 79 + .../src/model/GetInstanceRequest.cc | 51 + .../src/model/GetInstanceResult.cc | 126 + .../model/GetInstanceStatusCountRequest.cc | 62 + .../src/model/GetInstanceStatusCountResult.cc | 64 + .../src/model/GetManualDagInstancesRequest.cc | 62 + .../src/model/GetManualDagInstancesResult.cc | 85 + .../src/model/GetMetaCategoryRequest.cc | 62 + .../src/model/GetMetaCategoryResult.cc | 108 + .../src/model/GetMetaColumnLineageRequest.cc | 128 + .../src/model/GetMetaColumnLineageResult.cc | 100 + .../src/model/GetMetaDBInfoRequest.cc | 73 + .../src/model/GetMetaDBInfoResult.cc | 82 + .../src/model/GetMetaDBTableListRequest.cc | 95 + .../src/model/GetMetaDBTableListResult.cc | 68 + .../src/model/GetMetaTableBasicInfoRequest.cc | 84 + .../src/model/GetMetaTableBasicInfoResult.cc | 118 + .../src/model/GetMetaTableChangeLogRequest.cc | 106 + .../src/model/GetMetaTableChangeLogResult.cc | 102 + .../src/model/GetMetaTableColumnRequest.cc | 106 + .../src/model/GetMetaTableColumnResult.cc | 108 + .../src/model/GetMetaTableFullInfoRequest.cc | 106 + .../src/model/GetMetaTableFullInfoResult.cc | 142 + .../src/model/GetMetaTableIntroWikiRequest.cc | 51 + .../src/model/GetMetaTableIntroWikiResult.cc | 90 + .../src/model/GetMetaTableLineageRequest.cc | 117 + .../src/model/GetMetaTableLineageResult.cc | 92 + .../GetMetaTableListByCategoryRequest.cc | 62 + .../model/GetMetaTableListByCategoryResult.cc | 87 + .../src/model/GetMetaTableOutputRequest.cc | 84 + .../src/model/GetMetaTableOutputResult.cc | 104 + .../src/model/GetMetaTablePartitionRequest.cc | 106 + .../src/model/GetMetaTablePartitionResult.cc | 112 + .../src/model/GetNodeChildrenRequest.cc | 51 + .../src/model/GetNodeChildrenResult.cc | 104 + .../src/model/GetNodeCodeRequest.cc | 51 + .../src/model/GetNodeCodeResult.cc | 79 + .../src/model/GetNodeOnBaselineRequest.cc | 40 + .../src/model/GetNodeOnBaselineResult.cc | 91 + .../src/model/GetNodeParentsRequest.cc | 51 + .../src/model/GetNodeParentsResult.cc | 104 + dataworks-public/src/model/GetNodeRequest.cc | 51 + dataworks-public/src/model/GetNodeResult.cc | 114 + .../src/model/GetNodeTypeListInfoRequest.cc | 95 + .../src/model/GetNodeTypeListInfoResult.cc | 66 + .../src/model/GetOpRiskDataRequest.cc | 84 + ...llbackResult.cc => GetOpRiskDataResult.cc} | 25 +- .../src/model/GetOpSensitiveDataRequest.cc | 84 + .../src/model/GetOpSensitiveDataResult.cc | 51 + .../src/model/GetProjectDetailRequest.cc | 40 + .../src/model/GetProjectDetailResult.cc | 101 + .../src/model/GetQualityEntityRequest.cc | 73 + .../src/model/GetQualityEntityResult.cc | 113 + .../src/model/GetQualityFollowerRequest.cc | 51 + .../src/model/GetQualityFollowerResult.cc | 95 + .../src/model/GetQualityRuleRequest.cc | 51 + .../src/model/GetQualityRuleResult.cc | 122 + .../src/model/GetRemindRequest.cc | 40 + dataworks-public/src/model/GetRemindResult.cc | 160 + .../src/model/GetSensitiveDataRequest.cc | 62 + .../src/model/GetSensitiveDataResult.cc | 51 + .../model/GetSuccessInstanceTrendRequest.cc | 40 + .../model/GetSuccessInstanceTrendResult.cc | 80 + .../src/model/GetTopicInfluenceRequest.cc | 40 + .../src/model/GetTopicInfluenceResult.cc | 104 + ...kCallbackRequest.cc => GetTopicRequest.cc} | 20 +- dataworks-public/src/model/GetTopicResult.cc | 124 + .../src/model/ListAlertMessagesRequest.cc | 117 + .../src/model/ListAlertMessagesResult.cc | 171 + .../src/model/ListBaselineConfigsRequest.cc | 117 + .../src/model/ListBaselineConfigsResult.cc | 118 + .../src/model/ListBaselineStatusesRequest.cc | 139 + .../src/model/ListBaselineStatusesResult.cc | 118 + .../src/model/ListBusinessRequest.cc | 84 + .../src/model/ListBusinessResult.cc | 102 + .../src/model/ListCalcEnginesRequest.cc | 95 + .../src/model/ListCalcEnginesResult.cc | 102 + .../src/model/ListConnectionsRequest.cc | 117 + .../src/model/ListConnectionsResult.cc | 112 + .../ListDataServiceApiAuthoritiesRequest.cc | 84 + .../ListDataServiceApiAuthoritiesResult.cc | 124 + .../src/model/ListDataServiceApisRequest.cc | 106 + .../src/model/ListDataServiceApisResult.cc | 276 + .../ListDataServiceApplicationsRequest.cc | 73 + .../ListDataServiceApplicationsResult.cc | 96 + .../ListDataServiceAuthorizedApisRequest.cc | 84 + .../ListDataServiceAuthorizedApisResult.cc | 116 + .../model/ListDataServiceFoldersRequest.cc | 95 + .../src/model/ListDataServiceFoldersResult.cc | 78 + .../src/model/ListDataServiceGroupsRequest.cc | 84 + .../src/model/ListDataServiceGroupsResult.cc | 80 + .../ListDataServicePublishedApisRequest.cc | 106 + .../ListDataServicePublishedApisResult.cc | 296 + .../src/model/ListEmrHiveAuditLogsRequest.cc | 106 - .../src/model/ListEmrHiveDatabasesResult.cc | 93 - .../src/model/ListEmrHiveTablesRequest.cc | 73 - .../src/model/ListEmrHiveTablesResult.cc | 120 - .../src/model/ListFileVersionsRequest.cc | 84 + .../src/model/ListFileVersionsResult.cc | 116 + .../src/model/ListFilesRequest.cc | 128 + dataworks-public/src/model/ListFilesResult.cc | 128 + .../src/model/ListFoldersRequest.cc | 84 + ...uditLogsResult.cc => ListFoldersResult.cc} | 55 +- .../model/ListHiveColumnLineagesRequest.cc | 73 - .../src/model/ListHiveColumnLineagesResult.cc | 124 - .../src/model/ListHiveTableLineagesRequest.cc | 62 - .../src/model/ListHiveTableLineagesResult.cc | 116 - .../src/model/ListInstancesRequest.cc | 172 + .../src/model/ListInstancesResult.cc | 138 + .../src/model/ListMetaDBRequest.cc | 73 + .../src/model/ListMetaDBResult.cc | 72 + .../src/model/ListNodeIORequest.cc | 62 + .../src/model/ListNodeIOResult.cc | 89 + .../src/model/ListNodesRequest.cc | 117 + dataworks-public/src/model/ListNodesResult.cc | 126 + .../src/model/ListProgramTypeCountRequest.cc | 51 + .../src/model/ListProgramTypeCountResult.cc | 59 + .../src/model/ListProjectMembersRequest.cc | 62 + .../src/model/ListProjectMembersResult.cc | 86 + .../src/model/ListProjectRolesRequest.cc | 40 + .../src/model/ListProjectRolesResult.cc | 63 + .../src/model/ListProjectsRequest.cc | 51 + .../src/model/ListProjectsResult.cc | 76 + .../ListQualityResultsByEntityRequest.cc | 95 + .../model/ListQualityResultsByEntityResult.cc | 196 + .../model/ListQualityResultsByRuleRequest.cc | 95 + .../model/ListQualityResultsByRuleResult.cc | 196 + .../src/model/ListQualityRulesRequest.cc | 73 + .../src/model/ListQualityRulesResult.cc | 138 + .../src/model/ListRemindsRequest.cc | 106 + .../src/model/ListRemindsResult.cc | 126 + .../src/model/ListResourceGroupsRequest.cc | 51 + .../src/model/ListResourceGroupsResult.cc | 99 + .../src/model/ListTableLevelRequest.cc | 51 + .../src/model/ListTableLevelResult.cc | 96 + .../src/model/ListTablePartitionsRequest.cc | 106 - .../src/model/ListTablePartitionsResult.cc | 88 - .../src/model/ListTableThemeRequest.cc | 73 + .../src/model/ListTableThemeResult.cc | 100 + .../src/model/ListTagResourcesRequest.cc | 80 - .../src/model/ListTagResourcesResult.cc | 70 - .../src/model/ListTopicsRequest.cc | 128 + .../src/model/ListTopicsResult.cc | 114 + .../src/model/PublishDataServiceApiRequest.cc | 62 + .../src/model/PublishDataServiceApiResult.cc | 79 + .../QueryRealTimeProcessStatusRequest.cc | 51 - .../model/QueryRealTimeProcessStatusResult.cc | 70 - .../RemoveProjectMemberFromRoleRequest.cc | 62 + .../RemoveProjectMemberFromRoleResult.cc | 44 + .../src/model/RestartInstanceRequest.cc | 51 + .../src/model/RestartInstanceResult.cc | 79 + .../src/model/ResumeInstanceRequest.cc | 51 + .../src/model/ResumeInstanceResult.cc | 79 + .../src/model/RunTriggerNodeRequest.cc | 73 + .../src/model/RunTriggerNodeResult.cc | 51 + .../src/model/ScanSensitiveDataRequest.cc | 40 + .../src/model/ScanSensitiveDataResult.cc | 51 + .../SearchManualDagNodeInstanceRequest.cc | 51 - .../SearchManualDagNodeInstanceResult.cc | 102 - .../src/model/SearchMetaTablesRequest.cc | 106 + .../src/model/SearchMetaTablesResult.cc | 110 + .../src/model/SearchNodesByOutputRequest.cc | 51 + .../src/model/SearchNodesByOutputResult.cc | 79 + .../src/model/SendTaskMetaCallbackRequest.cc | 141 - .../src/model/SetSuccessInstanceRequest.cc | 51 + .../src/model/SetSuccessInstanceResult.cc | 79 + .../src/model/StopInstanceRequest.cc | 51 + .../src/model/StopInstanceResult.cc | 79 + .../src/model/SubmitFileRequest.cc | 73 + .../src/model/SubmitFileResult.cc | 79 + .../src/model/SuspendInstanceRequest.cc | 51 + .../src/model/SuspendInstanceResult.cc | 79 + .../src/model/TagResourcesRequest.cc | 69 - .../src/model/UnTagResourcesRequest.cc | 77 - .../src/model/UpdateBusinessRequest.cc | 95 + .../src/model/UpdateBusinessResult.cc | 72 + .../src/model/UpdateConnectionRequest.cc | 84 + .../src/model/UpdateConnectionResult.cc | 65 + .../src/model/UpdateDataServiceApiRequest.cc | 172 + .../src/model/UpdateDataServiceApiResult.cc | 79 + .../src/model/UpdateFileRequest.cc | 282 + .../src/model/UpdateFileResult.cc | 72 + .../src/model/UpdateFolderRequest.cc | 73 + .../src/model/UpdateFolderResult.cc | 72 + .../src/model/UpdateMetaCategoryRequest.cc | 62 + .../src/model/UpdateMetaCategoryResult.cc | 79 + .../model/UpdateMetaTableIntroWikiRequest.cc | 51 + .../model/UpdateMetaTableIntroWikiResult.cc | 51 + .../src/model/UpdateMetaTableRequest.cc | 139 + .../src/model/UpdateMetaTableResult.cc | 51 + .../src/model/UpdateQualityFollowerRequest.cc | 73 + .../src/model/UpdateQualityFollowerResult.cc | 79 + .../src/model/UpdateQualityRuleRequest.cc | 238 + .../src/model/UpdateQualityRuleResult.cc | 79 + .../src/model/UpdateRemindRequest.cc | 216 + .../src/model/UpdateRemindResult.cc | 79 + .../src/model/UpdateTableLevelRequest.cc | 84 + .../src/model/UpdateTableLevelResult.cc | 79 + .../src/model/UpdateTableModelInfoRequest.cc | 84 + .../src/model/UpdateTableModelInfoResult.cc | 51 + .../src/model/UpdateTableRequest.cc | 244 + .../src/model/UpdateTableResult.cc | 58 + .../src/model/UpdateTableThemeRequest.cc | 62 + .../src/model/UpdateTableThemeResult.cc | 79 + .../src/model/UpdateUdfFileRequest.cc | 161 + .../src/model/UpdateUdfFileResult.cc | 72 + dataworks-public/version-2018-06-01.xml | 1 + dataworks-public/version-2020-05-18.xml | 1 + 862 files changed, 53881 insertions(+), 3025 deletions(-) create mode 100644 dataworks-public/2018-06-01/CheckCallback.xml create mode 100644 dataworks-public/2018-06-01/CreateDag.xml create mode 100644 dataworks-public/2018-06-01/CreateManualDag.xml create mode 100644 dataworks-public/2018-06-01/CreateRealTimeProcess.xml create mode 100644 dataworks-public/2018-06-01/DeleteFile.xml create mode 100644 dataworks-public/2018-06-01/DescribeEmrHiveTable.xml create mode 100644 dataworks-public/2018-06-01/GetInstance.xml create mode 100644 dataworks-public/2018-06-01/GetInstanceLog.xml create mode 100644 dataworks-public/2018-06-01/GetInstanceStatistic.xml create mode 100644 dataworks-public/2018-06-01/GetNode.xml create mode 100644 dataworks-public/2018-06-01/GetNodeCode.xml create mode 100644 dataworks-public/2018-06-01/ListEmrHiveAuditLogs.xml create mode 100644 dataworks-public/2018-06-01/ListEmrHiveDatabases.xml create mode 100644 dataworks-public/2018-06-01/ListEmrHiveTables.xml create mode 100644 dataworks-public/2018-06-01/ListHiveColumnLineages.xml create mode 100644 dataworks-public/2018-06-01/ListHiveTableLineages.xml create mode 100644 dataworks-public/2018-06-01/ListTablePartitions.xml create mode 100644 dataworks-public/2018-06-01/ListTagResources.xml create mode 100644 dataworks-public/2018-06-01/QueryInstances.xml create mode 100644 dataworks-public/2018-06-01/QueryNode.xml create mode 100644 dataworks-public/2018-06-01/QueryRealTimeProcessStatus.xml create mode 100644 dataworks-public/2018-06-01/SearchManualDagNodeInstance.xml create mode 100644 dataworks-public/2018-06-01/SearchNodeInstanceList.xml create mode 100644 dataworks-public/2018-06-01/SendTaskMetaCallback.xml create mode 100644 dataworks-public/2018-06-01/TagResources.xml create mode 100644 dataworks-public/2018-06-01/TestDemo.xml create mode 100644 dataworks-public/2018-06-01/UnTagResources.xml create mode 100644 dataworks-public/2020-05-18/AbolishDataServiceApi.xml create mode 100644 dataworks-public/2020-05-18/AddProjectMemberToRole.xml create mode 100644 dataworks-public/2020-05-18/AddToMetaCategory.xml create mode 100644 dataworks-public/2020-05-18/AlterMetaColumns.xml create mode 100644 dataworks-public/2020-05-18/AlterMetaTable.xml create mode 100644 dataworks-public/2020-05-18/CheckMetaPartition.xml create mode 100644 dataworks-public/2020-05-18/CheckMetaTable.xml create mode 100644 dataworks-public/2020-05-18/CreateBusiness.xml create mode 100644 dataworks-public/2020-05-18/CreateConnection.xml create mode 100644 dataworks-public/2020-05-18/CreateDagComplement.xml create mode 100644 dataworks-public/2020-05-18/CreateDagTest.xml create mode 100644 dataworks-public/2020-05-18/CreateDataServiceApi.xml create mode 100644 dataworks-public/2020-05-18/CreateDataServiceApiAuthority.xml create mode 100644 dataworks-public/2020-05-18/CreateDataServiceFolder.xml create mode 100644 dataworks-public/2020-05-18/CreateDataServiceGroup.xml create mode 100644 dataworks-public/2020-05-18/CreateFile.xml create mode 100644 dataworks-public/2020-05-18/CreateFolder.xml create mode 100644 dataworks-public/2020-05-18/CreateManualDag.xml create mode 100644 dataworks-public/2020-05-18/CreateMetaCategory.xml create mode 100644 dataworks-public/2020-05-18/CreateNodeComplement1.xml create mode 100644 dataworks-public/2020-05-18/CreateNodeTest1.xml create mode 100644 dataworks-public/2020-05-18/CreateProjectMember.xml create mode 100644 dataworks-public/2020-05-18/CreateQualityEntity.xml create mode 100644 dataworks-public/2020-05-18/CreateQualityFollower.xml create mode 100644 dataworks-public/2020-05-18/CreateQualityRelativeNode.xml create mode 100644 dataworks-public/2020-05-18/CreateQualityRule.xml create mode 100644 dataworks-public/2020-05-18/CreateRemind.xml create mode 100644 dataworks-public/2020-05-18/CreateTable.xml create mode 100644 dataworks-public/2020-05-18/CreateTableLevel.xml create mode 100644 dataworks-public/2020-05-18/CreateTableTheme.xml create mode 100644 dataworks-public/2020-05-18/CreateUdfFile.xml create mode 100644 dataworks-public/2020-05-18/DeleteBusiness.xml create mode 100644 dataworks-public/2020-05-18/DeleteConnection.xml create mode 100644 dataworks-public/2020-05-18/DeleteDataServiceApi.xml create mode 100644 dataworks-public/2020-05-18/DeleteDataServiceApiAuthority.xml create mode 100644 dataworks-public/2020-05-18/DeleteFile.xml create mode 100644 dataworks-public/2020-05-18/DeleteFolder.xml create mode 100644 dataworks-public/2020-05-18/DeleteFromMetaCategory.xml create mode 100644 dataworks-public/2020-05-18/DeleteMetaCategory.xml create mode 100644 dataworks-public/2020-05-18/DeleteProjectMember.xml create mode 100644 dataworks-public/2020-05-18/DeleteProjectMember1.xml create mode 100644 dataworks-public/2020-05-18/DeleteQualityEntity.xml create mode 100644 dataworks-public/2020-05-18/DeleteQualityFollower.xml create mode 100644 dataworks-public/2020-05-18/DeleteQualityRelativeNode.xml create mode 100644 dataworks-public/2020-05-18/DeleteQualityRule.xml create mode 100644 dataworks-public/2020-05-18/DeleteRemind.xml create mode 100644 dataworks-public/2020-05-18/DeleteTable.xml create mode 100644 dataworks-public/2020-05-18/DeleteTableLevel.xml create mode 100644 dataworks-public/2020-05-18/DeleteTableTheme.xml create mode 100644 dataworks-public/2020-05-18/DeployFile.xml create mode 100644 dataworks-public/2020-05-18/DesensitizeData.xml create mode 100644 dataworks-public/2020-05-18/EstablishRelationTableToBusiness.xml create mode 100644 dataworks-public/2020-05-18/GetBaselineConfig.xml create mode 100644 dataworks-public/2020-05-18/GetBaselineKeyPath.xml create mode 100644 dataworks-public/2020-05-18/GetBaselineStatus.xml create mode 100644 dataworks-public/2020-05-18/GetBusiness.xml create mode 100644 dataworks-public/2020-05-18/GetDDLJobStatus.xml create mode 100644 dataworks-public/2020-05-18/GetDag.xml create mode 100644 dataworks-public/2020-05-18/GetDataServiceApi.xml create mode 100644 dataworks-public/2020-05-18/GetDataServiceApplication.xml create mode 100644 dataworks-public/2020-05-18/GetDataServiceFolder.xml create mode 100644 dataworks-public/2020-05-18/GetDataServiceGroup.xml create mode 100644 dataworks-public/2020-05-18/GetDataServicePublishedApi.xml create mode 100644 dataworks-public/2020-05-18/GetDeployment.xml create mode 100644 dataworks-public/2020-05-18/GetFile.xml create mode 100644 dataworks-public/2020-05-18/GetFileVersion.xml create mode 100644 dataworks-public/2020-05-18/GetFolder.xml create mode 100644 dataworks-public/2020-05-18/GetInstance.xml create mode 100644 dataworks-public/2020-05-18/GetInstance1.xml create mode 100644 dataworks-public/2020-05-18/GetInstanceConsumeTimeRank.xml create mode 100644 dataworks-public/2020-05-18/GetInstanceCountTrend.xml create mode 100644 dataworks-public/2020-05-18/GetInstanceErrorRank.xml create mode 100644 dataworks-public/2020-05-18/GetInstanceLog.xml create mode 100644 dataworks-public/2020-05-18/GetInstanceStatusCount.xml create mode 100644 dataworks-public/2020-05-18/GetManualDagInstances.xml create mode 100644 dataworks-public/2020-05-18/GetMetaCategory.xml create mode 100644 dataworks-public/2020-05-18/GetMetaColumnLineage.xml create mode 100644 dataworks-public/2020-05-18/GetMetaDBInfo.xml create mode 100644 dataworks-public/2020-05-18/GetMetaDBTableList.xml create mode 100644 dataworks-public/2020-05-18/GetMetaTableBasicInfo.xml create mode 100644 dataworks-public/2020-05-18/GetMetaTableChangeLog.xml create mode 100644 dataworks-public/2020-05-18/GetMetaTableColumn.xml create mode 100644 dataworks-public/2020-05-18/GetMetaTableFullInfo.xml create mode 100644 dataworks-public/2020-05-18/GetMetaTableIntroWiki.xml create mode 100644 dataworks-public/2020-05-18/GetMetaTableLineage.xml create mode 100644 dataworks-public/2020-05-18/GetMetaTableListByCategory.xml create mode 100644 dataworks-public/2020-05-18/GetMetaTableOutput.xml create mode 100644 dataworks-public/2020-05-18/GetMetaTablePartition.xml create mode 100644 dataworks-public/2020-05-18/GetNode.xml create mode 100644 dataworks-public/2020-05-18/GetNodeChildren.xml create mode 100644 dataworks-public/2020-05-18/GetNodeCode.xml create mode 100644 dataworks-public/2020-05-18/GetNodeOnBaseline.xml create mode 100644 dataworks-public/2020-05-18/GetNodeParents.xml create mode 100644 dataworks-public/2020-05-18/GetNodeTypeListInfo.xml create mode 100644 dataworks-public/2020-05-18/GetOpRiskData.xml create mode 100644 dataworks-public/2020-05-18/GetOpSensitiveData.xml create mode 100644 dataworks-public/2020-05-18/GetProjectDetail.xml create mode 100644 dataworks-public/2020-05-18/GetQualityEntity.xml create mode 100644 dataworks-public/2020-05-18/GetQualityFollower.xml create mode 100644 dataworks-public/2020-05-18/GetQualityRule.xml create mode 100644 dataworks-public/2020-05-18/GetRemind.xml create mode 100644 dataworks-public/2020-05-18/GetSensitiveData.xml create mode 100644 dataworks-public/2020-05-18/GetSuccessInstanceTrend.xml create mode 100644 dataworks-public/2020-05-18/GetTopic.xml create mode 100644 dataworks-public/2020-05-18/GetTopicInfluence.xml create mode 100644 dataworks-public/2020-05-18/ListAlertMessages.xml create mode 100644 dataworks-public/2020-05-18/ListBaselineConfigs.xml create mode 100644 dataworks-public/2020-05-18/ListBaselineStatuses.xml create mode 100644 dataworks-public/2020-05-18/ListBusiness.xml create mode 100644 dataworks-public/2020-05-18/ListCalcEngines.xml create mode 100644 dataworks-public/2020-05-18/ListConnections.xml create mode 100644 dataworks-public/2020-05-18/ListDataServiceApiAuthorities.xml create mode 100644 dataworks-public/2020-05-18/ListDataServiceApis.xml create mode 100644 dataworks-public/2020-05-18/ListDataServiceApplications.xml create mode 100644 dataworks-public/2020-05-18/ListDataServiceAuthorizedApis.xml create mode 100644 dataworks-public/2020-05-18/ListDataServiceFolders.xml create mode 100644 dataworks-public/2020-05-18/ListDataServiceGroups.xml create mode 100644 dataworks-public/2020-05-18/ListDataServicePublishedApis.xml create mode 100644 dataworks-public/2020-05-18/ListFileVersions.xml create mode 100644 dataworks-public/2020-05-18/ListFiles.xml create mode 100644 dataworks-public/2020-05-18/ListFolders.xml create mode 100644 dataworks-public/2020-05-18/ListInstances.xml create mode 100644 dataworks-public/2020-05-18/ListInstances1.xml create mode 100644 dataworks-public/2020-05-18/ListMetaDB.xml create mode 100644 dataworks-public/2020-05-18/ListNodeIO.xml create mode 100644 dataworks-public/2020-05-18/ListNodes.xml create mode 100644 dataworks-public/2020-05-18/ListProgramTypeCount.xml create mode 100644 dataworks-public/2020-05-18/ListProjectMembers.xml create mode 100644 dataworks-public/2020-05-18/ListProjectRoles.xml create mode 100644 dataworks-public/2020-05-18/ListProjects.xml create mode 100644 dataworks-public/2020-05-18/ListQualityResultsByEntity.xml create mode 100644 dataworks-public/2020-05-18/ListQualityResultsByRule.xml create mode 100644 dataworks-public/2020-05-18/ListQualityRules.xml create mode 100644 dataworks-public/2020-05-18/ListReminds.xml create mode 100644 dataworks-public/2020-05-18/ListResourceGroups.xml create mode 100644 dataworks-public/2020-05-18/ListTableLevel.xml create mode 100644 dataworks-public/2020-05-18/ListTableTheme.xml create mode 100644 dataworks-public/2020-05-18/ListTopics.xml create mode 100644 dataworks-public/2020-05-18/PublishDataServiceApi.xml create mode 100644 dataworks-public/2020-05-18/RemoveProjectMemberFromRole.xml create mode 100644 dataworks-public/2020-05-18/RestartInstance.xml create mode 100644 dataworks-public/2020-05-18/RestartInstance1.xml create mode 100644 dataworks-public/2020-05-18/ResumeInstance.xml create mode 100644 dataworks-public/2020-05-18/ResumeInstance1.xml create mode 100644 dataworks-public/2020-05-18/RunTriggerNode.xml create mode 100644 dataworks-public/2020-05-18/ScanSensitiveData.xml create mode 100644 dataworks-public/2020-05-18/SearchMetaTables.xml create mode 100644 dataworks-public/2020-05-18/SearchNodesByOutput.xml create mode 100644 dataworks-public/2020-05-18/SetSuccessInstance.xml create mode 100644 dataworks-public/2020-05-18/SetSuccessInstance1.xml create mode 100644 dataworks-public/2020-05-18/StopInstance.xml create mode 100644 dataworks-public/2020-05-18/StopInstance1.xml create mode 100644 dataworks-public/2020-05-18/SubmitFile.xml create mode 100644 dataworks-public/2020-05-18/SuspendInstance.xml create mode 100644 dataworks-public/2020-05-18/SuspendInstance1.xml create mode 100644 dataworks-public/2020-05-18/UpdateBusiness.xml create mode 100644 dataworks-public/2020-05-18/UpdateConnection.xml create mode 100644 dataworks-public/2020-05-18/UpdateDataServiceApi.xml create mode 100644 dataworks-public/2020-05-18/UpdateFile.xml create mode 100644 dataworks-public/2020-05-18/UpdateFolder.xml create mode 100644 dataworks-public/2020-05-18/UpdateMetaCategory.xml create mode 100644 dataworks-public/2020-05-18/UpdateMetaTable.xml create mode 100644 dataworks-public/2020-05-18/UpdateMetaTableIntroWiki.xml create mode 100644 dataworks-public/2020-05-18/UpdateQualityEntity.xml create mode 100644 dataworks-public/2020-05-18/UpdateQualityFollower.xml create mode 100644 dataworks-public/2020-05-18/UpdateQualityRule.xml create mode 100644 dataworks-public/2020-05-18/UpdateRemind.xml create mode 100644 dataworks-public/2020-05-18/UpdateTable.xml create mode 100644 dataworks-public/2020-05-18/UpdateTableLevel.xml create mode 100644 dataworks-public/2020-05-18/UpdateTableModelInfo.xml create mode 100644 dataworks-public/2020-05-18/UpdateTableTheme.xml create mode 100644 dataworks-public/2020-05-18/UpdateUdfFile.xml create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListHiveTableLineagesRequest.h => CheckMetaTableRequest.h} (66%) rename dataworks-public/include/alibabacloud/dataworks-public/model/{UnTagResourcesResult.h => CheckMetaTableResult.h} (70%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{TagResourcesResult.h => CreateProjectMemberResult.h} (68%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h delete mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{CheckCallbackRequest.h => DeleteConnectionRequest.h} (63%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{SearchManualDagNodeInstanceRequest.h => DeleteQualityFollowerRequest.h} (66%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{QueryRealTimeProcessStatusRequest.h => GetDDLJobStatusRequest.h} (65%) rename dataworks-public/include/alibabacloud/dataworks-public/model/{CreateRealTimeProcessResult.h => GetDDLJobStatusResult.h} (65%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDagRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListEmrHiveDatabasesResult.h => GetDagResult.h} (60%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetFileRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{UnTagResourcesRequest.h => GetFileVersionRequest.h} (53%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{QueryRealTimeProcessStatusResult.h => GetFolderResult.h} (60%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListEmrHiveDatabasesRequest.h => GetInstanceErrorRankRequest.h} (65%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListHiveTableLineagesResult.h => GetMetaColumnLineageResult.h} (61%) rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListHiveColumnLineagesRequest.h => GetMetaDBInfoRequest.h} (63%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListEmrHiveTablesRequest.h => GetMetaDBTableListRequest.h} (67%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{DescribeEmrHiveTableRequest.h => GetMetaTableBasicInfoRequest.h} (65%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListEmrHiveAuditLogsRequest.h => GetMetaTableFullInfoRequest.h} (65%) rename dataworks-public/include/alibabacloud/dataworks-public/model/{DescribeEmrHiveTableResult.h => GetMetaTableFullInfoResult.h} (56%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListTablePartitionsRequest.h => GetMetaTablePartitionRequest.h} (68%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{CheckCallbackResult.h => GetOpRiskDataResult.h} (67%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListTablePartitionsResult.h => ListBusinessResult.h} (62%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListEmrHiveAuditLogsResult.h => ListFoldersResult.h} (64%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIORequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIOResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListEmrHiveTablesResult.h => ListNodesResult.h} (52%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListTagResourcesResult.h => ListProjectRolesResult.h} (60%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{SearchManualDagNodeInstanceResult.h => ListResourceGroupsResult.h} (51%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListHiveColumnLineagesResult.h => SearchMetaTablesResult.h} (58%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputResult.h delete mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/SendTaskMetaCallbackRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{ListTagResourcesRequest.h => UpdateConnectionRequest.h} (50%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileResult.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{TagResourcesRequest.h => UpdateFolderRequest.h} (54%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h rename dataworks-public/include/alibabacloud/dataworks-public/model/{SendTaskMetaCallbackResult.h => UpdateTableModelInfoResult.h} (62%) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h create mode 100644 dataworks-public/src/model/AbolishDataServiceApiRequest.cc create mode 100644 dataworks-public/src/model/AbolishDataServiceApiResult.cc create mode 100644 dataworks-public/src/model/AddProjectMemberToRoleRequest.cc create mode 100644 dataworks-public/src/model/AddProjectMemberToRoleResult.cc create mode 100644 dataworks-public/src/model/AddToMetaCategoryRequest.cc create mode 100644 dataworks-public/src/model/AddToMetaCategoryResult.cc create mode 100644 dataworks-public/src/model/CheckMetaPartitionRequest.cc create mode 100644 dataworks-public/src/model/CheckMetaPartitionResult.cc create mode 100644 dataworks-public/src/model/CheckMetaTableRequest.cc create mode 100644 dataworks-public/src/model/CheckMetaTableResult.cc create mode 100644 dataworks-public/src/model/CreateBusinessRequest.cc create mode 100644 dataworks-public/src/model/CreateBusinessResult.cc create mode 100644 dataworks-public/src/model/CreateConnectionRequest.cc rename dataworks-public/src/model/{SendTaskMetaCallbackResult.cc => CreateConnectionResult.cc} (57%) create mode 100644 dataworks-public/src/model/CreateDagComplementRequest.cc create mode 100644 dataworks-public/src/model/CreateDagComplementResult.cc create mode 100644 dataworks-public/src/model/CreateDagTestRequest.cc create mode 100644 dataworks-public/src/model/CreateDagTestResult.cc create mode 100644 dataworks-public/src/model/CreateDataServiceApiAuthorityRequest.cc create mode 100644 dataworks-public/src/model/CreateDataServiceApiAuthorityResult.cc create mode 100644 dataworks-public/src/model/CreateDataServiceApiRequest.cc create mode 100644 dataworks-public/src/model/CreateDataServiceApiResult.cc create mode 100644 dataworks-public/src/model/CreateDataServiceFolderRequest.cc create mode 100644 dataworks-public/src/model/CreateDataServiceFolderResult.cc create mode 100644 dataworks-public/src/model/CreateDataServiceGroupRequest.cc create mode 100644 dataworks-public/src/model/CreateDataServiceGroupResult.cc create mode 100644 dataworks-public/src/model/CreateFileRequest.cc create mode 100644 dataworks-public/src/model/CreateFileResult.cc create mode 100644 dataworks-public/src/model/CreateFolderRequest.cc create mode 100644 dataworks-public/src/model/CreateFolderResult.cc create mode 100644 dataworks-public/src/model/CreateMetaCategoryRequest.cc create mode 100644 dataworks-public/src/model/CreateMetaCategoryResult.cc create mode 100644 dataworks-public/src/model/CreateProjectMemberRequest.cc rename dataworks-public/src/model/{UnTagResourcesResult.cc => CreateProjectMemberResult.cc} (73%) create mode 100644 dataworks-public/src/model/CreateQualityEntityRequest.cc create mode 100644 dataworks-public/src/model/CreateQualityEntityResult.cc create mode 100644 dataworks-public/src/model/CreateQualityFollowerRequest.cc create mode 100644 dataworks-public/src/model/CreateQualityFollowerResult.cc create mode 100644 dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc create mode 100644 dataworks-public/src/model/CreateQualityRelativeNodeResult.cc create mode 100644 dataworks-public/src/model/CreateQualityRuleRequest.cc create mode 100644 dataworks-public/src/model/CreateQualityRuleResult.cc delete mode 100644 dataworks-public/src/model/CreateRealTimeProcessRequest.cc create mode 100644 dataworks-public/src/model/CreateRemindRequest.cc create mode 100644 dataworks-public/src/model/CreateRemindResult.cc create mode 100644 dataworks-public/src/model/CreateTableLevelRequest.cc create mode 100644 dataworks-public/src/model/CreateTableLevelResult.cc create mode 100644 dataworks-public/src/model/CreateTableRequest.cc create mode 100644 dataworks-public/src/model/CreateTableResult.cc create mode 100644 dataworks-public/src/model/CreateTableThemeRequest.cc create mode 100644 dataworks-public/src/model/CreateTableThemeResult.cc create mode 100644 dataworks-public/src/model/CreateUdfFileRequest.cc create mode 100644 dataworks-public/src/model/CreateUdfFileResult.cc create mode 100644 dataworks-public/src/model/DeleteBusinessRequest.cc create mode 100644 dataworks-public/src/model/DeleteBusinessResult.cc rename dataworks-public/src/model/{ListEmrHiveDatabasesRequest.cc => DeleteConnectionRequest.cc} (54%) create mode 100644 dataworks-public/src/model/DeleteConnectionResult.cc create mode 100644 dataworks-public/src/model/DeleteDataServiceApiAuthorityRequest.cc create mode 100644 dataworks-public/src/model/DeleteDataServiceApiAuthorityResult.cc create mode 100644 dataworks-public/src/model/DeleteDataServiceApiRequest.cc create mode 100644 dataworks-public/src/model/DeleteDataServiceApiResult.cc create mode 100644 dataworks-public/src/model/DeleteFolderRequest.cc create mode 100644 dataworks-public/src/model/DeleteFolderResult.cc create mode 100644 dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc create mode 100644 dataworks-public/src/model/DeleteFromMetaCategoryResult.cc create mode 100644 dataworks-public/src/model/DeleteMetaCategoryRequest.cc create mode 100644 dataworks-public/src/model/DeleteMetaCategoryResult.cc create mode 100644 dataworks-public/src/model/DeleteProjectMemberRequest.cc rename dataworks-public/src/model/{TagResourcesResult.cc => DeleteProjectMemberResult.cc} (73%) create mode 100644 dataworks-public/src/model/DeleteQualityEntityRequest.cc create mode 100644 dataworks-public/src/model/DeleteQualityEntityResult.cc create mode 100644 dataworks-public/src/model/DeleteQualityFollowerRequest.cc create mode 100644 dataworks-public/src/model/DeleteQualityFollowerResult.cc create mode 100644 dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc create mode 100644 dataworks-public/src/model/DeleteQualityRelativeNodeResult.cc create mode 100644 dataworks-public/src/model/DeleteQualityRuleRequest.cc create mode 100644 dataworks-public/src/model/DeleteQualityRuleResult.cc create mode 100644 dataworks-public/src/model/DeleteRemindRequest.cc create mode 100644 dataworks-public/src/model/DeleteRemindResult.cc create mode 100644 dataworks-public/src/model/DeleteTableLevelRequest.cc create mode 100644 dataworks-public/src/model/DeleteTableLevelResult.cc create mode 100644 dataworks-public/src/model/DeleteTableRequest.cc create mode 100644 dataworks-public/src/model/DeleteTableResult.cc create mode 100644 dataworks-public/src/model/DeleteTableThemeRequest.cc create mode 100644 dataworks-public/src/model/DeleteTableThemeResult.cc create mode 100644 dataworks-public/src/model/DeployFileRequest.cc create mode 100644 dataworks-public/src/model/DeployFileResult.cc delete mode 100644 dataworks-public/src/model/DescribeEmrHiveTableRequest.cc delete mode 100644 dataworks-public/src/model/DescribeEmrHiveTableResult.cc create mode 100644 dataworks-public/src/model/DesensitizeDataRequest.cc create mode 100644 dataworks-public/src/model/DesensitizeDataResult.cc create mode 100644 dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc create mode 100644 dataworks-public/src/model/EstablishRelationTableToBusinessResult.cc create mode 100644 dataworks-public/src/model/GetBaselineConfigRequest.cc create mode 100644 dataworks-public/src/model/GetBaselineConfigResult.cc create mode 100644 dataworks-public/src/model/GetBaselineKeyPathRequest.cc create mode 100644 dataworks-public/src/model/GetBaselineKeyPathResult.cc create mode 100644 dataworks-public/src/model/GetBaselineStatusRequest.cc create mode 100644 dataworks-public/src/model/GetBaselineStatusResult.cc create mode 100644 dataworks-public/src/model/GetBusinessRequest.cc create mode 100644 dataworks-public/src/model/GetBusinessResult.cc create mode 100644 dataworks-public/src/model/GetDDLJobStatusRequest.cc rename dataworks-public/src/model/{CreateRealTimeProcessResult.cc => GetDDLJobStatusResult.cc} (59%) create mode 100644 dataworks-public/src/model/GetDagRequest.cc create mode 100644 dataworks-public/src/model/GetDagResult.cc create mode 100644 dataworks-public/src/model/GetDataServiceApiRequest.cc create mode 100644 dataworks-public/src/model/GetDataServiceApiResult.cc create mode 100644 dataworks-public/src/model/GetDataServiceApplicationRequest.cc create mode 100644 dataworks-public/src/model/GetDataServiceApplicationResult.cc create mode 100644 dataworks-public/src/model/GetDataServiceFolderRequest.cc create mode 100644 dataworks-public/src/model/GetDataServiceFolderResult.cc create mode 100644 dataworks-public/src/model/GetDataServiceGroupRequest.cc create mode 100644 dataworks-public/src/model/GetDataServiceGroupResult.cc create mode 100644 dataworks-public/src/model/GetDataServicePublishedApiRequest.cc create mode 100644 dataworks-public/src/model/GetDataServicePublishedApiResult.cc create mode 100644 dataworks-public/src/model/GetDeploymentRequest.cc create mode 100644 dataworks-public/src/model/GetDeploymentResult.cc create mode 100644 dataworks-public/src/model/GetFileRequest.cc create mode 100644 dataworks-public/src/model/GetFileResult.cc create mode 100644 dataworks-public/src/model/GetFileVersionRequest.cc create mode 100644 dataworks-public/src/model/GetFileVersionResult.cc create mode 100644 dataworks-public/src/model/GetFolderRequest.cc create mode 100644 dataworks-public/src/model/GetFolderResult.cc create mode 100644 dataworks-public/src/model/GetInstanceConsumeTimeRankRequest.cc create mode 100644 dataworks-public/src/model/GetInstanceConsumeTimeRankResult.cc create mode 100644 dataworks-public/src/model/GetInstanceCountTrendRequest.cc create mode 100644 dataworks-public/src/model/GetInstanceCountTrendResult.cc create mode 100644 dataworks-public/src/model/GetInstanceErrorRankRequest.cc create mode 100644 dataworks-public/src/model/GetInstanceErrorRankResult.cc create mode 100644 dataworks-public/src/model/GetInstanceLogRequest.cc create mode 100644 dataworks-public/src/model/GetInstanceLogResult.cc create mode 100644 dataworks-public/src/model/GetInstanceRequest.cc create mode 100644 dataworks-public/src/model/GetInstanceResult.cc create mode 100644 dataworks-public/src/model/GetInstanceStatusCountRequest.cc create mode 100644 dataworks-public/src/model/GetInstanceStatusCountResult.cc create mode 100644 dataworks-public/src/model/GetManualDagInstancesRequest.cc create mode 100644 dataworks-public/src/model/GetManualDagInstancesResult.cc create mode 100644 dataworks-public/src/model/GetMetaCategoryRequest.cc create mode 100644 dataworks-public/src/model/GetMetaCategoryResult.cc create mode 100644 dataworks-public/src/model/GetMetaColumnLineageRequest.cc create mode 100644 dataworks-public/src/model/GetMetaColumnLineageResult.cc create mode 100644 dataworks-public/src/model/GetMetaDBInfoRequest.cc create mode 100644 dataworks-public/src/model/GetMetaDBInfoResult.cc create mode 100644 dataworks-public/src/model/GetMetaDBTableListRequest.cc create mode 100644 dataworks-public/src/model/GetMetaDBTableListResult.cc create mode 100644 dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc create mode 100644 dataworks-public/src/model/GetMetaTableBasicInfoResult.cc create mode 100644 dataworks-public/src/model/GetMetaTableChangeLogRequest.cc create mode 100644 dataworks-public/src/model/GetMetaTableChangeLogResult.cc create mode 100644 dataworks-public/src/model/GetMetaTableColumnRequest.cc create mode 100644 dataworks-public/src/model/GetMetaTableColumnResult.cc create mode 100644 dataworks-public/src/model/GetMetaTableFullInfoRequest.cc create mode 100644 dataworks-public/src/model/GetMetaTableFullInfoResult.cc create mode 100644 dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc create mode 100644 dataworks-public/src/model/GetMetaTableIntroWikiResult.cc create mode 100644 dataworks-public/src/model/GetMetaTableLineageRequest.cc create mode 100644 dataworks-public/src/model/GetMetaTableLineageResult.cc create mode 100644 dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc create mode 100644 dataworks-public/src/model/GetMetaTableListByCategoryResult.cc create mode 100644 dataworks-public/src/model/GetMetaTableOutputRequest.cc create mode 100644 dataworks-public/src/model/GetMetaTableOutputResult.cc create mode 100644 dataworks-public/src/model/GetMetaTablePartitionRequest.cc create mode 100644 dataworks-public/src/model/GetMetaTablePartitionResult.cc create mode 100644 dataworks-public/src/model/GetNodeChildrenRequest.cc create mode 100644 dataworks-public/src/model/GetNodeChildrenResult.cc create mode 100644 dataworks-public/src/model/GetNodeCodeRequest.cc create mode 100644 dataworks-public/src/model/GetNodeCodeResult.cc create mode 100644 dataworks-public/src/model/GetNodeOnBaselineRequest.cc create mode 100644 dataworks-public/src/model/GetNodeOnBaselineResult.cc create mode 100644 dataworks-public/src/model/GetNodeParentsRequest.cc create mode 100644 dataworks-public/src/model/GetNodeParentsResult.cc create mode 100644 dataworks-public/src/model/GetNodeRequest.cc create mode 100644 dataworks-public/src/model/GetNodeResult.cc create mode 100644 dataworks-public/src/model/GetNodeTypeListInfoRequest.cc create mode 100644 dataworks-public/src/model/GetNodeTypeListInfoResult.cc create mode 100644 dataworks-public/src/model/GetOpRiskDataRequest.cc rename dataworks-public/src/model/{CheckCallbackResult.cc => GetOpRiskDataResult.cc} (61%) create mode 100644 dataworks-public/src/model/GetOpSensitiveDataRequest.cc create mode 100644 dataworks-public/src/model/GetOpSensitiveDataResult.cc create mode 100644 dataworks-public/src/model/GetProjectDetailRequest.cc create mode 100644 dataworks-public/src/model/GetProjectDetailResult.cc create mode 100644 dataworks-public/src/model/GetQualityEntityRequest.cc create mode 100644 dataworks-public/src/model/GetQualityEntityResult.cc create mode 100644 dataworks-public/src/model/GetQualityFollowerRequest.cc create mode 100644 dataworks-public/src/model/GetQualityFollowerResult.cc create mode 100644 dataworks-public/src/model/GetQualityRuleRequest.cc create mode 100644 dataworks-public/src/model/GetQualityRuleResult.cc create mode 100644 dataworks-public/src/model/GetRemindRequest.cc create mode 100644 dataworks-public/src/model/GetRemindResult.cc create mode 100644 dataworks-public/src/model/GetSensitiveDataRequest.cc create mode 100644 dataworks-public/src/model/GetSensitiveDataResult.cc create mode 100644 dataworks-public/src/model/GetSuccessInstanceTrendRequest.cc create mode 100644 dataworks-public/src/model/GetSuccessInstanceTrendResult.cc create mode 100644 dataworks-public/src/model/GetTopicInfluenceRequest.cc create mode 100644 dataworks-public/src/model/GetTopicInfluenceResult.cc rename dataworks-public/src/model/{CheckCallbackRequest.cc => GetTopicRequest.cc} (53%) create mode 100644 dataworks-public/src/model/GetTopicResult.cc create mode 100644 dataworks-public/src/model/ListAlertMessagesRequest.cc create mode 100644 dataworks-public/src/model/ListAlertMessagesResult.cc create mode 100644 dataworks-public/src/model/ListBaselineConfigsRequest.cc create mode 100644 dataworks-public/src/model/ListBaselineConfigsResult.cc create mode 100644 dataworks-public/src/model/ListBaselineStatusesRequest.cc create mode 100644 dataworks-public/src/model/ListBaselineStatusesResult.cc create mode 100644 dataworks-public/src/model/ListBusinessRequest.cc create mode 100644 dataworks-public/src/model/ListBusinessResult.cc create mode 100644 dataworks-public/src/model/ListCalcEnginesRequest.cc create mode 100644 dataworks-public/src/model/ListCalcEnginesResult.cc create mode 100644 dataworks-public/src/model/ListConnectionsRequest.cc create mode 100644 dataworks-public/src/model/ListConnectionsResult.cc create mode 100644 dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc create mode 100644 dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc create mode 100644 dataworks-public/src/model/ListDataServiceApisRequest.cc create mode 100644 dataworks-public/src/model/ListDataServiceApisResult.cc create mode 100644 dataworks-public/src/model/ListDataServiceApplicationsRequest.cc create mode 100644 dataworks-public/src/model/ListDataServiceApplicationsResult.cc create mode 100644 dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc create mode 100644 dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc create mode 100644 dataworks-public/src/model/ListDataServiceFoldersRequest.cc create mode 100644 dataworks-public/src/model/ListDataServiceFoldersResult.cc create mode 100644 dataworks-public/src/model/ListDataServiceGroupsRequest.cc create mode 100644 dataworks-public/src/model/ListDataServiceGroupsResult.cc create mode 100644 dataworks-public/src/model/ListDataServicePublishedApisRequest.cc create mode 100644 dataworks-public/src/model/ListDataServicePublishedApisResult.cc delete mode 100644 dataworks-public/src/model/ListEmrHiveAuditLogsRequest.cc delete mode 100644 dataworks-public/src/model/ListEmrHiveDatabasesResult.cc delete mode 100644 dataworks-public/src/model/ListEmrHiveTablesRequest.cc delete mode 100644 dataworks-public/src/model/ListEmrHiveTablesResult.cc create mode 100644 dataworks-public/src/model/ListFileVersionsRequest.cc create mode 100644 dataworks-public/src/model/ListFileVersionsResult.cc create mode 100644 dataworks-public/src/model/ListFilesRequest.cc create mode 100644 dataworks-public/src/model/ListFilesResult.cc create mode 100644 dataworks-public/src/model/ListFoldersRequest.cc rename dataworks-public/src/model/{ListEmrHiveAuditLogsResult.cc => ListFoldersResult.cc} (50%) delete mode 100644 dataworks-public/src/model/ListHiveColumnLineagesRequest.cc delete mode 100644 dataworks-public/src/model/ListHiveColumnLineagesResult.cc delete mode 100644 dataworks-public/src/model/ListHiveTableLineagesRequest.cc delete mode 100644 dataworks-public/src/model/ListHiveTableLineagesResult.cc create mode 100644 dataworks-public/src/model/ListInstancesRequest.cc create mode 100644 dataworks-public/src/model/ListInstancesResult.cc create mode 100644 dataworks-public/src/model/ListMetaDBRequest.cc create mode 100644 dataworks-public/src/model/ListMetaDBResult.cc create mode 100644 dataworks-public/src/model/ListNodeIORequest.cc create mode 100644 dataworks-public/src/model/ListNodeIOResult.cc create mode 100644 dataworks-public/src/model/ListNodesRequest.cc create mode 100644 dataworks-public/src/model/ListNodesResult.cc create mode 100644 dataworks-public/src/model/ListProgramTypeCountRequest.cc create mode 100644 dataworks-public/src/model/ListProgramTypeCountResult.cc create mode 100644 dataworks-public/src/model/ListProjectMembersRequest.cc create mode 100644 dataworks-public/src/model/ListProjectMembersResult.cc create mode 100644 dataworks-public/src/model/ListProjectRolesRequest.cc create mode 100644 dataworks-public/src/model/ListProjectRolesResult.cc create mode 100644 dataworks-public/src/model/ListProjectsRequest.cc create mode 100644 dataworks-public/src/model/ListProjectsResult.cc create mode 100644 dataworks-public/src/model/ListQualityResultsByEntityRequest.cc create mode 100644 dataworks-public/src/model/ListQualityResultsByEntityResult.cc create mode 100644 dataworks-public/src/model/ListQualityResultsByRuleRequest.cc create mode 100644 dataworks-public/src/model/ListQualityResultsByRuleResult.cc create mode 100644 dataworks-public/src/model/ListQualityRulesRequest.cc create mode 100644 dataworks-public/src/model/ListQualityRulesResult.cc create mode 100644 dataworks-public/src/model/ListRemindsRequest.cc create mode 100644 dataworks-public/src/model/ListRemindsResult.cc create mode 100644 dataworks-public/src/model/ListResourceGroupsRequest.cc create mode 100644 dataworks-public/src/model/ListResourceGroupsResult.cc create mode 100644 dataworks-public/src/model/ListTableLevelRequest.cc create mode 100644 dataworks-public/src/model/ListTableLevelResult.cc delete mode 100644 dataworks-public/src/model/ListTablePartitionsRequest.cc delete mode 100644 dataworks-public/src/model/ListTablePartitionsResult.cc create mode 100644 dataworks-public/src/model/ListTableThemeRequest.cc create mode 100644 dataworks-public/src/model/ListTableThemeResult.cc delete mode 100644 dataworks-public/src/model/ListTagResourcesRequest.cc delete mode 100644 dataworks-public/src/model/ListTagResourcesResult.cc create mode 100644 dataworks-public/src/model/ListTopicsRequest.cc create mode 100644 dataworks-public/src/model/ListTopicsResult.cc create mode 100644 dataworks-public/src/model/PublishDataServiceApiRequest.cc create mode 100644 dataworks-public/src/model/PublishDataServiceApiResult.cc delete mode 100644 dataworks-public/src/model/QueryRealTimeProcessStatusRequest.cc delete mode 100644 dataworks-public/src/model/QueryRealTimeProcessStatusResult.cc create mode 100644 dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc create mode 100644 dataworks-public/src/model/RemoveProjectMemberFromRoleResult.cc create mode 100644 dataworks-public/src/model/RestartInstanceRequest.cc create mode 100644 dataworks-public/src/model/RestartInstanceResult.cc create mode 100644 dataworks-public/src/model/ResumeInstanceRequest.cc create mode 100644 dataworks-public/src/model/ResumeInstanceResult.cc create mode 100644 dataworks-public/src/model/RunTriggerNodeRequest.cc create mode 100644 dataworks-public/src/model/RunTriggerNodeResult.cc create mode 100644 dataworks-public/src/model/ScanSensitiveDataRequest.cc create mode 100644 dataworks-public/src/model/ScanSensitiveDataResult.cc delete mode 100644 dataworks-public/src/model/SearchManualDagNodeInstanceRequest.cc delete mode 100644 dataworks-public/src/model/SearchManualDagNodeInstanceResult.cc create mode 100644 dataworks-public/src/model/SearchMetaTablesRequest.cc create mode 100644 dataworks-public/src/model/SearchMetaTablesResult.cc create mode 100644 dataworks-public/src/model/SearchNodesByOutputRequest.cc create mode 100644 dataworks-public/src/model/SearchNodesByOutputResult.cc delete mode 100644 dataworks-public/src/model/SendTaskMetaCallbackRequest.cc create mode 100644 dataworks-public/src/model/SetSuccessInstanceRequest.cc create mode 100644 dataworks-public/src/model/SetSuccessInstanceResult.cc create mode 100644 dataworks-public/src/model/StopInstanceRequest.cc create mode 100644 dataworks-public/src/model/StopInstanceResult.cc create mode 100644 dataworks-public/src/model/SubmitFileRequest.cc create mode 100644 dataworks-public/src/model/SubmitFileResult.cc create mode 100644 dataworks-public/src/model/SuspendInstanceRequest.cc create mode 100644 dataworks-public/src/model/SuspendInstanceResult.cc delete mode 100644 dataworks-public/src/model/TagResourcesRequest.cc delete mode 100644 dataworks-public/src/model/UnTagResourcesRequest.cc create mode 100644 dataworks-public/src/model/UpdateBusinessRequest.cc create mode 100644 dataworks-public/src/model/UpdateBusinessResult.cc create mode 100644 dataworks-public/src/model/UpdateConnectionRequest.cc create mode 100644 dataworks-public/src/model/UpdateConnectionResult.cc create mode 100644 dataworks-public/src/model/UpdateDataServiceApiRequest.cc create mode 100644 dataworks-public/src/model/UpdateDataServiceApiResult.cc create mode 100644 dataworks-public/src/model/UpdateFileRequest.cc create mode 100644 dataworks-public/src/model/UpdateFileResult.cc create mode 100644 dataworks-public/src/model/UpdateFolderRequest.cc create mode 100644 dataworks-public/src/model/UpdateFolderResult.cc create mode 100644 dataworks-public/src/model/UpdateMetaCategoryRequest.cc create mode 100644 dataworks-public/src/model/UpdateMetaCategoryResult.cc create mode 100644 dataworks-public/src/model/UpdateMetaTableIntroWikiRequest.cc create mode 100644 dataworks-public/src/model/UpdateMetaTableIntroWikiResult.cc create mode 100644 dataworks-public/src/model/UpdateMetaTableRequest.cc create mode 100644 dataworks-public/src/model/UpdateMetaTableResult.cc create mode 100644 dataworks-public/src/model/UpdateQualityFollowerRequest.cc create mode 100644 dataworks-public/src/model/UpdateQualityFollowerResult.cc create mode 100644 dataworks-public/src/model/UpdateQualityRuleRequest.cc create mode 100644 dataworks-public/src/model/UpdateQualityRuleResult.cc create mode 100644 dataworks-public/src/model/UpdateRemindRequest.cc create mode 100644 dataworks-public/src/model/UpdateRemindResult.cc create mode 100644 dataworks-public/src/model/UpdateTableLevelRequest.cc create mode 100644 dataworks-public/src/model/UpdateTableLevelResult.cc create mode 100644 dataworks-public/src/model/UpdateTableModelInfoRequest.cc create mode 100644 dataworks-public/src/model/UpdateTableModelInfoResult.cc create mode 100644 dataworks-public/src/model/UpdateTableRequest.cc create mode 100644 dataworks-public/src/model/UpdateTableResult.cc create mode 100644 dataworks-public/src/model/UpdateTableThemeRequest.cc create mode 100644 dataworks-public/src/model/UpdateTableThemeResult.cc create mode 100644 dataworks-public/src/model/UpdateUdfFileRequest.cc create mode 100644 dataworks-public/src/model/UpdateUdfFileResult.cc create mode 100644 dataworks-public/version-2018-06-01.xml create mode 100644 dataworks-public/version-2020-05-18.xml diff --git a/CHANGELOG b/CHANGELOG index 040ea8887..2cce62184 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-02-24 Version: patch +- Generated 2020-05-18 for `dataworks-public`. + 2021-02-24 Version: patch - ALL API. diff --git a/dataworks-public/2018-06-01/CheckCallback.xml b/dataworks-public/2018-06-01/CheckCallback.xml new file mode 100644 index 000000000..2cedbd338 --- /dev/null +++ b/dataworks-public/2018-06-01/CheckCallback.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/CreateDag.xml b/dataworks-public/2018-06-01/CreateDag.xml new file mode 100644 index 000000000..66dcd76ad --- /dev/null +++ b/dataworks-public/2018-06-01/CreateDag.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/CreateManualDag.xml b/dataworks-public/2018-06-01/CreateManualDag.xml new file mode 100644 index 000000000..f22cb08e3 --- /dev/null +++ b/dataworks-public/2018-06-01/CreateManualDag.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/CreateRealTimeProcess.xml b/dataworks-public/2018-06-01/CreateRealTimeProcess.xml new file mode 100644 index 000000000..140603e55 --- /dev/null +++ b/dataworks-public/2018-06-01/CreateRealTimeProcess.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/DeleteFile.xml b/dataworks-public/2018-06-01/DeleteFile.xml new file mode 100644 index 000000000..048d0a353 --- /dev/null +++ b/dataworks-public/2018-06-01/DeleteFile.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/DescribeEmrHiveTable.xml b/dataworks-public/2018-06-01/DescribeEmrHiveTable.xml new file mode 100644 index 000000000..35307d596 --- /dev/null +++ b/dataworks-public/2018-06-01/DescribeEmrHiveTable.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/GetInstance.xml b/dataworks-public/2018-06-01/GetInstance.xml new file mode 100644 index 000000000..2424b97ba --- /dev/null +++ b/dataworks-public/2018-06-01/GetInstance.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/GetInstanceLog.xml b/dataworks-public/2018-06-01/GetInstanceLog.xml new file mode 100644 index 000000000..fd6033ead --- /dev/null +++ b/dataworks-public/2018-06-01/GetInstanceLog.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/GetInstanceStatistic.xml b/dataworks-public/2018-06-01/GetInstanceStatistic.xml new file mode 100644 index 000000000..204cc7d7c --- /dev/null +++ b/dataworks-public/2018-06-01/GetInstanceStatistic.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/GetNode.xml b/dataworks-public/2018-06-01/GetNode.xml new file mode 100644 index 000000000..8bd332abb --- /dev/null +++ b/dataworks-public/2018-06-01/GetNode.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/GetNodeCode.xml b/dataworks-public/2018-06-01/GetNodeCode.xml new file mode 100644 index 000000000..e73579c91 --- /dev/null +++ b/dataworks-public/2018-06-01/GetNodeCode.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/ListEmrHiveAuditLogs.xml b/dataworks-public/2018-06-01/ListEmrHiveAuditLogs.xml new file mode 100644 index 000000000..cf01c0c9c --- /dev/null +++ b/dataworks-public/2018-06-01/ListEmrHiveAuditLogs.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/ListEmrHiveDatabases.xml b/dataworks-public/2018-06-01/ListEmrHiveDatabases.xml new file mode 100644 index 000000000..5c8e7fcd0 --- /dev/null +++ b/dataworks-public/2018-06-01/ListEmrHiveDatabases.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/ListEmrHiveTables.xml b/dataworks-public/2018-06-01/ListEmrHiveTables.xml new file mode 100644 index 000000000..2369511e5 --- /dev/null +++ b/dataworks-public/2018-06-01/ListEmrHiveTables.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/ListHiveColumnLineages.xml b/dataworks-public/2018-06-01/ListHiveColumnLineages.xml new file mode 100644 index 000000000..d05a6def1 --- /dev/null +++ b/dataworks-public/2018-06-01/ListHiveColumnLineages.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/ListHiveTableLineages.xml b/dataworks-public/2018-06-01/ListHiveTableLineages.xml new file mode 100644 index 000000000..c95eda08a --- /dev/null +++ b/dataworks-public/2018-06-01/ListHiveTableLineages.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/ListTablePartitions.xml b/dataworks-public/2018-06-01/ListTablePartitions.xml new file mode 100644 index 000000000..694af9dd4 --- /dev/null +++ b/dataworks-public/2018-06-01/ListTablePartitions.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/ListTagResources.xml b/dataworks-public/2018-06-01/ListTagResources.xml new file mode 100644 index 000000000..8e07216d0 --- /dev/null +++ b/dataworks-public/2018-06-01/ListTagResources.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/QueryInstances.xml b/dataworks-public/2018-06-01/QueryInstances.xml new file mode 100644 index 000000000..3805d1867 --- /dev/null +++ b/dataworks-public/2018-06-01/QueryInstances.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/QueryNode.xml b/dataworks-public/2018-06-01/QueryNode.xml new file mode 100644 index 000000000..9ffc60ca5 --- /dev/null +++ b/dataworks-public/2018-06-01/QueryNode.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/QueryRealTimeProcessStatus.xml b/dataworks-public/2018-06-01/QueryRealTimeProcessStatus.xml new file mode 100644 index 000000000..f27dab355 --- /dev/null +++ b/dataworks-public/2018-06-01/QueryRealTimeProcessStatus.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/SearchManualDagNodeInstance.xml b/dataworks-public/2018-06-01/SearchManualDagNodeInstance.xml new file mode 100644 index 000000000..69fb2afe6 --- /dev/null +++ b/dataworks-public/2018-06-01/SearchManualDagNodeInstance.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/SearchNodeInstanceList.xml b/dataworks-public/2018-06-01/SearchNodeInstanceList.xml new file mode 100644 index 000000000..94b97ef63 --- /dev/null +++ b/dataworks-public/2018-06-01/SearchNodeInstanceList.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/SendTaskMetaCallback.xml b/dataworks-public/2018-06-01/SendTaskMetaCallback.xml new file mode 100644 index 000000000..8d04b21ed --- /dev/null +++ b/dataworks-public/2018-06-01/SendTaskMetaCallback.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/TagResources.xml b/dataworks-public/2018-06-01/TagResources.xml new file mode 100644 index 000000000..15e848052 --- /dev/null +++ b/dataworks-public/2018-06-01/TagResources.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/TestDemo.xml b/dataworks-public/2018-06-01/TestDemo.xml new file mode 100644 index 000000000..c73a07e70 --- /dev/null +++ b/dataworks-public/2018-06-01/TestDemo.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2018-06-01/UnTagResources.xml b/dataworks-public/2018-06-01/UnTagResources.xml new file mode 100644 index 000000000..4ebd355c2 --- /dev/null +++ b/dataworks-public/2018-06-01/UnTagResources.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/AbolishDataServiceApi.xml b/dataworks-public/2020-05-18/AbolishDataServiceApi.xml new file mode 100644 index 000000000..4f9e58782 --- /dev/null +++ b/dataworks-public/2020-05-18/AbolishDataServiceApi.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/AddProjectMemberToRole.xml b/dataworks-public/2020-05-18/AddProjectMemberToRole.xml new file mode 100644 index 000000000..fae2e28b4 --- /dev/null +++ b/dataworks-public/2020-05-18/AddProjectMemberToRole.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/AddToMetaCategory.xml b/dataworks-public/2020-05-18/AddToMetaCategory.xml new file mode 100644 index 000000000..35ddb00e7 --- /dev/null +++ b/dataworks-public/2020-05-18/AddToMetaCategory.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/AlterMetaColumns.xml b/dataworks-public/2020-05-18/AlterMetaColumns.xml new file mode 100644 index 000000000..4cc07c849 --- /dev/null +++ b/dataworks-public/2020-05-18/AlterMetaColumns.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/AlterMetaTable.xml b/dataworks-public/2020-05-18/AlterMetaTable.xml new file mode 100644 index 000000000..2df44055c --- /dev/null +++ b/dataworks-public/2020-05-18/AlterMetaTable.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CheckMetaPartition.xml b/dataworks-public/2020-05-18/CheckMetaPartition.xml new file mode 100644 index 000000000..c871174e7 --- /dev/null +++ b/dataworks-public/2020-05-18/CheckMetaPartition.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CheckMetaTable.xml b/dataworks-public/2020-05-18/CheckMetaTable.xml new file mode 100644 index 000000000..9dad36000 --- /dev/null +++ b/dataworks-public/2020-05-18/CheckMetaTable.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateBusiness.xml b/dataworks-public/2020-05-18/CreateBusiness.xml new file mode 100644 index 000000000..7da342a49 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateBusiness.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateConnection.xml b/dataworks-public/2020-05-18/CreateConnection.xml new file mode 100644 index 000000000..89c96e0d1 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateConnection.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateDagComplement.xml b/dataworks-public/2020-05-18/CreateDagComplement.xml new file mode 100644 index 000000000..9700696d9 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateDagComplement.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateDagTest.xml b/dataworks-public/2020-05-18/CreateDagTest.xml new file mode 100644 index 000000000..e45560aac --- /dev/null +++ b/dataworks-public/2020-05-18/CreateDagTest.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateDataServiceApi.xml b/dataworks-public/2020-05-18/CreateDataServiceApi.xml new file mode 100644 index 000000000..54cc6526e --- /dev/null +++ b/dataworks-public/2020-05-18/CreateDataServiceApi.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateDataServiceApiAuthority.xml b/dataworks-public/2020-05-18/CreateDataServiceApiAuthority.xml new file mode 100644 index 000000000..8f9b71418 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateDataServiceApiAuthority.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateDataServiceFolder.xml b/dataworks-public/2020-05-18/CreateDataServiceFolder.xml new file mode 100644 index 000000000..4fbf38685 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateDataServiceFolder.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateDataServiceGroup.xml b/dataworks-public/2020-05-18/CreateDataServiceGroup.xml new file mode 100644 index 000000000..ce499dd1c --- /dev/null +++ b/dataworks-public/2020-05-18/CreateDataServiceGroup.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateFile.xml b/dataworks-public/2020-05-18/CreateFile.xml new file mode 100644 index 000000000..f1f58b7bb --- /dev/null +++ b/dataworks-public/2020-05-18/CreateFile.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateFolder.xml b/dataworks-public/2020-05-18/CreateFolder.xml new file mode 100644 index 000000000..21618d0c1 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateFolder.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateManualDag.xml b/dataworks-public/2020-05-18/CreateManualDag.xml new file mode 100644 index 000000000..f6638f405 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateManualDag.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateMetaCategory.xml b/dataworks-public/2020-05-18/CreateMetaCategory.xml new file mode 100644 index 000000000..990f78f4e --- /dev/null +++ b/dataworks-public/2020-05-18/CreateMetaCategory.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateNodeComplement1.xml b/dataworks-public/2020-05-18/CreateNodeComplement1.xml new file mode 100644 index 000000000..9a837657e --- /dev/null +++ b/dataworks-public/2020-05-18/CreateNodeComplement1.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateNodeTest1.xml b/dataworks-public/2020-05-18/CreateNodeTest1.xml new file mode 100644 index 000000000..b317cb2e2 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateNodeTest1.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateProjectMember.xml b/dataworks-public/2020-05-18/CreateProjectMember.xml new file mode 100644 index 000000000..ec4b5c90d --- /dev/null +++ b/dataworks-public/2020-05-18/CreateProjectMember.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateQualityEntity.xml b/dataworks-public/2020-05-18/CreateQualityEntity.xml new file mode 100644 index 000000000..e54c6e895 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateQualityEntity.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateQualityFollower.xml b/dataworks-public/2020-05-18/CreateQualityFollower.xml new file mode 100644 index 000000000..65403d55c --- /dev/null +++ b/dataworks-public/2020-05-18/CreateQualityFollower.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateQualityRelativeNode.xml b/dataworks-public/2020-05-18/CreateQualityRelativeNode.xml new file mode 100644 index 000000000..ac409338e --- /dev/null +++ b/dataworks-public/2020-05-18/CreateQualityRelativeNode.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateQualityRule.xml b/dataworks-public/2020-05-18/CreateQualityRule.xml new file mode 100644 index 000000000..24736960f --- /dev/null +++ b/dataworks-public/2020-05-18/CreateQualityRule.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateRemind.xml b/dataworks-public/2020-05-18/CreateRemind.xml new file mode 100644 index 000000000..3e4d6d2fa --- /dev/null +++ b/dataworks-public/2020-05-18/CreateRemind.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateTable.xml b/dataworks-public/2020-05-18/CreateTable.xml new file mode 100644 index 000000000..634dbcd59 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateTable.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateTableLevel.xml b/dataworks-public/2020-05-18/CreateTableLevel.xml new file mode 100644 index 000000000..404e0a8bb --- /dev/null +++ b/dataworks-public/2020-05-18/CreateTableLevel.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateTableTheme.xml b/dataworks-public/2020-05-18/CreateTableTheme.xml new file mode 100644 index 000000000..064b3cd8a --- /dev/null +++ b/dataworks-public/2020-05-18/CreateTableTheme.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/CreateUdfFile.xml b/dataworks-public/2020-05-18/CreateUdfFile.xml new file mode 100644 index 000000000..2af3c2f19 --- /dev/null +++ b/dataworks-public/2020-05-18/CreateUdfFile.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteBusiness.xml b/dataworks-public/2020-05-18/DeleteBusiness.xml new file mode 100644 index 000000000..d417eca6d --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteBusiness.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteConnection.xml b/dataworks-public/2020-05-18/DeleteConnection.xml new file mode 100644 index 000000000..75d3c974e --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteConnection.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteDataServiceApi.xml b/dataworks-public/2020-05-18/DeleteDataServiceApi.xml new file mode 100644 index 000000000..ec2e3cb0d --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteDataServiceApi.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteDataServiceApiAuthority.xml b/dataworks-public/2020-05-18/DeleteDataServiceApiAuthority.xml new file mode 100644 index 000000000..0ce15d795 --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteDataServiceApiAuthority.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteFile.xml b/dataworks-public/2020-05-18/DeleteFile.xml new file mode 100644 index 000000000..08788687f --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteFile.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteFolder.xml b/dataworks-public/2020-05-18/DeleteFolder.xml new file mode 100644 index 000000000..911996497 --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteFolder.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteFromMetaCategory.xml b/dataworks-public/2020-05-18/DeleteFromMetaCategory.xml new file mode 100644 index 000000000..11749339c --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteFromMetaCategory.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteMetaCategory.xml b/dataworks-public/2020-05-18/DeleteMetaCategory.xml new file mode 100644 index 000000000..45d639970 --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteMetaCategory.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteProjectMember.xml b/dataworks-public/2020-05-18/DeleteProjectMember.xml new file mode 100644 index 000000000..de2346576 --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteProjectMember.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteProjectMember1.xml b/dataworks-public/2020-05-18/DeleteProjectMember1.xml new file mode 100644 index 000000000..ce50e4baf --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteProjectMember1.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteQualityEntity.xml b/dataworks-public/2020-05-18/DeleteQualityEntity.xml new file mode 100644 index 000000000..8bf309e6a --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteQualityEntity.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteQualityFollower.xml b/dataworks-public/2020-05-18/DeleteQualityFollower.xml new file mode 100644 index 000000000..5a788e557 --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteQualityFollower.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteQualityRelativeNode.xml b/dataworks-public/2020-05-18/DeleteQualityRelativeNode.xml new file mode 100644 index 000000000..c547ba61c --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteQualityRelativeNode.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteQualityRule.xml b/dataworks-public/2020-05-18/DeleteQualityRule.xml new file mode 100644 index 000000000..2c59073b1 --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteQualityRule.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteRemind.xml b/dataworks-public/2020-05-18/DeleteRemind.xml new file mode 100644 index 000000000..affd0d082 --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteRemind.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteTable.xml b/dataworks-public/2020-05-18/DeleteTable.xml new file mode 100644 index 000000000..9d9e550e0 --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteTable.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteTableLevel.xml b/dataworks-public/2020-05-18/DeleteTableLevel.xml new file mode 100644 index 000000000..fd8e499fb --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteTableLevel.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeleteTableTheme.xml b/dataworks-public/2020-05-18/DeleteTableTheme.xml new file mode 100644 index 000000000..bc94602f1 --- /dev/null +++ b/dataworks-public/2020-05-18/DeleteTableTheme.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DeployFile.xml b/dataworks-public/2020-05-18/DeployFile.xml new file mode 100644 index 000000000..41ac403b8 --- /dev/null +++ b/dataworks-public/2020-05-18/DeployFile.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/DesensitizeData.xml b/dataworks-public/2020-05-18/DesensitizeData.xml new file mode 100644 index 000000000..d8e50bb43 --- /dev/null +++ b/dataworks-public/2020-05-18/DesensitizeData.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/EstablishRelationTableToBusiness.xml b/dataworks-public/2020-05-18/EstablishRelationTableToBusiness.xml new file mode 100644 index 000000000..3ae6529c4 --- /dev/null +++ b/dataworks-public/2020-05-18/EstablishRelationTableToBusiness.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetBaselineConfig.xml b/dataworks-public/2020-05-18/GetBaselineConfig.xml new file mode 100644 index 000000000..8e1973a22 --- /dev/null +++ b/dataworks-public/2020-05-18/GetBaselineConfig.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetBaselineKeyPath.xml b/dataworks-public/2020-05-18/GetBaselineKeyPath.xml new file mode 100644 index 000000000..45807ee9a --- /dev/null +++ b/dataworks-public/2020-05-18/GetBaselineKeyPath.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetBaselineStatus.xml b/dataworks-public/2020-05-18/GetBaselineStatus.xml new file mode 100644 index 000000000..3452659a1 --- /dev/null +++ b/dataworks-public/2020-05-18/GetBaselineStatus.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetBusiness.xml b/dataworks-public/2020-05-18/GetBusiness.xml new file mode 100644 index 000000000..9a058d57b --- /dev/null +++ b/dataworks-public/2020-05-18/GetBusiness.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetDDLJobStatus.xml b/dataworks-public/2020-05-18/GetDDLJobStatus.xml new file mode 100644 index 000000000..053d1ed02 --- /dev/null +++ b/dataworks-public/2020-05-18/GetDDLJobStatus.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetDag.xml b/dataworks-public/2020-05-18/GetDag.xml new file mode 100644 index 000000000..7ec09747c --- /dev/null +++ b/dataworks-public/2020-05-18/GetDag.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetDataServiceApi.xml b/dataworks-public/2020-05-18/GetDataServiceApi.xml new file mode 100644 index 000000000..b3f81c82e --- /dev/null +++ b/dataworks-public/2020-05-18/GetDataServiceApi.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetDataServiceApplication.xml b/dataworks-public/2020-05-18/GetDataServiceApplication.xml new file mode 100644 index 000000000..d5ca597a8 --- /dev/null +++ b/dataworks-public/2020-05-18/GetDataServiceApplication.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetDataServiceFolder.xml b/dataworks-public/2020-05-18/GetDataServiceFolder.xml new file mode 100644 index 000000000..88b6e5549 --- /dev/null +++ b/dataworks-public/2020-05-18/GetDataServiceFolder.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetDataServiceGroup.xml b/dataworks-public/2020-05-18/GetDataServiceGroup.xml new file mode 100644 index 000000000..4d1a3fff0 --- /dev/null +++ b/dataworks-public/2020-05-18/GetDataServiceGroup.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetDataServicePublishedApi.xml b/dataworks-public/2020-05-18/GetDataServicePublishedApi.xml new file mode 100644 index 000000000..d461e5fbd --- /dev/null +++ b/dataworks-public/2020-05-18/GetDataServicePublishedApi.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetDeployment.xml b/dataworks-public/2020-05-18/GetDeployment.xml new file mode 100644 index 000000000..283c0a567 --- /dev/null +++ b/dataworks-public/2020-05-18/GetDeployment.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetFile.xml b/dataworks-public/2020-05-18/GetFile.xml new file mode 100644 index 000000000..cc99af43c --- /dev/null +++ b/dataworks-public/2020-05-18/GetFile.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetFileVersion.xml b/dataworks-public/2020-05-18/GetFileVersion.xml new file mode 100644 index 000000000..c416c2aa5 --- /dev/null +++ b/dataworks-public/2020-05-18/GetFileVersion.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetFolder.xml b/dataworks-public/2020-05-18/GetFolder.xml new file mode 100644 index 000000000..9ee23f425 --- /dev/null +++ b/dataworks-public/2020-05-18/GetFolder.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetInstance.xml b/dataworks-public/2020-05-18/GetInstance.xml new file mode 100644 index 000000000..2fc7fc3a1 --- /dev/null +++ b/dataworks-public/2020-05-18/GetInstance.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetInstance1.xml b/dataworks-public/2020-05-18/GetInstance1.xml new file mode 100644 index 000000000..ec7439d1b --- /dev/null +++ b/dataworks-public/2020-05-18/GetInstance1.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetInstanceConsumeTimeRank.xml b/dataworks-public/2020-05-18/GetInstanceConsumeTimeRank.xml new file mode 100644 index 000000000..ec0c943cf --- /dev/null +++ b/dataworks-public/2020-05-18/GetInstanceConsumeTimeRank.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetInstanceCountTrend.xml b/dataworks-public/2020-05-18/GetInstanceCountTrend.xml new file mode 100644 index 000000000..c09f6f3d4 --- /dev/null +++ b/dataworks-public/2020-05-18/GetInstanceCountTrend.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetInstanceErrorRank.xml b/dataworks-public/2020-05-18/GetInstanceErrorRank.xml new file mode 100644 index 000000000..da5292a0d --- /dev/null +++ b/dataworks-public/2020-05-18/GetInstanceErrorRank.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetInstanceLog.xml b/dataworks-public/2020-05-18/GetInstanceLog.xml new file mode 100644 index 000000000..ebc41fa44 --- /dev/null +++ b/dataworks-public/2020-05-18/GetInstanceLog.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetInstanceStatusCount.xml b/dataworks-public/2020-05-18/GetInstanceStatusCount.xml new file mode 100644 index 000000000..9bb5977f7 --- /dev/null +++ b/dataworks-public/2020-05-18/GetInstanceStatusCount.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetManualDagInstances.xml b/dataworks-public/2020-05-18/GetManualDagInstances.xml new file mode 100644 index 000000000..1b14975aa --- /dev/null +++ b/dataworks-public/2020-05-18/GetManualDagInstances.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaCategory.xml b/dataworks-public/2020-05-18/GetMetaCategory.xml new file mode 100644 index 000000000..aa986fc6d --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaCategory.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaColumnLineage.xml b/dataworks-public/2020-05-18/GetMetaColumnLineage.xml new file mode 100644 index 000000000..1066a8d58 --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaColumnLineage.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaDBInfo.xml b/dataworks-public/2020-05-18/GetMetaDBInfo.xml new file mode 100644 index 000000000..81f084c52 --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaDBInfo.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaDBTableList.xml b/dataworks-public/2020-05-18/GetMetaDBTableList.xml new file mode 100644 index 000000000..7cdb91218 --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaDBTableList.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaTableBasicInfo.xml b/dataworks-public/2020-05-18/GetMetaTableBasicInfo.xml new file mode 100644 index 000000000..b3f27ee99 --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaTableBasicInfo.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaTableChangeLog.xml b/dataworks-public/2020-05-18/GetMetaTableChangeLog.xml new file mode 100644 index 000000000..af98d3fdd --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaTableChangeLog.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaTableColumn.xml b/dataworks-public/2020-05-18/GetMetaTableColumn.xml new file mode 100644 index 000000000..9e619bb28 --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaTableColumn.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaTableFullInfo.xml b/dataworks-public/2020-05-18/GetMetaTableFullInfo.xml new file mode 100644 index 000000000..2c5c1972c --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaTableFullInfo.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaTableIntroWiki.xml b/dataworks-public/2020-05-18/GetMetaTableIntroWiki.xml new file mode 100644 index 000000000..f8e96289e --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaTableIntroWiki.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaTableLineage.xml b/dataworks-public/2020-05-18/GetMetaTableLineage.xml new file mode 100644 index 000000000..fa3f6d76f --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaTableLineage.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaTableListByCategory.xml b/dataworks-public/2020-05-18/GetMetaTableListByCategory.xml new file mode 100644 index 000000000..a68f48492 --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaTableListByCategory.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaTableOutput.xml b/dataworks-public/2020-05-18/GetMetaTableOutput.xml new file mode 100644 index 000000000..560c30462 --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaTableOutput.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetMetaTablePartition.xml b/dataworks-public/2020-05-18/GetMetaTablePartition.xml new file mode 100644 index 000000000..afac2dbed --- /dev/null +++ b/dataworks-public/2020-05-18/GetMetaTablePartition.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetNode.xml b/dataworks-public/2020-05-18/GetNode.xml new file mode 100644 index 000000000..4072640c8 --- /dev/null +++ b/dataworks-public/2020-05-18/GetNode.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetNodeChildren.xml b/dataworks-public/2020-05-18/GetNodeChildren.xml new file mode 100644 index 000000000..7c9573c55 --- /dev/null +++ b/dataworks-public/2020-05-18/GetNodeChildren.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetNodeCode.xml b/dataworks-public/2020-05-18/GetNodeCode.xml new file mode 100644 index 000000000..3ebf0e147 --- /dev/null +++ b/dataworks-public/2020-05-18/GetNodeCode.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetNodeOnBaseline.xml b/dataworks-public/2020-05-18/GetNodeOnBaseline.xml new file mode 100644 index 000000000..445c01bcb --- /dev/null +++ b/dataworks-public/2020-05-18/GetNodeOnBaseline.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetNodeParents.xml b/dataworks-public/2020-05-18/GetNodeParents.xml new file mode 100644 index 000000000..31dfababf --- /dev/null +++ b/dataworks-public/2020-05-18/GetNodeParents.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetNodeTypeListInfo.xml b/dataworks-public/2020-05-18/GetNodeTypeListInfo.xml new file mode 100644 index 000000000..a1385b74c --- /dev/null +++ b/dataworks-public/2020-05-18/GetNodeTypeListInfo.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetOpRiskData.xml b/dataworks-public/2020-05-18/GetOpRiskData.xml new file mode 100644 index 000000000..2723cc9b7 --- /dev/null +++ b/dataworks-public/2020-05-18/GetOpRiskData.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetOpSensitiveData.xml b/dataworks-public/2020-05-18/GetOpSensitiveData.xml new file mode 100644 index 000000000..8d35c196d --- /dev/null +++ b/dataworks-public/2020-05-18/GetOpSensitiveData.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetProjectDetail.xml b/dataworks-public/2020-05-18/GetProjectDetail.xml new file mode 100644 index 000000000..d3d5c8def --- /dev/null +++ b/dataworks-public/2020-05-18/GetProjectDetail.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetQualityEntity.xml b/dataworks-public/2020-05-18/GetQualityEntity.xml new file mode 100644 index 000000000..d5a179357 --- /dev/null +++ b/dataworks-public/2020-05-18/GetQualityEntity.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetQualityFollower.xml b/dataworks-public/2020-05-18/GetQualityFollower.xml new file mode 100644 index 000000000..38212ca8e --- /dev/null +++ b/dataworks-public/2020-05-18/GetQualityFollower.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetQualityRule.xml b/dataworks-public/2020-05-18/GetQualityRule.xml new file mode 100644 index 000000000..117e48a2a --- /dev/null +++ b/dataworks-public/2020-05-18/GetQualityRule.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetRemind.xml b/dataworks-public/2020-05-18/GetRemind.xml new file mode 100644 index 000000000..367160874 --- /dev/null +++ b/dataworks-public/2020-05-18/GetRemind.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetSensitiveData.xml b/dataworks-public/2020-05-18/GetSensitiveData.xml new file mode 100644 index 000000000..dfc79c144 --- /dev/null +++ b/dataworks-public/2020-05-18/GetSensitiveData.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetSuccessInstanceTrend.xml b/dataworks-public/2020-05-18/GetSuccessInstanceTrend.xml new file mode 100644 index 000000000..cec050f97 --- /dev/null +++ b/dataworks-public/2020-05-18/GetSuccessInstanceTrend.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetTopic.xml b/dataworks-public/2020-05-18/GetTopic.xml new file mode 100644 index 000000000..67cf3404c --- /dev/null +++ b/dataworks-public/2020-05-18/GetTopic.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/GetTopicInfluence.xml b/dataworks-public/2020-05-18/GetTopicInfluence.xml new file mode 100644 index 000000000..c1f300377 --- /dev/null +++ b/dataworks-public/2020-05-18/GetTopicInfluence.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListAlertMessages.xml b/dataworks-public/2020-05-18/ListAlertMessages.xml new file mode 100644 index 000000000..c03f37ab7 --- /dev/null +++ b/dataworks-public/2020-05-18/ListAlertMessages.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListBaselineConfigs.xml b/dataworks-public/2020-05-18/ListBaselineConfigs.xml new file mode 100644 index 000000000..a37f90158 --- /dev/null +++ b/dataworks-public/2020-05-18/ListBaselineConfigs.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListBaselineStatuses.xml b/dataworks-public/2020-05-18/ListBaselineStatuses.xml new file mode 100644 index 000000000..9328320fb --- /dev/null +++ b/dataworks-public/2020-05-18/ListBaselineStatuses.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListBusiness.xml b/dataworks-public/2020-05-18/ListBusiness.xml new file mode 100644 index 000000000..43bd36fca --- /dev/null +++ b/dataworks-public/2020-05-18/ListBusiness.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListCalcEngines.xml b/dataworks-public/2020-05-18/ListCalcEngines.xml new file mode 100644 index 000000000..c841562a4 --- /dev/null +++ b/dataworks-public/2020-05-18/ListCalcEngines.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListConnections.xml b/dataworks-public/2020-05-18/ListConnections.xml new file mode 100644 index 000000000..2bbd71a85 --- /dev/null +++ b/dataworks-public/2020-05-18/ListConnections.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListDataServiceApiAuthorities.xml b/dataworks-public/2020-05-18/ListDataServiceApiAuthorities.xml new file mode 100644 index 000000000..40de46584 --- /dev/null +++ b/dataworks-public/2020-05-18/ListDataServiceApiAuthorities.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListDataServiceApis.xml b/dataworks-public/2020-05-18/ListDataServiceApis.xml new file mode 100644 index 000000000..2af766b12 --- /dev/null +++ b/dataworks-public/2020-05-18/ListDataServiceApis.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListDataServiceApplications.xml b/dataworks-public/2020-05-18/ListDataServiceApplications.xml new file mode 100644 index 000000000..306e2275c --- /dev/null +++ b/dataworks-public/2020-05-18/ListDataServiceApplications.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListDataServiceAuthorizedApis.xml b/dataworks-public/2020-05-18/ListDataServiceAuthorizedApis.xml new file mode 100644 index 000000000..f668c32e3 --- /dev/null +++ b/dataworks-public/2020-05-18/ListDataServiceAuthorizedApis.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListDataServiceFolders.xml b/dataworks-public/2020-05-18/ListDataServiceFolders.xml new file mode 100644 index 000000000..f6902dccc --- /dev/null +++ b/dataworks-public/2020-05-18/ListDataServiceFolders.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListDataServiceGroups.xml b/dataworks-public/2020-05-18/ListDataServiceGroups.xml new file mode 100644 index 000000000..5e13146ed --- /dev/null +++ b/dataworks-public/2020-05-18/ListDataServiceGroups.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListDataServicePublishedApis.xml b/dataworks-public/2020-05-18/ListDataServicePublishedApis.xml new file mode 100644 index 000000000..178cacf12 --- /dev/null +++ b/dataworks-public/2020-05-18/ListDataServicePublishedApis.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListFileVersions.xml b/dataworks-public/2020-05-18/ListFileVersions.xml new file mode 100644 index 000000000..6d6dc3a2a --- /dev/null +++ b/dataworks-public/2020-05-18/ListFileVersions.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListFiles.xml b/dataworks-public/2020-05-18/ListFiles.xml new file mode 100644 index 000000000..1c9d7a7b6 --- /dev/null +++ b/dataworks-public/2020-05-18/ListFiles.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListFolders.xml b/dataworks-public/2020-05-18/ListFolders.xml new file mode 100644 index 000000000..8cb983f9f --- /dev/null +++ b/dataworks-public/2020-05-18/ListFolders.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListInstances.xml b/dataworks-public/2020-05-18/ListInstances.xml new file mode 100644 index 000000000..3bcf74579 --- /dev/null +++ b/dataworks-public/2020-05-18/ListInstances.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListInstances1.xml b/dataworks-public/2020-05-18/ListInstances1.xml new file mode 100644 index 000000000..dcb4d0f29 --- /dev/null +++ b/dataworks-public/2020-05-18/ListInstances1.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListMetaDB.xml b/dataworks-public/2020-05-18/ListMetaDB.xml new file mode 100644 index 000000000..5de2e9b63 --- /dev/null +++ b/dataworks-public/2020-05-18/ListMetaDB.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListNodeIO.xml b/dataworks-public/2020-05-18/ListNodeIO.xml new file mode 100644 index 000000000..58721d40e --- /dev/null +++ b/dataworks-public/2020-05-18/ListNodeIO.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListNodes.xml b/dataworks-public/2020-05-18/ListNodes.xml new file mode 100644 index 000000000..ca6146f03 --- /dev/null +++ b/dataworks-public/2020-05-18/ListNodes.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListProgramTypeCount.xml b/dataworks-public/2020-05-18/ListProgramTypeCount.xml new file mode 100644 index 000000000..6e8c89e30 --- /dev/null +++ b/dataworks-public/2020-05-18/ListProgramTypeCount.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListProjectMembers.xml b/dataworks-public/2020-05-18/ListProjectMembers.xml new file mode 100644 index 000000000..441f9b4e1 --- /dev/null +++ b/dataworks-public/2020-05-18/ListProjectMembers.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListProjectRoles.xml b/dataworks-public/2020-05-18/ListProjectRoles.xml new file mode 100644 index 000000000..7f7452540 --- /dev/null +++ b/dataworks-public/2020-05-18/ListProjectRoles.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListProjects.xml b/dataworks-public/2020-05-18/ListProjects.xml new file mode 100644 index 000000000..db441dced --- /dev/null +++ b/dataworks-public/2020-05-18/ListProjects.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListQualityResultsByEntity.xml b/dataworks-public/2020-05-18/ListQualityResultsByEntity.xml new file mode 100644 index 000000000..0404dd952 --- /dev/null +++ b/dataworks-public/2020-05-18/ListQualityResultsByEntity.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListQualityResultsByRule.xml b/dataworks-public/2020-05-18/ListQualityResultsByRule.xml new file mode 100644 index 000000000..4133b35e8 --- /dev/null +++ b/dataworks-public/2020-05-18/ListQualityResultsByRule.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListQualityRules.xml b/dataworks-public/2020-05-18/ListQualityRules.xml new file mode 100644 index 000000000..2cc392c99 --- /dev/null +++ b/dataworks-public/2020-05-18/ListQualityRules.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListReminds.xml b/dataworks-public/2020-05-18/ListReminds.xml new file mode 100644 index 000000000..e144f45ea --- /dev/null +++ b/dataworks-public/2020-05-18/ListReminds.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListResourceGroups.xml b/dataworks-public/2020-05-18/ListResourceGroups.xml new file mode 100644 index 000000000..7198d99a2 --- /dev/null +++ b/dataworks-public/2020-05-18/ListResourceGroups.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListTableLevel.xml b/dataworks-public/2020-05-18/ListTableLevel.xml new file mode 100644 index 000000000..9b5bbdc5b --- /dev/null +++ b/dataworks-public/2020-05-18/ListTableLevel.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListTableTheme.xml b/dataworks-public/2020-05-18/ListTableTheme.xml new file mode 100644 index 000000000..02296b4d6 --- /dev/null +++ b/dataworks-public/2020-05-18/ListTableTheme.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ListTopics.xml b/dataworks-public/2020-05-18/ListTopics.xml new file mode 100644 index 000000000..f373a2c21 --- /dev/null +++ b/dataworks-public/2020-05-18/ListTopics.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/PublishDataServiceApi.xml b/dataworks-public/2020-05-18/PublishDataServiceApi.xml new file mode 100644 index 000000000..0cb19d2fb --- /dev/null +++ b/dataworks-public/2020-05-18/PublishDataServiceApi.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/RemoveProjectMemberFromRole.xml b/dataworks-public/2020-05-18/RemoveProjectMemberFromRole.xml new file mode 100644 index 000000000..afdc879d3 --- /dev/null +++ b/dataworks-public/2020-05-18/RemoveProjectMemberFromRole.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/RestartInstance.xml b/dataworks-public/2020-05-18/RestartInstance.xml new file mode 100644 index 000000000..e68ecb4f0 --- /dev/null +++ b/dataworks-public/2020-05-18/RestartInstance.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/RestartInstance1.xml b/dataworks-public/2020-05-18/RestartInstance1.xml new file mode 100644 index 000000000..8185a9a91 --- /dev/null +++ b/dataworks-public/2020-05-18/RestartInstance1.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ResumeInstance.xml b/dataworks-public/2020-05-18/ResumeInstance.xml new file mode 100644 index 000000000..b87ffa075 --- /dev/null +++ b/dataworks-public/2020-05-18/ResumeInstance.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ResumeInstance1.xml b/dataworks-public/2020-05-18/ResumeInstance1.xml new file mode 100644 index 000000000..f56556962 --- /dev/null +++ b/dataworks-public/2020-05-18/ResumeInstance1.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/RunTriggerNode.xml b/dataworks-public/2020-05-18/RunTriggerNode.xml new file mode 100644 index 000000000..bba6ce746 --- /dev/null +++ b/dataworks-public/2020-05-18/RunTriggerNode.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/ScanSensitiveData.xml b/dataworks-public/2020-05-18/ScanSensitiveData.xml new file mode 100644 index 000000000..efca537ec --- /dev/null +++ b/dataworks-public/2020-05-18/ScanSensitiveData.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/SearchMetaTables.xml b/dataworks-public/2020-05-18/SearchMetaTables.xml new file mode 100644 index 000000000..507acf20c --- /dev/null +++ b/dataworks-public/2020-05-18/SearchMetaTables.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/SearchNodesByOutput.xml b/dataworks-public/2020-05-18/SearchNodesByOutput.xml new file mode 100644 index 000000000..95a92bdb8 --- /dev/null +++ b/dataworks-public/2020-05-18/SearchNodesByOutput.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/SetSuccessInstance.xml b/dataworks-public/2020-05-18/SetSuccessInstance.xml new file mode 100644 index 000000000..cfe1f6e78 --- /dev/null +++ b/dataworks-public/2020-05-18/SetSuccessInstance.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/SetSuccessInstance1.xml b/dataworks-public/2020-05-18/SetSuccessInstance1.xml new file mode 100644 index 000000000..72b9156eb --- /dev/null +++ b/dataworks-public/2020-05-18/SetSuccessInstance1.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/StopInstance.xml b/dataworks-public/2020-05-18/StopInstance.xml new file mode 100644 index 000000000..99fd63465 --- /dev/null +++ b/dataworks-public/2020-05-18/StopInstance.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/StopInstance1.xml b/dataworks-public/2020-05-18/StopInstance1.xml new file mode 100644 index 000000000..7a88f08a6 --- /dev/null +++ b/dataworks-public/2020-05-18/StopInstance1.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/SubmitFile.xml b/dataworks-public/2020-05-18/SubmitFile.xml new file mode 100644 index 000000000..efcb20078 --- /dev/null +++ b/dataworks-public/2020-05-18/SubmitFile.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/SuspendInstance.xml b/dataworks-public/2020-05-18/SuspendInstance.xml new file mode 100644 index 000000000..67803f725 --- /dev/null +++ b/dataworks-public/2020-05-18/SuspendInstance.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/SuspendInstance1.xml b/dataworks-public/2020-05-18/SuspendInstance1.xml new file mode 100644 index 000000000..3fe3563c4 --- /dev/null +++ b/dataworks-public/2020-05-18/SuspendInstance1.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateBusiness.xml b/dataworks-public/2020-05-18/UpdateBusiness.xml new file mode 100644 index 000000000..749da966c --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateBusiness.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateConnection.xml b/dataworks-public/2020-05-18/UpdateConnection.xml new file mode 100644 index 000000000..c9f73f6b6 --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateConnection.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateDataServiceApi.xml b/dataworks-public/2020-05-18/UpdateDataServiceApi.xml new file mode 100644 index 000000000..4a6fc0e6c --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateDataServiceApi.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateFile.xml b/dataworks-public/2020-05-18/UpdateFile.xml new file mode 100644 index 000000000..55f03f5dd --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateFile.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateFolder.xml b/dataworks-public/2020-05-18/UpdateFolder.xml new file mode 100644 index 000000000..7b430d29c --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateFolder.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateMetaCategory.xml b/dataworks-public/2020-05-18/UpdateMetaCategory.xml new file mode 100644 index 000000000..efe49f00c --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateMetaCategory.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateMetaTable.xml b/dataworks-public/2020-05-18/UpdateMetaTable.xml new file mode 100644 index 000000000..26894802f --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateMetaTable.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateMetaTableIntroWiki.xml b/dataworks-public/2020-05-18/UpdateMetaTableIntroWiki.xml new file mode 100644 index 000000000..7e14c8f9b --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateMetaTableIntroWiki.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateQualityEntity.xml b/dataworks-public/2020-05-18/UpdateQualityEntity.xml new file mode 100644 index 000000000..75c4077dc --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateQualityEntity.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateQualityFollower.xml b/dataworks-public/2020-05-18/UpdateQualityFollower.xml new file mode 100644 index 000000000..d8787a6bc --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateQualityFollower.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateQualityRule.xml b/dataworks-public/2020-05-18/UpdateQualityRule.xml new file mode 100644 index 000000000..e82d26dc7 --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateQualityRule.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateRemind.xml b/dataworks-public/2020-05-18/UpdateRemind.xml new file mode 100644 index 000000000..cbd0a02e5 --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateRemind.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateTable.xml b/dataworks-public/2020-05-18/UpdateTable.xml new file mode 100644 index 000000000..2612fc442 --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateTable.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateTableLevel.xml b/dataworks-public/2020-05-18/UpdateTableLevel.xml new file mode 100644 index 000000000..b0dd76c69 --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateTableLevel.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateTableModelInfo.xml b/dataworks-public/2020-05-18/UpdateTableModelInfo.xml new file mode 100644 index 000000000..ee6cb0f11 --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateTableModelInfo.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateTableTheme.xml b/dataworks-public/2020-05-18/UpdateTableTheme.xml new file mode 100644 index 000000000..34b679e88 --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateTableTheme.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/2020-05-18/UpdateUdfFile.xml b/dataworks-public/2020-05-18/UpdateUdfFile.xml new file mode 100644 index 000000000..6de61ddb2 --- /dev/null +++ b/dataworks-public/2020-05-18/UpdateUdfFile.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/CMakeLists.txt b/dataworks-public/CMakeLists.txt index 133cc64fb..ddf7eee5e 100644 --- a/dataworks-public/CMakeLists.txt +++ b/dataworks-public/CMakeLists.txt @@ -21,77 +21,645 @@ set(dataworks-public_public_header include/alibabacloud/dataworks-public/Dataworks_publicExport.h ) set(dataworks-public_public_header_model - include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h - include/alibabacloud/dataworks-public/model/CheckCallbackResult.h + 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/CreateManualDagRequest.h include/alibabacloud/dataworks-public/model/CreateManualDagResult.h - include/alibabacloud/dataworks-public/model/CreateRealTimeProcessRequest.h - include/alibabacloud/dataworks-public/model/CreateRealTimeProcessResult.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/DeleteFileRequest.h include/alibabacloud/dataworks-public/model/DeleteFileResult.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/ListTagResourcesRequest.h - include/alibabacloud/dataworks-public/model/ListTagResourcesResult.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 - include/alibabacloud/dataworks-public/model/SendTaskMetaCallbackRequest.h - include/alibabacloud/dataworks-public/model/SendTaskMetaCallbackResult.h - include/alibabacloud/dataworks-public/model/TagResourcesRequest.h - include/alibabacloud/dataworks-public/model/TagResourcesResult.h - include/alibabacloud/dataworks-public/model/UnTagResourcesRequest.h - include/alibabacloud/dataworks-public/model/UnTagResourcesResult.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 ) set(dataworks-public_src src/Dataworks-publicClient.cc - src/model/CheckCallbackRequest.cc - src/model/CheckCallbackResult.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/CreateManualDagRequest.cc src/model/CreateManualDagResult.cc - src/model/CreateRealTimeProcessRequest.cc - src/model/CreateRealTimeProcessResult.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/DeleteFileRequest.cc src/model/DeleteFileResult.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/ListTagResourcesRequest.cc - src/model/ListTagResourcesResult.cc - src/model/QueryRealTimeProcessStatusRequest.cc - src/model/QueryRealTimeProcessStatusResult.cc - src/model/SearchManualDagNodeInstanceRequest.cc - src/model/SearchManualDagNodeInstanceResult.cc - src/model/SendTaskMetaCallbackRequest.cc - src/model/SendTaskMetaCallbackResult.cc - src/model/TagResourcesRequest.cc - src/model/TagResourcesResult.cc - src/model/UnTagResourcesRequest.cc - src/model/UnTagResourcesResult.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 ) 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 71b587aca..0ded2d9c7 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h @@ -22,40 +22,324 @@ #include #include #include "Dataworks_publicExport.h" -#include "model/CheckCallbackRequest.h" -#include "model/CheckCallbackResult.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/CreateManualDagRequest.h" #include "model/CreateManualDagResult.h" -#include "model/CreateRealTimeProcessRequest.h" -#include "model/CreateRealTimeProcessResult.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/DeleteFileRequest.h" #include "model/DeleteFileResult.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/ListTagResourcesRequest.h" -#include "model/ListTagResourcesResult.h" -#include "model/QueryRealTimeProcessStatusRequest.h" -#include "model/QueryRealTimeProcessStatusResult.h" -#include "model/SearchManualDagNodeInstanceRequest.h" -#include "model/SearchManualDagNodeInstanceResult.h" -#include "model/SendTaskMetaCallbackRequest.h" -#include "model/SendTaskMetaCallbackResult.h" -#include "model/TagResourcesRequest.h" -#include "model/TagResourcesResult.h" -#include "model/UnTagResourcesRequest.h" -#include "model/UnTagResourcesResult.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" namespace AlibabaCloud @@ -65,113 +349,965 @@ namespace AlibabaCloud class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT Dataworks_publicClient : public RpcServiceClient { public: - typedef Outcome CheckCallbackOutcome; - typedef std::future CheckCallbackOutcomeCallable; - typedef std::function&)> CheckCallbackAsyncHandler; + 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 CreateManualDagOutcome; typedef std::future CreateManualDagOutcomeCallable; typedef std::function&)> CreateManualDagAsyncHandler; - typedef Outcome CreateRealTimeProcessOutcome; - typedef std::future CreateRealTimeProcessOutcomeCallable; - typedef std::function&)> CreateRealTimeProcessAsyncHandler; + 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 DeleteFileOutcome; typedef std::future DeleteFileOutcomeCallable; typedef std::function&)> DeleteFileAsyncHandler; - 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 ListTagResourcesOutcome; - typedef std::future ListTagResourcesOutcomeCallable; - typedef std::function&)> ListTagResourcesAsyncHandler; - typedef Outcome QueryRealTimeProcessStatusOutcome; - typedef std::future QueryRealTimeProcessStatusOutcomeCallable; - typedef std::function&)> QueryRealTimeProcessStatusAsyncHandler; - typedef Outcome SearchManualDagNodeInstanceOutcome; - typedef std::future SearchManualDagNodeInstanceOutcomeCallable; - typedef std::function&)> SearchManualDagNodeInstanceAsyncHandler; - typedef Outcome SendTaskMetaCallbackOutcome; - typedef std::future SendTaskMetaCallbackOutcomeCallable; - typedef std::function&)> SendTaskMetaCallbackAsyncHandler; - typedef Outcome TagResourcesOutcome; - typedef std::future TagResourcesOutcomeCallable; - typedef std::function&)> TagResourcesAsyncHandler; - typedef Outcome UnTagResourcesOutcome; - typedef std::future UnTagResourcesOutcomeCallable; - typedef std::function&)> UnTagResourcesAsyncHandler; + 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; 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(); - 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; + 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; 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; - 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; + 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; 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; - 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; - ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const; - void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& 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; - SendTaskMetaCallbackOutcome sendTaskMetaCallback(const Model::SendTaskMetaCallbackRequest &request)const; - void sendTaskMetaCallbackAsync(const Model::SendTaskMetaCallbackRequest& request, const SendTaskMetaCallbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SendTaskMetaCallbackOutcomeCallable sendTaskMetaCallbackCallable(const Model::SendTaskMetaCallbackRequest& request) const; - TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const; - void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const; - UnTagResourcesOutcome unTagResources(const Model::UnTagResourcesRequest &request)const; - void unTagResourcesAsync(const Model::UnTagResourcesRequest& request, const UnTagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UnTagResourcesOutcomeCallable unTagResourcesCallable(const Model::UnTagResourcesRequest& 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; 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 new file mode 100644 index 000000000..1d9bff82d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..89997e1e5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..ea63af3aa --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..603945056 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..526af41c3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..97cd10fce --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/CheckMetaPartitionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h new file mode 100644 index 000000000..6f42d838e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..af6ac1dbe --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/ListHiveTableLineagesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h similarity index 66% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h index 1b94aa777..f3329ac10 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ #include #include @@ -28,13 +28,17 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveTableLineagesRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaTableRequest : public RpcServiceRequest { public: - ListHiveTableLineagesRequest(); - ~ListHiveTableLineagesRequest(); + CheckMetaTableRequest(); + ~CheckMetaTableRequest(); + 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; @@ -43,6 +47,8 @@ namespace AlibabaCloud void setTableName(const std::string& tableName); private: + std::string dataSourceType_; + std::string tableGuid_; std::string databaseName_; std::string clusterId_; std::string tableName_; @@ -51,4 +57,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UnTagResourcesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h similarity index 70% rename from dataworks-public/include/alibabacloud/dataworks-public/model/UnTagResourcesResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h index 857e04039..c31aa7e35 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UnTagResourcesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UNTAGRESOURCESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UNTAGRESOURCESRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLERESULT_H_ #include #include @@ -29,21 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UnTagResourcesResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaTableResult : public ServiceResult { public: - UnTagResourcesResult(); - explicit UnTagResourcesResult(const std::string &payload); - ~UnTagResourcesResult(); + 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_UNTAGRESOURCESRESULT_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..496a5c518 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..067f36430 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..77a12749d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.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_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 new file mode 100644 index 000000000..69c0a751f --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..f38ff1909 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..fe563e16d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..4c06790b0 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..61c9d2d37 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..c55fa464e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..9c41d605c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..fe7e93e8c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h @@ -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. + */ + +#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 new file mode 100644 index 000000000..ed99ceac5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..a0d2961be --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/CreateDataServiceFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderResult.h new file mode 100644 index 000000000..85e062cec --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceFolderResult : public ServiceResult + { + public: + + + CreateDataServiceFolderResult(); + explicit CreateDataServiceFolderResult(const std::string &payload); + ~CreateDataServiceFolderResult(); + long getFolderId()const; + + protected: + void parse(const std::string &payload); + private: + long folderId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERRESULT_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 new file mode 100644 index 000000000..4423e3a08 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..ddc230436 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..5763e1dab --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 new file mode 100644 index 000000000..0dc35d27d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..2bfa9d123 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..d9fbc72de --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 606d4431f..840bc7d3a 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h @@ -35,23 +35,26 @@ 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 getDagPara()const; - void setDagPara(const std::string& dagPara); - std::string getNodePara()const; - void setNodePara(const std::string& nodePara); + std::string getDagParameters()const; + void setDagParameters(const std::string& dagParameters); + std::string getNodeParameters()const; + void setNodeParameters(const std::string& nodeParameters); private: + std::string projectEnv_; std::string projectName_; - std::string bizdate_; + std::string bizDate_; std::string flowName_; - std::string dagPara_; - std::string nodePara_; + std::string dagParameters_; + std::string nodeParameters_; }; } diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagResult.h index f9fbe3abc..54983cd12 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagResult.h @@ -37,18 +37,12 @@ namespace AlibabaCloud CreateManualDagResult(); explicit CreateManualDagResult(const std::string &payload); ~CreateManualDagResult(); - std::string getReturnErrorSolution()const; - std::string getReturnCode()const; - std::string getReturnMessage()const; - long getReturnValue()const; + long getDagId()const; protected: void parse(const std::string &payload); private: - std::string returnErrorSolution_; - std::string returnCode_; - std::string returnMessage_; - long returnValue_; + long dagId_; }; } diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h new file mode 100644 index 000000000..a119ad7b4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..be9628859 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..2366912f0 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/TagResourcesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h similarity index 68% rename from dataworks-public/include/alibabacloud/dataworks-public/model/TagResourcesResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h index 265278415..2a78f69c3 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/TagResourcesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TAGRESOURCESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TAGRESOURCESRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TagResourcesResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateProjectMemberResult : public ServiceResult { public: - TagResourcesResult(); - explicit TagResourcesResult(const std::string &payload); - ~TagResourcesResult(); + CreateProjectMemberResult(); + explicit CreateProjectMemberResult(const std::string &payload); + ~CreateProjectMemberResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TAGRESOURCESRESULT_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..857287651 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..a00162d61 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..7ddf641b8 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..5ecef4174 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..400d941cb --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..c8f3f9465 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..64b8603ff --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..9286424b0 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 deleted file mode 100644 index 867f655ac..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessRequest.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_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 getUid()const; - void setUid(const std::string& uid); - std::string getTables()const; - void setTables(const std::string& tables); - std::string getJobConfig()const; - void setJobConfig(const std::string& jobConfig); - std::string getDataSource()const; - void setDataSource(const std::string& dataSource); - 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); - - private: - std::string uid_; - std::string tables_; - std::string jobConfig_; - std::string dataSource_; - bool createResGroup_; - std::string dataworksVersion_; - std::string resourceSpec_; - std::string tableRule_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSREQUEST_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 new file mode 100644 index 000000000..eb9cbe204 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..150684993 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..da4bb41f7 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..d806a9b8e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..a473925f6 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..bdaa1ff6c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..556d49dd3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..87ee89c9a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..9d7fa586d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..9c2acc100 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..e92cd08ec --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..2fdca8cf6 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/CheckCallbackRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h similarity index 63% rename from dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h index 1af7a7677..41a03c35d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_ #include #include @@ -28,21 +28,21 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteConnectionRequest : public RpcServiceRequest { public: - CheckCallbackRequest(); - ~CheckCallbackRequest(); + DeleteConnectionRequest(); + ~DeleteConnectionRequest(); - std::string getCallbackResultString()const; - void setCallbackResultString(const std::string& callbackResultString); + long getConnectionId()const; + void setConnectionId(long connectionId); private: - std::string callbackResultString_; + long connectionId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..11ce8c2c8 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..dd6a2eaac --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..175ccccc2 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..5079ac681 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..0ccb9b68e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..ec04e5304 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..0796d4a0c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..86a54b8a9 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..4382957ae --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/DeleteMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h new file mode 100644 index 000000000..a7d3468d9 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteMetaCategoryRequest : public RpcServiceRequest + { + + public: + DeleteMetaCategoryRequest(); + ~DeleteMetaCategoryRequest(); + + long getCategoryId()const; + void setCategoryId(long categoryId); + + private: + long categoryId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_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 new file mode 100644 index 000000000..a1ef5aa0f --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..05855e688 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..04e4acf48 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..effaab764 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..f0a00865a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/SearchManualDagNodeInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h similarity index 66% rename from dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h index c7c459e28..0c1c87ced 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCEREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_ #include #include @@ -28,24 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchManualDagNodeInstanceRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityFollowerRequest : public RpcServiceRequest { public: - SearchManualDagNodeInstanceRequest(); - ~SearchManualDagNodeInstanceRequest(); + DeleteQualityFollowerRequest(); + ~DeleteQualityFollowerRequest(); std::string getProjectName()const; void setProjectName(const std::string& projectName); - long getDagId()const; - void setDagId(long dagId); + long getFollowerId()const; + void setFollowerId(long followerId); private: std::string projectName_; - long dagId_; + long followerId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCEREQUEST_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..fc240d9ab --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..49078a9d1 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..e6d07dc02 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..70f4456a6 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..dbf73f4e1 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/DeleteRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h new file mode 100644 index 000000000..0e23cb301 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteRemindRequest : public RpcServiceRequest + { + + public: + DeleteRemindRequest(); + ~DeleteRemindRequest(); + + long getRemindId()const; + void setRemindId(long remindId); + + private: + long remindId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDREQUEST_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 new file mode 100644 index 000000000..27ba1c659 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..a023eb189 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..594db84c3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..b52c5829e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..ef1fe9001 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..b80fe7eeb --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..6e24d61f2 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..01c69d1e3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..b199d6a46 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/DesensitizeDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h new file mode 100644 index 000000000..7b934c7bf --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..340ae5ccd --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..03f0d39ee --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..939359183 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..9d51e46ee --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..b85090956 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..bf38b627d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..1d3dbd1d3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h @@ -0,0 +1,98 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..a881aa846 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..130c6c5fb --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 new file mode 100644 index 000000000..d0e14981f --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..d3fbdbd42 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/QueryRealTimeProcessStatusRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h similarity index 65% rename from dataworks-public/include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h index bda638b4b..de0c01bf4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ #include #include @@ -28,24 +28,21 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT QueryRealTimeProcessStatusRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDDLJobStatusRequest : public RpcServiceRequest { public: - QueryRealTimeProcessStatusRequest(); - ~QueryRealTimeProcessStatusRequest(); + GetDDLJobStatusRequest(); + ~GetDDLJobStatusRequest(); - std::string getUid()const; - void setUid(const std::string& uid); std::string getTaskId()const; void setTaskId(const std::string& taskId); private: - std::string uid_; std::string taskId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusResult.h similarity index 65% rename from dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusResult.h index 35306acd0..b1da8e6ef 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRealTimeProcessResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSRESULT_H_ #include #include @@ -29,31 +29,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRealTimeProcessResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDDLJobStatusResult : public ServiceResult { public: struct Data { + std::string status; std::string taskId; + std::string content; + std::string nextTaskId; }; - CreateRealTimeProcessResult(); - explicit CreateRealTimeProcessResult(const std::string &payload); - ~CreateRealTimeProcessResult(); - std::string getMessage()const; + GetDDLJobStatusResult(); + explicit GetDDLJobStatusResult(const std::string &payload); + ~GetDDLJobStatusResult(); 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_CREATEREALTIMEPROCESSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSRESULT_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 new file mode 100644 index 000000000..3d4a9cabd --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/ListEmrHiveDatabasesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagResult.h similarity index 60% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetDagResult.h index 7caf4d779..10cbabf61 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGRESULT_H_ #include #include @@ -29,42 +29,46 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveDatabasesResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDagResult : public ServiceResult { public: - struct HiveDatabase + struct Data { std::string status; - std::string comment; + long gmtdate; + long modifyTime; std::string type; - std::string owner; - long gmtCreate; - std::string ownerType; - std::string parameters; - std::string ownerId; - long gmtModified; - std::string region; + long finishTime; + long createTime; + long projectId; + long startTime; + std::string createUser; + long dagId; std::string name; - std::string location; + long bizdate; }; - ListEmrHiveDatabasesResult(); - explicit ListEmrHiveDatabasesResult(const std::string &payload); - ~ListEmrHiveDatabasesResult(); - std::vector getData()const; + GetDagResult(); + explicit GetDagResult(const std::string &payload); + ~GetDagResult(); + 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: - std::vector data_; + int httpStatusCode_; + Data data_; std::string errorCode_; std::string errorMessage_; + bool success_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGRESULT_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 new file mode 100644 index 000000000..4832766c1 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..040d885b3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h @@ -0,0 +1,178 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 new file mode 100644 index 000000000..9fd0fc7e9 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..f4042b343 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..1a619de1e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..5919cac29 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..c7b4f2583 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..c3a2bb1e8 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..504f5c901 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..d7c5e7575 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h @@ -0,0 +1,190 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 new file mode 100644 index 000000000..8e9d74609 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..1e8139989 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..bf3be0811 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..8a664e2d9 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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/UnTagResourcesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h similarity index 53% rename from dataworks-public/include/alibabacloud/dataworks-public/model/UnTagResourcesRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h index a9213f2ac..2db9e0ea4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UnTagResourcesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UNTAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UNTAGRESOURCESREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_ #include #include @@ -28,30 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UnTagResourcesRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileVersionRequest : public RpcServiceRequest { public: - UnTagResourcesRequest(); - ~UnTagResourcesRequest(); + GetFileVersionRequest(); + ~GetFileVersionRequest(); - bool getAll()const; - void setAll(bool all); - std::vector getResourceId()const; - void setResourceId(const std::vector& resourceId); - std::vector getTagKey()const; - void setTagKey(const std::vector& tagKey); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); + 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: - bool all_; - std::vector resourceId_; - std::vector tagKey_; - std::string resourceType_; + int fileVersion_; + long projectId_; + std::string projectIdentifier_; + long fileId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UNTAGRESOURCESREQUEST_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..9ee7381b4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..6a9af28da --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/QueryRealTimeProcessStatusResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderResult.h similarity index 60% rename from dataworks-public/include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderResult.h index 59461f03b..d849058db 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERRESULT_H_ #include #include @@ -29,33 +29,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT QueryRealTimeProcessStatusResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFolderResult : public ServiceResult { public: struct Data { - std::string status; - std::string taskUrl; - std::string taskId; + std::string folderPath; + std::string folderId; }; - QueryRealTimeProcessStatusResult(); - explicit QueryRealTimeProcessStatusResult(const std::string &payload); - ~QueryRealTimeProcessStatusResult(); - std::string getMessage()const; + GetFolderResult(); + explicit GetFolderResult(const std::string &payload); + ~GetFolderResult(); + int getHttpStatusCode()const; Data getData()const; - int getCode()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + bool getSuccess()const; protected: void parse(const std::string &payload); private: - std::string message_; + int httpStatusCode_; Data data_; - int code_; + std::string errorCode_; + std::string errorMessage_; + bool success_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYREALTIMEPROCESSSTATUSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERRESULT_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 new file mode 100644 index 000000000..e88498e14 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..f27ba65c3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankResult.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_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 new file mode 100644 index 000000000..994a0d6c7 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..0ff78759a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/ListEmrHiveDatabasesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h similarity index 65% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h index 0f612bb3d..22482bc70 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ #include #include @@ -28,21 +28,21 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveDatabasesRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceErrorRankRequest : public RpcServiceRequest { public: - ListEmrHiveDatabasesRequest(); - ~ListEmrHiveDatabasesRequest(); + GetInstanceErrorRankRequest(); + ~GetInstanceErrorRankRequest(); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); + long getProjectId()const; + void setProjectId(long projectId); private: - std::string clusterId_; + long projectId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_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 new file mode 100644 index 000000000..7aee3b865 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..63b6e4fcc --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..7c560290e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..8f4382fb4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..22156f35c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceResult.h @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..7cdfbaf04 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..f6782788a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..f44bafcec --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..b59428062 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..78888fd88 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..fcb3f053f --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..4c62a2ff0 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/ListHiveTableLineagesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h similarity index 61% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h index a52ae5a61..53ebb0563 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGERESULT_H_ #include #include @@ -29,46 +29,46 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveTableLineagesResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaColumnLineageResult : public ServiceResult { public: struct Data { - struct TableLineage + struct DataEntityListItem { + std::string columnName; std::string tableName; - std::string modifiedTime; + std::string columnGuid; std::string clusterId; - std::string createTime; std::string databaseName; - std::string queryText; - std::string engine; - std::string source; - std::string jobId; }; - int upstreamNumber; - std::vector upstreamLineages; - int downstreamNumber; - std::vector downstreamLineages; + long totalCount; + int pageNum; + int pageSize; + std::vector dataEntityList; }; - ListHiveTableLineagesResult(); - explicit ListHiveTableLineagesResult(const std::string &payload); - ~ListHiveTableLineagesResult(); + GetMetaColumnLineageResult(); + explicit GetMetaColumnLineageResult(const std::string &payload); + ~GetMetaColumnLineageResult(); + 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_LISTHIVETABLELINEAGESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h similarity index 63% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h index 3a49630f5..8082d8e36 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ #include #include @@ -28,30 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveColumnLineagesRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBInfoRequest : public RpcServiceRequest { public: - ListHiveColumnLineagesRequest(); - ~ListHiveColumnLineagesRequest(); + GetMetaDBInfoRequest(); + ~GetMetaDBInfoRequest(); + 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 getTableName()const; - void setTableName(const std::string& tableName); - std::string getColumnName()const; - void setColumnName(const std::string& columnName); + std::string getAppGuid()const; + void setAppGuid(const std::string& appGuid); private: + std::string dataSourceType_; std::string databaseName_; std::string clusterId_; - std::string tableName_; - std::string columnName_; + std::string appGuid_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_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 new file mode 100644 index 000000000..ea0ed05ca --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/ListEmrHiveTablesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h similarity index 67% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h index 7b65f986e..d0608bf18 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ #include #include @@ -28,30 +28,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveTablesRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBTableListRequest : public RpcServiceRequest { public: - ListEmrHiveTablesRequest(); - ~ListEmrHiveTablesRequest(); + GetMetaDBTableListRequest(); + ~GetMetaDBTableListRequest(); + 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_LISTEMRHIVETABLESREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_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 new file mode 100644 index 000000000..120ecb53a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/DescribeEmrHiveTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h similarity index 65% rename from dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h index fea06d632..4e3715e8f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ #include #include @@ -28,13 +28,17 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DescribeEmrHiveTableRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableBasicInfoRequest : public RpcServiceRequest { public: - DescribeEmrHiveTableRequest(); - ~DescribeEmrHiveTableRequest(); + GetMetaTableBasicInfoRequest(); + ~GetMetaTableBasicInfoRequest(); + 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; @@ -43,6 +47,8 @@ namespace AlibabaCloud void setTableName(const std::string& tableName); private: + std::string dataSourceType_; + std::string tableGuid_; std::string databaseName_; std::string clusterId_; std::string tableName_; @@ -51,4 +57,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_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 new file mode 100644 index 000000000..c6d2ce976 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..35c032dd9 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.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_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 new file mode 100644 index 000000000..cd796cc0d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/GetMetaTableColumnRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h new file mode 100644 index 000000000..36fd4ebd8 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.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_GETMETATABLECOLUMNREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableColumnRequest : public RpcServiceRequest + { + + public: + GetMetaTableColumnRequest(); + ~GetMetaTableColumnRequest(); + + 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_GETMETATABLECOLUMNREQUEST_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 new file mode 100644 index 000000000..16a84a898 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/ListEmrHiveAuditLogsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h similarity index 65% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h index 5f02ff6b4..a77d9ba42 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveAuditLogsRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableFullInfoRequest : public RpcServiceRequest { public: - ListEmrHiveAuditLogsRequest(); - ~ListEmrHiveAuditLogsRequest(); + 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); - 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 pageNum_; + 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_LISTEMRHIVEAUDITLOGSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h similarity index 56% rename from dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h index 6567c7b00..880c21605 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_H_ #include #include @@ -29,64 +29,67 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DescribeEmrHiveTableResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableFullInfoResult : public ServiceResult { public: struct Data { - struct TableColumn + struct ColumnListItem { std::string columnName; std::string comment; - std::string gmtCreate; - int columnPosition; + std::string columnGuid; std::string columnType; - std::string gmtModified; - std::string columnComment; + bool isPartitionColumn; + int position; + bool isForeignKey; + std::string caption; + bool isPrimaryKey; }; - std::string owner; - std::string tableType; - long tableSize; - std::string outputFormat; - std::string gmtModified; + int lifeCycle; + std::string comment; + std::string projectName; + std::string clusterId; + long lastDdlTime; + long createTime; + long totalColumnCount; + long projectId; std::string databaseName; - std::vector columns; - std::string lastAccessTime; - std::string lastModifyTime; - bool isTemporary; - std::string serializationLib; + long lastModifyTime; + long lastAccessTime; + int envType; std::string tableName; - std::string ownerType; - std::string gmtCreate; - std::string tableComment; - std::string clusterBizName; + std::string tableGuid; + long tenantId; std::string ownerId; - std::string clusterBizId; - std::string inputFormat; + long dataSize; std::string partitionKeys; - bool isCompressed; - std::string tableDesc; - std::string tableParameters; + std::vector columnList; + int isVisible; std::string location; }; - DescribeEmrHiveTableResult(); - explicit DescribeEmrHiveTableResult(const std::string &payload); - ~DescribeEmrHiveTableResult(); + GetMetaTableFullInfoResult(); + explicit GetMetaTableFullInfoResult(const std::string &payload); + ~GetMetaTableFullInfoResult(); + 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_DESCRIBEEMRHIVETABLERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_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 new file mode 100644 index 000000000..6da858faf --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..593a66672 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..c9c402a6d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..5742d3b3c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..89ee744b6 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..76c65f372 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryResult.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_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 new file mode 100644 index 000000000..b6b089b5d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..936654d79 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/ListTablePartitionsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h similarity index 68% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h index d7f3f1541..480db2420 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTablePartitionsRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTablePartitionRequest : public RpcServiceRequest { public: - ListTablePartitionsRequest(); - ~ListTablePartitionsRequest(); + GetMetaTablePartitionRequest(); + ~GetMetaTablePartitionRequest(); + 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); - 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 pageNumber_; + 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_LISTTABLEPARTITIONSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_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 new file mode 100644 index 000000000..c653acd63 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionResult.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..76fa4d8b3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..06afd406a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..331bdb157 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..7e99d73f0 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..246b8ec68 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..37c695ed5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.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_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 new file mode 100644 index 000000000..0337eccf4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..84a3b50a1 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..e60555770 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..8108cd524 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeResult.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..38e545aa3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..fc1ca207c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..d55694b21 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/CheckCallbackResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataResult.h similarity index 67% rename from dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataResult.h index ac9f8e87a..94d4fcec8 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATARESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATARESULT_H_ #include #include @@ -29,25 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOpRiskDataResult : public ServiceResult { public: - CheckCallbackResult(); - explicit CheckCallbackResult(const std::string &payload); - ~CheckCallbackResult(); - std::string getReturnCode()const; - bool getReturnValue()const; + GetOpRiskDataResult(); + explicit GetOpRiskDataResult(const std::string &payload); + ~GetOpRiskDataResult(); + std::string getRiskData()const; protected: void parse(const std::string &payload); private: - std::string returnCode_; - bool returnValue_; + std::string riskData_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATARESULT_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 new file mode 100644 index 000000000..1356d3d82 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..8cd35067e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..b25ecd04f --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..1144f518a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..fa40f0763 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..3fb2536bc --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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; + 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 new file mode 100644 index 000000000..b15419164 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..52e99219b --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 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/GetQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h new file mode 100644 index 000000000..e2954ef76 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYRULEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityRuleRequest : public RpcServiceRequest + { + + public: + GetQualityRuleRequest(); + ~GetQualityRuleRequest(); + + 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_GETQUALITYRULEREQUEST_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 new file mode 100644 index 000000000..d4db73e84 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleResult.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 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 new file mode 100644 index 000000000..15fb340f0 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..fe49c373e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindResult.h @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 new file mode 100644 index 000000000..0357f5f80 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..0b0bf7696 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..9da7ddae8 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..03c204a6e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..0cc6f0583 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..51a236034 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..8b63c775a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..c058190c4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicResult.h @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..9d86c0ac2 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..c6353a375 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h @@ -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. + */ + +#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 new file mode 100644 index 000000000..22c451c10 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..940ae37aa --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..6a7c3c74a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..8896351de --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..ced0b9f1b --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/ListTablePartitionsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessResult.h similarity index 62% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessResult.h index d8d8fce4d..7d8a40596 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSRESULT_H_ #include #include @@ -29,43 +29,47 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTablePartitionsResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBusinessResult : public ServiceResult { public: struct Data { - struct TablePartitions + struct BusinessItem { - std::string partitionName; - std::string partitionComment; - long gmtCreate; - long gmtModified; - std::string partitionPath; - std::string partitionType; - std::string location; + std::string owner; + std::string description; + std::string businessName; + std::string useType; + long projectId; + long businessId; }; int totalCount; int pageSize; - std::vector pagedData; + int pageNumber; + std::vector business; }; - ListTablePartitionsResult(); - explicit ListTablePartitionsResult(const std::string &payload); - ~ListTablePartitionsResult(); + ListBusinessResult(); + explicit ListBusinessResult(const std::string &payload); + ~ListBusinessResult(); + 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_LISTTABLEPARTITIONSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSRESULT_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 new file mode 100644 index 000000000..439504129 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..d85e6437a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..e30140f0f --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..0d838980c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..c956930b4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..30e4de256 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..02cc2e5f1 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.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_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 new file mode 100644 index 000000000..26b863b46 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h @@ -0,0 +1,185 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 new file mode 100644 index 000000000..85bfcb32a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..176cab0f0 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..47054ab3d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..4b747ec12 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..6a8693b37 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..51b656029 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..ed245dd18 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..4a27f8f86 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..9fc1a5702 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.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_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 new file mode 100644 index 000000000..b0982674d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h @@ -0,0 +1,197 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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/ListFileVersionsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h new file mode 100644 index 000000000..1932cfa03 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..49c20137e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..eb6eb9c69 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..3945d2b8d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h @@ -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. + */ + +#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 new file mode 100644 index 000000000..7d552f4e7 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/ListEmrHiveAuditLogsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersResult.h similarity index 64% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersResult.h index 3e451dacf..21cfae297 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSRESULT_H_ #include #include @@ -29,43 +29,43 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveAuditLogsResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFoldersResult : public ServiceResult { public: struct Data { - struct AuditLog + struct FoldersItem { - std::string table; - std::string user; - long eventTime; - std::vector groups; - std::string database; - std::string operation; + std::string folderPath; + std::string folderId; }; int totalCount; int pageSize; int pageNumber; - std::vector pagedData; + std::vector folders; }; - ListEmrHiveAuditLogsResult(); - explicit ListEmrHiveAuditLogsResult(const std::string &payload); - ~ListEmrHiveAuditLogsResult(); + ListFoldersResult(); + explicit ListFoldersResult(const std::string &payload); + ~ListFoldersResult(); + 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_LISTEMRHIVEAUDITLOGSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSRESULT_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 new file mode 100644 index 000000000..61a663d09 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..fd1de0491 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesResult.h @@ -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. + */ + +#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 new file mode 100644 index 000000000..017c8b8fe --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..432b2bf9b --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBResult.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_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 new file mode 100644 index 000000000..e8c75c580 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIORequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..60463dda2 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIOResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..c50405675 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/ListEmrHiveTablesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesResult.h similarity index 52% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesResult.h index af2ed6d3b..d676effd8 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESRESULT_H_ #include #include @@ -29,59 +29,59 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveTablesResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesResult : public ServiceResult { public: struct Data { - struct HiveTables + struct NodesItem { - 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; + 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 ownerId; - std::string clusterBizId; - std::string inputFormat; - std::string partitionKeys; - bool isCompressed; - std::string tableDesc; - std::string tableParameters; - std::string location; + std::string dqcDescription; + long nodeId; + std::string programType; + long repeatInterval; }; int totalCount; int pageSize; int pageNumber; - std::vector pagedData; + std::vector nodes; }; - ListEmrHiveTablesResult(); - explicit ListEmrHiveTablesResult(const std::string &payload); - ~ListEmrHiveTablesResult(); + ListNodesResult(); + explicit ListNodesResult(const std::string &payload); + ~ListNodesResult(); + 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_LISTEMRHIVETABLESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESRESULT_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 new file mode 100644 index 000000000..bd6f6662e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..c1471349f --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..cee06b538 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..65bbcf429 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..79c72ee47 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/ListTagResourcesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h similarity index 60% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListTagResourcesResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h index e75288a4a..85818072f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTagResourcesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTAGRESOURCESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTAGRESOURCESRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESRESULT_H_ #include #include @@ -29,32 +29,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTagResourcesResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectRolesResult : public ServiceResult { public: - struct TagResourcesItem + struct Role { - std::string resourceId; - std::string tagKey; - std::string resourceType; - std::string tagValue; + std::string projectRoleName; + std::string projectRoleType; + std::string projectRoleCode; + int projectRoleId; }; - ListTagResourcesResult(); - explicit ListTagResourcesResult(const std::string &payload); - ~ListTagResourcesResult(); - std::string getNextToken()const; - std::vector getTagResources()const; + ListProjectRolesResult(); + explicit ListProjectRolesResult(const std::string &payload); + ~ListProjectRolesResult(); + std::vector getProjectRoleList()const; protected: void parse(const std::string &payload); private: - std::string nextToken_; - std::vector tagResources_; + std::vector projectRoleList_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTAGRESOURCESRESULT_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..27709f604 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..fcf7420d4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..cd814bc02 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..beae895ad --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityResult.h @@ -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. + */ + +#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 new file mode 100644 index 000000000..2222b83e3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..8c9afdd69 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleResult.h @@ -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. + */ + +#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 new file mode 100644 index 000000000..a161e537d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..e1b4d4a72 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h @@ -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. + */ + +#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 comment; + std::string historyWarningThreshold; + int ruleCheckerRelationId; + std::string criticalThreshold; + std::string projectName; + std::string expectValue; + std::string warningThreshold; + std::string onDuty; + std::string trend; + int ruleType; + int checkerId; + std::string matchExpression; + int entityId; + std::string tableName; + int methodId; + bool fixCheck; + int blockType; + std::string templateName; + int id; + std::string methodName; + std::string property; + int templateId; + 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 new file mode 100644 index 000000000..c81754b5b --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsRequest.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_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 new file mode 100644 index 000000000..d802b52d2 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsResult.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..c5c02e789 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/SearchManualDagNodeInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h similarity index 51% rename from dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h index 15f3c4cf5..614d40466 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCERESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSRESULT_H_ #include #include @@ -29,45 +29,45 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchManualDagNodeInstanceResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListResourceGroupsResult : public ServiceResult { public: - struct NodeInsInfo + struct DataItem { + bool isDefault; int status; - std::string modifyTime; - long instanceId; - int dagType; - std::string nodeName; + std::string mode; std::string createTime; - std::string beginWaitTimeTime; - long dagId; - std::string bizdate; - std::string beginRunningTime; - std::string finishTime; - std::string beginWaitResTime; - std::string paraValue; + 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; }; - SearchManualDagNodeInstanceResult(); - explicit SearchManualDagNodeInstanceResult(const std::string &payload); - ~SearchManualDagNodeInstanceResult(); - std::string getErrMsg()const; - std::vector getData()const; + ListResourceGroupsResult(); + explicit ListResourceGroupsResult(const std::string &payload); + ~ListResourceGroupsResult(); + int getHttpStatusCode()const; + std::vector getData()const; bool getSuccess()const; - std::string getErrCode()const; protected: void parse(const std::string &payload); private: - std::string errMsg_; - std::vector data_; + int httpStatusCode_; + std::vector data_; bool success_; - std::string errCode_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSRESULT_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 new file mode 100644 index 000000000..f4fd32c4e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..2094ce939 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/ListTableThemeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h new file mode 100644 index 000000000..85ac35ce2 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..51bfd3f94 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..73e934c00 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..a2bf9c10e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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/PublishDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h new file mode 100644 index 000000000..43ac8baf9 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..86f1787ef --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/RemoveProjectMemberFromRoleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h new file mode 100644 index 000000000..46863e3c5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..4144fc3c4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..f9909ccbd --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..2c7acb755 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..3fe5437ee --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..d6f863604 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..64a229591 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..1581bb20b --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..8ee2f9e7a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..4d4ebe0c4 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/SearchMetaTablesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h new file mode 100644 index 000000000..1f27d29d6 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.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_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/ListHiveColumnLineagesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h similarity index 58% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h index c40926222..35b253796 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESRESULT_H_ #include #include @@ -29,48 +29,51 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveColumnLineagesResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchMetaTablesResult : public ServiceResult { public: struct Data { - struct ColumnLineage + struct DataEntityListItem { - int directDownTableNumber; + int entityType; std::string tableName; - std::string columnName; - std::string modifiedTime; + std::string tableGuid; + long tenantId; + std::string ownerId; + std::string projectName; std::string clusterId; - int directDownColumnNumber; - std::string createTime; + long projectId; std::string databaseName; - int directUpperColumnNumber; - int directUpperTableNumber; - std::string source; + int envType; }; - int upstreamNumber; - std::vector upstreamLineages; - int downstreamNumber; - std::vector downstreamLineages; + long totalCount; + int pageSize; + std::vector dataEntityList; + int pageNumber; }; - ListHiveColumnLineagesResult(); - explicit ListHiveColumnLineagesResult(const std::string &payload); - ~ListHiveColumnLineagesResult(); + SearchMetaTablesResult(); + explicit SearchMetaTablesResult(const std::string &payload); + ~SearchMetaTablesResult(); + 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_LISTHIVECOLUMNLINEAGESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESRESULT_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 new file mode 100644 index 000000000..dcd036bf8 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..5421a1143 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/SendTaskMetaCallbackRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SendTaskMetaCallbackRequest.h deleted file mode 100644 index 39d34f70b..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SendTaskMetaCallbackRequest.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_SENDTASKMETACALLBACKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SENDTASKMETACALLBACKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SendTaskMetaCallbackRequest : public RpcServiceRequest - { - - public: - SendTaskMetaCallbackRequest(); - ~SendTaskMetaCallbackRequest(); - - std::string getCode()const; - void setCode(const std::string& code); - long getEndTime()const; - void setEndTime(long endTime); - std::vector getResources()const; - void setResources(const std::vector& resources); - long getStartTime()const; - void setStartTime(long startTime); - std::string getType()const; - void setType(const std::string& type); - std::string getConnectionInfo()const; - void setConnectionInfo(const std::string& connectionInfo); - std::string getTaskEnvParam()const; - void setTaskEnvParam(const std::string& taskEnvParam); - std::string getSubType()const; - void setSubType(const std::string& subType); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getUser()const; - void setUser(const std::string& user); - - private: - std::string code_; - long endTime_; - std::vector resources_; - long startTime_; - std::string type_; - std::string connectionInfo_; - std::string taskEnvParam_; - std::string subType_; - long tenantId_; - std::string user_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SENDTASKMETACALLBACKREQUEST_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 new file mode 100644 index 000000000..10db9a2fb --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..284f7be91 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..bd66d95a3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..b23199c45 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..3f7355153 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..9e8532206 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..3676c0afc --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..1e79861ec --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..3e0b680aa --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..0ce420dc5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/ListTagResourcesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h similarity index 50% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListTagResourcesRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h index bb943d44d..b1cae5652 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTagResourcesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTAGRESOURCESREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONREQUEST_H_ #include #include @@ -28,36 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTagResourcesRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateConnectionRequest : public RpcServiceRequest { - public: - struct Tag - { - std::string value; - std::string key; - }; public: - ListTagResourcesRequest(); - ~ListTagResourcesRequest(); + UpdateConnectionRequest(); + ~UpdateConnectionRequest(); - std::vector getResourceId()const; - void setResourceId(const std::vector& resourceId); - std::string getNextToken()const; - void setNextToken(const std::string& nextToken); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); + 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: - std::vector resourceId_; - std::string nextToken_; - std::vector tag_; - std::string resourceType_; + int envType_; + std::string description_; + long connectionId_; + std::string content_; + std::string status_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTAGRESOURCESREQUEST_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..9cc0436db --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..d918d6947 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..8fa03b9c0 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..a0eef3eb7 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 new file mode 100644 index 000000000..07bda3cc8 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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/TagResourcesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h similarity index 54% rename from dataworks-public/include/alibabacloud/dataworks-public/model/TagResourcesRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h index b362051e1..059118f04 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/TagResourcesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TAGRESOURCESREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERREQUEST_H_ #include #include @@ -28,33 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TagResourcesRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateFolderRequest : public RpcServiceRequest { - public: - struct Tag - { - std::string value; - std::string key; - }; public: - TagResourcesRequest(); - ~TagResourcesRequest(); + UpdateFolderRequest(); + ~UpdateFolderRequest(); - std::vector getResourceId()const; - void setResourceId(const std::vector& resourceId); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); + 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::vector resourceId_; - std::vector tag_; - std::string resourceType_; + std::string folderName_; + long projectId_; + std::string projectIdentifier_; + std::string folderId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TAGRESOURCESREQUEST_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..d5d3af888 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..46547b8d1 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..7643dc80c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..66ae09e57 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..fac79568f --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..773f1d8d5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..68b4f0a2a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..30ba79451 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..e97c8a20d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..9530394b3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h @@ -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. + */ + +#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 new file mode 100644 index 000000000..13f101571 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..1d74c5882 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 new file mode 100644 index 000000000..9ce53d7d9 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..a4f3b5c15 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..b875b4ca7 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..73b8b4fb3 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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/SendTaskMetaCallbackResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoResult.h similarity index 62% rename from dataworks-public/include/alibabacloud/dataworks-public/model/SendTaskMetaCallbackResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoResult.h index db56d9173..e5b067c7d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SendTaskMetaCallbackResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SENDTASKMETACALLBACKRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SENDTASKMETACALLBACKRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFORESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFORESULT_H_ #include #include @@ -29,27 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SendTaskMetaCallbackResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableModelInfoResult : public ServiceResult { public: - SendTaskMetaCallbackResult(); - explicit SendTaskMetaCallbackResult(const std::string &payload); - ~SendTaskMetaCallbackResult(); - std::string getErrMsg()const; - std::string getData()const; - long getErrorCode()const; + UpdateTableModelInfoResult(); + explicit UpdateTableModelInfoResult(const std::string &payload); + ~UpdateTableModelInfoResult(); + bool getUpdateResult()const; protected: void parse(const std::string &payload); private: - std::string errMsg_; - std::string data_; - long errorCode_; + bool updateResult_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SENDTASKMETACALLBACKRESULT_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..8fdc073e5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..997dab008 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..1a4ad5b44 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..d1b7e5872 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 new file mode 100644 index 000000000..afe9d9d87 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..528d0a0e5 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 0ef6a7910..590245525 100644 --- a/dataworks-public/src/Dataworks-publicClient.cc +++ b/dataworks-public/src/Dataworks-publicClient.cc @@ -51,36 +51,540 @@ Dataworks_publicClient::Dataworks_publicClient(const std::string & accessKeyId, Dataworks_publicClient::~Dataworks_publicClient() {} -Dataworks_publicClient::CheckCallbackOutcome Dataworks_publicClient::checkCallback(const CheckCallbackRequest &request) const +Dataworks_publicClient::AbolishDataServiceApiOutcome Dataworks_publicClient::abolishDataServiceApi(const AbolishDataServiceApiRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CheckCallbackOutcome(endpointOutcome.error()); + return AbolishDataServiceApiOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CheckCallbackOutcome(CheckCallbackResult(outcome.result())); + return AbolishDataServiceApiOutcome(AbolishDataServiceApiResult(outcome.result())); else - return CheckCallbackOutcome(outcome.error()); + return AbolishDataServiceApiOutcome(outcome.error()); } -void Dataworks_publicClient::checkCallbackAsync(const CheckCallbackRequest& request, const CheckCallbackAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::abolishDataServiceApiAsync(const AbolishDataServiceApiRequest& request, const AbolishDataServiceApiAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, checkCallback(request), context); + handler(this, request, abolishDataServiceApi(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::CheckCallbackOutcomeCallable Dataworks_publicClient::checkCallbackCallable(const CheckCallbackRequest &request) const +Dataworks_publicClient::AbolishDataServiceApiOutcomeCallable Dataworks_publicClient::abolishDataServiceApiCallable(const AbolishDataServiceApiRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->checkCallback(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); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -123,36 +627,540 @@ Dataworks_publicClient::CreateManualDagOutcomeCallable Dataworks_publicClient::c return task->get_future(); } -Dataworks_publicClient::CreateRealTimeProcessOutcome Dataworks_publicClient::createRealTimeProcess(const CreateRealTimeProcessRequest &request) const +Dataworks_publicClient::CreateMetaCategoryOutcome Dataworks_publicClient::createMetaCategory(const CreateMetaCategoryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateRealTimeProcessOutcome(endpointOutcome.error()); + return CreateMetaCategoryOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateRealTimeProcessOutcome(CreateRealTimeProcessResult(outcome.result())); + return CreateMetaCategoryOutcome(CreateMetaCategoryResult(outcome.result())); else - return CreateRealTimeProcessOutcome(outcome.error()); + return CreateMetaCategoryOutcome(outcome.error()); } -void Dataworks_publicClient::createRealTimeProcessAsync(const CreateRealTimeProcessRequest& request, const CreateRealTimeProcessAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::createMetaCategoryAsync(const CreateMetaCategoryRequest& request, const CreateMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createRealTimeProcess(request), context); + handler(this, request, createMetaCategory(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::CreateRealTimeProcessOutcomeCallable Dataworks_publicClient::createRealTimeProcessCallable(const CreateRealTimeProcessRequest &request) const +Dataworks_publicClient::CreateMetaCategoryOutcomeCallable Dataworks_publicClient::createMetaCategoryCallable(const CreateMetaCategoryRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createRealTimeProcess(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); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -195,468 +1203,4572 @@ Dataworks_publicClient::DeleteFileOutcomeCallable Dataworks_publicClient::delete return task->get_future(); } -Dataworks_publicClient::DescribeEmrHiveTableOutcome Dataworks_publicClient::describeEmrHiveTable(const DescribeEmrHiveTableRequest &request) const +Dataworks_publicClient::DeleteFolderOutcome Dataworks_publicClient::deleteFolder(const DeleteFolderRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeEmrHiveTableOutcome(endpointOutcome.error()); + return DeleteFolderOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeEmrHiveTableOutcome(DescribeEmrHiveTableResult(outcome.result())); + return DeleteFolderOutcome(DeleteFolderResult(outcome.result())); else - return DescribeEmrHiveTableOutcome(outcome.error()); + return DeleteFolderOutcome(outcome.error()); } -void Dataworks_publicClient::describeEmrHiveTableAsync(const DescribeEmrHiveTableRequest& request, const DescribeEmrHiveTableAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::deleteFolderAsync(const DeleteFolderRequest& request, const DeleteFolderAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeEmrHiveTable(request), context); + handler(this, request, deleteFolder(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DescribeEmrHiveTableOutcomeCallable Dataworks_publicClient::describeEmrHiveTableCallable(const DescribeEmrHiveTableRequest &request) const +Dataworks_publicClient::DeleteFolderOutcomeCallable Dataworks_publicClient::deleteFolderCallable(const DeleteFolderRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeEmrHiveTable(request); + return this->deleteFolder(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::ListEmrHiveAuditLogsOutcome Dataworks_publicClient::listEmrHiveAuditLogs(const ListEmrHiveAuditLogsRequest &request) const +Dataworks_publicClient::DeleteFromMetaCategoryOutcome Dataworks_publicClient::deleteFromMetaCategory(const DeleteFromMetaCategoryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListEmrHiveAuditLogsOutcome(endpointOutcome.error()); + return DeleteFromMetaCategoryOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListEmrHiveAuditLogsOutcome(ListEmrHiveAuditLogsResult(outcome.result())); + return DeleteFromMetaCategoryOutcome(DeleteFromMetaCategoryResult(outcome.result())); else - return ListEmrHiveAuditLogsOutcome(outcome.error()); + return DeleteFromMetaCategoryOutcome(outcome.error()); } -void Dataworks_publicClient::listEmrHiveAuditLogsAsync(const ListEmrHiveAuditLogsRequest& request, const ListEmrHiveAuditLogsAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::deleteFromMetaCategoryAsync(const DeleteFromMetaCategoryRequest& request, const DeleteFromMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listEmrHiveAuditLogs(request), context); + handler(this, request, deleteFromMetaCategory(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::ListEmrHiveAuditLogsOutcomeCallable Dataworks_publicClient::listEmrHiveAuditLogsCallable(const ListEmrHiveAuditLogsRequest &request) const +Dataworks_publicClient::DeleteFromMetaCategoryOutcomeCallable Dataworks_publicClient::deleteFromMetaCategoryCallable(const DeleteFromMetaCategoryRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listEmrHiveAuditLogs(request); + return this->deleteFromMetaCategory(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::ListEmrHiveDatabasesOutcome Dataworks_publicClient::listEmrHiveDatabases(const ListEmrHiveDatabasesRequest &request) const +Dataworks_publicClient::DeleteMetaCategoryOutcome Dataworks_publicClient::deleteMetaCategory(const DeleteMetaCategoryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListEmrHiveDatabasesOutcome(endpointOutcome.error()); + return DeleteMetaCategoryOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListEmrHiveDatabasesOutcome(ListEmrHiveDatabasesResult(outcome.result())); + return DeleteMetaCategoryOutcome(DeleteMetaCategoryResult(outcome.result())); else - return ListEmrHiveDatabasesOutcome(outcome.error()); + return DeleteMetaCategoryOutcome(outcome.error()); } -void Dataworks_publicClient::listEmrHiveDatabasesAsync(const ListEmrHiveDatabasesRequest& request, const ListEmrHiveDatabasesAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::deleteMetaCategoryAsync(const DeleteMetaCategoryRequest& request, const DeleteMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listEmrHiveDatabases(request), context); + handler(this, request, deleteMetaCategory(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::ListEmrHiveDatabasesOutcomeCallable Dataworks_publicClient::listEmrHiveDatabasesCallable(const ListEmrHiveDatabasesRequest &request) const +Dataworks_publicClient::DeleteMetaCategoryOutcomeCallable Dataworks_publicClient::deleteMetaCategoryCallable(const DeleteMetaCategoryRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listEmrHiveDatabases(request); + return this->deleteMetaCategory(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::ListEmrHiveTablesOutcome Dataworks_publicClient::listEmrHiveTables(const ListEmrHiveTablesRequest &request) const +Dataworks_publicClient::DeleteProjectMemberOutcome Dataworks_publicClient::deleteProjectMember(const DeleteProjectMemberRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListEmrHiveTablesOutcome(endpointOutcome.error()); + return DeleteProjectMemberOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListEmrHiveTablesOutcome(ListEmrHiveTablesResult(outcome.result())); + return DeleteProjectMemberOutcome(DeleteProjectMemberResult(outcome.result())); else - return ListEmrHiveTablesOutcome(outcome.error()); + return DeleteProjectMemberOutcome(outcome.error()); } -void Dataworks_publicClient::listEmrHiveTablesAsync(const ListEmrHiveTablesRequest& request, const ListEmrHiveTablesAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::deleteProjectMemberAsync(const DeleteProjectMemberRequest& request, const DeleteProjectMemberAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listEmrHiveTables(request), context); + handler(this, request, deleteProjectMember(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::ListEmrHiveTablesOutcomeCallable Dataworks_publicClient::listEmrHiveTablesCallable(const ListEmrHiveTablesRequest &request) const +Dataworks_publicClient::DeleteProjectMemberOutcomeCallable Dataworks_publicClient::deleteProjectMemberCallable(const DeleteProjectMemberRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listEmrHiveTables(request); + return this->deleteProjectMember(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::ListHiveColumnLineagesOutcome Dataworks_publicClient::listHiveColumnLineages(const ListHiveColumnLineagesRequest &request) const +Dataworks_publicClient::DeleteQualityEntityOutcome Dataworks_publicClient::deleteQualityEntity(const DeleteQualityEntityRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListHiveColumnLineagesOutcome(endpointOutcome.error()); + return DeleteQualityEntityOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListHiveColumnLineagesOutcome(ListHiveColumnLineagesResult(outcome.result())); + return DeleteQualityEntityOutcome(DeleteQualityEntityResult(outcome.result())); else - return ListHiveColumnLineagesOutcome(outcome.error()); + return DeleteQualityEntityOutcome(outcome.error()); } -void Dataworks_publicClient::listHiveColumnLineagesAsync(const ListHiveColumnLineagesRequest& request, const ListHiveColumnLineagesAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::deleteQualityEntityAsync(const DeleteQualityEntityRequest& request, const DeleteQualityEntityAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listHiveColumnLineages(request), context); + handler(this, request, deleteQualityEntity(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::ListHiveColumnLineagesOutcomeCallable Dataworks_publicClient::listHiveColumnLineagesCallable(const ListHiveColumnLineagesRequest &request) const +Dataworks_publicClient::DeleteQualityEntityOutcomeCallable Dataworks_publicClient::deleteQualityEntityCallable(const DeleteQualityEntityRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listHiveColumnLineages(request); + return this->deleteQualityEntity(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::ListHiveTableLineagesOutcome Dataworks_publicClient::listHiveTableLineages(const ListHiveTableLineagesRequest &request) const +Dataworks_publicClient::DeleteQualityFollowerOutcome Dataworks_publicClient::deleteQualityFollower(const DeleteQualityFollowerRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListHiveTableLineagesOutcome(endpointOutcome.error()); + return DeleteQualityFollowerOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListHiveTableLineagesOutcome(ListHiveTableLineagesResult(outcome.result())); + return DeleteQualityFollowerOutcome(DeleteQualityFollowerResult(outcome.result())); else - return ListHiveTableLineagesOutcome(outcome.error()); + return DeleteQualityFollowerOutcome(outcome.error()); } -void Dataworks_publicClient::listHiveTableLineagesAsync(const ListHiveTableLineagesRequest& request, const ListHiveTableLineagesAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::deleteQualityFollowerAsync(const DeleteQualityFollowerRequest& request, const DeleteQualityFollowerAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listHiveTableLineages(request), context); + handler(this, request, deleteQualityFollower(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::ListHiveTableLineagesOutcomeCallable Dataworks_publicClient::listHiveTableLineagesCallable(const ListHiveTableLineagesRequest &request) const +Dataworks_publicClient::DeleteQualityFollowerOutcomeCallable Dataworks_publicClient::deleteQualityFollowerCallable(const DeleteQualityFollowerRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listHiveTableLineages(request); + return this->deleteQualityFollower(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::ListTablePartitionsOutcome Dataworks_publicClient::listTablePartitions(const ListTablePartitionsRequest &request) const +Dataworks_publicClient::DeleteQualityRelativeNodeOutcome Dataworks_publicClient::deleteQualityRelativeNode(const DeleteQualityRelativeNodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListTablePartitionsOutcome(endpointOutcome.error()); + return DeleteQualityRelativeNodeOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListTablePartitionsOutcome(ListTablePartitionsResult(outcome.result())); + return DeleteQualityRelativeNodeOutcome(DeleteQualityRelativeNodeResult(outcome.result())); else - return ListTablePartitionsOutcome(outcome.error()); + return DeleteQualityRelativeNodeOutcome(outcome.error()); } -void Dataworks_publicClient::listTablePartitionsAsync(const ListTablePartitionsRequest& request, const ListTablePartitionsAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::deleteQualityRelativeNodeAsync(const DeleteQualityRelativeNodeRequest& request, const DeleteQualityRelativeNodeAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listTablePartitions(request), context); + handler(this, request, deleteQualityRelativeNode(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::ListTablePartitionsOutcomeCallable Dataworks_publicClient::listTablePartitionsCallable(const ListTablePartitionsRequest &request) const +Dataworks_publicClient::DeleteQualityRelativeNodeOutcomeCallable Dataworks_publicClient::deleteQualityRelativeNodeCallable(const DeleteQualityRelativeNodeRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listTablePartitions(request); + return this->deleteQualityRelativeNode(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::ListTagResourcesOutcome Dataworks_publicClient::listTagResources(const ListTagResourcesRequest &request) const +Dataworks_publicClient::DeleteQualityRuleOutcome Dataworks_publicClient::deleteQualityRule(const DeleteQualityRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListTagResourcesOutcome(endpointOutcome.error()); + return DeleteQualityRuleOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result())); + return DeleteQualityRuleOutcome(DeleteQualityRuleResult(outcome.result())); else - return ListTagResourcesOutcome(outcome.error()); + return DeleteQualityRuleOutcome(outcome.error()); } -void Dataworks_publicClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::deleteQualityRuleAsync(const DeleteQualityRuleRequest& request, const DeleteQualityRuleAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listTagResources(request), context); + handler(this, request, deleteQualityRule(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::ListTagResourcesOutcomeCallable Dataworks_publicClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const +Dataworks_publicClient::DeleteQualityRuleOutcomeCallable Dataworks_publicClient::deleteQualityRuleCallable(const DeleteQualityRuleRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listTagResources(request); + return this->deleteQualityRule(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::QueryRealTimeProcessStatusOutcome Dataworks_publicClient::queryRealTimeProcessStatus(const QueryRealTimeProcessStatusRequest &request) const +Dataworks_publicClient::DeleteRemindOutcome Dataworks_publicClient::deleteRemind(const DeleteRemindRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryRealTimeProcessStatusOutcome(endpointOutcome.error()); + return DeleteRemindOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryRealTimeProcessStatusOutcome(QueryRealTimeProcessStatusResult(outcome.result())); + return DeleteRemindOutcome(DeleteRemindResult(outcome.result())); else - return QueryRealTimeProcessStatusOutcome(outcome.error()); + return DeleteRemindOutcome(outcome.error()); } -void Dataworks_publicClient::queryRealTimeProcessStatusAsync(const QueryRealTimeProcessStatusRequest& request, const QueryRealTimeProcessStatusAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::deleteRemindAsync(const DeleteRemindRequest& request, const DeleteRemindAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryRealTimeProcessStatus(request), context); + handler(this, request, deleteRemind(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::QueryRealTimeProcessStatusOutcomeCallable Dataworks_publicClient::queryRealTimeProcessStatusCallable(const QueryRealTimeProcessStatusRequest &request) const +Dataworks_publicClient::DeleteRemindOutcomeCallable Dataworks_publicClient::deleteRemindCallable(const DeleteRemindRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryRealTimeProcessStatus(request); + return this->deleteRemind(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::SearchManualDagNodeInstanceOutcome Dataworks_publicClient::searchManualDagNodeInstance(const SearchManualDagNodeInstanceRequest &request) const +Dataworks_publicClient::DeleteTableOutcome Dataworks_publicClient::deleteTable(const DeleteTableRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return SearchManualDagNodeInstanceOutcome(endpointOutcome.error()); + return DeleteTableOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return SearchManualDagNodeInstanceOutcome(SearchManualDagNodeInstanceResult(outcome.result())); + return DeleteTableOutcome(DeleteTableResult(outcome.result())); else - return SearchManualDagNodeInstanceOutcome(outcome.error()); + return DeleteTableOutcome(outcome.error()); } -void Dataworks_publicClient::searchManualDagNodeInstanceAsync(const SearchManualDagNodeInstanceRequest& request, const SearchManualDagNodeInstanceAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::deleteTableAsync(const DeleteTableRequest& request, const DeleteTableAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, searchManualDagNodeInstance(request), context); + handler(this, request, deleteTable(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::SearchManualDagNodeInstanceOutcomeCallable Dataworks_publicClient::searchManualDagNodeInstanceCallable(const SearchManualDagNodeInstanceRequest &request) const +Dataworks_publicClient::DeleteTableOutcomeCallable Dataworks_publicClient::deleteTableCallable(const DeleteTableRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->searchManualDagNodeInstance(request); + return this->deleteTable(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::SendTaskMetaCallbackOutcome Dataworks_publicClient::sendTaskMetaCallback(const SendTaskMetaCallbackRequest &request) const +Dataworks_publicClient::DeleteTableLevelOutcome Dataworks_publicClient::deleteTableLevel(const DeleteTableLevelRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return SendTaskMetaCallbackOutcome(endpointOutcome.error()); + return DeleteTableLevelOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return SendTaskMetaCallbackOutcome(SendTaskMetaCallbackResult(outcome.result())); + return DeleteTableLevelOutcome(DeleteTableLevelResult(outcome.result())); else - return SendTaskMetaCallbackOutcome(outcome.error()); + return DeleteTableLevelOutcome(outcome.error()); } -void Dataworks_publicClient::sendTaskMetaCallbackAsync(const SendTaskMetaCallbackRequest& request, const SendTaskMetaCallbackAsyncHandler& handler, const std::shared_ptr& context) const +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, sendTaskMetaCallback(request), context); + handler(this, request, deleteTableLevel(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::SendTaskMetaCallbackOutcomeCallable Dataworks_publicClient::sendTaskMetaCallbackCallable(const SendTaskMetaCallbackRequest &request) const +Dataworks_publicClient::DeleteTableLevelOutcomeCallable Dataworks_publicClient::deleteTableLevelCallable(const DeleteTableLevelRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->sendTaskMetaCallback(request); + return this->deleteTableLevel(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::TagResourcesOutcome Dataworks_publicClient::tagResources(const TagResourcesRequest &request) const +Dataworks_publicClient::DeleteTableThemeOutcome Dataworks_publicClient::deleteTableTheme(const DeleteTableThemeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return TagResourcesOutcome(endpointOutcome.error()); + return DeleteTableThemeOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return TagResourcesOutcome(TagResourcesResult(outcome.result())); + return DeleteTableThemeOutcome(DeleteTableThemeResult(outcome.result())); else - return TagResourcesOutcome(outcome.error()); + return DeleteTableThemeOutcome(outcome.error()); } -void Dataworks_publicClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context) const +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, tagResources(request), context); + handler(this, request, deleteTableTheme(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::TagResourcesOutcomeCallable Dataworks_publicClient::tagResourcesCallable(const TagResourcesRequest &request) const +Dataworks_publicClient::DeleteTableThemeOutcomeCallable Dataworks_publicClient::deleteTableThemeCallable(const DeleteTableThemeRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->tagResources(request); + return this->deleteTableTheme(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::UnTagResourcesOutcome Dataworks_publicClient::unTagResources(const UnTagResourcesRequest &request) const +Dataworks_publicClient::DeployFileOutcome Dataworks_publicClient::deployFile(const DeployFileRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return UnTagResourcesOutcome(endpointOutcome.error()); + return DeployFileOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return UnTagResourcesOutcome(UnTagResourcesResult(outcome.result())); + return DeployFileOutcome(DeployFileResult(outcome.result())); else - return UnTagResourcesOutcome(outcome.error()); + return DeployFileOutcome(outcome.error()); } -void Dataworks_publicClient::unTagResourcesAsync(const UnTagResourcesRequest& request, const UnTagResourcesAsyncHandler& handler, const std::shared_ptr& context) const +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, unTagResources(request), context); + handler(this, request, deployFile(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::UnTagResourcesOutcomeCallable Dataworks_publicClient::unTagResourcesCallable(const UnTagResourcesRequest &request) const +Dataworks_publicClient::DeployFileOutcomeCallable Dataworks_publicClient::deployFileCallable(const DeployFileRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->unTagResources(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); }); asyncExecute(new Runnable([task]() { (*task)(); })); diff --git a/dataworks-public/src/model/AbolishDataServiceApiRequest.cc b/dataworks-public/src/model/AbolishDataServiceApiRequest.cc new file mode 100644 index 000000000..58fbc7a89 --- /dev/null +++ b/dataworks-public/src/model/AbolishDataServiceApiRequest.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::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 new file mode 100644 index 000000000..3d8e94688 --- /dev/null +++ b/dataworks-public/src/model/AbolishDataServiceApiResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..9306a545c --- /dev/null +++ b/dataworks-public/src/model/AddProjectMemberToRoleRequest.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::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 new file mode 100644 index 000000000..d1a674ee3 --- /dev/null +++ b/dataworks-public/src/model/AddProjectMemberToRoleResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..ae43ae07c --- /dev/null +++ b/dataworks-public/src/model/AddToMetaCategoryRequest.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::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 new file mode 100644 index 000000000..9088e4ae0 --- /dev/null +++ b/dataworks-public/src/model/AddToMetaCategoryResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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/CheckMetaPartitionRequest.cc b/dataworks-public/src/model/CheckMetaPartitionRequest.cc new file mode 100644 index 000000000..e86b273a6 --- /dev/null +++ b/dataworks-public/src/model/CheckMetaPartitionRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..a70298480 --- /dev/null +++ b/dataworks-public/src/model/CheckMetaPartitionResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..3617d53eb --- /dev/null +++ b/dataworks-public/src/model/CheckMetaTableRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..ac63daf91 --- /dev/null +++ b/dataworks-public/src/model/CheckMetaTableResult.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 +#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 new file mode 100644 index 000000000..d3fbb71fd --- /dev/null +++ b/dataworks-public/src/model/CreateBusinessRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..768c80ed5 --- /dev/null +++ b/dataworks-public/src/model/CreateBusinessResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..de8497063 --- /dev/null +++ b/dataworks-public/src/model/CreateConnectionRequest.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::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/SendTaskMetaCallbackResult.cc b/dataworks-public/src/model/CreateConnectionResult.cc similarity index 57% rename from dataworks-public/src/model/SendTaskMetaCallbackResult.cc rename to dataworks-public/src/model/CreateConnectionResult.cc index 7382aef36..72f24d6d0 100644 --- a/dataworks-public/src/model/SendTaskMetaCallbackResult.cc +++ b/dataworks-public/src/model/CreateConnectionResult.cc @@ -14,52 +14,52 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -SendTaskMetaCallbackResult::SendTaskMetaCallbackResult() : +CreateConnectionResult::CreateConnectionResult() : ServiceResult() {} -SendTaskMetaCallbackResult::SendTaskMetaCallbackResult(const std::string &payload) : +CreateConnectionResult::CreateConnectionResult(const std::string &payload) : ServiceResult() { parse(payload); } -SendTaskMetaCallbackResult::~SendTaskMetaCallbackResult() +CreateConnectionResult::~CreateConnectionResult() {} -void SendTaskMetaCallbackResult::parse(const std::string &payload) +void CreateConnectionResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = std::stol(value["ErrorCode"].asString()); - if(!value["ErrMsg"].isNull()) - errMsg_ = value["ErrMsg"].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(); + data_ = std::stol(value["Data"].asString()); } -std::string SendTaskMetaCallbackResult::getErrMsg()const +std::string CreateConnectionResult::getHttpStatusCode()const { - return errMsg_; + return httpStatusCode_; } -std::string SendTaskMetaCallbackResult::getData()const +long CreateConnectionResult::getData()const { return data_; } -long SendTaskMetaCallbackResult::getErrorCode()const +bool CreateConnectionResult::getSuccess()const { - return errorCode_; + return success_; } diff --git a/dataworks-public/src/model/CreateDagComplementRequest.cc b/dataworks-public/src/model/CreateDagComplementRequest.cc new file mode 100644 index 000000000..be88859b8 --- /dev/null +++ b/dataworks-public/src/model/CreateDagComplementRequest.cc @@ -0,0 +1,150 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..aa033c9ac --- /dev/null +++ b/dataworks-public/src/model/CreateDagComplementResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..1ceb80caa --- /dev/null +++ b/dataworks-public/src/model/CreateDagTestRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..27bdf70c0 --- /dev/null +++ b/dataworks-public/src/model/CreateDagTestResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..f1a8b98d2 --- /dev/null +++ b/dataworks-public/src/model/CreateDataServiceApiAuthorityRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..470360cf8 --- /dev/null +++ b/dataworks-public/src/model/CreateDataServiceApiAuthorityResult.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 +#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 new file mode 100644 index 000000000..da3b9376a --- /dev/null +++ b/dataworks-public/src/model/CreateDataServiceApiRequest.cc @@ -0,0 +1,205 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..9497eb527 --- /dev/null +++ b/dataworks-public/src/model/CreateDataServiceApiResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..cd2608941 --- /dev/null +++ b/dataworks-public/src/model/CreateDataServiceFolderRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..5cae3b642 --- /dev/null +++ b/dataworks-public/src/model/CreateDataServiceFolderResult.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 +#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 new file mode 100644 index 000000000..67302ad7f --- /dev/null +++ b/dataworks-public/src/model/CreateDataServiceGroupRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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/CreateDataServiceGroupResult.cc b/dataworks-public/src/model/CreateDataServiceGroupResult.cc new file mode 100644 index 000000000..af22978f4 --- /dev/null +++ b/dataworks-public/src/model/CreateDataServiceGroupResult.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 +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +CreateDataServiceGroupResult::CreateDataServiceGroupResult() : + ServiceResult() +{} + +CreateDataServiceGroupResult::CreateDataServiceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDataServiceGroupResult::~CreateDataServiceGroupResult() +{} + +void CreateDataServiceGroupResult::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(); + +} + +std::string CreateDataServiceGroupResult::getGroupId()const +{ + return groupId_; +} + diff --git a/dataworks-public/src/model/CreateFileRequest.cc b/dataworks-public/src/model/CreateFileRequest.cc new file mode 100644 index 000000000..01c662527 --- /dev/null +++ b/dataworks-public/src/model/CreateFileRequest.cc @@ -0,0 +1,282 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..0a4d5c2b2 --- /dev/null +++ b/dataworks-public/src/model/CreateFileResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..603c655b4 --- /dev/null +++ b/dataworks-public/src/model/CreateFolderRequest.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::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 new file mode 100644 index 000000000..6f5f3759d --- /dev/null +++ b/dataworks-public/src/model/CreateFolderResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 762bf8532..ae421aea4 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", "2018-06-01", "CreateManualDag") + RpcServiceRequest("dataworks-public", "2020-05-18", "CreateManualDag") { setMethod(HttpRequest::Method::Post); } @@ -27,6 +27,17 @@ 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_; @@ -35,18 +46,18 @@ std::string CreateManualDagRequest::getProjectName()const void CreateManualDagRequest::setProjectName(const std::string& projectName) { projectName_ = projectName; - setParameter("ProjectName", projectName); + setBodyParameter("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; - setParameter("Bizdate", bizdate); + bizDate_ = bizDate; + setBodyParameter("BizDate", bizDate); } std::string CreateManualDagRequest::getFlowName()const @@ -57,28 +68,28 @@ std::string CreateManualDagRequest::getFlowName()const void CreateManualDagRequest::setFlowName(const std::string& flowName) { flowName_ = flowName; - setParameter("FlowName", flowName); + setBodyParameter("FlowName", flowName); } -std::string CreateManualDagRequest::getDagPara()const +std::string CreateManualDagRequest::getDagParameters()const { - return dagPara_; + return dagParameters_; } -void CreateManualDagRequest::setDagPara(const std::string& dagPara) +void CreateManualDagRequest::setDagParameters(const std::string& dagParameters) { - dagPara_ = dagPara; - setParameter("DagPara", dagPara); + dagParameters_ = dagParameters; + setBodyParameter("DagParameters", dagParameters); } -std::string CreateManualDagRequest::getNodePara()const +std::string CreateManualDagRequest::getNodeParameters()const { - return nodePara_; + return nodeParameters_; } -void CreateManualDagRequest::setNodePara(const std::string& nodePara) +void CreateManualDagRequest::setNodeParameters(const std::string& nodeParameters) { - nodePara_ = nodePara; - setParameter("NodePara", nodePara); + nodeParameters_ = nodeParameters; + setBodyParameter("NodeParameters", nodeParameters); } diff --git a/dataworks-public/src/model/CreateManualDagResult.cc b/dataworks-public/src/model/CreateManualDagResult.cc index 4f7bf0261..7fc36b699 100644 --- a/dataworks-public/src/model/CreateManualDagResult.cc +++ b/dataworks-public/src/model/CreateManualDagResult.cc @@ -39,34 +39,13 @@ void CreateManualDagResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].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()); + if(!value["DagId"].isNull()) + dagId_ = std::stol(value["DagId"].asString()); } -std::string CreateManualDagResult::getReturnErrorSolution()const +long CreateManualDagResult::getDagId()const { - return returnErrorSolution_; -} - -std::string CreateManualDagResult::getReturnCode()const -{ - return returnCode_; -} - -std::string CreateManualDagResult::getReturnMessage()const -{ - return returnMessage_; -} - -long CreateManualDagResult::getReturnValue()const -{ - return returnValue_; + return dagId_; } diff --git a/dataworks-public/src/model/CreateMetaCategoryRequest.cc b/dataworks-public/src/model/CreateMetaCategoryRequest.cc new file mode 100644 index 000000000..8e647e6e4 --- /dev/null +++ b/dataworks-public/src/model/CreateMetaCategoryRequest.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::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 new file mode 100644 index 000000000..e8d0fa031 --- /dev/null +++ b/dataworks-public/src/model/CreateMetaCategoryResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..8279632ce --- /dev/null +++ b/dataworks-public/src/model/CreateProjectMemberRequest.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::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/UnTagResourcesResult.cc b/dataworks-public/src/model/CreateProjectMemberResult.cc similarity index 73% rename from dataworks-public/src/model/UnTagResourcesResult.cc rename to dataworks-public/src/model/CreateProjectMemberResult.cc index e434b2317..71b9eb144 100644 --- a/dataworks-public/src/model/UnTagResourcesResult.cc +++ b/dataworks-public/src/model/CreateProjectMemberResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -UnTagResourcesResult::UnTagResourcesResult() : +CreateProjectMemberResult::CreateProjectMemberResult() : ServiceResult() {} -UnTagResourcesResult::UnTagResourcesResult(const std::string &payload) : +CreateProjectMemberResult::CreateProjectMemberResult(const std::string &payload) : ServiceResult() { parse(payload); } -UnTagResourcesResult::~UnTagResourcesResult() +CreateProjectMemberResult::~CreateProjectMemberResult() {} -void UnTagResourcesResult::parse(const std::string &payload) +void CreateProjectMemberResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/dataworks-public/src/model/CreateQualityEntityRequest.cc b/dataworks-public/src/model/CreateQualityEntityRequest.cc new file mode 100644 index 000000000..832eccd68 --- /dev/null +++ b/dataworks-public/src/model/CreateQualityEntityRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..923fcc747 --- /dev/null +++ b/dataworks-public/src/model/CreateQualityEntityResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..073864051 --- /dev/null +++ b/dataworks-public/src/model/CreateQualityFollowerRequest.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::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 new file mode 100644 index 000000000..f238e3b39 --- /dev/null +++ b/dataworks-public/src/model/CreateQualityFollowerResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..cd425f491 --- /dev/null +++ b/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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 new file mode 100644 index 000000000..ba3b1afce --- /dev/null +++ b/dataworks-public/src/model/CreateQualityRelativeNodeResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..cdce82e53 --- /dev/null +++ b/dataworks-public/src/model/CreateQualityRuleRequest.cc @@ -0,0 +1,227 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..b36e1932d --- /dev/null +++ b/dataworks-public/src/model/CreateQualityRuleResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 deleted file mode 100644 index 827521c86..000000000 --- a/dataworks-public/src/model/CreateRealTimeProcessRequest.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::CreateRealTimeProcessRequest; - -CreateRealTimeProcessRequest::CreateRealTimeProcessRequest() : - RpcServiceRequest("dataworks-public", "2018-06-01", "CreateRealTimeProcess") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateRealTimeProcessRequest::~CreateRealTimeProcessRequest() -{} - -std::string CreateRealTimeProcessRequest::getUid()const -{ - return uid_; -} - -void CreateRealTimeProcessRequest::setUid(const std::string& uid) -{ - uid_ = uid; - setParameter("Uid", uid); -} - -std::string CreateRealTimeProcessRequest::getTables()const -{ - return tables_; -} - -void CreateRealTimeProcessRequest::setTables(const std::string& tables) -{ - tables_ = tables; - setParameter("Tables", tables); -} - -std::string CreateRealTimeProcessRequest::getJobConfig()const -{ - return jobConfig_; -} - -void CreateRealTimeProcessRequest::setJobConfig(const std::string& jobConfig) -{ - jobConfig_ = jobConfig; - setParameter("JobConfig", jobConfig); -} - -std::string CreateRealTimeProcessRequest::getDataSource()const -{ - return dataSource_; -} - -void CreateRealTimeProcessRequest::setDataSource(const std::string& dataSource) -{ - dataSource_ = dataSource; - setParameter("DataSource", dataSource); -} - -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); -} - diff --git a/dataworks-public/src/model/CreateRemindRequest.cc b/dataworks-public/src/model/CreateRemindRequest.cc new file mode 100644 index 000000000..503685613 --- /dev/null +++ b/dataworks-public/src/model/CreateRemindRequest.cc @@ -0,0 +1,194 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..ee934a747 --- /dev/null +++ b/dataworks-public/src/model/CreateRemindResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..99cccedd3 --- /dev/null +++ b/dataworks-public/src/model/CreateTableLevelRequest.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::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 new file mode 100644 index 000000000..9055d65de --- /dev/null +++ b/dataworks-public/src/model/CreateTableLevelResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..aa0402c2a --- /dev/null +++ b/dataworks-public/src/model/CreateTableRequest.cc @@ -0,0 +1,244 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..a652bb35d --- /dev/null +++ b/dataworks-public/src/model/CreateTableResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..20780bafb --- /dev/null +++ b/dataworks-public/src/model/CreateTableThemeRequest.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::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 new file mode 100644 index 000000000..199fbc1ad --- /dev/null +++ b/dataworks-public/src/model/CreateTableThemeResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..750bc45df --- /dev/null +++ b/dataworks-public/src/model/CreateUdfFileRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..a15dfe231 --- /dev/null +++ b/dataworks-public/src/model/CreateUdfFileResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..b426266ef --- /dev/null +++ b/dataworks-public/src/model/DeleteBusinessRequest.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::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 new file mode 100644 index 000000000..a73a3757a --- /dev/null +++ b/dataworks-public/src/model/DeleteBusinessResult.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; + +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/ListEmrHiveDatabasesRequest.cc b/dataworks-public/src/model/DeleteConnectionRequest.cc similarity index 54% rename from dataworks-public/src/model/ListEmrHiveDatabasesRequest.cc rename to dataworks-public/src/model/DeleteConnectionRequest.cc index 91c2bccac..874c3c4fc 100644 --- a/dataworks-public/src/model/ListEmrHiveDatabasesRequest.cc +++ b/dataworks-public/src/model/DeleteConnectionRequest.cc @@ -14,27 +14,27 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Dataworks_public::Model::ListEmrHiveDatabasesRequest; +using AlibabaCloud::Dataworks_public::Model::DeleteConnectionRequest; -ListEmrHiveDatabasesRequest::ListEmrHiveDatabasesRequest() : - RpcServiceRequest("dataworks-public", "2018-06-01", "ListEmrHiveDatabases") +DeleteConnectionRequest::DeleteConnectionRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteConnection") { setMethod(HttpRequest::Method::Post); } -ListEmrHiveDatabasesRequest::~ListEmrHiveDatabasesRequest() +DeleteConnectionRequest::~DeleteConnectionRequest() {} -std::string ListEmrHiveDatabasesRequest::getClusterId()const +long DeleteConnectionRequest::getConnectionId()const { - return clusterId_; + return connectionId_; } -void ListEmrHiveDatabasesRequest::setClusterId(const std::string& clusterId) +void DeleteConnectionRequest::setConnectionId(long connectionId) { - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); + connectionId_ = connectionId; + setParameter("ConnectionId", std::to_string(connectionId)); } diff --git a/dataworks-public/src/model/DeleteConnectionResult.cc b/dataworks-public/src/model/DeleteConnectionResult.cc new file mode 100644 index 000000000..3ba91d571 --- /dev/null +++ b/dataworks-public/src/model/DeleteConnectionResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..87814349f --- /dev/null +++ b/dataworks-public/src/model/DeleteDataServiceApiAuthorityRequest.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::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 new file mode 100644 index 000000000..faafc8333 --- /dev/null +++ b/dataworks-public/src/model/DeleteDataServiceApiAuthorityResult.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 +#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 new file mode 100644 index 000000000..72d2a1f66 --- /dev/null +++ b/dataworks-public/src/model/DeleteDataServiceApiRequest.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::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 new file mode 100644 index 000000000..a87492222 --- /dev/null +++ b/dataworks-public/src/model/DeleteDataServiceApiResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 1613c81b3..c641b357c 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", "2018-06-01", "DeleteFile") + RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFile") { setMethod(HttpRequest::Method::Post); } diff --git a/dataworks-public/src/model/DeleteFolderRequest.cc b/dataworks-public/src/model/DeleteFolderRequest.cc new file mode 100644 index 000000000..ffd5b296d --- /dev/null +++ b/dataworks-public/src/model/DeleteFolderRequest.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::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 new file mode 100644 index 000000000..b51d6979f --- /dev/null +++ b/dataworks-public/src/model/DeleteFolderResult.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; + +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 new file mode 100644 index 000000000..9628f6755 --- /dev/null +++ b/dataworks-public/src/model/DeleteFromMetaCategoryRequest.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::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 new file mode 100644 index 000000000..9e41dd7ad --- /dev/null +++ b/dataworks-public/src/model/DeleteFromMetaCategoryResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..774ca5756 --- /dev/null +++ b/dataworks-public/src/model/DeleteMetaCategoryRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..ea3177f1c --- /dev/null +++ b/dataworks-public/src/model/DeleteMetaCategoryResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..6b67adadd --- /dev/null +++ b/dataworks-public/src/model/DeleteProjectMemberRequest.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::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/TagResourcesResult.cc b/dataworks-public/src/model/DeleteProjectMemberResult.cc similarity index 73% rename from dataworks-public/src/model/TagResourcesResult.cc rename to dataworks-public/src/model/DeleteProjectMemberResult.cc index ca2ff3ce3..9b828aec4 100644 --- a/dataworks-public/src/model/TagResourcesResult.cc +++ b/dataworks-public/src/model/DeleteProjectMemberResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -TagResourcesResult::TagResourcesResult() : +DeleteProjectMemberResult::DeleteProjectMemberResult() : ServiceResult() {} -TagResourcesResult::TagResourcesResult(const std::string &payload) : +DeleteProjectMemberResult::DeleteProjectMemberResult(const std::string &payload) : ServiceResult() { parse(payload); } -TagResourcesResult::~TagResourcesResult() +DeleteProjectMemberResult::~DeleteProjectMemberResult() {} -void TagResourcesResult::parse(const std::string &payload) +void DeleteProjectMemberResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/dataworks-public/src/model/DeleteQualityEntityRequest.cc b/dataworks-public/src/model/DeleteQualityEntityRequest.cc new file mode 100644 index 000000000..be9248b60 --- /dev/null +++ b/dataworks-public/src/model/DeleteQualityEntityRequest.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::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 new file mode 100644 index 000000000..4fb61fb09 --- /dev/null +++ b/dataworks-public/src/model/DeleteQualityEntityResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..fd2f43410 --- /dev/null +++ b/dataworks-public/src/model/DeleteQualityFollowerRequest.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::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 new file mode 100644 index 000000000..cae8b0490 --- /dev/null +++ b/dataworks-public/src/model/DeleteQualityFollowerResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..db27f6bb8 --- /dev/null +++ b/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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 new file mode 100644 index 000000000..c7f27f1e1 --- /dev/null +++ b/dataworks-public/src/model/DeleteQualityRelativeNodeResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..84480c6d6 --- /dev/null +++ b/dataworks-public/src/model/DeleteQualityRuleRequest.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::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 new file mode 100644 index 000000000..3568c769d --- /dev/null +++ b/dataworks-public/src/model/DeleteQualityRuleResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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/DeleteRemindRequest.cc b/dataworks-public/src/model/DeleteRemindRequest.cc new file mode 100644 index 000000000..d861e8e36 --- /dev/null +++ b/dataworks-public/src/model/DeleteRemindRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DeleteRemindRequest; + +DeleteRemindRequest::DeleteRemindRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteRemind") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteRemindRequest::~DeleteRemindRequest() +{} + +long DeleteRemindRequest::getRemindId()const +{ + return remindId_; +} + +void DeleteRemindRequest::setRemindId(long remindId) +{ + remindId_ = remindId; + setBodyParameter("RemindId", std::to_string(remindId)); +} + diff --git a/dataworks-public/src/model/DeleteRemindResult.cc b/dataworks-public/src/model/DeleteRemindResult.cc new file mode 100644 index 000000000..dac2e572a --- /dev/null +++ b/dataworks-public/src/model/DeleteRemindResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..d2e6607de --- /dev/null +++ b/dataworks-public/src/model/DeleteTableLevelRequest.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::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 new file mode 100644 index 000000000..1a582a994 --- /dev/null +++ b/dataworks-public/src/model/DeleteTableLevelResult.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 +#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 new file mode 100644 index 000000000..fbf674c26 --- /dev/null +++ b/dataworks-public/src/model/DeleteTableRequest.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::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 new file mode 100644 index 000000000..f63adb2ce --- /dev/null +++ b/dataworks-public/src/model/DeleteTableResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..7fe092ec8 --- /dev/null +++ b/dataworks-public/src/model/DeleteTableThemeRequest.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::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 new file mode 100644 index 000000000..675fdb185 --- /dev/null +++ b/dataworks-public/src/model/DeleteTableThemeResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..7285985f4 --- /dev/null +++ b/dataworks-public/src/model/DeployFileRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..924739814 --- /dev/null +++ b/dataworks-public/src/model/DeployFileResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 deleted file mode 100644 index 6d532897a..000000000 --- a/dataworks-public/src/model/DescribeEmrHiveTableRequest.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::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 deleted file mode 100644 index fc99ec54e..000000000 --- a/dataworks-public/src/model/DescribeEmrHiveTableResult.cc +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..c4f30604b --- /dev/null +++ b/dataworks-public/src/model/DesensitizeDataRequest.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::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 new file mode 100644 index 000000000..495242857 --- /dev/null +++ b/dataworks-public/src/model/DesensitizeDataResult.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 +#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 new file mode 100644 index 000000000..2840949d9 --- /dev/null +++ b/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..33c00cb89 --- /dev/null +++ b/dataworks-public/src/model/EstablishRelationTableToBusinessResult.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; + +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 new file mode 100644 index 000000000..79cdf0151 --- /dev/null +++ b/dataworks-public/src/model/GetBaselineConfigRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..8740ef455 --- /dev/null +++ b/dataworks-public/src/model/GetBaselineConfigResult.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 +#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 new file mode 100644 index 000000000..094c22e15 --- /dev/null +++ b/dataworks-public/src/model/GetBaselineKeyPathRequest.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::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 new file mode 100644 index 000000000..27113b2cf --- /dev/null +++ b/dataworks-public/src/model/GetBaselineKeyPathResult.cc @@ -0,0 +1,151 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..7c98efd9f --- /dev/null +++ b/dataworks-public/src/model/GetBaselineStatusRequest.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::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 new file mode 100644 index 000000000..7b78aa4f2 --- /dev/null +++ b/dataworks-public/src/model/GetBaselineStatusResult.cc @@ -0,0 +1,140 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..e49125a1c --- /dev/null +++ b/dataworks-public/src/model/GetBusinessRequest.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::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 new file mode 100644 index 000000000..855fdaf95 --- /dev/null +++ b/dataworks-public/src/model/GetBusinessResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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/GetDDLJobStatusRequest.cc b/dataworks-public/src/model/GetDDLJobStatusRequest.cc new file mode 100644 index 000000000..73863c498 --- /dev/null +++ b/dataworks-public/src/model/GetDDLJobStatusRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::GetDDLJobStatusRequest; + +GetDDLJobStatusRequest::GetDDLJobStatusRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "GetDDLJobStatus") +{ + setMethod(HttpRequest::Method::Get); +} + +GetDDLJobStatusRequest::~GetDDLJobStatusRequest() +{} + +std::string GetDDLJobStatusRequest::getTaskId()const +{ + return taskId_; +} + +void GetDDLJobStatusRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setParameter("TaskId", taskId); +} + diff --git a/dataworks-public/src/model/CreateRealTimeProcessResult.cc b/dataworks-public/src/model/GetDDLJobStatusResult.cc similarity index 59% rename from dataworks-public/src/model/CreateRealTimeProcessResult.cc rename to dataworks-public/src/model/GetDDLJobStatusResult.cc index 4afb7006d..909ff310d 100644 --- a/dataworks-public/src/model/CreateRealTimeProcessResult.cc +++ b/dataworks-public/src/model/GetDDLJobStatusResult.cc @@ -14,53 +14,45 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -CreateRealTimeProcessResult::CreateRealTimeProcessResult() : +GetDDLJobStatusResult::GetDDLJobStatusResult() : ServiceResult() {} -CreateRealTimeProcessResult::CreateRealTimeProcessResult(const std::string &payload) : +GetDDLJobStatusResult::GetDDLJobStatusResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateRealTimeProcessResult::~CreateRealTimeProcessResult() +GetDDLJobStatusResult::~GetDDLJobStatusResult() {} -void CreateRealTimeProcessResult::parse(const std::string &payload) +void GetDDLJobStatusResult::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()); } -std::string CreateRealTimeProcessResult::getMessage()const -{ - return message_; -} - -CreateRealTimeProcessResult::Data CreateRealTimeProcessResult::getData()const +GetDDLJobStatusResult::Data GetDDLJobStatusResult::getData()const { return data_; } -int CreateRealTimeProcessResult::getCode()const -{ - return code_; -} - diff --git a/dataworks-public/src/model/GetDagRequest.cc b/dataworks-public/src/model/GetDagRequest.cc new file mode 100644 index 000000000..fd01c1bd1 --- /dev/null +++ b/dataworks-public/src/model/GetDagRequest.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::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 new file mode 100644 index 000000000..3600a214f --- /dev/null +++ b/dataworks-public/src/model/GetDagResult.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; + +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 new file mode 100644 index 000000000..7e73b8f68 --- /dev/null +++ b/dataworks-public/src/model/GetDataServiceApiRequest.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::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 new file mode 100644 index 000000000..7c19ae7d0 --- /dev/null +++ b/dataworks-public/src/model/GetDataServiceApiResult.cc @@ -0,0 +1,264 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..2421d34d9 --- /dev/null +++ b/dataworks-public/src/model/GetDataServiceApplicationRequest.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::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 new file mode 100644 index 000000000..32b9712a6 --- /dev/null +++ b/dataworks-public/src/model/GetDataServiceApplicationResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..2a54eb9ee --- /dev/null +++ b/dataworks-public/src/model/GetDataServiceFolderRequest.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::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 new file mode 100644 index 000000000..52ea20a58 --- /dev/null +++ b/dataworks-public/src/model/GetDataServiceFolderResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..0ccd5f045 --- /dev/null +++ b/dataworks-public/src/model/GetDataServiceGroupRequest.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::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 new file mode 100644 index 000000000..bec2b2fd0 --- /dev/null +++ b/dataworks-public/src/model/GetDataServiceGroupResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..23161f731 --- /dev/null +++ b/dataworks-public/src/model/GetDataServicePublishedApiRequest.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::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 new file mode 100644 index 000000000..b34f43934 --- /dev/null +++ b/dataworks-public/src/model/GetDataServicePublishedApiResult.cc @@ -0,0 +1,284 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..f47baf811 --- /dev/null +++ b/dataworks-public/src/model/GetDeploymentRequest.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::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 new file mode 100644 index 000000000..e5226f452 --- /dev/null +++ b/dataworks-public/src/model/GetDeploymentResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..75cac46e5 --- /dev/null +++ b/dataworks-public/src/model/GetFileRequest.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::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 new file mode 100644 index 000000000..9b5b76fb5 --- /dev/null +++ b/dataworks-public/src/model/GetFileResult.cc @@ -0,0 +1,158 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..14b4bf80b --- /dev/null +++ b/dataworks-public/src/model/GetFileVersionRequest.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::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 new file mode 100644 index 000000000..e10888522 --- /dev/null +++ b/dataworks-public/src/model/GetFileVersionResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..657c0a42c --- /dev/null +++ b/dataworks-public/src/model/GetFolderRequest.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::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 new file mode 100644 index 000000000..9cd456f01 --- /dev/null +++ b/dataworks-public/src/model/GetFolderResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..2646ad555 --- /dev/null +++ b/dataworks-public/src/model/GetInstanceConsumeTimeRankRequest.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::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 new file mode 100644 index 000000000..1a9b0f7a3 --- /dev/null +++ b/dataworks-public/src/model/GetInstanceConsumeTimeRankResult.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; + +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 new file mode 100644 index 000000000..9dc377239 --- /dev/null +++ b/dataworks-public/src/model/GetInstanceCountTrendRequest.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::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 new file mode 100644 index 000000000..9ed9d7ab5 --- /dev/null +++ b/dataworks-public/src/model/GetInstanceCountTrendResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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/GetInstanceErrorRankRequest.cc b/dataworks-public/src/model/GetInstanceErrorRankRequest.cc new file mode 100644 index 000000000..24679b8ea --- /dev/null +++ b/dataworks-public/src/model/GetInstanceErrorRankRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::GetInstanceErrorRankRequest; + +GetInstanceErrorRankRequest::GetInstanceErrorRankRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceErrorRank") +{ + setMethod(HttpRequest::Method::Post); +} + +GetInstanceErrorRankRequest::~GetInstanceErrorRankRequest() +{} + +long GetInstanceErrorRankRequest::getProjectId()const +{ + return projectId_; +} + +void GetInstanceErrorRankRequest::setProjectId(long projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", std::to_string(projectId)); +} + diff --git a/dataworks-public/src/model/GetInstanceErrorRankResult.cc b/dataworks-public/src/model/GetInstanceErrorRankResult.cc new file mode 100644 index 000000000..59e7e0c8a --- /dev/null +++ b/dataworks-public/src/model/GetInstanceErrorRankResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..441eca4c6 --- /dev/null +++ b/dataworks-public/src/model/GetInstanceLogRequest.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::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 new file mode 100644 index 000000000..37bb9fc76 --- /dev/null +++ b/dataworks-public/src/model/GetInstanceLogResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..8f04e7f7f --- /dev/null +++ b/dataworks-public/src/model/GetInstanceRequest.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::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 new file mode 100644 index 000000000..6e17a04bf --- /dev/null +++ b/dataworks-public/src/model/GetInstanceResult.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..87a6a2d67 --- /dev/null +++ b/dataworks-public/src/model/GetInstanceStatusCountRequest.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::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 new file mode 100644 index 000000000..82241d067 --- /dev/null +++ b/dataworks-public/src/model/GetInstanceStatusCountResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..6864a457b --- /dev/null +++ b/dataworks-public/src/model/GetManualDagInstancesRequest.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::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 new file mode 100644 index 000000000..2c20b646a --- /dev/null +++ b/dataworks-public/src/model/GetManualDagInstancesResult.cc @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..49c159010 --- /dev/null +++ b/dataworks-public/src/model/GetMetaCategoryRequest.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::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 new file mode 100644 index 000000000..c32d6b5cb --- /dev/null +++ b/dataworks-public/src/model/GetMetaCategoryResult.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..6fe4fcc5f --- /dev/null +++ b/dataworks-public/src/model/GetMetaColumnLineageRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..7a935f6c9 --- /dev/null +++ b/dataworks-public/src/model/GetMetaColumnLineageResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..cfccc196f --- /dev/null +++ b/dataworks-public/src/model/GetMetaDBInfoRequest.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::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 new file mode 100644 index 000000000..514096031 --- /dev/null +++ b/dataworks-public/src/model/GetMetaDBInfoResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..e1b6413df --- /dev/null +++ b/dataworks-public/src/model/GetMetaDBTableListRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..7ede28137 --- /dev/null +++ b/dataworks-public/src/model/GetMetaDBTableListResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..953fec98f --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..e5155b843 --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableBasicInfoResult.cc @@ -0,0 +1,118 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..b231d5d69 --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableChangeLogRequest.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::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 new file mode 100644 index 000000000..fe1bbb457 --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableChangeLogResult.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; + +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 new file mode 100644 index 000000000..87173d0a6 --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableColumnRequest.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::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 new file mode 100644 index 000000000..6a761b7a0 --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableColumnResult.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..fad2b3022 --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableFullInfoRequest.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::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 new file mode 100644 index 000000000..eaf26181d --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableFullInfoResult.cc @@ -0,0 +1,142 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..cc406974e --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableIntroWikiRequest.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::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 new file mode 100644 index 000000000..b85b944a1 --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableIntroWikiResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..7f08362cc --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableLineageRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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 new file mode 100644 index 000000000..3159c693f --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableLineageResult.cc @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..9dac7d00c --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableListByCategoryRequest.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::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 new file mode 100644 index 000000000..61325a8e9 --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableListByCategoryResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..e4c0224ef --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableOutputRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..f893bd0ac --- /dev/null +++ b/dataworks-public/src/model/GetMetaTableOutputResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..c94b42390 --- /dev/null +++ b/dataworks-public/src/model/GetMetaTablePartitionRequest.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::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 new file mode 100644 index 000000000..60690219e --- /dev/null +++ b/dataworks-public/src/model/GetMetaTablePartitionResult.cc @@ -0,0 +1,112 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..c7ea8cb72 --- /dev/null +++ b/dataworks-public/src/model/GetNodeChildrenRequest.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::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 new file mode 100644 index 000000000..b4cdbbe1d --- /dev/null +++ b/dataworks-public/src/model/GetNodeChildrenResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..700e3e455 --- /dev/null +++ b/dataworks-public/src/model/GetNodeCodeRequest.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::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 new file mode 100644 index 000000000..e8caf1c41 --- /dev/null +++ b/dataworks-public/src/model/GetNodeCodeResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..172e4710f --- /dev/null +++ b/dataworks-public/src/model/GetNodeOnBaselineRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..d121ddbdd --- /dev/null +++ b/dataworks-public/src/model/GetNodeOnBaselineResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..78bad213e --- /dev/null +++ b/dataworks-public/src/model/GetNodeParentsRequest.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::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 new file mode 100644 index 000000000..23d2c47ea --- /dev/null +++ b/dataworks-public/src/model/GetNodeParentsResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..f1c514740 --- /dev/null +++ b/dataworks-public/src/model/GetNodeRequest.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::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 new file mode 100644 index 000000000..41a4ec0c4 --- /dev/null +++ b/dataworks-public/src/model/GetNodeResult.cc @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..f07139aa3 --- /dev/null +++ b/dataworks-public/src/model/GetNodeTypeListInfoRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..fa50f93e2 --- /dev/null +++ b/dataworks-public/src/model/GetNodeTypeListInfoResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..801eea234 --- /dev/null +++ b/dataworks-public/src/model/GetOpRiskDataRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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/CheckCallbackResult.cc b/dataworks-public/src/model/GetOpRiskDataResult.cc similarity index 61% rename from dataworks-public/src/model/CheckCallbackResult.cc rename to dataworks-public/src/model/GetOpRiskDataResult.cc index 7cb955bc8..82af259a9 100644 --- a/dataworks-public/src/model/CheckCallbackResult.cc +++ b/dataworks-public/src/model/GetOpRiskDataResult.cc @@ -14,45 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -CheckCallbackResult::CheckCallbackResult() : +GetOpRiskDataResult::GetOpRiskDataResult() : ServiceResult() {} -CheckCallbackResult::CheckCallbackResult(const std::string &payload) : +GetOpRiskDataResult::GetOpRiskDataResult(const std::string &payload) : ServiceResult() { parse(payload); } -CheckCallbackResult::~CheckCallbackResult() +GetOpRiskDataResult::~GetOpRiskDataResult() {} -void CheckCallbackResult::parse(const std::string &payload) +void GetOpRiskDataResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["ReturnCode"].isNull()) - returnCode_ = value["ReturnCode"].asString(); - if(!value["ReturnValue"].isNull()) - returnValue_ = value["ReturnValue"].asString() == "true"; + if(!value["RiskData"].isNull()) + riskData_ = value["RiskData"].asString(); } -std::string CheckCallbackResult::getReturnCode()const +std::string GetOpRiskDataResult::getRiskData()const { - return returnCode_; -} - -bool CheckCallbackResult::getReturnValue()const -{ - return returnValue_; + return riskData_; } diff --git a/dataworks-public/src/model/GetOpSensitiveDataRequest.cc b/dataworks-public/src/model/GetOpSensitiveDataRequest.cc new file mode 100644 index 000000000..293c67c07 --- /dev/null +++ b/dataworks-public/src/model/GetOpSensitiveDataRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..7d7ae9d2e --- /dev/null +++ b/dataworks-public/src/model/GetOpSensitiveDataResult.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 +#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 new file mode 100644 index 000000000..81e845185 --- /dev/null +++ b/dataworks-public/src/model/GetProjectDetailRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..99771c246 --- /dev/null +++ b/dataworks-public/src/model/GetProjectDetailResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..8634320f0 --- /dev/null +++ b/dataworks-public/src/model/GetQualityEntityRequest.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::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 new file mode 100644 index 000000000..182ef4cb0 --- /dev/null +++ b/dataworks-public/src/model/GetQualityEntityResult.cc @@ -0,0 +1,113 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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(); + 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 new file mode 100644 index 000000000..eaae64bd8 --- /dev/null +++ b/dataworks-public/src/model/GetQualityFollowerRequest.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::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 new file mode 100644 index 000000000..19bff184f --- /dev/null +++ b/dataworks-public/src/model/GetQualityFollowerResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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()); + 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 new file mode 100644 index 000000000..b37f0f348 --- /dev/null +++ b/dataworks-public/src/model/GetQualityRuleRequest.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::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 new file mode 100644 index 000000000..b73a50e5b --- /dev/null +++ b/dataworks-public/src/model/GetQualityRuleResult.cc @@ -0,0 +1,122 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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(!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 new file mode 100644 index 000000000..b875eaf8d --- /dev/null +++ b/dataworks-public/src/model/GetRemindRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..b8a232458 --- /dev/null +++ b/dataworks-public/src/model/GetRemindResult.cc @@ -0,0 +1,160 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..0303cdee9 --- /dev/null +++ b/dataworks-public/src/model/GetSensitiveDataRequest.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::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 new file mode 100644 index 000000000..67f10ae76 --- /dev/null +++ b/dataworks-public/src/model/GetSensitiveDataResult.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 +#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 new file mode 100644 index 000000000..c4f95e0d1 --- /dev/null +++ b/dataworks-public/src/model/GetSuccessInstanceTrendRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..9559ca143 --- /dev/null +++ b/dataworks-public/src/model/GetSuccessInstanceTrendResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..6b2f14acb --- /dev/null +++ b/dataworks-public/src/model/GetTopicInfluenceRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..6596a47cd --- /dev/null +++ b/dataworks-public/src/model/GetTopicInfluenceResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/CheckCallbackRequest.cc b/dataworks-public/src/model/GetTopicRequest.cc similarity index 53% rename from dataworks-public/src/model/CheckCallbackRequest.cc rename to dataworks-public/src/model/GetTopicRequest.cc index a1c6e1f06..7486af2a4 100644 --- a/dataworks-public/src/model/CheckCallbackRequest.cc +++ b/dataworks-public/src/model/GetTopicRequest.cc @@ -14,27 +14,27 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Dataworks_public::Model::CheckCallbackRequest; +using AlibabaCloud::Dataworks_public::Model::GetTopicRequest; -CheckCallbackRequest::CheckCallbackRequest() : - RpcServiceRequest("dataworks-public", "2018-06-01", "CheckCallback") +GetTopicRequest::GetTopicRequest() : + RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopic") { setMethod(HttpRequest::Method::Post); } -CheckCallbackRequest::~CheckCallbackRequest() +GetTopicRequest::~GetTopicRequest() {} -std::string CheckCallbackRequest::getCallbackResultString()const +long GetTopicRequest::getTopicId()const { - return callbackResultString_; + return topicId_; } -void CheckCallbackRequest::setCallbackResultString(const std::string& callbackResultString) +void GetTopicRequest::setTopicId(long topicId) { - callbackResultString_ = callbackResultString; - setBodyParameter("CallbackResultString", callbackResultString); + topicId_ = topicId; + setBodyParameter("TopicId", std::to_string(topicId)); } diff --git a/dataworks-public/src/model/GetTopicResult.cc b/dataworks-public/src/model/GetTopicResult.cc new file mode 100644 index 000000000..0052ddf8f --- /dev/null +++ b/dataworks-public/src/model/GetTopicResult.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; + +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 new file mode 100644 index 000000000..c59cf8d3d --- /dev/null +++ b/dataworks-public/src/model/ListAlertMessagesRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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 new file mode 100644 index 000000000..40218b396 --- /dev/null +++ b/dataworks-public/src/model/ListAlertMessagesResult.cc @@ -0,0 +1,171 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..8c71e6c8b --- /dev/null +++ b/dataworks-public/src/model/ListBaselineConfigsRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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 new file mode 100644 index 000000000..2d8ec036c --- /dev/null +++ b/dataworks-public/src/model/ListBaselineConfigsResult.cc @@ -0,0 +1,118 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..ea69853af --- /dev/null +++ b/dataworks-public/src/model/ListBaselineStatusesRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..b127e3dfe --- /dev/null +++ b/dataworks-public/src/model/ListBaselineStatusesResult.cc @@ -0,0 +1,118 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..bd728f468 --- /dev/null +++ b/dataworks-public/src/model/ListBusinessRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..9809cf386 --- /dev/null +++ b/dataworks-public/src/model/ListBusinessResult.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; + +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 new file mode 100644 index 000000000..2e9647ff3 --- /dev/null +++ b/dataworks-public/src/model/ListCalcEnginesRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..2ebe1f5d7 --- /dev/null +++ b/dataworks-public/src/model/ListCalcEnginesResult.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; + +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 new file mode 100644 index 000000000..d2a678525 --- /dev/null +++ b/dataworks-public/src/model/ListConnectionsRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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 new file mode 100644 index 000000000..cdd563fa5 --- /dev/null +++ b/dataworks-public/src/model/ListConnectionsResult.cc @@ -0,0 +1,112 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..ae5a2b37f --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..102c3e223 --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.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; + +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 new file mode 100644 index 000000000..064b15335 --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceApisRequest.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::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 new file mode 100644 index 000000000..36c82feec --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceApisResult.cc @@ -0,0 +1,276 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..cc58381ed --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceApplicationsRequest.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::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 new file mode 100644 index 000000000..9cb8c2793 --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceApplicationsResult.cc @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..c08dacdae --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..c2f803ed4 --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.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; + +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 new file mode 100644 index 000000000..f0a0d49d8 --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceFoldersRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..a9538cb82 --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceFoldersResult.cc @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..95d4dd9fa --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceGroupsRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..3f9fd7496 --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceGroupsResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..96ae0cd29 --- /dev/null +++ b/dataworks-public/src/model/ListDataServicePublishedApisRequest.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::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 new file mode 100644 index 000000000..5183b2aef --- /dev/null +++ b/dataworks-public/src/model/ListDataServicePublishedApisResult.cc @@ -0,0 +1,296 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 deleted file mode 100644 index e7ebce411..000000000 --- a/dataworks-public/src/model/ListEmrHiveAuditLogsRequest.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::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/ListEmrHiveDatabasesResult.cc b/dataworks-public/src/model/ListEmrHiveDatabasesResult.cc deleted file mode 100644 index e3bfc8641..000000000 --- a/dataworks-public/src/model/ListEmrHiveDatabasesResult.cc +++ /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. - */ - -#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 deleted file mode 100644 index 4dfbecb02..000000000 --- a/dataworks-public/src/model/ListEmrHiveTablesRequest.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::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 deleted file mode 100644 index 7e91a7288..000000000 --- a/dataworks-public/src/model/ListEmrHiveTablesResult.cc +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..d3c155c8b --- /dev/null +++ b/dataworks-public/src/model/ListFileVersionsRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..05f4dd368 --- /dev/null +++ b/dataworks-public/src/model/ListFileVersionsResult.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; + +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 new file mode 100644 index 000000000..4a36ebf0e --- /dev/null +++ b/dataworks-public/src/model/ListFilesRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..f340cc3c8 --- /dev/null +++ b/dataworks-public/src/model/ListFilesResult.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..b27c61d72 --- /dev/null +++ b/dataworks-public/src/model/ListFoldersRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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/ListEmrHiveAuditLogsResult.cc b/dataworks-public/src/model/ListFoldersResult.cc similarity index 50% rename from dataworks-public/src/model/ListEmrHiveAuditLogsResult.cc rename to dataworks-public/src/model/ListFoldersResult.cc index eac169f86..3949f86f3 100644 --- a/dataworks-public/src/model/ListEmrHiveAuditLogsResult.cc +++ b/dataworks-public/src/model/ListFoldersResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -ListEmrHiveAuditLogsResult::ListEmrHiveAuditLogsResult() : +ListFoldersResult::ListFoldersResult() : ServiceResult() {} -ListEmrHiveAuditLogsResult::ListEmrHiveAuditLogsResult(const std::string &payload) : +ListFoldersResult::ListFoldersResult(const std::string &payload) : ServiceResult() { parse(payload); } -ListEmrHiveAuditLogsResult::~ListEmrHiveAuditLogsResult() +ListFoldersResult::~ListFoldersResult() {} -void ListEmrHiveAuditLogsResult::parse(const std::string &payload) +void ListFoldersResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -46,44 +46,49 @@ void ListEmrHiveAuditLogsResult::parse(const std::string &payload) data_.pageSize = std::stoi(dataNode["PageSize"].asString()); if(!dataNode["TotalCount"].isNull()) data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allPagedDataNode = dataNode["PagedData"]["AuditLog"]; - for (auto dataNodePagedDataAuditLog : allPagedDataNode) + auto allFoldersNode = dataNode["Folders"]["FoldersItem"]; + for (auto dataNodeFoldersFoldersItem : allFoldersNode) { - 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); + 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); } + 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()); } -ListEmrHiveAuditLogsResult::Data ListEmrHiveAuditLogsResult::getData()const +int ListFoldersResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListFoldersResult::Data ListFoldersResult::getData()const { return data_; } -std::string ListEmrHiveAuditLogsResult::getErrorCode()const +std::string ListFoldersResult::getErrorCode()const { return errorCode_; } -std::string ListEmrHiveAuditLogsResult::getErrorMessage()const +std::string ListFoldersResult::getErrorMessage()const { return errorMessage_; } +bool ListFoldersResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListHiveColumnLineagesRequest.cc b/dataworks-public/src/model/ListHiveColumnLineagesRequest.cc deleted file mode 100644 index 76cd9cc5e..000000000 --- a/dataworks-public/src/model/ListHiveColumnLineagesRequest.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::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 deleted file mode 100644 index ab4c81094..000000000 --- a/dataworks-public/src/model/ListHiveColumnLineagesResult.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; - -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 deleted file mode 100644 index 8e22ea7ca..000000000 --- a/dataworks-public/src/model/ListHiveTableLineagesRequest.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::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 deleted file mode 100644 index cf7c1a8a7..000000000 --- a/dataworks-public/src/model/ListHiveTableLineagesResult.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; - -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 new file mode 100644 index 000000000..e94de1d5b --- /dev/null +++ b/dataworks-public/src/model/ListInstancesRequest.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..4680e0eb8 --- /dev/null +++ b/dataworks-public/src/model/ListInstancesResult.cc @@ -0,0 +1,138 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..64614210e --- /dev/null +++ b/dataworks-public/src/model/ListMetaDBRequest.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::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 new file mode 100644 index 000000000..40a6cfbbe --- /dev/null +++ b/dataworks-public/src/model/ListMetaDBResult.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; + +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 new file mode 100644 index 000000000..2bf66ad65 --- /dev/null +++ b/dataworks-public/src/model/ListNodeIORequest.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::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 new file mode 100644 index 000000000..f318bd482 --- /dev/null +++ b/dataworks-public/src/model/ListNodeIOResult.cc @@ -0,0 +1,89 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..5da74c759 --- /dev/null +++ b/dataworks-public/src/model/ListNodesRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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 new file mode 100644 index 000000000..e82cf474c --- /dev/null +++ b/dataworks-public/src/model/ListNodesResult.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..06d0fc9cd --- /dev/null +++ b/dataworks-public/src/model/ListProgramTypeCountRequest.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::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 new file mode 100644 index 000000000..cb997c692 --- /dev/null +++ b/dataworks-public/src/model/ListProgramTypeCountResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..a0ce33360 --- /dev/null +++ b/dataworks-public/src/model/ListProjectMembersRequest.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::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 new file mode 100644 index 000000000..32c77d35e --- /dev/null +++ b/dataworks-public/src/model/ListProjectMembersResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..b4a1762b3 --- /dev/null +++ b/dataworks-public/src/model/ListProjectRolesRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..fcf9cdacd --- /dev/null +++ b/dataworks-public/src/model/ListProjectRolesResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..312782e84 --- /dev/null +++ b/dataworks-public/src/model/ListProjectsRequest.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::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 new file mode 100644 index 000000000..ad5985699 --- /dev/null +++ b/dataworks-public/src/model/ListProjectsResult.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..efac31173 --- /dev/null +++ b/dataworks-public/src/model/ListQualityResultsByEntityRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..1165b478b --- /dev/null +++ b/dataworks-public/src/model/ListQualityResultsByEntityResult.cc @@ -0,0 +1,196 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..0be7aec07 --- /dev/null +++ b/dataworks-public/src/model/ListQualityResultsByRuleRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..cd6b9a1b8 --- /dev/null +++ b/dataworks-public/src/model/ListQualityResultsByRuleResult.cc @@ -0,0 +1,196 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..2f0b80d24 --- /dev/null +++ b/dataworks-public/src/model/ListQualityRulesRequest.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::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 new file mode 100644 index 000000000..197d998ab --- /dev/null +++ b/dataworks-public/src/model/ListQualityRulesResult.cc @@ -0,0 +1,138 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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(); + 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 new file mode 100644 index 000000000..807b21b67 --- /dev/null +++ b/dataworks-public/src/model/ListRemindsRequest.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::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 new file mode 100644 index 000000000..a7be80c2b --- /dev/null +++ b/dataworks-public/src/model/ListRemindsResult.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..2702ddd35 --- /dev/null +++ b/dataworks-public/src/model/ListResourceGroupsRequest.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::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 new file mode 100644 index 000000000..62d83205e --- /dev/null +++ b/dataworks-public/src/model/ListResourceGroupsResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..e02a99836 --- /dev/null +++ b/dataworks-public/src/model/ListTableLevelRequest.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::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 new file mode 100644 index 000000000..4a840d636 --- /dev/null +++ b/dataworks-public/src/model/ListTableLevelResult.cc @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 deleted file mode 100644 index 4816985fb..000000000 --- a/dataworks-public/src/model/ListTablePartitionsRequest.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::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 deleted file mode 100644 index cbd408c7a..000000000 --- a/dataworks-public/src/model/ListTablePartitionsResult.cc +++ /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. - */ - -#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 new file mode 100644 index 000000000..717b8814c --- /dev/null +++ b/dataworks-public/src/model/ListTableThemeRequest.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::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 new file mode 100644 index 000000000..bb20252f1 --- /dev/null +++ b/dataworks-public/src/model/ListTableThemeResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/ListTagResourcesRequest.cc b/dataworks-public/src/model/ListTagResourcesRequest.cc deleted file mode 100644 index 0b7f00747..000000000 --- a/dataworks-public/src/model/ListTagResourcesRequest.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 - -using AlibabaCloud::Dataworks_public::Model::ListTagResourcesRequest; - -ListTagResourcesRequest::ListTagResourcesRequest() : - RpcServiceRequest("dataworks-public", "2018-06-01", "ListTagResources") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTagResourcesRequest::~ListTagResourcesRequest() -{} - -std::vector ListTagResourcesRequest::getResourceId()const -{ - return resourceId_; -} - -void ListTagResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -std::string ListTagResourcesRequest::getNextToken()const -{ - return nextToken_; -} - -void ListTagResourcesRequest::setNextToken(const std::string& nextToken) -{ - nextToken_ = nextToken; - setParameter("NextToken", nextToken); -} - -std::vector ListTagResourcesRequest::getTag()const -{ - return tag_; -} - -void ListTagResourcesRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Value", tagObj.value); - setParameter(tagObjStr + ".Key", tagObj.key); - } -} - -std::string ListTagResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void ListTagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - diff --git a/dataworks-public/src/model/ListTagResourcesResult.cc b/dataworks-public/src/model/ListTagResourcesResult.cc deleted file mode 100644 index 480a7f211..000000000 --- a/dataworks-public/src/model/ListTagResourcesResult.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; - -ListTagResourcesResult::ListTagResourcesResult() : - ServiceResult() -{} - -ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTagResourcesResult::~ListTagResourcesResult() -{} - -void ListTagResourcesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allTagResourcesNode = value["TagResources"]["TagResourcesItem"]; - for (auto valueTagResourcesTagResourcesItem : allTagResourcesNode) - { - TagResourcesItem tagResourcesObject; - if(!valueTagResourcesTagResourcesItem["TagKey"].isNull()) - tagResourcesObject.tagKey = valueTagResourcesTagResourcesItem["TagKey"].asString(); - if(!valueTagResourcesTagResourcesItem["TagValue"].isNull()) - tagResourcesObject.tagValue = valueTagResourcesTagResourcesItem["TagValue"].asString(); - if(!valueTagResourcesTagResourcesItem["ResourceId"].isNull()) - tagResourcesObject.resourceId = valueTagResourcesTagResourcesItem["ResourceId"].asString(); - if(!valueTagResourcesTagResourcesItem["ResourceType"].isNull()) - tagResourcesObject.resourceType = valueTagResourcesTagResourcesItem["ResourceType"].asString(); - tagResources_.push_back(tagResourcesObject); - } - if(!value["NextToken"].isNull()) - nextToken_ = value["NextToken"].asString(); - -} - -std::string ListTagResourcesResult::getNextToken()const -{ - return nextToken_; -} - -std::vector ListTagResourcesResult::getTagResources()const -{ - return tagResources_; -} - diff --git a/dataworks-public/src/model/ListTopicsRequest.cc b/dataworks-public/src/model/ListTopicsRequest.cc new file mode 100644 index 000000000..a1998cd8f --- /dev/null +++ b/dataworks-public/src/model/ListTopicsRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..6960f3b67 --- /dev/null +++ b/dataworks-public/src/model/ListTopicsResult.cc @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/PublishDataServiceApiRequest.cc b/dataworks-public/src/model/PublishDataServiceApiRequest.cc new file mode 100644 index 000000000..5b92030f7 --- /dev/null +++ b/dataworks-public/src/model/PublishDataServiceApiRequest.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::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 new file mode 100644 index 000000000..5eefa2cbb --- /dev/null +++ b/dataworks-public/src/model/PublishDataServiceApiResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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/QueryRealTimeProcessStatusRequest.cc b/dataworks-public/src/model/QueryRealTimeProcessStatusRequest.cc deleted file mode 100644 index d5bfeccb7..000000000 --- a/dataworks-public/src/model/QueryRealTimeProcessStatusRequest.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::QueryRealTimeProcessStatusRequest; - -QueryRealTimeProcessStatusRequest::QueryRealTimeProcessStatusRequest() : - RpcServiceRequest("dataworks-public", "2018-06-01", "QueryRealTimeProcessStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryRealTimeProcessStatusRequest::~QueryRealTimeProcessStatusRequest() -{} - -std::string QueryRealTimeProcessStatusRequest::getUid()const -{ - return uid_; -} - -void QueryRealTimeProcessStatusRequest::setUid(const std::string& uid) -{ - uid_ = uid; - setParameter("Uid", uid); -} - -std::string QueryRealTimeProcessStatusRequest::getTaskId()const -{ - return 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 deleted file mode 100644 index 33773ab3e..000000000 --- a/dataworks-public/src/model/QueryRealTimeProcessStatusResult.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; - -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(!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 new file mode 100644 index 000000000..32444fcfc --- /dev/null +++ b/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.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::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 new file mode 100644 index 000000000..efd4b3f5e --- /dev/null +++ b/dataworks-public/src/model/RemoveProjectMemberFromRoleResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..f6ef45132 --- /dev/null +++ b/dataworks-public/src/model/RestartInstanceRequest.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::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 new file mode 100644 index 000000000..e16b4961b --- /dev/null +++ b/dataworks-public/src/model/RestartInstanceResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..13aaf1a2a --- /dev/null +++ b/dataworks-public/src/model/ResumeInstanceRequest.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::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 new file mode 100644 index 000000000..36c5a3ce9 --- /dev/null +++ b/dataworks-public/src/model/ResumeInstanceResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..a00326e53 --- /dev/null +++ b/dataworks-public/src/model/RunTriggerNodeRequest.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::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 new file mode 100644 index 000000000..0c33f9e8a --- /dev/null +++ b/dataworks-public/src/model/RunTriggerNodeResult.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 +#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 new file mode 100644 index 000000000..664b6c5d1 --- /dev/null +++ b/dataworks-public/src/model/ScanSensitiveDataRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..71fdb0bea --- /dev/null +++ b/dataworks-public/src/model/ScanSensitiveDataResult.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 +#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 deleted file mode 100644 index 31081378f..000000000 --- a/dataworks-public/src/model/SearchManualDagNodeInstanceRequest.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::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 deleted file mode 100644 index bf8e34388..000000000 --- a/dataworks-public/src/model/SearchManualDagNodeInstanceResult.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; - -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 new file mode 100644 index 000000000..14b63c498 --- /dev/null +++ b/dataworks-public/src/model/SearchMetaTablesRequest.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::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 new file mode 100644 index 000000000..233273f45 --- /dev/null +++ b/dataworks-public/src/model/SearchMetaTablesResult.cc @@ -0,0 +1,110 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..e830a27a3 --- /dev/null +++ b/dataworks-public/src/model/SearchNodesByOutputRequest.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::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 new file mode 100644 index 000000000..afc887de7 --- /dev/null +++ b/dataworks-public/src/model/SearchNodesByOutputResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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/SendTaskMetaCallbackRequest.cc b/dataworks-public/src/model/SendTaskMetaCallbackRequest.cc deleted file mode 100644 index daf7bd043..000000000 --- a/dataworks-public/src/model/SendTaskMetaCallbackRequest.cc +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::SendTaskMetaCallbackRequest; - -SendTaskMetaCallbackRequest::SendTaskMetaCallbackRequest() : - RpcServiceRequest("dataworks-public", "2018-06-01", "SendTaskMetaCallback") -{ - setMethod(HttpRequest::Method::Post); -} - -SendTaskMetaCallbackRequest::~SendTaskMetaCallbackRequest() -{} - -std::string SendTaskMetaCallbackRequest::getCode()const -{ - return code_; -} - -void SendTaskMetaCallbackRequest::setCode(const std::string& code) -{ - code_ = code; - setBodyParameter("Code", code); -} - -long SendTaskMetaCallbackRequest::getEndTime()const -{ - return endTime_; -} - -void SendTaskMetaCallbackRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", std::to_string(endTime)); -} - -std::vector SendTaskMetaCallbackRequest::getResources()const -{ - return resources_; -} - -void SendTaskMetaCallbackRequest::setResources(const std::vector& resources) -{ - resources_ = resources; - for(int dep1 = 0; dep1!= resources.size(); dep1++) { - setBodyParameter("Resources."+ std::to_string(dep1), resources.at(dep1)); - } -} - -long SendTaskMetaCallbackRequest::getStartTime()const -{ - return startTime_; -} - -void SendTaskMetaCallbackRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setBodyParameter("StartTime", std::to_string(startTime)); -} - -std::string SendTaskMetaCallbackRequest::getType()const -{ - return type_; -} - -void SendTaskMetaCallbackRequest::setType(const std::string& type) -{ - type_ = type; - setBodyParameter("Type", type); -} - -std::string SendTaskMetaCallbackRequest::getConnectionInfo()const -{ - return connectionInfo_; -} - -void SendTaskMetaCallbackRequest::setConnectionInfo(const std::string& connectionInfo) -{ - connectionInfo_ = connectionInfo; - setBodyParameter("ConnectionInfo", connectionInfo); -} - -std::string SendTaskMetaCallbackRequest::getTaskEnvParam()const -{ - return taskEnvParam_; -} - -void SendTaskMetaCallbackRequest::setTaskEnvParam(const std::string& taskEnvParam) -{ - taskEnvParam_ = taskEnvParam; - setBodyParameter("TaskEnvParam", taskEnvParam); -} - -std::string SendTaskMetaCallbackRequest::getSubType()const -{ - return subType_; -} - -void SendTaskMetaCallbackRequest::setSubType(const std::string& subType) -{ - subType_ = subType; - setBodyParameter("SubType", subType); -} - -long SendTaskMetaCallbackRequest::getTenantId()const -{ - return tenantId_; -} - -void SendTaskMetaCallbackRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -std::string SendTaskMetaCallbackRequest::getUser()const -{ - return user_; -} - -void SendTaskMetaCallbackRequest::setUser(const std::string& user) -{ - user_ = user; - setBodyParameter("User", user); -} - diff --git a/dataworks-public/src/model/SetSuccessInstanceRequest.cc b/dataworks-public/src/model/SetSuccessInstanceRequest.cc new file mode 100644 index 000000000..891e4c40a --- /dev/null +++ b/dataworks-public/src/model/SetSuccessInstanceRequest.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::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 new file mode 100644 index 000000000..6d272cd9e --- /dev/null +++ b/dataworks-public/src/model/SetSuccessInstanceResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..1c9d99312 --- /dev/null +++ b/dataworks-public/src/model/StopInstanceRequest.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::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 new file mode 100644 index 000000000..8681ede28 --- /dev/null +++ b/dataworks-public/src/model/StopInstanceResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..05f7520ad --- /dev/null +++ b/dataworks-public/src/model/SubmitFileRequest.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::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 new file mode 100644 index 000000000..1cd263565 --- /dev/null +++ b/dataworks-public/src/model/SubmitFileResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..10561e45d --- /dev/null +++ b/dataworks-public/src/model/SuspendInstanceRequest.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::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 new file mode 100644 index 000000000..d506c8382 --- /dev/null +++ b/dataworks-public/src/model/SuspendInstanceResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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/TagResourcesRequest.cc b/dataworks-public/src/model/TagResourcesRequest.cc deleted file mode 100644 index f7b87e01d..000000000 --- a/dataworks-public/src/model/TagResourcesRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::TagResourcesRequest; - -TagResourcesRequest::TagResourcesRequest() : - RpcServiceRequest("dataworks-public", "2018-06-01", "TagResources") -{ - setMethod(HttpRequest::Method::Post); -} - -TagResourcesRequest::~TagResourcesRequest() -{} - -std::vector TagResourcesRequest::getResourceId()const -{ - return resourceId_; -} - -void TagResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -std::vector TagResourcesRequest::getTag()const -{ - return tag_; -} - -void TagResourcesRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Value", tagObj.value); - setParameter(tagObjStr + ".Key", tagObj.key); - } -} - -std::string TagResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void TagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - diff --git a/dataworks-public/src/model/UnTagResourcesRequest.cc b/dataworks-public/src/model/UnTagResourcesRequest.cc deleted file mode 100644 index cc6e58ef1..000000000 --- a/dataworks-public/src/model/UnTagResourcesRequest.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::UnTagResourcesRequest; - -UnTagResourcesRequest::UnTagResourcesRequest() : - RpcServiceRequest("dataworks-public", "2018-06-01", "UnTagResources") -{ - setMethod(HttpRequest::Method::Post); -} - -UnTagResourcesRequest::~UnTagResourcesRequest() -{} - -bool UnTagResourcesRequest::getAll()const -{ - return all_; -} - -void UnTagResourcesRequest::setAll(bool all) -{ - all_ = all; - setParameter("All", all ? "true" : "false"); -} - -std::vector UnTagResourcesRequest::getResourceId()const -{ - return resourceId_; -} - -void UnTagResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -std::vector UnTagResourcesRequest::getTagKey()const -{ - return tagKey_; -} - -void UnTagResourcesRequest::setTagKey(const std::vector& tagKey) -{ - tagKey_ = tagKey; - for(int dep1 = 0; dep1!= tagKey.size(); dep1++) { - setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1)); - } -} - -std::string UnTagResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void UnTagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - diff --git a/dataworks-public/src/model/UpdateBusinessRequest.cc b/dataworks-public/src/model/UpdateBusinessRequest.cc new file mode 100644 index 000000000..347ff0dfb --- /dev/null +++ b/dataworks-public/src/model/UpdateBusinessRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..9acf07629 --- /dev/null +++ b/dataworks-public/src/model/UpdateBusinessResult.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; + +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 new file mode 100644 index 000000000..880cd84fc --- /dev/null +++ b/dataworks-public/src/model/UpdateConnectionRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..34106f32c --- /dev/null +++ b/dataworks-public/src/model/UpdateConnectionResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 new file mode 100644 index 000000000..af33434c6 --- /dev/null +++ b/dataworks-public/src/model/UpdateDataServiceApiRequest.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..6fde2e22a --- /dev/null +++ b/dataworks-public/src/model/UpdateDataServiceApiResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..c9afd9138 --- /dev/null +++ b/dataworks-public/src/model/UpdateFileRequest.cc @@ -0,0 +1,282 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..042144f44 --- /dev/null +++ b/dataworks-public/src/model/UpdateFileResult.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; + +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 new file mode 100644 index 000000000..fd8720be3 --- /dev/null +++ b/dataworks-public/src/model/UpdateFolderRequest.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::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 new file mode 100644 index 000000000..0fa8df4e6 --- /dev/null +++ b/dataworks-public/src/model/UpdateFolderResult.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; + +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 new file mode 100644 index 000000000..46244ed3f --- /dev/null +++ b/dataworks-public/src/model/UpdateMetaCategoryRequest.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::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 new file mode 100644 index 000000000..febf733a4 --- /dev/null +++ b/dataworks-public/src/model/UpdateMetaCategoryResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..76dd592a4 --- /dev/null +++ b/dataworks-public/src/model/UpdateMetaTableIntroWikiRequest.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::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 new file mode 100644 index 000000000..ad4713a37 --- /dev/null +++ b/dataworks-public/src/model/UpdateMetaTableIntroWikiResult.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 +#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 new file mode 100644 index 000000000..1407b06a2 --- /dev/null +++ b/dataworks-public/src/model/UpdateMetaTableRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..1a585a1cd --- /dev/null +++ b/dataworks-public/src/model/UpdateMetaTableResult.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 +#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 new file mode 100644 index 000000000..1cb047c29 --- /dev/null +++ b/dataworks-public/src/model/UpdateQualityFollowerRequest.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::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 new file mode 100644 index 000000000..98c135d2c --- /dev/null +++ b/dataworks-public/src/model/UpdateQualityFollowerResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..2192af582 --- /dev/null +++ b/dataworks-public/src/model/UpdateQualityRuleRequest.cc @@ -0,0 +1,238 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..a630733e5 --- /dev/null +++ b/dataworks-public/src/model/UpdateQualityRuleResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..dd164e3bd --- /dev/null +++ b/dataworks-public/src/model/UpdateRemindRequest.cc @@ -0,0 +1,216 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..8205cfeba --- /dev/null +++ b/dataworks-public/src/model/UpdateRemindResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..7ba73cbde --- /dev/null +++ b/dataworks-public/src/model/UpdateTableLevelRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..db5716d41 --- /dev/null +++ b/dataworks-public/src/model/UpdateTableLevelResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..84b6fb378 --- /dev/null +++ b/dataworks-public/src/model/UpdateTableModelInfoRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..c83b85909 --- /dev/null +++ b/dataworks-public/src/model/UpdateTableModelInfoResult.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 +#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 new file mode 100644 index 000000000..6bf268d92 --- /dev/null +++ b/dataworks-public/src/model/UpdateTableRequest.cc @@ -0,0 +1,244 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..d1ccd7575 --- /dev/null +++ b/dataworks-public/src/model/UpdateTableResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..d2debf600 --- /dev/null +++ b/dataworks-public/src/model/UpdateTableThemeRequest.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::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 new file mode 100644 index 000000000..964d4f2f5 --- /dev/null +++ b/dataworks-public/src/model/UpdateTableThemeResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..b42be4745 --- /dev/null +++ b/dataworks-public/src/model/UpdateUdfFileRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 new file mode 100644 index 000000000..8a822729b --- /dev/null +++ b/dataworks-public/src/model/UpdateUdfFileResult.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; + +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 new file mode 100644 index 000000000..8d1a93217 --- /dev/null +++ b/dataworks-public/version-2018-06-01.xml @@ -0,0 +1 @@ + diff --git a/dataworks-public/version-2020-05-18.xml b/dataworks-public/version-2020-05-18.xml new file mode 100644 index 000000000..9868660de --- /dev/null +++ b/dataworks-public/version-2020-05-18.xml @@ -0,0 +1 @@ +