diff --git a/CHANGELOG b/CHANGELOG index 5c47658a2..a9a186393 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-10-15 Version: patch +- Generated 2018-06-01 for `dataworks-public`. + 2020-10-14 Version: patch - Generated 2014-05-26 for `Ecs`. diff --git a/dataworks-public/CMakeLists.txt b/dataworks-public/CMakeLists.txt index 1d863c473..67d634b40 100644 --- a/dataworks-public/CMakeLists.txt +++ b/dataworks-public/CMakeLists.txt @@ -21,461 +21,53 @@ set(dataworks-public_public_header include/alibabacloud/dataworks-public/Dataworks_publicExport.h ) set(dataworks-public_public_header_model - include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h - include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h - include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h - include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h - include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h - include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h - include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h - include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h - include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h - include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h - include/alibabacloud/dataworks-public/model/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/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/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/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/CheckCallbackRequest.h + include/alibabacloud/dataworks-public/model/CheckCallbackResult.h + include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h + include/alibabacloud/dataworks-public/model/CreateManualDagResult.h include/alibabacloud/dataworks-public/model/DeleteFileRequest.h include/alibabacloud/dataworks-public/model/DeleteFileResult.h - include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h - include/alibabacloud/dataworks-public/model/DeleteFolderResult.h - include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h - include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h - include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h - include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h - include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h - include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h - include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h - include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h - include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h - include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h - include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h - include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h - include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h - include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h - include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h - include/alibabacloud/dataworks-public/model/DeleteRemindResult.h - include/alibabacloud/dataworks-public/model/DeployFileRequest.h - include/alibabacloud/dataworks-public/model/DeployFileResult.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/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/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/GetInstanceLogRequest.h - include/alibabacloud/dataworks-public/model/GetInstanceLogResult.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/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/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/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/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/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/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/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/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/SearchMetaTablesRequest.h - include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.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/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/UpdateUdfFileRequest.h - include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h ) + include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h + include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h + include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h + include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h + include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h + include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h + include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h + include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h + include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h + include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h + include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h + include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h + include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h + include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h + include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h + include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h ) set(dataworks-public_src src/Dataworks-publicClient.cc - src/model/AbolishDataServiceApiRequest.cc - src/model/AbolishDataServiceApiResult.cc - src/model/AddProjectMemberToRoleRequest.cc - src/model/AddProjectMemberToRoleResult.cc - src/model/AddToMetaCategoryRequest.cc - src/model/AddToMetaCategoryResult.cc - src/model/CheckMetaPartitionRequest.cc - src/model/CheckMetaPartitionResult.cc - src/model/CheckMetaTableRequest.cc - src/model/CheckMetaTableResult.cc - src/model/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/CreateFileRequest.cc - src/model/CreateFileResult.cc - src/model/CreateFolderRequest.cc - src/model/CreateFolderResult.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/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/CheckCallbackRequest.cc + src/model/CheckCallbackResult.cc + src/model/CreateManualDagRequest.cc + src/model/CreateManualDagResult.cc src/model/DeleteFileRequest.cc src/model/DeleteFileResult.cc - src/model/DeleteFolderRequest.cc - src/model/DeleteFolderResult.cc - src/model/DeleteFromMetaCategoryRequest.cc - src/model/DeleteFromMetaCategoryResult.cc - src/model/DeleteMetaCategoryRequest.cc - src/model/DeleteMetaCategoryResult.cc - src/model/DeleteProjectMemberRequest.cc - src/model/DeleteProjectMemberResult.cc - src/model/DeleteQualityEntityRequest.cc - src/model/DeleteQualityEntityResult.cc - src/model/DeleteQualityFollowerRequest.cc - src/model/DeleteQualityFollowerResult.cc - src/model/DeleteQualityRelativeNodeRequest.cc - src/model/DeleteQualityRelativeNodeResult.cc - src/model/DeleteQualityRuleRequest.cc - src/model/DeleteQualityRuleResult.cc - src/model/DeleteRemindRequest.cc - src/model/DeleteRemindResult.cc - src/model/DeployFileRequest.cc - src/model/DeployFileResult.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/GetDataServiceApiRequest.cc - src/model/GetDataServiceApiResult.cc - src/model/GetDataServiceApplicationRequest.cc - src/model/GetDataServiceApplicationResult.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/GetInstanceLogRequest.cc - src/model/GetInstanceLogResult.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/GetNodeCodeRequest.cc - src/model/GetNodeCodeResult.cc - src/model/GetNodeOnBaselineRequest.cc - src/model/GetNodeOnBaselineResult.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/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/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/ListNodeIORequest.cc - src/model/ListNodeIOResult.cc - src/model/ListNodesRequest.cc - src/model/ListNodesResult.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/ListQualityRulesRequest.cc - src/model/ListQualityRulesResult.cc - src/model/ListRemindsRequest.cc - src/model/ListRemindsResult.cc - src/model/ListResourceGroupsRequest.cc - src/model/ListResourceGroupsResult.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/SearchMetaTablesRequest.cc - src/model/SearchMetaTablesResult.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/UpdateQualityFollowerRequest.cc - src/model/UpdateQualityFollowerResult.cc - src/model/UpdateQualityRuleRequest.cc - src/model/UpdateQualityRuleResult.cc - src/model/UpdateRemindRequest.cc - src/model/UpdateRemindResult.cc - src/model/UpdateUdfFileRequest.cc - src/model/UpdateUdfFileResult.cc ) + src/model/DescribeEmrHiveTableRequest.cc + src/model/DescribeEmrHiveTableResult.cc + src/model/ListEmrHiveAuditLogsRequest.cc + src/model/ListEmrHiveAuditLogsResult.cc + src/model/ListEmrHiveDatabasesRequest.cc + src/model/ListEmrHiveDatabasesResult.cc + src/model/ListEmrHiveTablesRequest.cc + src/model/ListEmrHiveTablesResult.cc + src/model/ListHiveColumnLineagesRequest.cc + src/model/ListHiveColumnLineagesResult.cc + src/model/ListHiveTableLineagesRequest.cc + src/model/ListHiveTableLineagesResult.cc + src/model/ListTablePartitionsRequest.cc + src/model/ListTablePartitionsResult.cc + src/model/SearchManualDagNodeInstanceRequest.cc + src/model/SearchManualDagNodeInstanceResult.cc ) add_library(dataworks-public ${LIB_TYPE} ${dataworks-public_public_header} diff --git a/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h b/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h index 80e54ae6c..7462d38db 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h @@ -22,232 +22,28 @@ #include #include #include "Dataworks_publicExport.h" -#include "model/AbolishDataServiceApiRequest.h" -#include "model/AbolishDataServiceApiResult.h" -#include "model/AddProjectMemberToRoleRequest.h" -#include "model/AddProjectMemberToRoleResult.h" -#include "model/AddToMetaCategoryRequest.h" -#include "model/AddToMetaCategoryResult.h" -#include "model/CheckMetaPartitionRequest.h" -#include "model/CheckMetaPartitionResult.h" -#include "model/CheckMetaTableRequest.h" -#include "model/CheckMetaTableResult.h" -#include "model/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/CreateFileRequest.h" -#include "model/CreateFileResult.h" -#include "model/CreateFolderRequest.h" -#include "model/CreateFolderResult.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/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/CheckCallbackRequest.h" +#include "model/CheckCallbackResult.h" +#include "model/CreateManualDagRequest.h" +#include "model/CreateManualDagResult.h" #include "model/DeleteFileRequest.h" #include "model/DeleteFileResult.h" -#include "model/DeleteFolderRequest.h" -#include "model/DeleteFolderResult.h" -#include "model/DeleteFromMetaCategoryRequest.h" -#include "model/DeleteFromMetaCategoryResult.h" -#include "model/DeleteMetaCategoryRequest.h" -#include "model/DeleteMetaCategoryResult.h" -#include "model/DeleteProjectMemberRequest.h" -#include "model/DeleteProjectMemberResult.h" -#include "model/DeleteQualityEntityRequest.h" -#include "model/DeleteQualityEntityResult.h" -#include "model/DeleteQualityFollowerRequest.h" -#include "model/DeleteQualityFollowerResult.h" -#include "model/DeleteQualityRelativeNodeRequest.h" -#include "model/DeleteQualityRelativeNodeResult.h" -#include "model/DeleteQualityRuleRequest.h" -#include "model/DeleteQualityRuleResult.h" -#include "model/DeleteRemindRequest.h" -#include "model/DeleteRemindResult.h" -#include "model/DeployFileRequest.h" -#include "model/DeployFileResult.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/GetDataServiceApiRequest.h" -#include "model/GetDataServiceApiResult.h" -#include "model/GetDataServiceApplicationRequest.h" -#include "model/GetDataServiceApplicationResult.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/GetInstanceLogRequest.h" -#include "model/GetInstanceLogResult.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/GetNodeCodeRequest.h" -#include "model/GetNodeCodeResult.h" -#include "model/GetNodeOnBaselineRequest.h" -#include "model/GetNodeOnBaselineResult.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/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/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/ListNodeIORequest.h" -#include "model/ListNodeIOResult.h" -#include "model/ListNodesRequest.h" -#include "model/ListNodesResult.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/ListQualityRulesRequest.h" -#include "model/ListQualityRulesResult.h" -#include "model/ListRemindsRequest.h" -#include "model/ListRemindsResult.h" -#include "model/ListResourceGroupsRequest.h" -#include "model/ListResourceGroupsResult.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/SearchMetaTablesRequest.h" -#include "model/SearchMetaTablesResult.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/UpdateQualityFollowerRequest.h" -#include "model/UpdateQualityFollowerResult.h" -#include "model/UpdateQualityRuleRequest.h" -#include "model/UpdateQualityRuleResult.h" -#include "model/UpdateRemindRequest.h" -#include "model/UpdateRemindResult.h" -#include "model/UpdateUdfFileRequest.h" -#include "model/UpdateUdfFileResult.h" +#include "model/DescribeEmrHiveTableRequest.h" +#include "model/DescribeEmrHiveTableResult.h" +#include "model/ListEmrHiveAuditLogsRequest.h" +#include "model/ListEmrHiveAuditLogsResult.h" +#include "model/ListEmrHiveDatabasesRequest.h" +#include "model/ListEmrHiveDatabasesResult.h" +#include "model/ListEmrHiveTablesRequest.h" +#include "model/ListEmrHiveTablesResult.h" +#include "model/ListHiveColumnLineagesRequest.h" +#include "model/ListHiveColumnLineagesResult.h" +#include "model/ListHiveTableLineagesRequest.h" +#include "model/ListHiveTableLineagesResult.h" +#include "model/ListTablePartitionsRequest.h" +#include "model/ListTablePartitionsResult.h" +#include "model/SearchManualDagNodeInstanceRequest.h" +#include "model/SearchManualDagNodeInstanceResult.h" namespace AlibabaCloud @@ -257,689 +53,77 @@ namespace AlibabaCloud class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT Dataworks_publicClient : public RpcServiceClient { public: - typedef Outcome AbolishDataServiceApiOutcome; - typedef std::future AbolishDataServiceApiOutcomeCallable; - typedef std::function&)> AbolishDataServiceApiAsyncHandler; - typedef Outcome AddProjectMemberToRoleOutcome; - typedef std::future AddProjectMemberToRoleOutcomeCallable; - typedef std::function&)> AddProjectMemberToRoleAsyncHandler; - typedef Outcome AddToMetaCategoryOutcome; - typedef std::future AddToMetaCategoryOutcomeCallable; - typedef std::function&)> AddToMetaCategoryAsyncHandler; - typedef Outcome CheckMetaPartitionOutcome; - typedef std::future CheckMetaPartitionOutcomeCallable; - typedef std::function&)> CheckMetaPartitionAsyncHandler; - typedef Outcome CheckMetaTableOutcome; - typedef std::future CheckMetaTableOutcomeCallable; - typedef std::function&)> CheckMetaTableAsyncHandler; - typedef Outcome 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 CreateFileOutcome; - typedef std::future CreateFileOutcomeCallable; - typedef std::function&)> CreateFileAsyncHandler; - typedef Outcome CreateFolderOutcome; - typedef std::future CreateFolderOutcomeCallable; - typedef std::function&)> CreateFolderAsyncHandler; - 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 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 CheckCallbackOutcome; + typedef std::future CheckCallbackOutcomeCallable; + typedef std::function&)> CheckCallbackAsyncHandler; + typedef Outcome CreateManualDagOutcome; + typedef std::future CreateManualDagOutcomeCallable; + typedef std::function&)> CreateManualDagAsyncHandler; typedef Outcome DeleteFileOutcome; typedef std::future DeleteFileOutcomeCallable; typedef std::function&)> DeleteFileAsyncHandler; - typedef Outcome DeleteFolderOutcome; - typedef std::future DeleteFolderOutcomeCallable; - typedef std::function&)> DeleteFolderAsyncHandler; - typedef Outcome DeleteFromMetaCategoryOutcome; - typedef std::future DeleteFromMetaCategoryOutcomeCallable; - typedef std::function&)> DeleteFromMetaCategoryAsyncHandler; - typedef Outcome DeleteMetaCategoryOutcome; - typedef std::future DeleteMetaCategoryOutcomeCallable; - typedef std::function&)> DeleteMetaCategoryAsyncHandler; - typedef Outcome DeleteProjectMemberOutcome; - typedef std::future DeleteProjectMemberOutcomeCallable; - typedef std::function&)> DeleteProjectMemberAsyncHandler; - typedef Outcome DeleteQualityEntityOutcome; - typedef std::future DeleteQualityEntityOutcomeCallable; - typedef std::function&)> DeleteQualityEntityAsyncHandler; - typedef Outcome DeleteQualityFollowerOutcome; - typedef std::future DeleteQualityFollowerOutcomeCallable; - typedef std::function&)> DeleteQualityFollowerAsyncHandler; - typedef Outcome DeleteQualityRelativeNodeOutcome; - typedef std::future DeleteQualityRelativeNodeOutcomeCallable; - typedef std::function&)> DeleteQualityRelativeNodeAsyncHandler; - typedef Outcome DeleteQualityRuleOutcome; - typedef std::future DeleteQualityRuleOutcomeCallable; - typedef std::function&)> DeleteQualityRuleAsyncHandler; - typedef Outcome DeleteRemindOutcome; - typedef std::future DeleteRemindOutcomeCallable; - typedef std::function&)> DeleteRemindAsyncHandler; - typedef Outcome DeployFileOutcome; - typedef std::future DeployFileOutcomeCallable; - typedef std::function&)> DeployFileAsyncHandler; - 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 GetDataServiceApiOutcome; - typedef std::future GetDataServiceApiOutcomeCallable; - typedef std::function&)> GetDataServiceApiAsyncHandler; - typedef Outcome GetDataServiceApplicationOutcome; - typedef std::future GetDataServiceApplicationOutcomeCallable; - typedef std::function&)> GetDataServiceApplicationAsyncHandler; - 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 GetInstanceLogOutcome; - typedef std::future GetInstanceLogOutcomeCallable; - typedef std::function&)> GetInstanceLogAsyncHandler; - 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 GetNodeCodeOutcome; - typedef std::future GetNodeCodeOutcomeCallable; - typedef std::function&)> GetNodeCodeAsyncHandler; - typedef Outcome GetNodeOnBaselineOutcome; - typedef std::future GetNodeOnBaselineOutcomeCallable; - typedef std::function&)> GetNodeOnBaselineAsyncHandler; - 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 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 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 ListNodeIOOutcome; - typedef std::future ListNodeIOOutcomeCallable; - typedef std::function&)> ListNodeIOAsyncHandler; - typedef Outcome ListNodesOutcome; - typedef std::future ListNodesOutcomeCallable; - typedef std::function&)> ListNodesAsyncHandler; - 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 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 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 SearchMetaTablesOutcome; - typedef std::future SearchMetaTablesOutcomeCallable; - typedef std::function&)> SearchMetaTablesAsyncHandler; - 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 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 UpdateUdfFileOutcome; - typedef std::future UpdateUdfFileOutcomeCallable; - typedef std::function&)> UpdateUdfFileAsyncHandler; + typedef Outcome DescribeEmrHiveTableOutcome; + typedef std::future DescribeEmrHiveTableOutcomeCallable; + typedef std::function&)> DescribeEmrHiveTableAsyncHandler; + typedef Outcome ListEmrHiveAuditLogsOutcome; + typedef std::future ListEmrHiveAuditLogsOutcomeCallable; + typedef std::function&)> ListEmrHiveAuditLogsAsyncHandler; + typedef Outcome ListEmrHiveDatabasesOutcome; + typedef std::future ListEmrHiveDatabasesOutcomeCallable; + typedef std::function&)> ListEmrHiveDatabasesAsyncHandler; + typedef Outcome ListEmrHiveTablesOutcome; + typedef std::future ListEmrHiveTablesOutcomeCallable; + typedef std::function&)> ListEmrHiveTablesAsyncHandler; + typedef Outcome ListHiveColumnLineagesOutcome; + typedef std::future ListHiveColumnLineagesOutcomeCallable; + typedef std::function&)> ListHiveColumnLineagesAsyncHandler; + typedef Outcome ListHiveTableLineagesOutcome; + typedef std::future ListHiveTableLineagesOutcomeCallable; + typedef std::function&)> ListHiveTableLineagesAsyncHandler; + typedef Outcome ListTablePartitionsOutcome; + typedef std::future ListTablePartitionsOutcomeCallable; + typedef std::function&)> ListTablePartitionsAsyncHandler; + typedef Outcome SearchManualDagNodeInstanceOutcome; + typedef std::future SearchManualDagNodeInstanceOutcomeCallable; + typedef std::function&)> SearchManualDagNodeInstanceAsyncHandler; Dataworks_publicClient(const Credentials &credentials, const ClientConfiguration &configuration); Dataworks_publicClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); Dataworks_publicClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~Dataworks_publicClient(); - AbolishDataServiceApiOutcome abolishDataServiceApi(const Model::AbolishDataServiceApiRequest &request)const; - void abolishDataServiceApiAsync(const Model::AbolishDataServiceApiRequest& request, const AbolishDataServiceApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AbolishDataServiceApiOutcomeCallable abolishDataServiceApiCallable(const Model::AbolishDataServiceApiRequest& request) const; - AddProjectMemberToRoleOutcome addProjectMemberToRole(const Model::AddProjectMemberToRoleRequest &request)const; - void addProjectMemberToRoleAsync(const Model::AddProjectMemberToRoleRequest& request, const AddProjectMemberToRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddProjectMemberToRoleOutcomeCallable addProjectMemberToRoleCallable(const Model::AddProjectMemberToRoleRequest& request) const; - AddToMetaCategoryOutcome addToMetaCategory(const Model::AddToMetaCategoryRequest &request)const; - void addToMetaCategoryAsync(const Model::AddToMetaCategoryRequest& request, const AddToMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddToMetaCategoryOutcomeCallable addToMetaCategoryCallable(const Model::AddToMetaCategoryRequest& request) const; - CheckMetaPartitionOutcome checkMetaPartition(const Model::CheckMetaPartitionRequest &request)const; - void checkMetaPartitionAsync(const Model::CheckMetaPartitionRequest& request, const CheckMetaPartitionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CheckMetaPartitionOutcomeCallable checkMetaPartitionCallable(const Model::CheckMetaPartitionRequest& request) const; - CheckMetaTableOutcome checkMetaTable(const Model::CheckMetaTableRequest &request)const; - void checkMetaTableAsync(const Model::CheckMetaTableRequest& request, const CheckMetaTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CheckMetaTableOutcomeCallable checkMetaTableCallable(const Model::CheckMetaTableRequest& request) const; - 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; - 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; - 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; - 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; + CheckCallbackOutcome checkCallback(const Model::CheckCallbackRequest &request)const; + void checkCallbackAsync(const Model::CheckCallbackRequest& request, const CheckCallbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckCallbackOutcomeCallable checkCallbackCallable(const Model::CheckCallbackRequest& request) const; + CreateManualDagOutcome createManualDag(const Model::CreateManualDagRequest &request)const; + void createManualDagAsync(const Model::CreateManualDagRequest& request, const CreateManualDagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateManualDagOutcomeCallable createManualDagCallable(const Model::CreateManualDagRequest& request) const; DeleteFileOutcome deleteFile(const Model::DeleteFileRequest &request)const; void deleteFileAsync(const Model::DeleteFileRequest& request, const DeleteFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFileOutcomeCallable deleteFileCallable(const Model::DeleteFileRequest& request) const; - DeleteFolderOutcome deleteFolder(const Model::DeleteFolderRequest &request)const; - void deleteFolderAsync(const Model::DeleteFolderRequest& request, const DeleteFolderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteFolderOutcomeCallable deleteFolderCallable(const Model::DeleteFolderRequest& request) const; - DeleteFromMetaCategoryOutcome deleteFromMetaCategory(const Model::DeleteFromMetaCategoryRequest &request)const; - void deleteFromMetaCategoryAsync(const Model::DeleteFromMetaCategoryRequest& request, const DeleteFromMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteFromMetaCategoryOutcomeCallable deleteFromMetaCategoryCallable(const Model::DeleteFromMetaCategoryRequest& request) const; - DeleteMetaCategoryOutcome deleteMetaCategory(const Model::DeleteMetaCategoryRequest &request)const; - void deleteMetaCategoryAsync(const Model::DeleteMetaCategoryRequest& request, const DeleteMetaCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteMetaCategoryOutcomeCallable deleteMetaCategoryCallable(const Model::DeleteMetaCategoryRequest& request) const; - DeleteProjectMemberOutcome deleteProjectMember(const Model::DeleteProjectMemberRequest &request)const; - void deleteProjectMemberAsync(const Model::DeleteProjectMemberRequest& request, const DeleteProjectMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteProjectMemberOutcomeCallable deleteProjectMemberCallable(const Model::DeleteProjectMemberRequest& request) const; - DeleteQualityEntityOutcome deleteQualityEntity(const Model::DeleteQualityEntityRequest &request)const; - void deleteQualityEntityAsync(const Model::DeleteQualityEntityRequest& request, const DeleteQualityEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteQualityEntityOutcomeCallable deleteQualityEntityCallable(const Model::DeleteQualityEntityRequest& request) const; - DeleteQualityFollowerOutcome deleteQualityFollower(const Model::DeleteQualityFollowerRequest &request)const; - void deleteQualityFollowerAsync(const Model::DeleteQualityFollowerRequest& request, const DeleteQualityFollowerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteQualityFollowerOutcomeCallable deleteQualityFollowerCallable(const Model::DeleteQualityFollowerRequest& request) const; - DeleteQualityRelativeNodeOutcome deleteQualityRelativeNode(const Model::DeleteQualityRelativeNodeRequest &request)const; - void deleteQualityRelativeNodeAsync(const Model::DeleteQualityRelativeNodeRequest& request, const DeleteQualityRelativeNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteQualityRelativeNodeOutcomeCallable deleteQualityRelativeNodeCallable(const Model::DeleteQualityRelativeNodeRequest& request) const; - DeleteQualityRuleOutcome deleteQualityRule(const Model::DeleteQualityRuleRequest &request)const; - void deleteQualityRuleAsync(const Model::DeleteQualityRuleRequest& request, const DeleteQualityRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteQualityRuleOutcomeCallable deleteQualityRuleCallable(const Model::DeleteQualityRuleRequest& request) const; - DeleteRemindOutcome deleteRemind(const Model::DeleteRemindRequest &request)const; - void deleteRemindAsync(const Model::DeleteRemindRequest& request, const DeleteRemindAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteRemindOutcomeCallable deleteRemindCallable(const Model::DeleteRemindRequest& request) const; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - UpdateUdfFileOutcome updateUdfFile(const Model::UpdateUdfFileRequest &request)const; - void updateUdfFileAsync(const Model::UpdateUdfFileRequest& request, const UpdateUdfFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateUdfFileOutcomeCallable updateUdfFileCallable(const Model::UpdateUdfFileRequest& request) const; + DescribeEmrHiveTableOutcome describeEmrHiveTable(const Model::DescribeEmrHiveTableRequest &request)const; + void describeEmrHiveTableAsync(const Model::DescribeEmrHiveTableRequest& request, const DescribeEmrHiveTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEmrHiveTableOutcomeCallable describeEmrHiveTableCallable(const Model::DescribeEmrHiveTableRequest& request) const; + ListEmrHiveAuditLogsOutcome listEmrHiveAuditLogs(const Model::ListEmrHiveAuditLogsRequest &request)const; + void listEmrHiveAuditLogsAsync(const Model::ListEmrHiveAuditLogsRequest& request, const ListEmrHiveAuditLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEmrHiveAuditLogsOutcomeCallable listEmrHiveAuditLogsCallable(const Model::ListEmrHiveAuditLogsRequest& request) const; + ListEmrHiveDatabasesOutcome listEmrHiveDatabases(const Model::ListEmrHiveDatabasesRequest &request)const; + void listEmrHiveDatabasesAsync(const Model::ListEmrHiveDatabasesRequest& request, const ListEmrHiveDatabasesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEmrHiveDatabasesOutcomeCallable listEmrHiveDatabasesCallable(const Model::ListEmrHiveDatabasesRequest& request) const; + ListEmrHiveTablesOutcome listEmrHiveTables(const Model::ListEmrHiveTablesRequest &request)const; + void listEmrHiveTablesAsync(const Model::ListEmrHiveTablesRequest& request, const ListEmrHiveTablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEmrHiveTablesOutcomeCallable listEmrHiveTablesCallable(const Model::ListEmrHiveTablesRequest& request) const; + ListHiveColumnLineagesOutcome listHiveColumnLineages(const Model::ListHiveColumnLineagesRequest &request)const; + void listHiveColumnLineagesAsync(const Model::ListHiveColumnLineagesRequest& request, const ListHiveColumnLineagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListHiveColumnLineagesOutcomeCallable listHiveColumnLineagesCallable(const Model::ListHiveColumnLineagesRequest& request) const; + ListHiveTableLineagesOutcome listHiveTableLineages(const Model::ListHiveTableLineagesRequest &request)const; + void listHiveTableLineagesAsync(const Model::ListHiveTableLineagesRequest& request, const ListHiveTableLineagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListHiveTableLineagesOutcomeCallable listHiveTableLineagesCallable(const Model::ListHiveTableLineagesRequest& request) const; + ListTablePartitionsOutcome listTablePartitions(const Model::ListTablePartitionsRequest &request)const; + void listTablePartitionsAsync(const Model::ListTablePartitionsRequest& request, const ListTablePartitionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTablePartitionsOutcomeCallable listTablePartitionsCallable(const Model::ListTablePartitionsRequest& request) const; + SearchManualDagNodeInstanceOutcome searchManualDagNodeInstance(const Model::SearchManualDagNodeInstanceRequest &request)const; + void searchManualDagNodeInstanceAsync(const Model::SearchManualDagNodeInstanceRequest& request, const SearchManualDagNodeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SearchManualDagNodeInstanceOutcomeCallable searchManualDagNodeInstanceCallable(const Model::SearchManualDagNodeInstanceRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h deleted file mode 100644 index 1d9bff82d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AbolishDataServiceApiRequest : public RpcServiceRequest - { - - public: - AbolishDataServiceApiRequest(); - ~AbolishDataServiceApiRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h deleted file mode 100644 index 89997e1e5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AbolishDataServiceApiResult : public ServiceResult - { - public: - - - AbolishDataServiceApiResult(); - explicit AbolishDataServiceApiResult(const std::string &payload); - ~AbolishDataServiceApiResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h deleted file mode 100644 index ea63af3aa..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddProjectMemberToRoleRequest : public RpcServiceRequest - { - - public: - AddProjectMemberToRoleRequest(); - ~AddProjectMemberToRoleRequest(); - - std::string getRoleCode()const; - void setRoleCode(const std::string& roleCode); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - long getProjectId()const; - void setProjectId(long projectId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string roleCode_; - std::string clientToken_; - long projectId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h deleted file mode 100644 index 603945056..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddProjectMemberToRoleResult : public ServiceResult - { - public: - - - AddProjectMemberToRoleResult(); - explicit AddProjectMemberToRoleResult(const std::string &payload); - ~AddProjectMemberToRoleResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h deleted file mode 100644 index 97cd10fce..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddToMetaCategoryResult : public ServiceResult - { - public: - - - AddToMetaCategoryResult(); - explicit AddToMetaCategoryResult(const std::string &payload); - ~AddToMetaCategoryResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h similarity index 66% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h index 62c76a715..1af7a7677 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_ #include #include @@ -28,21 +28,21 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBInfoRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackRequest : public RpcServiceRequest { public: - GetMetaDBInfoRequest(); - ~GetMetaDBInfoRequest(); + CheckCallbackRequest(); + ~CheckCallbackRequest(); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); + std::string getCallbackResultString()const; + void setCallbackResultString(const std::string& callbackResultString); private: - std::string appGuid_; + std::string callbackResultString_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackResult.h similarity index 64% rename from dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackResult.h index 04e4acf48..ac9f8e87a 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckCallbackResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_ #include #include @@ -29,21 +29,25 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteProjectMemberResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackResult : public ServiceResult { public: - DeleteProjectMemberResult(); - explicit DeleteProjectMemberResult(const std::string &payload); - ~DeleteProjectMemberResult(); + CheckCallbackResult(); + explicit CheckCallbackResult(const std::string &payload); + ~CheckCallbackResult(); + std::string getReturnCode()const; + bool getReturnValue()const; protected: void parse(const std::string &payload); private: + std::string returnCode_; + bool returnValue_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h deleted file mode 100644 index d58c876bf..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 getPartition()const; - void setPartition(const std::string& partition); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - - private: - std::string partition_; - std::string tableGuid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h deleted file mode 100644 index af6ac1dbe..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaPartitionResult : public ServiceResult - { - public: - - - CheckMetaPartitionResult(); - explicit CheckMetaPartitionResult(const std::string &payload); - ~CheckMetaPartitionResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h deleted file mode 100644 index d8ec4ca1c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaTableResult : public ServiceResult - { - public: - - - CheckMetaTableResult(); - explicit CheckMetaTableResult(const std::string &payload); - ~CheckMetaTableResult(); - 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_CHECKMETATABLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h deleted file mode 100644 index 77a12749d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateConnectionRequest : public RpcServiceRequest - { - - public: - CreateConnectionRequest(); - ~CreateConnectionRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getContent()const; - void setContent(const std::string& content); - std::string getSubType()const; - void setSubType(const std::string& subType); - std::string getName()const; - void setName(const std::string& name); - int getEnvType()const; - void setEnvType(int envType); - std::string getConnectionType()const; - void setConnectionType(const std::string& connectionType); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string description_; - std::string content_; - std::string subType_; - std::string name_; - int envType_; - std::string connectionType_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionResult.h deleted file mode 100644 index 69c0a751f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateConnectionResult : public ServiceResult - { - public: - - - CreateConnectionResult(); - explicit CreateConnectionResult(const std::string &payload); - ~CreateConnectionResult(); - std::string getHttpStatusCode()const; - long getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - std::string httpStatusCode_; - long data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h deleted file mode 100644 index f38ff1909..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagComplementRequest : public RpcServiceRequest - { - - public: - CreateDagComplementRequest(); - ~CreateDagComplementRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getStartBizDate()const; - void setStartBizDate(const std::string& startBizDate); - bool getParallelism()const; - void setParallelism(bool parallelism); - long getRootNodeId()const; - void setRootNodeId(long rootNodeId); - std::string getBizBeginTime()const; - void setBizBeginTime(const std::string& bizBeginTime); - std::string getEndBizDate()const; - void setEndBizDate(const std::string& endBizDate); - std::string getIncludeNodeIds()const; - void setIncludeNodeIds(const std::string& includeNodeIds); - std::string getBizEndTime()const; - void setBizEndTime(const std::string& bizEndTime); - std::string getName()const; - void setName(const std::string& name); - std::string getExcludeNodeIds()const; - void setExcludeNodeIds(const std::string& excludeNodeIds); - std::string getNodeParams()const; - void setNodeParams(const std::string& nodeParams); - - private: - std::string projectEnv_; - std::string startBizDate_; - bool parallelism_; - long rootNodeId_; - std::string bizBeginTime_; - std::string endBizDate_; - std::string includeNodeIds_; - std::string bizEndTime_; - std::string name_; - std::string excludeNodeIds_; - std::string nodeParams_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h deleted file mode 100644 index fe563e16d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagComplementResult : public ServiceResult - { - public: - - - CreateDagComplementResult(); - explicit CreateDagComplementResult(const std::string &payload); - ~CreateDagComplementResult(); - int getHttpStatusCode()const; - std::vector getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h deleted file mode 100644 index 4c06790b0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagTestRequest : public RpcServiceRequest - { - - public: - CreateDagTestRequest(); - ~CreateDagTestRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - std::string getName()const; - void setName(const std::string& name); - std::string getNodeParams()const; - void setNodeParams(const std::string& nodeParams); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - std::string bizdate_; - std::string name_; - std::string nodeParams_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestResult.h deleted file mode 100644 index 61c9d2d37..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagTestResult : public ServiceResult - { - public: - - - CreateDagTestResult(); - explicit CreateDagTestResult(const std::string &payload); - ~CreateDagTestResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h deleted file mode 100644 index 34603a7b3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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); - 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_; - std::string registrationDetails_; - std::string apiName_; - long tenantId_; - std::string protocols_; - long projectId_; - int responseContentType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h deleted file mode 100644 index ed99ceac5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiResult : public ServiceResult - { - public: - - - CreateDataServiceApiResult(); - explicit CreateDataServiceApiResult(const std::string &payload); - ~CreateDataServiceApiResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h deleted file mode 100644 index 8152275c8..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 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 getParaValue()const; - void setParaValue(const std::string& paraValue); - 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 projectId_; - long startEffectDate_; - std::string cycleType_; - std::string owner_; - int autoRerunIntervalMillis_; - std::string inputList_; - std::string rerunMode_; - std::string paraValue_; - int autoRerunTimes_; - std::string cronExpress_; - long endEffectDate_; - std::string fileName_; - bool stop_; - std::string dependentType_; - std::string fileFolderPath_; - std::string fileDescription_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileResult.h deleted file mode 100644 index 0dc35d27d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFileResult : public ServiceResult - { - public: - - - CreateFileResult(); - explicit CreateFileResult(const std::string &payload); - ~CreateFileResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h deleted file mode 100644 index 2bfa9d123..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFolderRequest : public RpcServiceRequest - { - - public: - CreateFolderRequest(); - ~CreateFolderRequest(); - - std::string getFolderPath()const; - void setFolderPath(const std::string& folderPath); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - std::string folderPath_; - long projectId_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderResult.h deleted file mode 100644 index d9fbc72de..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFolderResult : public ServiceResult - { - public: - - - CreateFolderResult(); - explicit CreateFolderResult(const std::string &payload); - ~CreateFolderResult(); - int getHttpStatusCode()const; - std::string getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h similarity index 55% rename from dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h index 70f4456a6..606d4431f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_ #include #include @@ -28,24 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRuleRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateManualDagRequest : public RpcServiceRequest { public: - DeleteQualityRuleRequest(); - ~DeleteQualityRuleRequest(); + CreateManualDagRequest(); + ~CreateManualDagRequest(); std::string getProjectName()const; void setProjectName(const std::string& projectName); - long getRuleId()const; - void setRuleId(long ruleId); + 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); private: std::string projectName_; - long ruleId_; + std::string bizdate_; + std::string flowName_; + std::string dagPara_; + std::string nodePara_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_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/CreateManualDagResult.h similarity index 60% rename from dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagResult.h index 2c7acb755..f9fbe3abc 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCERESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGRESULT_H_ #include #include @@ -29,31 +29,29 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RestartInstanceResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateManualDagResult : 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; + CreateManualDagResult(); + explicit CreateManualDagResult(const std::string &payload); + ~CreateManualDagResult(); + std::string getReturnErrorSolution()const; + std::string getReturnCode()const; + std::string getReturnMessage()const; + long getReturnValue()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; + std::string returnErrorSolution_; + std::string returnCode_; + std::string returnMessage_; + long returnValue_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h deleted file mode 100644 index a119ad7b4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateMetaCategoryRequest : public RpcServiceRequest - { - - public: - CreateMetaCategoryRequest(); - ~CreateMetaCategoryRequest(); - - std::string getName()const; - void setName(const std::string& name); - std::string getComment()const; - void setComment(const std::string& comment); - long getParentId()const; - void setParentId(long parentId); - - private: - std::string name_; - std::string comment_; - long parentId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h deleted file mode 100644 index be9628859..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateMetaCategoryResult : public ServiceResult - { - public: - struct Data - { - long categoryId; - }; - - - CreateMetaCategoryResult(); - explicit CreateMetaCategoryResult(const std::string &payload); - ~CreateMetaCategoryResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h deleted file mode 100644 index 2366912f0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateProjectMemberRequest : public RpcServiceRequest - { - - public: - CreateProjectMemberRequest(); - ~CreateProjectMemberRequest(); - - std::string getRoleCode()const; - void setRoleCode(const std::string& roleCode); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - long getProjectId()const; - void setProjectId(long projectId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string roleCode_; - std::string clientToken_; - long projectId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h deleted file mode 100644 index 2a78f69c3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateProjectMemberResult : public ServiceResult - { - public: - - - CreateProjectMemberResult(); - explicit CreateProjectMemberResult(const std::string &payload); - ~CreateProjectMemberResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h deleted file mode 100644 index a00162d61..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityEntityResult : public ServiceResult - { - public: - - - CreateQualityEntityResult(); - explicit CreateQualityEntityResult(const std::string &payload); - ~CreateQualityEntityResult(); - int getHttpStatusCode()const; - int getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - int data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h deleted file mode 100644 index 7ddf641b8..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityFollowerRequest : public RpcServiceRequest - { - - public: - CreateQualityFollowerRequest(); - ~CreateQualityFollowerRequest(); - - int getAlarmMode()const; - void setAlarmMode(int alarmMode); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getFollower()const; - void setFollower(const std::string& follower); - long getEntityId()const; - void setEntityId(long entityId); - - private: - int alarmMode_; - std::string projectName_; - std::string follower_; - long entityId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h deleted file mode 100644 index 5ecef4174..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityFollowerResult : public ServiceResult - { - public: - - - CreateQualityFollowerResult(); - explicit CreateQualityFollowerResult(const std::string &payload); - ~CreateQualityFollowerResult(); - int getHttpStatusCode()const; - int getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - int data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h deleted file mode 100644 index 400d941cb..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRelativeNodeRequest : public RpcServiceRequest - { - - public: - CreateQualityRelativeNodeRequest(); - ~CreateQualityRelativeNodeRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getTargetNodeProjectId()const; - void setTargetNodeProjectId(long targetNodeProjectId); - std::string getMatchExpression()const; - void setMatchExpression(const std::string& matchExpression); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - std::string getTargetNodeProjectName()const; - void setTargetNodeProjectName(const std::string& targetNodeProjectName); - std::string getTableName()const; - void setTableName(const std::string& tableName); - long getNodeId()const; - void setNodeId(long nodeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectName_; - long targetNodeProjectId_; - std::string matchExpression_; - std::string envType_; - std::string targetNodeProjectName_; - std::string tableName_; - long nodeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h deleted file mode 100644 index c8f3f9465..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRelativeNodeResult : public ServiceResult - { - public: - - - CreateQualityRelativeNodeResult(); - explicit CreateQualityRelativeNodeResult(const std::string &payload); - ~CreateQualityRelativeNodeResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h deleted file mode 100644 index 64b8603ff..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRuleRequest : public RpcServiceRequest - { - - public: - CreateQualityRuleRequest(); - ~CreateQualityRuleRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getTrend()const; - void setTrend(const std::string& trend); - int getRuleType()const; - void setRuleType(int ruleType); - int getBlockType()const; - void setBlockType(int blockType); - std::string getPropertyType()const; - void setPropertyType(const std::string& propertyType); - long getEntityId()const; - void setEntityId(long entityId); - std::string getRuleName()const; - void setRuleName(const std::string& ruleName); - int getChecker()const; - void setChecker(int checker); - int getTemplateId()const; - void setTemplateId(int templateId); - std::string getExpectValue()const; - void setExpectValue(const std::string& expectValue); - std::string get_Operator()const; - void set_Operator(const std::string& _operator); - std::string getWhereCondition()const; - void setWhereCondition(const std::string& whereCondition); - std::string getCriticalThreshold()const; - void setCriticalThreshold(const std::string& criticalThreshold); - std::string getProperty()const; - void setProperty(const std::string& property); - std::string getComment()const; - void setComment(const std::string& comment); - int getPredictType()const; - void setPredictType(int predictType); - std::string getWarningThreshold()const; - void setWarningThreshold(const std::string& warningThreshold); - std::string getMethodName()const; - void setMethodName(const std::string& methodName); - - private: - std::string projectName_; - std::string trend_; - int ruleType_; - int blockType_; - std::string propertyType_; - long entityId_; - std::string ruleName_; - int checker_; - int templateId_; - std::string expectValue_; - std::string _operator_; - std::string whereCondition_; - std::string criticalThreshold_; - std::string property_; - std::string comment_; - int predictType_; - std::string warningThreshold_; - std::string methodName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h deleted file mode 100644 index 9286424b0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRuleResult : public ServiceResult - { - public: - - - CreateQualityRuleResult(); - explicit CreateQualityRuleResult(const std::string &payload); - ~CreateQualityRuleResult(); - int getHttpStatusCode()const; - std::string getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h deleted file mode 100644 index eb9cbe204..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRemindRequest : public RpcServiceRequest - { - - public: - CreateRemindRequest(); - ~CreateRemindRequest(); - - std::string getDndEnd()const; - void setDndEnd(const std::string& dndEnd); - std::string getAlertUnit()const; - void setAlertUnit(const std::string& alertUnit); - std::string getRemindUnit()const; - void setRemindUnit(const std::string& remindUnit); - int getAlertInterval()const; - void setAlertInterval(int alertInterval); - std::string getAlertMethods()const; - void setAlertMethods(const std::string& alertMethods); - std::string getRobotUrls()const; - void setRobotUrls(const std::string& robotUrls); - int getMaxAlertTimes()const; - void setMaxAlertTimes(int maxAlertTimes); - std::string getBizProcessIds()const; - void setBizProcessIds(const std::string& bizProcessIds); - std::string getRemindType()const; - void setRemindType(const std::string& remindType); - std::string getAlertTargets()const; - void setAlertTargets(const std::string& alertTargets); - std::string getBaselineIds()const; - void setBaselineIds(const std::string& baselineIds); - std::string getDetail()const; - void setDetail(const std::string& detail); - std::string getRemindName()const; - void setRemindName(const std::string& remindName); - long getProjectId()const; - void setProjectId(long projectId); - std::string getNodeIds()const; - void setNodeIds(const std::string& nodeIds); - - private: - std::string dndEnd_; - std::string alertUnit_; - std::string remindUnit_; - int alertInterval_; - std::string alertMethods_; - std::string robotUrls_; - int maxAlertTimes_; - std::string bizProcessIds_; - std::string remindType_; - std::string alertTargets_; - std::string baselineIds_; - std::string detail_; - std::string remindName_; - long projectId_; - std::string nodeIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindResult.h deleted file mode 100644 index 150684993..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRemindResult : public ServiceResult - { - public: - - - CreateRemindResult(); - explicit CreateRemindResult(const std::string &payload); - ~CreateRemindResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h deleted file mode 100644 index 9d7fa586d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateUdfFileRequest : public RpcServiceRequest - { - - public: - CreateUdfFileRequest(); - ~CreateUdfFileRequest(); - - std::string getReturnValue()const; - void setReturnValue(const std::string& returnValue); - std::string getResources()const; - void setResources(const std::string& resources); - std::string getFunctionType()const; - void setFunctionType(const std::string& functionType); - std::string getCmdDescription()const; - void setCmdDescription(const std::string& cmdDescription); - std::string getUdfDescription()const; - void setUdfDescription(const std::string& udfDescription); - std::string getParameterDescription()const; - void setParameterDescription(const std::string& parameterDescription); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getExample()const; - void setExample(const std::string& example); - std::string getFileName()const; - void setFileName(const std::string& fileName); - std::string getClassName()const; - void setClassName(const std::string& className); - std::string getFileFolderPath()const; - void setFileFolderPath(const std::string& fileFolderPath); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string returnValue_; - std::string resources_; - std::string functionType_; - std::string cmdDescription_; - std::string udfDescription_; - std::string parameterDescription_; - std::string projectIdentifier_; - std::string example_; - std::string fileName_; - std::string className_; - std::string fileFolderPath_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h deleted file mode 100644 index 9c2acc100..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateUdfFileResult : public ServiceResult - { - public: - - - CreateUdfFileResult(); - explicit CreateUdfFileResult(const std::string &payload); - ~CreateUdfFileResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h deleted file mode 100644 index e92cd08ec..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteBusinessRequest : public RpcServiceRequest - { - - public: - DeleteBusinessRequest(); - ~DeleteBusinessRequest(); - - long getBusinessId()const; - void setBusinessId(long businessId); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - long businessId_; - long projectId_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h deleted file mode 100644 index 2fdca8cf6..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteBusinessResult : public ServiceResult - { - public: - - - DeleteBusinessResult(); - explicit DeleteBusinessResult(const std::string &payload); - ~DeleteBusinessResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h deleted file mode 100644 index 41a03c35d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteConnectionRequest : public RpcServiceRequest - { - - public: - DeleteConnectionRequest(); - ~DeleteConnectionRequest(); - - long getConnectionId()const; - void setConnectionId(long connectionId); - - private: - long connectionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h deleted file mode 100644 index 11ce8c2c8..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteConnectionResult : public ServiceResult - { - public: - - - DeleteConnectionResult(); - explicit DeleteConnectionResult(const std::string &payload); - ~DeleteConnectionResult(); - std::string getHttpStatusCode()const; - bool getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - std::string httpStatusCode_; - bool data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h deleted file mode 100644 index 5079ac681..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataServiceApiRequest : public RpcServiceRequest - { - - public: - DeleteDataServiceApiRequest(); - ~DeleteDataServiceApiRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h deleted file mode 100644 index 0ccb9b68e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataServiceApiResult : public ServiceResult - { - public: - - - DeleteDataServiceApiResult(); - explicit DeleteDataServiceApiResult(const std::string &payload); - ~DeleteDataServiceApiResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h deleted file mode 100644 index ec04e5304..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFolderRequest : public RpcServiceRequest - { - - public: - DeleteFolderRequest(); - ~DeleteFolderRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - - private: - long projectId_; - std::string projectIdentifier_; - std::string folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderResult.h deleted file mode 100644 index 0796d4a0c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFolderResult : public ServiceResult - { - public: - - - DeleteFolderResult(); - explicit DeleteFolderResult(const std::string &payload); - ~DeleteFolderResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h deleted file mode 100644 index 86a54b8a9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFromMetaCategoryRequest : public RpcServiceRequest - { - - public: - DeleteFromMetaCategoryRequest(); - ~DeleteFromMetaCategoryRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - std::string tableGuid_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h deleted file mode 100644 index 4382957ae..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFromMetaCategoryResult : public ServiceResult - { - public: - - - DeleteFromMetaCategoryResult(); - explicit DeleteFromMetaCategoryResult(const std::string &payload); - ~DeleteFromMetaCategoryResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h deleted file mode 100644 index a7d3468d9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 deleted file mode 100644 index a1ef5aa0f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteMetaCategoryResult : public ServiceResult - { - public: - - - DeleteMetaCategoryResult(); - explicit DeleteMetaCategoryResult(const std::string &payload); - ~DeleteMetaCategoryResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h deleted file mode 100644 index 05855e688..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteProjectMemberRequest : public RpcServiceRequest - { - - public: - DeleteProjectMemberRequest(); - ~DeleteProjectMemberRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - long projectId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h deleted file mode 100644 index effaab764..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityEntityRequest : public RpcServiceRequest - { - - public: - DeleteQualityEntityRequest(); - ~DeleteQualityEntityRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - long getEntityId()const; - void setEntityId(long entityId); - - private: - std::string projectName_; - std::string envType_; - long entityId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h deleted file mode 100644 index f0a00865a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityEntityResult : public ServiceResult - { - public: - - - DeleteQualityEntityResult(); - explicit DeleteQualityEntityResult(const std::string &payload); - ~DeleteQualityEntityResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h deleted file mode 100644 index 0c1c87ced..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityFollowerRequest : public RpcServiceRequest - { - - public: - DeleteQualityFollowerRequest(); - ~DeleteQualityFollowerRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getFollowerId()const; - void setFollowerId(long followerId); - - private: - std::string projectName_; - long followerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h deleted file mode 100644 index fc240d9ab..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityFollowerResult : public ServiceResult - { - public: - - - DeleteQualityFollowerResult(); - explicit DeleteQualityFollowerResult(const std::string &payload); - ~DeleteQualityFollowerResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h deleted file mode 100644 index 49078a9d1..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRelativeNodeRequest : public RpcServiceRequest - { - - public: - DeleteQualityRelativeNodeRequest(); - ~DeleteQualityRelativeNodeRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getTargetNodeProjectId()const; - void setTargetNodeProjectId(long targetNodeProjectId); - std::string getMatchExpression()const; - void setMatchExpression(const std::string& matchExpression); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - std::string getTargetNodeProjectName()const; - void setTargetNodeProjectName(const std::string& targetNodeProjectName); - std::string getTableName()const; - void setTableName(const std::string& tableName); - long getNodeId()const; - void setNodeId(long nodeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectName_; - long targetNodeProjectId_; - std::string matchExpression_; - std::string envType_; - std::string targetNodeProjectName_; - std::string tableName_; - long nodeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h deleted file mode 100644 index e6d07dc02..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRelativeNodeResult : public ServiceResult - { - public: - - - DeleteQualityRelativeNodeResult(); - explicit DeleteQualityRelativeNodeResult(const std::string &payload); - ~DeleteQualityRelativeNodeResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h deleted file mode 100644 index dbf73f4e1..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRuleResult : public ServiceResult - { - public: - - - DeleteQualityRuleResult(); - explicit DeleteQualityRuleResult(const std::string &payload); - ~DeleteQualityRuleResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h deleted file mode 100644 index 0e23cb301..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 deleted file mode 100644 index 27ba1c659..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteRemindResult : public ServiceResult - { - public: - - - DeleteRemindResult(); - explicit DeleteRemindResult(const std::string &payload); - ~DeleteRemindResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h deleted file mode 100644 index 01c69d1e3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeployFileRequest : public RpcServiceRequest - { - - public: - DeployFileRequest(); - ~DeployFileRequest(); - - std::string getComment()const; - void setComment(const std::string& comment); - long getProjectId()const; - void setProjectId(long projectId); - long getNodeId()const; - void setNodeId(long nodeId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string comment_; - long projectId_; - long nodeId_; - std::string projectIdentifier_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileResult.h deleted file mode 100644 index b199d6a46..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeployFileResult : public ServiceResult - { - public: - - - DeployFileResult(); - explicit DeployFileResult(const std::string &payload); - ~DeployFileResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h similarity index 57% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h index fa40f0763..fea06d632 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_ #include #include @@ -28,30 +28,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityEntityRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DescribeEmrHiveTableRequest : public RpcServiceRequest { public: - GetQualityEntityRequest(); - ~GetQualityEntityRequest(); + DescribeEmrHiveTableRequest(); + ~DescribeEmrHiveTableRequest(); - 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 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 projectName_; - std::string matchExpression_; - std::string envType_; + std::string databaseName_; + std::string clusterId_; std::string tableName_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h similarity index 52% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h index 1c6c7889c..6567c7b00 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_ #include #include @@ -29,62 +29,64 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableFullInfoResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DescribeEmrHiveTableResult : public ServiceResult { public: struct Data { - struct ColumnListItem + struct TableColumn { std::string columnName; std::string comment; - std::string columnGuid; + std::string gmtCreate; + int columnPosition; std::string columnType; - bool isPartitionColumn; - bool isForeignKey; - std::string caption; - bool isPrimaryKey; + std::string gmtModified; + std::string columnComment; }; - int lifeCycle; - std::string comment; - std::string projectName; - long lastDdlTime; - long createTime; - long totalColumnCount; - long projectId; - long lastModifyTime; - long lastAccessTime; - int envType; + std::string owner; + std::string tableType; + long tableSize; + std::string outputFormat; + std::string gmtModified; + std::string databaseName; + std::vector columns; + std::string lastAccessTime; + std::string lastModifyTime; + bool isTemporary; + std::string serializationLib; std::string tableName; - std::string tableGuid; - long tenantId; + std::string ownerType; + std::string gmtCreate; + std::string tableComment; + std::string clusterBizName; std::string ownerId; - long dataSize; - std::vector columnList; - int isVisible; + std::string clusterBizId; + std::string inputFormat; + std::string partitionKeys; + bool isCompressed; + std::string tableDesc; + std::string tableParameters; + std::string location; }; - GetMetaTableFullInfoResult(); - explicit GetMetaTableFullInfoResult(const std::string &payload); - ~GetMetaTableFullInfoResult(); - int getHttpStatusCode()const; + DescribeEmrHiveTableResult(); + explicit DescribeEmrHiveTableResult(const std::string &payload); + ~DescribeEmrHiveTableResult(); Data getData()const; std::string getErrorCode()const; std::string getErrorMessage()const; - bool getSuccess()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; Data data_; std::string errorCode_; std::string errorMessage_; - bool success_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h deleted file mode 100644 index 03f0d39ee..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT EstablishRelationTableToBusinessRequest : public RpcServiceRequest - { - - public: - EstablishRelationTableToBusinessRequest(); - ~EstablishRelationTableToBusinessRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getBusinessId()const; - void setBusinessId(const std::string& businessId); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - - private: - std::string tableGuid_; - std::string businessId_; - long projectId_; - std::string projectIdentifier_; - std::string folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h deleted file mode 100644 index 939359183..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT EstablishRelationTableToBusinessResult : public ServiceResult - { - public: - - - EstablishRelationTableToBusinessResult(); - explicit EstablishRelationTableToBusinessResult(const std::string &payload); - ~EstablishRelationTableToBusinessResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h deleted file mode 100644 index 9d51e46ee..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineConfigRequest : public RpcServiceRequest - { - - public: - GetBaselineConfigRequest(); - ~GetBaselineConfigRequest(); - - long getBaselineId()const; - void setBaselineId(long baselineId); - - private: - long baselineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h deleted file mode 100644 index b85090956..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineConfigResult : public ServiceResult - { - public: - struct Data - { - long baselineId; - bool isDefault; - int expHour; - std::string hourSlaDetail; - std::string owner; - int expMinu; - int slaHour; - int priority; - int slaMinu; - long projectId; - std::string hourExpDetail; - bool useFlag; - std::string baselineType; - std::string baselineName; - }; - - - GetBaselineConfigResult(); - explicit GetBaselineConfigResult(const std::string &payload); - ~GetBaselineConfigResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h deleted file mode 100644 index bf38b627d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineKeyPathRequest : public RpcServiceRequest - { - - public: - GetBaselineKeyPathRequest(); - ~GetBaselineKeyPathRequest(); - - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - int getInGroupId()const; - void setInGroupId(int inGroupId); - long getBaselineId()const; - void setBaselineId(long baselineId); - - private: - std::string bizdate_; - int inGroupId_; - long baselineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h deleted file mode 100644 index 1d3dbd1d3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineKeyPathResult : public ServiceResult - { - public: - struct DataItem - { - struct RunsItem - { - std::string status; - std::string owner; - long instanceId; - std::string nodeName; - long projectId; - long beginWaitTimeTime; - long cycTime; - long beginRunningTime; - long bizdate; - int inGroupId; - long beginCast; - long absTime; - long finishTime; - long nodeId; - long beginWaitResTime; - long endCast; - }; - struct TopicsItem - { - long instanceId; - long topicId; - long addTime; - long topicName; - }; - int prgType; - std::string owner; - std::vector topics; - long instanceId; - std::string nodeName; - long projectId; - long nodeId; - std::vector runs; - long bizdate; - int inGroupId; - }; - - - GetBaselineKeyPathResult(); - explicit GetBaselineKeyPathResult(const std::string &payload); - ~GetBaselineKeyPathResult(); - int getHttpStatusCode()const; - std::vector getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h deleted file mode 100644 index a881aa846..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineStatusRequest : public RpcServiceRequest - { - - public: - GetBaselineStatusRequest(); - ~GetBaselineStatusRequest(); - - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - int getInGroupId()const; - void setInGroupId(int inGroupId); - long getBaselineId()const; - void setBaselineId(long baselineId); - - private: - std::string bizdate_; - int inGroupId_; - long baselineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h deleted file mode 100644 index 130c6c5fb..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineStatusResult : public ServiceResult - { - public: - struct Data - { - struct LastInstance - { - std::string status; - std::string owner; - long finishTime; - long instanceId; - std::string nodeName; - long projectId; - long nodeId; - long endCast; - }; - struct BlockInstance - { - std::string status; - std::string owner; - long finishTime; - long instanceId; - std::string nodeName; - long projectId; - long nodeId; - long endCast; - }; - long baselineId; - float buffer; - std::string status; - std::string owner; - int priority; - std::string finishStatus; - long projectId; - long bizdate; - long expTime; - int inGroupId; - long finishTime; - BlockInstance blockInstance; - std::string baselineName; - long slaTime; - LastInstance lastInstance; - long endCast; - }; - - - GetBaselineStatusResult(); - explicit GetBaselineStatusResult(const std::string &payload); - ~GetBaselineStatusResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h deleted file mode 100644 index d0e14981f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBusinessRequest : public RpcServiceRequest - { - - public: - GetBusinessRequest(); - ~GetBusinessRequest(); - - long getBusinessId()const; - void setBusinessId(long businessId); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - long businessId_; - long projectId_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessResult.h deleted file mode 100644 index d3fbdbd42..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBusinessResult : public ServiceResult - { - public: - struct Data - { - std::string owner; - std::string description; - std::string businessName; - std::string useType; - std::string projectId; - long businessId; - }; - - - GetBusinessResult(); - explicit GetBusinessResult(const std::string &payload); - ~GetBusinessResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h deleted file mode 100644 index 4832766c1..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApiRequest : public RpcServiceRequest - { - - public: - GetDataServiceApiRequest(); - ~GetDataServiceApiRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h deleted file mode 100644 index 1e6c4af2b..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h +++ /dev/null @@ -1,177 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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; - RegistrationDetails registrationDetails; - std::string groupId; - long tenantId; - std::string modifiedTime; - ScriptDetails scriptDetails; - long apiId; - int apiMode; - std::string apiPath; - }; - - - GetDataServiceApiResult(); - explicit GetDataServiceApiResult(const std::string &payload); - ~GetDataServiceApiResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h deleted file mode 100644 index 9fd0fc7e9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApplicationRequest : public RpcServiceRequest - { - - public: - GetDataServiceApplicationRequest(); - ~GetDataServiceApplicationRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getApplicationId()const; - void setApplicationId(long applicationId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long tenantId_; - long applicationId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h deleted file mode 100644 index f4042b343..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApplicationResult : public ServiceResult - { - public: - struct Data - { - std::string applicationKey; - std::string applicationName; - std::string applicationSecret; - long projectId; - long applicationId; - std::string applicationCode; - }; - - - GetDataServiceApplicationResult(); - explicit GetDataServiceApplicationResult(const std::string &payload); - ~GetDataServiceApplicationResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h deleted file mode 100644 index 504f5c901..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServicePublishedApiRequest : public RpcServiceRequest - { - - public: - GetDataServicePublishedApiRequest(); - ~GetDataServicePublishedApiRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h deleted file mode 100644 index d7c5e7575..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServicePublishedApiResult : public ServiceResult - { - public: - struct Data - { - struct RegistrationDetails - { - struct RegistrationErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct RegistrationRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - std::string serviceRequestBodyDescription; - int serviceContentType; - std::string successfulResultSample; - std::string servicePath; - std::vector registrationErrorCodes; - std::string failedResultSample; - std::string serviceHost; - std::vector registrationRequestParameters; - }; - struct ScriptDetails - { - struct ScriptConnection - { - std::string tableName; - long connectionId; - }; - struct ScriptErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct ScriptRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct ScriptResponseParameter - { - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - std::string script; - std::vector scriptErrorCodes; - bool isPagedResponse; - std::string successfulResultSample; - std::vector scriptRequestParameters; - std::string failedResultSample; - std::vector scriptResponseParameters; - ScriptConnection scriptConnection; - }; - struct WizardDetails - { - struct WizardConnection - { - std::string tableName; - long connectionId; - }; - struct WizardErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct WizardRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct WizardResponseParameter - { - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - bool isPagedResponse; - std::vector wizardRequestParameters; - std::string successfulResultSample; - WizardConnection wizardConnection; - std::vector wizardErrorCodes; - std::vector wizardResponseParameters; - std::string failedResultSample; - }; - int status; - WizardDetails wizardDetails; - int visibleRange; - std::vector protocols; - std::string createdTime; - std::string description; - std::string apiName; - std::string creatorId; - int requestMethod; - int timeout; - long projectId; - int responseContentType; - std::string operatorId; - RegistrationDetails registrationDetails; - std::string groupId; - long tenantId; - std::string modifiedTime; - ScriptDetails scriptDetails; - long apiId; - int apiMode; - std::string apiPath; - }; - - - GetDataServicePublishedApiResult(); - explicit GetDataServicePublishedApiResult(const std::string &payload); - ~GetDataServicePublishedApiResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h deleted file mode 100644 index 8e9d74609..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDeploymentRequest : public RpcServiceRequest - { - - public: - GetDeploymentRequest(); - ~GetDeploymentRequest(); - - long getDeploymentId()const; - void setDeploymentId(long deploymentId); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - long deploymentId_; - long projectId_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentResult.h deleted file mode 100644 index 1e8139989..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentResult.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDeploymentResult : public ServiceResult - { - public: - struct Data - { - struct Deployment - { - int status; - std::string handlerId; - long executeTime; - std::string creatorId; - long createTime; - int toEnvironment; - int fromEnvironment; - std::string errorMessage; - std::string name; - }; - Deployment deployment; - }; - - - GetDeploymentResult(); - explicit GetDeploymentResult(const std::string &payload); - ~GetDeploymentResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileRequest.h deleted file mode 100644 index bf3be0811..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileRequest : public RpcServiceRequest - { - - public: - GetFileRequest(); - ~GetFileRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getFileId()const; - void setFileId(long fileId); - - private: - long projectId_; - std::string projectIdentifier_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h deleted file mode 100644 index 99ebe951a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileResult.h +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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; - bool stop; - std::string dependentType; - std::string cronExpress; - long endEffectDate; - int autoRerunIntervalMillis; - std::string dependentNodeIdList; - long startEffectDate; - int autoRerunTimes; - std::string rerunMode; - std::string paraValue; - std::vector outputList; - }; - File file; - NodeConfiguration nodeConfiguration; - }; - - - GetFileResult(); - explicit GetFileResult(const std::string &payload); - ~GetFileResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h deleted file mode 100644 index 2db9e0ea4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileVersionRequest : public RpcServiceRequest - { - - public: - GetFileVersionRequest(); - ~GetFileVersionRequest(); - - int getFileVersion()const; - void setFileVersion(int fileVersion); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getFileId()const; - void setFileId(long fileId); - - private: - int fileVersion_; - long projectId_; - std::string projectIdentifier_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionResult.h deleted file mode 100644 index 9ee7381b4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionResult.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileVersionResult : public ServiceResult - { - public: - struct Data - { - std::string status; - std::string comment; - std::string commitUser; - std::string filePropertyContent; - std::string fileName; - long commitTime; - std::string useType; - bool isCurrentProd; - std::string fileContent; - std::string changeType; - int fileVersion; - long nodeId; - std::string nodeContent; - }; - - - GetFileVersionResult(); - explicit GetFileVersionResult(const std::string &payload); - ~GetFileVersionResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h deleted file mode 100644 index 6a9af28da..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFolderRequest : public RpcServiceRequest - { - - public: - GetFolderRequest(); - ~GetFolderRequest(); - - std::string getFolderPath()const; - void setFolderPath(const std::string& folderPath); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - - private: - std::string folderPath_; - long projectId_; - std::string projectIdentifier_; - std::string folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderResult.h deleted file mode 100644 index d849058db..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFolderResult : public ServiceResult - { - public: - struct Data - { - std::string folderPath; - std::string folderId; - }; - - - GetFolderResult(); - explicit GetFolderResult(const std::string &payload); - ~GetFolderResult(); - 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_GETFOLDERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h deleted file mode 100644 index 63b6e4fcc..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceLogRequest : public RpcServiceRequest - { - - public: - GetInstanceLogRequest(); - ~GetInstanceLogRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h deleted file mode 100644 index 7c560290e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceLogResult : public ServiceResult - { - public: - - - GetInstanceLogResult(); - explicit GetInstanceLogResult(const std::string &payload); - ~GetInstanceLogResult(); - int getHttpStatusCode()const; - std::string getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h deleted file mode 100644 index 8f4382fb4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceRequest : public RpcServiceRequest - { - - public: - GetInstanceRequest(); - ~GetInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h deleted file mode 100644 index 78888fd88..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaCategoryRequest : public RpcServiceRequest - { - - public: - GetMetaCategoryRequest(); - ~GetMetaCategoryRequest(); - - long getParentCategoryId()const; - void setParentCategoryId(long parentCategoryId); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNum()const; - void setPageNum(int pageNum); - - private: - long parentCategoryId_; - int pageSize_; - int pageNum_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h deleted file mode 100644 index fcb3f053f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaCategoryResult : public ServiceResult - { - public: - struct Data - { - struct DataEntityListItem - { - long categoryId; - std::string comment; - long modifiedTime; - std::string ownerId; - std::string lastOperatorId; - long createTime; - long parentCategoryId; - int depth; - std::string name; - }; - long totalCount; - int pageNum; - int pageSize; - std::vector dataEntityList; - }; - - - GetMetaCategoryResult(); - explicit GetMetaCategoryResult(const std::string &payload); - ~GetMetaCategoryResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h deleted file mode 100644 index 1ee52c94d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 getColumnGuid()const; - void setColumnGuid(const std::string& columnGuid); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNum()const; - void setPageNum(int pageNum); - std::string getDirection()const; - void setDirection(const std::string& direction); - - private: - std::string columnGuid_; - int pageSize_; - int pageNum_; - 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/GetMetaColumnLineageResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h deleted file mode 100644 index fe49c4b15..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaColumnLineageResult : public ServiceResult - { - public: - struct Data - { - struct DataEntityListItem - { - std::string columnName; - std::string columnGuid; - }; - long totalCount; - int pageNum; - int pageSize; - std::vector dataEntityList; - }; - - - 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_GETMETACOLUMNLINEAGERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h deleted file mode 100644 index 2a8c08e64..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h +++ /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. - */ - -#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; - long tenantId; - std::string ownerName; - std::string endpoint; - std::string ownerId; - std::string projectName; - std::string projectNameCn; - long createTime; - long projectId; - std::string appGuid; - int envType; - }; - - - GetMetaDBInfoResult(); - explicit GetMetaDBInfoResult(const std::string &payload); - ~GetMetaDBInfoResult(); - 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_GETMETADBINFORESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h deleted file mode 100644 index 568ff7656..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBTableListRequest : public RpcServiceRequest - { - - public: - GetMetaDBTableListRequest(); - ~GetMetaDBTableListRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - std::string appGuid_; - int pageNumber_; - - }; - } - } -} -#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 deleted file mode 100644 index 60f1879af..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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; - }; - long totalCount; - int pageSize; - int pageNumber; - std::vector tableEntityList; - }; - - - GetMetaDBTableListResult(); - explicit GetMetaDBTableListResult(const std::string &payload); - ~GetMetaDBTableListResult(); - 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_GETMETADBTABLELISTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h deleted file mode 100644 index 5bd391905..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableBasicInfoRequest : public RpcServiceRequest - { - - public: - GetMetaTableBasicInfoRequest(); - ~GetMetaTableBasicInfoRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - - private: - std::string tableGuid_; - - }; - } - } -} -#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 deleted file mode 100644 index 9821dfc69..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h +++ /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. - */ - -#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; - long lastDdlTime; - long createTime; - long projectId; - long lastModifyTime; - long lastAccessTime; - int envType; - std::string tableName; - std::string tableGuid; - long tenantId; - std::string ownerId; - long dataSize; - int isVisible; - }; - - - GetMetaTableBasicInfoResult(); - explicit GetMetaTableBasicInfoResult(const std::string &payload); - ~GetMetaTableBasicInfoResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFORESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h deleted file mode 100644 index 35c032dd9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableChangeLogRequest : public RpcServiceRequest - { - - public: - GetMetaTableChangeLogRequest(); - ~GetMetaTableChangeLogRequest(); - - std::string getStartDate()const; - void setStartDate(const std::string& startDate); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getChangeType()const; - void setChangeType(const std::string& changeType); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getObjectType()const; - void setObjectType(const std::string& objectType); - - private: - std::string startDate_; - int pageNumber_; - std::string endDate_; - std::string tableGuid_; - std::string changeType_; - int pageSize_; - std::string objectType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h deleted file mode 100644 index cd796cc0d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableChangeLogResult : public ServiceResult - { - public: - struct Data - { - struct DataEntityListItem - { - std::string objectType; - std::string changeContent; - long modifiedTime; - std::string changeType; - long createTime; - std::string _operator; - }; - long totalCount; - int pageSize; - std::vector dataEntityList; - int pageNumber; - }; - - - GetMetaTableChangeLogResult(); - explicit GetMetaTableChangeLogResult(const std::string &payload); - ~GetMetaTableChangeLogResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h deleted file mode 100644 index ea0458434..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNum()const; - void setPageNum(int pageNum); - - private: - std::string tableGuid_; - int pageSize_; - int pageNum_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h deleted file mode 100644 index ce144cfd7..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableFullInfoRequest : public RpcServiceRequest - { - - public: - GetMetaTableFullInfoRequest(); - ~GetMetaTableFullInfoRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNum()const; - void setPageNum(int pageNum); - - private: - std::string tableGuid_; - int pageSize_; - int pageNum_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h deleted file mode 100644 index 6da858faf..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableIntroWikiRequest : public RpcServiceRequest - { - - public: - GetMetaTableIntroWikiRequest(); - ~GetMetaTableIntroWikiRequest(); - - long getWikiVersion()const; - void setWikiVersion(long wikiVersion); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - - private: - long wikiVersion_; - std::string tableGuid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h deleted file mode 100644 index 593a66672..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableIntroWikiResult : public ServiceResult - { - public: - struct Data - { - long modifiedTime; - long version; - std::string content; - long createTime; - std::string creator; - std::string creatorName; - }; - - - GetMetaTableIntroWikiResult(); - explicit GetMetaTableIntroWikiResult(const std::string &payload); - ~GetMetaTableIntroWikiResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h deleted file mode 100644 index d7e439ded..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getNextPrimaryKey()const; - void setNextPrimaryKey(const std::string& nextPrimaryKey); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getDirection()const; - void setDirection(const std::string& direction); - - private: - std::string tableGuid_; - std::string nextPrimaryKey_; - int pageSize_; - 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/GetMetaTableListByCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryResult.h deleted file mode 100644 index 76c65f372..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableListByCategoryResult : public ServiceResult - { - public: - struct Data - { - std::vector tableGuidList; - long totalCount; - int pageSize; - int pageNumber; - }; - - - GetMetaTableListByCategoryResult(); - explicit GetMetaTableListByCategoryResult(const std::string &payload); - ~GetMetaTableListByCategoryResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h deleted file mode 100644 index b6b089b5d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableOutputRequest : public RpcServiceRequest - { - - public: - GetMetaTableOutputRequest(); - ~GetMetaTableOutputRequest(); - - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStartDate()const; - void setStartDate(const std::string& startDate); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string endDate_; - std::string tableGuid_; - int pageSize_; - std::string startDate_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h deleted file mode 100644 index 936654d79..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableOutputResult : public ServiceResult - { - public: - struct Data - { - struct DataEntityListItem - { - long taskInstanceId; - std::string tableGuid; - std::string taskId; - std::string endTime; - std::string startTime; - long projectId; - std::string waitTime; - }; - long totalCount; - int pageSize; - std::vector dataEntityList; - int pageNumber; - }; - - - GetMetaTableOutputResult(); - explicit GetMetaTableOutputResult(const std::string &payload); - ~GetMetaTableOutputResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h deleted file mode 100644 index 34b19e147..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTablePartitionRequest : public RpcServiceRequest - { - - public: - GetMetaTablePartitionRequest(); - ~GetMetaTablePartitionRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string tableGuid_; - int pageSize_; - int pageNumber_; - - }; - } - } -} -#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 deleted file mode 100644 index 34f1976ee..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 tableGuid; - long modifiedTime; - long createTime; - long dataSize; - long recordCount; - }; - 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/GetNodeCodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h deleted file mode 100644 index 331bdb157..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeCodeRequest : public RpcServiceRequest - { - - public: - GetNodeCodeRequest(); - ~GetNodeCodeRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h deleted file mode 100644 index 7e99d73f0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeCodeResult : public ServiceResult - { - public: - - - GetNodeCodeResult(); - explicit GetNodeCodeResult(const std::string &payload); - ~GetNodeCodeResult(); - int getHttpStatusCode()const; - std::string getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h deleted file mode 100644 index 246b8ec68..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeOnBaselineRequest : public RpcServiceRequest - { - - public: - GetNodeOnBaselineRequest(); - ~GetNodeOnBaselineRequest(); - - long getBaselineId()const; - void setBaselineId(long baselineId); - - private: - long baselineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.h deleted file mode 100644 index 37c695ed5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeOnBaselineResult : public ServiceResult - { - public: - struct DataItem - { - std::string owner; - std::string nodeName; - long nodeId; - long projectId; - }; - - - GetNodeOnBaselineResult(); - explicit GetNodeOnBaselineResult(const std::string &payload); - ~GetNodeOnBaselineResult(); - int getHttpStatusCode()const; - std::vector getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - std::string getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - std::string errorCode_; - std::string errorMessage_; - std::string success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h deleted file mode 100644 index e60555770..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeRequest : public RpcServiceRequest - { - - public: - GetNodeRequest(); - ~GetNodeRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h deleted file mode 100644 index b25ecd04f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetProjectDetailRequest : public RpcServiceRequest - { - - public: - GetProjectDetailRequest(); - ~GetProjectDetailRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h deleted file mode 100644 index 1144f518a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetProjectDetailResult : public ServiceResult - { - public: - struct Data - { - std::string projectIdentifier; - int status; - std::string projectOwnerBaseId; - int schedulerMaxRetryTimes; - std::string projectName; - int isAllowDownload; - std::string gmtModified; - int projectId; - int developmentType; - std::string residentArea; - std::string gmtCreate; - long tenantId; - int protectedMode; - std::string defaultDiResourceGroupIdentifier; - int projectMode; - std::string projectDescription; - std::vector envTypes; - int schedulerRetryInterval; - }; - - - GetProjectDetailResult(); - explicit GetProjectDetailResult(const std::string &payload); - ~GetProjectDetailResult(); - int getHttpStatusCode()const; - Data getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h deleted file mode 100644 index 3fb2536bc..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h +++ /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. - */ - -#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/GetQualityFollowerResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerResult.h deleted file mode 100644 index 52e99219b..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 deleted file mode 100644 index e2954ef76..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 deleted file mode 100644 index d4db73e84..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleResult.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 deleted file mode 100644 index 15fb340f0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetRemindRequest : public RpcServiceRequest - { - - public: - GetRemindRequest(); - ~GetRemindRequest(); - - long getRemindId()const; - void setRemindId(long remindId); - - private: - long remindId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindResult.h deleted file mode 100644 index fe49c373e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindResult.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetRemindResult : public ServiceResult - { - public: - struct Data - { - struct RobotsItem - { - bool atAll; - std::string webUrl; - }; - struct NodesItem - { - std::string owner; - std::string nodeName; - long nodeId; - long projectId; - }; - struct BaselinesItem - { - long baselineId; - std::string baselineName; - }; - struct ProjectsItem - { - long projectId; - }; - struct BizProcessesItem - { - std::string bizProcessName; - long bizId; - }; - int alertInterval; - std::vector bizProcesses; - std::string dndStart; - std::string dndEnd; - std::string alertUnit; - std::vector alertMethods; - std::vector projects; - std::string remindType; - std::string founder; - std::vector nodes; - std::vector baselines; - long remindId; - std::string remindUnit; - std::vector alertTargets; - bool useflag; - std::vector robots; - std::string detail; - std::string remindName; - int maxAlertTimes; - }; - - - GetRemindResult(); - explicit GetRemindResult(const std::string &payload); - ~GetRemindResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h deleted file mode 100644 index 0cc6f0583..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetTopicInfluenceRequest : public RpcServiceRequest - { - - public: - GetTopicInfluenceRequest(); - ~GetTopicInfluenceRequest(); - - long getTopicId()const; - void setTopicId(long topicId); - - private: - long topicId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h deleted file mode 100644 index 51a236034..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetTopicInfluenceResult : public ServiceResult - { - public: - struct Data - { - struct InfluencesItem - { - long baselineId; - std::string status; - long buffer; - std::string owner; - int priority; - std::string baselineName; - long projectId; - long bizdate; - int inGroupId; - }; - std::vector influences; - long topicId; - }; - - - GetTopicInfluenceResult(); - explicit GetTopicInfluenceResult(const std::string &payload); - ~GetTopicInfluenceResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h deleted file mode 100644 index 8b63c775a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetTopicRequest : public RpcServiceRequest - { - - public: - GetTopicRequest(); - ~GetTopicRequest(); - - long getTopicId()const; - void setTopicId(long topicId); - - private: - long topicId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicResult.h deleted file mode 100644 index c058190c4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicResult.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetTopicResult : public ServiceResult - { - public: - struct Data - { - long baselineId; - long buffer; - long fixTime; - std::string owner; - long instanceId; - std::string nodeName; - std::string baselineStatus; - long projectId; - std::string topicStatus; - long addTime; - long happenTime; - long alertTime; - int baselineInGroupId; - std::string topicName; - std::string topicType; - std::string assigner; - std::string dealUser; - long nextAlertTime; - std::string baselineName; - long nodeId; - long topicId; - long baselineBuffer; - long dealTime; - }; - - - GetTopicResult(); - explicit GetTopicResult(const std::string &payload); - ~GetTopicResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h deleted file mode 100644 index 9d86c0ac2..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListAlertMessagesRequest : public RpcServiceRequest - { - - public: - ListAlertMessagesRequest(); - ~ListAlertMessagesRequest(); - - std::string getAlertUser()const; - void setAlertUser(const std::string& alertUser); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getBeginTime()const; - void setBeginTime(const std::string& beginTime); - std::string getAlertMethods()const; - void setAlertMethods(const std::string& alertMethods); - int getPageNumber()const; - void setPageNumber(int pageNumber); - long getRemindId()const; - void setRemindId(long remindId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getAlertRuleTypes()const; - void setAlertRuleTypes(const std::string& alertRuleTypes); - - private: - std::string alertUser_; - std::string endTime_; - std::string beginTime_; - std::string alertMethods_; - int pageNumber_; - long remindId_; - int pageSize_; - std::string alertRuleTypes_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h deleted file mode 100644 index c6353a375..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListAlertMessagesResult : public ServiceResult - { - public: - struct Data - { - struct AlertMessagesItem - { - struct SlaAlert - { - long baselineId; - std::string status; - std::string baselineOwner; - std::string baselineName; - long projectId; - long bizdate; - int inGroupId; - }; - struct InstancesItem - { - std::string status; - std::string nodeName; - long instanceId; - long nodeId; - long projectId; - }; - struct TopicsItem - { - std::string topicOwner; - long instanceId; - long nodeId; - long topicId; - std::string topicStatus; - std::string topicName; - }; - struct NodesItem - { - std::string owner; - std::string nodeName; - long nodeId; - long projectId; - }; - std::string alertUser; - std::string alertMessageStatus; - std::vector topics; - std::string alertMethod; - std::vector nodes; - long alertTime; - std::string source; - std::vector instances; - long remindId; - long alertId; - std::string content; - SlaAlert slaAlert; - std::string remindName; - }; - std::string totalCount; - std::string pageSize; - std::string pageNumber; - std::vector alertMessages; - }; - - - ListAlertMessagesResult(); - explicit ListAlertMessagesResult(const std::string &payload); - ~ListAlertMessagesResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h deleted file mode 100644 index 22c451c10..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBaselineConfigsRequest : public RpcServiceRequest - { - - public: - ListBaselineConfigsRequest(); - ~ListBaselineConfigsRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getSearchText()const; - void setSearchText(const std::string& searchText); - bool getUseflag()const; - void setUseflag(bool useflag); - std::string getPriority()const; - void setPriority(const std::string& priority); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - long getProjectId()const; - void setProjectId(long projectId); - std::string getBaselineTypes()const; - void setBaselineTypes(const std::string& baselineTypes); - - private: - std::string owner_; - std::string searchText_; - bool useflag_; - std::string priority_; - int pageNumber_; - int pageSize_; - long projectId_; - std::string baselineTypes_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h deleted file mode 100644 index 940ae37aa..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBaselineConfigsResult : public ServiceResult - { - public: - struct Data - { - struct BaselinesItem - { - long baselineId; - bool isDefault; - int expHour; - std::string hourSlaDetail; - std::string owner; - int expMinu; - int slaHour; - int priority; - int slaMinu; - long projectId; - std::string hourExpDetail; - bool useFlag; - std::string baselineType; - std::string baselineName; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector baselines; - }; - - - ListBaselineConfigsResult(); - explicit ListBaselineConfigsResult(const std::string &payload); - ~ListBaselineConfigsResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h deleted file mode 100644 index 6a7c3c74a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBaselineStatusesRequest : public RpcServiceRequest - { - - public: - ListBaselineStatusesRequest(); - ~ListBaselineStatusesRequest(); - - std::string getSearchText()const; - void setSearchText(const std::string& searchText); - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getPriority()const; - void setPriority(const std::string& priority); - int getPageNumber()const; - void setPageNumber(int pageNumber); - long getTopicId()const; - void setTopicId(long topicId); - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - std::string getFinishStatus()const; - void setFinishStatus(const std::string& finishStatus); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getBaselineTypes()const; - void setBaselineTypes(const std::string& baselineTypes); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string searchText_; - std::string owner_; - std::string priority_; - int pageNumber_; - long topicId_; - std::string bizdate_; - std::string finishStatus_; - int pageSize_; - std::string baselineTypes_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h deleted file mode 100644 index 8896351de..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBaselineStatusesResult : public ServiceResult - { - public: - struct Data - { - struct BaselineStatusesItem - { - long baselineId; - long buffer; - std::string status; - std::string owner; - int priority; - std::string finishStatus; - long projectId; - long bizdate; - long expTime; - int inGroupId; - long finishTime; - std::string baselineName; - long slaTime; - long endCast; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector baselineStatuses; - }; - - - ListBaselineStatusesResult(); - explicit ListBaselineStatusesResult(const std::string &payload); - ~ListBaselineStatusesResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h deleted file mode 100644 index ced0b9f1b..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBusinessRequest : public RpcServiceRequest - { - - public: - ListBusinessRequest(); - ~ListBusinessRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - std::string keyword_; - long projectId_; - std::string projectIdentifier_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h deleted file mode 100644 index 439504129..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCalcEnginesRequest : public RpcServiceRequest - { - - public: - ListCalcEnginesRequest(); - ~ListCalcEnginesRequest(); - - std::string getCalcEngineType()const; - void setCalcEngineType(const std::string& calcEngineType); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getName()const; - void setName(const std::string& name); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - int getPageSize()const; - void setPageSize(int pageSize); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string calcEngineType_; - int pageNumber_; - std::string name_; - std::string envType_; - int pageSize_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h deleted file mode 100644 index d85e6437a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCalcEnginesResult : public ServiceResult - { - public: - struct Data - { - struct CalcEnginesItem - { - bool isDefault; - int engineId; - std::string taskAuthType; - std::string dwRegion; - std::string calcEngineType; - std::string envType; - std::string name; - int bindingProjectId; - std::string engineInfo; - std::string gmtCreate; - long tenantId; - std::string bindingProjectName; - std::string region; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector calcEngines; - }; - - - ListCalcEnginesResult(); - explicit ListCalcEnginesResult(const std::string &payload); - ~ListCalcEnginesResult(); - int getHttpStatusCode()const; - Data getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h deleted file mode 100644 index e30140f0f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListConnectionsRequest : public RpcServiceRequest - { - - public: - ListConnectionsRequest(); - ~ListConnectionsRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSubType()const; - void setSubType(const std::string& subType); - std::string getName()const; - void setName(const std::string& name); - int getEnvType()const; - void setEnvType(int envType); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getConnectionType()const; - void setConnectionType(const std::string& connectionType); - long getProjectId()const; - void setProjectId(long projectId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - int pageNumber_; - std::string subType_; - std::string name_; - int envType_; - int pageSize_; - std::string connectionType_; - long projectId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsResult.h deleted file mode 100644 index 0d838980c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsResult.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListConnectionsResult : public ServiceResult - { - public: - struct Data - { - struct ConnectionsItem - { - int status; - int connectStatus; - std::string description; - std::string subType; - int bindingCalcEngineId; - std::string connectionType; - std::string gmtModified; - int projectId; - std::string _operator; - int sequence; - bool shared; - int envType; - bool defaultEngine; - std::string name; - std::string gmtCreate; - long tenantId; - std::string content; - int id; - }; - std::vector connections; - int totalCount; - int pageSize; - int pageNumber; - }; - - - ListConnectionsResult(); - explicit ListConnectionsResult(const std::string &payload); - ~ListConnectionsResult(); - int getHttpStatusCode()const; - Data getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h deleted file mode 100644 index c956930b4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApiAuthoritiesRequest : public RpcServiceRequest - { - - public: - ListDataServiceApiAuthoritiesRequest(); - ~ListDataServiceApiAuthoritiesRequest(); - - std::string getApiNameKeyword()const; - void setApiNameKeyword(const std::string& apiNameKeyword); - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string apiNameKeyword_; - int pageSize_; - long tenantId_; - long projectId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h deleted file mode 100644 index 30e4de256..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApiAuthoritiesResult : public ServiceResult - { - public: - struct Data - { - struct ApiAuthorization - { - struct AuthorizationRecord - { - std::string createdTime; - std::string endTime; - std::string creatorId; - long projectId; - }; - long tenantId; - std::string createdTime; - std::vector authorizationRecords; - std::string modifiedTime; - std::string apiName; - std::string creatorId; - int apiStatus; - long projectId; - long apiId; - std::string apiPath; - std::string groupId; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector apiAuthorizationList; - }; - - - ListDataServiceApiAuthoritiesResult(); - explicit ListDataServiceApiAuthoritiesResult(const std::string &payload); - ~ListDataServiceApiAuthoritiesResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h deleted file mode 100644 index c83934dde..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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; - RegistrationDetails registrationDetails; - std::string groupId; - long tenantId; - std::string modifiedTime; - ScriptDetails scriptDetails; - long apiId; - int apiMode; - std::string apiPath; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector apis; - }; - - - ListDataServiceApisResult(); - explicit ListDataServiceApisResult(const std::string &payload); - ~ListDataServiceApisResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h deleted file mode 100644 index 85bfcb32a..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApplicationsRequest : public RpcServiceRequest - { - - public: - ListDataServiceApplicationsRequest(); - ~ListDataServiceApplicationsRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getProjectIdList()const; - void setProjectIdList(const std::string& projectIdList); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - long tenantId_; - std::string projectIdList_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h deleted file mode 100644 index 176cab0f0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApplicationsResult : public ServiceResult - { - public: - struct Data - { - struct Application - { - std::string applicationName; - long projectId; - long applicationId; - }; - int totalCount; - std::vector applications; - int pageSize; - int pageNumber; - }; - - - ListDataServiceApplicationsResult(); - explicit ListDataServiceApplicationsResult(const std::string &payload); - ~ListDataServiceApplicationsResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h deleted file mode 100644 index 47054ab3d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceAuthorizedApisRequest : public RpcServiceRequest - { - - public: - ListDataServiceAuthorizedApisRequest(); - ~ListDataServiceAuthorizedApisRequest(); - - std::string getApiNameKeyword()const; - void setApiNameKeyword(const std::string& apiNameKeyword); - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string apiNameKeyword_; - int pageSize_; - long tenantId_; - long projectId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h deleted file mode 100644 index 4b747ec12..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceAuthorizedApisResult : public ServiceResult - { - public: - struct Data - { - struct ApiAuthorized - { - std::string grantEndTime; - std::string createdTime; - std::string apiName; - std::string creatorId; - int apiStatus; - long projectId; - std::string grantCreatedTime; - std::string groupId; - long tenantId; - std::string modifiedTime; - std::string grantOperatorId; - long apiId; - std::string apiPath; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector apiAuthorizedList; - }; - - - ListDataServiceAuthorizedApisResult(); - explicit ListDataServiceAuthorizedApisResult(const std::string &payload); - ~ListDataServiceAuthorizedApisResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h deleted file mode 100644 index 9fc1a5702..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServicePublishedApisRequest : public RpcServiceRequest - { - - public: - ListDataServicePublishedApisRequest(); - ~ListDataServicePublishedApisRequest(); - - std::string getApiNameKeyword()const; - void setApiNameKeyword(const std::string& apiNameKeyword); - std::string getApiPathKeyword()const; - void setApiPathKeyword(const std::string& apiPathKeyword); - std::string getCreatorId()const; - void setCreatorId(const std::string& creatorId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string apiNameKeyword_; - std::string apiPathKeyword_; - std::string creatorId_; - int pageNumber_; - int pageSize_; - long tenantId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h deleted file mode 100644 index b0982674d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServicePublishedApisResult : public ServiceResult - { - public: - struct Data - { - struct Api - { - struct RegistrationDetails - { - struct RegistrationErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct RegistrationRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - std::string serviceRequestBodyDescription; - int serviceContentType; - std::string successfulResultSample; - std::string servicePath; - std::vector registrationErrorCodes; - std::string failedResultSample; - std::string serviceHost; - std::vector registrationRequestParameters; - }; - struct ScriptDetails - { - struct ScriptConnection - { - std::string tableName; - long connectionId; - }; - struct ScriptErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct ScriptRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct ScriptResponseParameter - { - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - std::string script; - std::vector scriptErrorCodes; - bool isPagedResponse; - std::string successfulResultSample; - std::vector scriptRequestParameters; - std::string failedResultSample; - std::vector scriptResponseParameters; - ScriptConnection scriptConnection; - }; - struct WizardDetails - { - struct WizardConnection - { - std::string tableName; - long connectionId; - }; - struct WizardErrorCode - { - std::string errorCode; - std::string errorMessage; - std::string errorSolution; - }; - struct WizardRequestParameter - { - std::string defaultValue; - std::string exampleValue; - int parameterDataType; - int parameterPosition; - std::string parameterName; - int parameterOperator; - std::string parameterDescription; - bool isRequiredParameter; - }; - struct WizardResponseParameter - { - std::string exampleValue; - int parameterDataType; - std::string parameterName; - std::string parameterDescription; - }; - bool isPagedResponse; - std::vector wizardRequestParameters; - std::string successfulResultSample; - WizardConnection wizardConnection; - std::vector wizardErrorCodes; - std::vector wizardResponseParameters; - std::string failedResultSample; - }; - int status; - WizardDetails wizardDetails; - int visibleRange; - std::vector protocols; - std::string createdTime; - std::string description; - std::string apiName; - std::string creatorId; - int requestMethod; - int timeout; - long projectId; - int responseContentType; - std::string operatorId; - RegistrationDetails registrationDetails; - std::string groupId; - long tenantId; - std::string modifiedTime; - ScriptDetails scriptDetails; - long apiId; - int apiMode; - std::string apiPath; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector apis; - }; - - - ListDataServicePublishedApisResult(); - explicit ListDataServicePublishedApisResult(const std::string &payload); - ~ListDataServicePublishedApisResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h similarity index 54% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h index 7d552f4e7..5f02ff6b4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSREQUEST_H_ #include #include @@ -28,33 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFoldersRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveAuditLogsRequest : public RpcServiceRequest { public: - ListFoldersRequest(); - ~ListFoldersRequest(); + ListEmrHiveAuditLogsRequest(); + ~ListEmrHiveAuditLogsRequest(); + std::string getDatabaseName()const; + void setDatabaseName(const std::string& databaseName); 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 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 databaseName_; int pageSize_; - std::string parentFolderPath_; - long projectId_; - std::string projectIdentifier_; + int endTime_; + std::string clusterId_; + int startTime_; + std::string tableName_; int pageNumber_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h similarity index 64% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h index 21cfae297..3e451dacf 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSRESULT_H_ #include #include @@ -29,43 +29,43 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFoldersResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveAuditLogsResult : public ServiceResult { public: struct Data { - struct FoldersItem + struct AuditLog { - std::string folderPath; - std::string folderId; + std::string table; + std::string user; + long eventTime; + std::vector groups; + std::string database; + std::string operation; }; int totalCount; int pageSize; int pageNumber; - std::vector folders; + std::vector pagedData; }; - ListFoldersResult(); - explicit ListFoldersResult(const std::string &payload); - ~ListFoldersResult(); - int getHttpStatusCode()const; + ListEmrHiveAuditLogsResult(); + explicit ListEmrHiveAuditLogsResult(const std::string &payload); + ~ListEmrHiveAuditLogsResult(); Data getData()const; std::string getErrorCode()const; std::string getErrorMessage()const; - bool getSuccess()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; Data data_; std::string errorCode_; std::string errorMessage_; - bool success_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEAUDITLOGSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h similarity index 63% rename from dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h index 0614128e2..0f612bb3d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESREQUEST_H_ #include #include @@ -28,21 +28,21 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaTableRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveDatabasesRequest : public RpcServiceRequest { public: - CheckMetaTableRequest(); - ~CheckMetaTableRequest(); + ListEmrHiveDatabasesRequest(); + ~ListEmrHiveDatabasesRequest(); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); private: - std::string tableGuid_; + std::string clusterId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h similarity index 57% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h index 9c64d7c4d..7caf4d779 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODERESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESRESULT_H_ #include #include @@ -29,45 +29,42 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveDatabasesResult : public ServiceResult { public: - struct Data + struct HiveDatabase { - std::string repeatability; - std::string description; - std::string resGroupName; + std::string status; + std::string comment; + std::string type; + std::string owner; + long gmtCreate; + std::string ownerType; + std::string parameters; std::string ownerId; - std::string nodeName; - std::string paramValues; - long nodeId; - long projectId; - std::string programType; - std::string schedulerType; - std::string cronExpress; + long gmtModified; + std::string region; + std::string name; + std::string location; }; - GetNodeResult(); - explicit GetNodeResult(const std::string &payload); - ~GetNodeResult(); - int getHttpStatusCode()const; - Data getData()const; + ListEmrHiveDatabasesResult(); + explicit ListEmrHiveDatabasesResult(const std::string &payload); + ~ListEmrHiveDatabasesResult(); + std::vector getData()const; std::string getErrorCode()const; std::string getErrorMessage()const; - bool getSuccess()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; - Data data_; + std::vector data_; std::string errorCode_; std::string errorMessage_; - bool success_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVEDATABASESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h similarity index 62% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h index 89ee744b6..7b65f986e 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESREQUEST_H_ #include #include @@ -28,27 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableListByCategoryRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveTablesRequest : public RpcServiceRequest { public: - GetMetaTableListByCategoryRequest(); - ~GetMetaTableListByCategoryRequest(); + ListEmrHiveTablesRequest(); + ~ListEmrHiveTablesRequest(); + 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); int getPageNumber()const; void setPageNumber(int pageNumber); - long getCategoryId()const; - void setCategoryId(long categoryId); private: + std::string databaseName_; int pageSize_; + std::string clusterId_; int pageNumber_; - long categoryId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h similarity index 53% rename from dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h index 87d652a98..af2ed6d3b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESRESULT_H_ #include #include @@ -29,49 +29,59 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchMetaTablesResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEmrHiveTablesResult : public ServiceResult { public: struct Data { - struct DataEntityListItem + struct HiveTables { - int entityType; + 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 tableGuid; - long tenantId; + std::string ownerType; + std::string gmtCreate; + std::string tableComment; + std::string clusterBizName; std::string ownerId; - std::string projectName; - long projectId; - int envType; + std::string clusterBizId; + std::string inputFormat; + std::string partitionKeys; + bool isCompressed; + std::string tableDesc; + std::string tableParameters; + std::string location; }; - long totalCount; + int totalCount; int pageSize; - std::vector dataEntityList; int pageNumber; + std::vector pagedData; }; - SearchMetaTablesResult(); - explicit SearchMetaTablesResult(const std::string &payload); - ~SearchMetaTablesResult(); - int getHttpStatusCode()const; + ListEmrHiveTablesResult(); + explicit ListEmrHiveTablesResult(const std::string &payload); + ~ListEmrHiveTablesResult(); Data getData()const; std::string getErrorCode()const; std::string getErrorMessage()const; - bool getSuccess()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; Data data_; std::string errorCode_; std::string errorMessage_; - bool success_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEMRHIVETABLESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h deleted file mode 100644 index 1932cfa03..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFileVersionsRequest : public RpcServiceRequest - { - - public: - ListFileVersionsRequest(); - ~ListFileVersionsRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - long getFileId()const; - void setFileId(long fileId); - - private: - int pageSize_; - long projectId_; - std::string projectIdentifier_; - int pageNumber_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h deleted file mode 100644 index 49c20137e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFileVersionsResult : public ServiceResult - { - public: - struct Data - { - struct FileVersion - { - std::string status; - std::string commitUser; - std::string comment; - long commitTime; - std::string fileName; - std::string filePropertyContent; - std::string useType; - bool isCurrentProd; - std::string fileContent; - std::string changeType; - int fileVersion; - long nodeId; - std::string nodeContent; - }; - int totalCount; - std::vector fileVersions; - int pageSize; - int pageNumber; - }; - - - ListFileVersionsResult(); - explicit ListFileVersionsResult(const std::string &payload); - ~ListFileVersionsResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h deleted file mode 100644 index eb6eb9c69..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFilesRequest : public RpcServiceRequest - { - - public: - ListFilesRequest(); - ~ListFilesRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getFileTypes()const; - void setFileTypes(const std::string& fileTypes); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getFileFolderPath()const; - void setFileFolderPath(const std::string& fileFolderPath); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - long getProjectId()const; - void setProjectId(long projectId); - std::string getUseType()const; - void setUseType(const std::string& useType); - - private: - std::string owner_; - std::string fileTypes_; - std::string projectIdentifier_; - int pageNumber_; - std::string fileFolderPath_; - int pageSize_; - std::string keyword_; - long projectId_; - std::string useType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h deleted file mode 100644 index 3945d2b8d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesResult.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFilesResult : public ServiceResult - { - public: - struct Data - { - struct File - { - long parentId; - std::string owner; - long createTime; - std::string fileName; - std::string useType; - int currentVersion; - std::string createUser; - bool isMaxCompute; - std::string connectionName; - long lastEditTime; - std::string fileDescription; - int fileType; - std::string content; - std::string lastEditUser; - long nodeId; - int commitStatus; - long fileId; - std::string fileFolderId; - long bizId; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector files; - }; - - - ListFilesResult(); - explicit ListFilesResult(const std::string &payload); - ~ListFilesResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h similarity index 53% rename from dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h index 857287651..3a49630f5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESREQUEST_H_ #include #include @@ -28,33 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityEntityRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveColumnLineagesRequest : public RpcServiceRequest { public: - CreateQualityEntityRequest(); - ~CreateQualityEntityRequest(); + ListHiveColumnLineagesRequest(); + ~ListHiveColumnLineagesRequest(); - 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 getDatabaseName()const; + void setDatabaseName(const std::string& databaseName); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); std::string getTableName()const; void setTableName(const std::string& tableName); + std::string getColumnName()const; + void setColumnName(const std::string& columnName); private: - std::string projectName_; - int entityLevel_; - std::string matchExpression_; - std::string envType_; + std::string databaseName_; + std::string clusterId_; std::string tableName_; + std::string columnName_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h similarity index 56% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h index 7d9664e4f..c40926222 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESRESULT_H_ #include #include @@ -29,49 +29,48 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableColumnResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveColumnLineagesResult : public ServiceResult { public: struct Data { - struct ColumnListItem + struct ColumnLineage { + int directDownTableNumber; + std::string tableName; std::string columnName; - std::string comment; - std::string columnGuid; - std::string columnType; - bool isPartitionColumn; - bool isForeignKey; - std::string caption; - bool isPrimaryKey; + std::string modifiedTime; + std::string clusterId; + int directDownColumnNumber; + std::string createTime; + std::string databaseName; + int directUpperColumnNumber; + int directUpperTableNumber; + std::string source; }; - long totalCount; - int pageNum; - int pageSize; - std::vector columnList; + int upstreamNumber; + std::vector upstreamLineages; + int downstreamNumber; + std::vector downstreamLineages; }; - GetMetaTableColumnResult(); - explicit GetMetaTableColumnResult(const std::string &payload); - ~GetMetaTableColumnResult(); - int getHttpStatusCode()const; + ListHiveColumnLineagesResult(); + explicit ListHiveColumnLineagesResult(const std::string &payload); + ~ListHiveColumnLineagesResult(); Data getData()const; std::string getErrorCode()const; std::string getErrorMessage()const; - bool getSuccess()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; Data data_; std::string errorCode_; std::string errorMessage_; - bool success_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVECOLUMNLINEAGESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h similarity index 53% rename from dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h index 526af41c3..1b94aa777 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESREQUEST_H_ #include #include @@ -28,24 +28,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddToMetaCategoryRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveTableLineagesRequest : public RpcServiceRequest { public: - AddToMetaCategoryRequest(); - ~AddToMetaCategoryRequest(); + ListHiveTableLineagesRequest(); + ~ListHiveTableLineagesRequest(); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - long getCategoryId()const; - void setCategoryId(long categoryId); + 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 tableGuid_; - long categoryId_; + std::string databaseName_; + std::string clusterId_; + std::string tableName_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h similarity index 58% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h index 5742d3b3c..a52ae5a61 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGERESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESRESULT_H_ #include #include @@ -29,42 +29,46 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableLineageResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHiveTableLineagesResult : public ServiceResult { public: struct Data { - struct DataEntityListItem + struct TableLineage { std::string tableName; - std::string tableGuid; + std::string modifiedTime; + std::string clusterId; + std::string createTime; + std::string databaseName; + std::string queryText; + std::string engine; + std::string source; + std::string jobId; }; - std::vector dataEntityList; - bool hasNext; - std::string nextPrimaryKey; + int upstreamNumber; + std::vector upstreamLineages; + int downstreamNumber; + std::vector downstreamLineages; }; - GetMetaTableLineageResult(); - explicit GetMetaTableLineageResult(const std::string &payload); - ~GetMetaTableLineageResult(); - int getHttpStatusCode()const; + ListHiveTableLineagesResult(); + explicit ListHiveTableLineagesResult(const std::string &payload); + ~ListHiveTableLineagesResult(); Data getData()const; std::string getErrorCode()const; std::string getErrorMessage()const; - bool getSuccess()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; Data data_; std::string errorCode_; std::string errorMessage_; - bool success_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHIVETABLELINEAGESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h deleted file mode 100644 index 7bac01f76..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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); - 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 getNodeId()const; - void setNodeId(long nodeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectEnv_; - std::string owner_; - std::string bizName_; - int pageNumber_; - std::string nodeName_; - std::string programType_; - int pageSize_; - long nodeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesResult.h deleted file mode 100644 index befa85c84..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesResult.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 modifyTime; - long instanceId; - std::string dagType; - std::string nodeName; - long createTime; - std::string paramValues; - long cycTime; - long beginWaitTimeTime; - int dagId; - long bizdate; - long beginRunningTime; - long finishTime; - int nodeId; - long beginWaitResTime; - }; - 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/ListNodeIORequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIORequest.h deleted file mode 100644 index e8c75c580..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIORequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodeIORequest : public RpcServiceRequest - { - - public: - ListNodeIORequest(); - ~ListNodeIORequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - std::string getIoType()const; - void setIoType(const std::string& ioType); - - private: - std::string projectEnv_; - long nodeId_; - std::string ioType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIOREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIOResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIOResult.h deleted file mode 100644 index d612e3397..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIOResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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; - std::string data; - }; - - - ListNodeIOResult(); - explicit ListNodeIOResult(const std::string &payload); - ~ListNodeIOResult(); - int getHttpStatusCode()const; - std::vector getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIORESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h deleted file mode 100644 index c50405675..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesRequest : public RpcServiceRequest - { - - public: - ListNodesRequest(); - ~ListNodesRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getBizName()const; - void setBizName(const std::string& bizName); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getNodeName()const; - void setNodeName(const std::string& nodeName); - std::string getProgramType()const; - void setProgramType(const std::string& programType); - int getPageSize()const; - void setPageSize(int pageSize); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string owner_; - std::string projectEnv_; - std::string bizName_; - int pageNumber_; - std::string nodeName_; - std::string programType_; - int pageSize_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesResult.h deleted file mode 100644 index a963eef38..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesResult.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesResult : public ServiceResult - { - public: - struct Data - { - struct NodesItem - { - bool repeatability; - std::string description; - std::string resGroupName; - std::string ownerId; - std::string nodeName; - std::string paramValues; - long nodeId; - long projectId; - std::string schedulerType; - std::string programType; - std::string cronExpress; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector nodes; - }; - - - 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_LISTNODESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h deleted file mode 100644 index cee06b538..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectMembersRequest : public RpcServiceRequest - { - - public: - ListProjectMembersRequest(); - ~ListProjectMembersRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - long getProjectId()const; - void setProjectId(long projectId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - long projectId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h deleted file mode 100644 index 65bbcf429..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectMembersResult : public ServiceResult - { - public: - struct Data - { - struct ProjectMember - { - struct Role - { - std::string projectRoleName; - std::string projectRoleType; - std::string projectRoleCode; - int projectRoleId; - }; - std::string status; - std::vector projectRoleList; - std::string projectMemberType; - std::string projectMemberId; - std::string nick; - std::string projectMemberName; - }; - int totalCount; - std::vector projectMemberList; - int pageSize; - int pageNumber; - }; - - - ListProjectMembersResult(); - explicit ListProjectMembersResult(const std::string &payload); - ~ListProjectMembersResult(); - Data getData()const; - - protected: - void parse(const std::string &payload); - private: - Data data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h deleted file mode 100644 index 79c72ee47..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectRolesRequest : public RpcServiceRequest - { - - public: - ListProjectRolesRequest(); - ~ListProjectRolesRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h deleted file mode 100644 index 85818072f..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectRolesResult : public ServiceResult - { - public: - struct Role - { - std::string projectRoleName; - std::string projectRoleType; - std::string projectRoleCode; - int projectRoleId; - }; - - - ListProjectRolesResult(); - explicit ListProjectRolesResult(const std::string &payload); - ~ListProjectRolesResult(); - std::vector getProjectRoleList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector projectRoleList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h deleted file mode 100644 index 27709f604..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectsRequest : public RpcServiceRequest - { - - public: - ListProjectsRequest(); - ~ListProjectsRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsResult.h deleted file mode 100644 index fcf7420d4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectsResult : public ServiceResult - { - public: - struct PageResult - { - struct Project - { - std::string projectIdentifier; - std::string projectOwnerBaseId; - int projectStatus; - std::string projectStatusCode; - std::string projectName; - long projectId; - std::string projectDescription; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector projectList; - }; - - - ListProjectsResult(); - explicit ListProjectsResult(const std::string &payload); - ~ListProjectsResult(); - PageResult getPageResult()const; - - protected: - void parse(const std::string &payload); - private: - PageResult pageResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h deleted file mode 100644 index a161e537d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRULESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRULESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityRulesRequest : public RpcServiceRequest - { - - public: - ListQualityRulesRequest(); - ~ListQualityRulesRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - int getPageSize()const; - void setPageSize(int pageSize); - long getEntityId()const; - void setEntityId(long entityId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string projectName_; - int pageSize_; - long entityId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRULESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h deleted file mode 100644 index e1b4d4a72..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 deleted file mode 100644 index c81754b5b..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListRemindsRequest : public RpcServiceRequest - { - - public: - ListRemindsRequest(); - ~ListRemindsRequest(); - - std::string getSearchText()const; - void setSearchText(const std::string& searchText); - std::string getFounder()const; - void setFounder(const std::string& founder); - std::string getRemindTypes()const; - void setRemindTypes(const std::string& remindTypes); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAlertTarget()const; - void setAlertTarget(const std::string& alertTarget); - int getPageSize()const; - void setPageSize(int pageSize); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string searchText_; - std::string founder_; - std::string remindTypes_; - int pageNumber_; - std::string alertTarget_; - int pageSize_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsResult.h deleted file mode 100644 index d802b52d2..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsResult.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListRemindsResult : public ServiceResult - { - public: - struct Data - { - struct RemindsItem - { - std::string dndStart; - std::vector bizProcessIds; - std::string dndEnd; - std::string alertUnit; - std::vector alertMethods; - std::string remindType; - std::string founder; - long remindId; - std::vector nodeIds; - std::vector projectIds; - std::string remindUnit; - std::vector baselineIds; - std::vector alertTargets; - bool useflag; - std::string remindName; - }; - int totalCount; - int pageSize; - int pageNumber; - std::vector reminds; - }; - - - ListRemindsResult(); - explicit ListRemindsResult(const std::string &payload); - ~ListRemindsResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h deleted file mode 100644 index c5c02e789..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListResourceGroupsRequest : public RpcServiceRequest - { - - public: - ListResourceGroupsRequest(); - ~ListResourceGroupsRequest(); - - int getResourceGroupType()const; - void setResourceGroupType(int resourceGroupType); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - - private: - int resourceGroupType_; - std::string keyword_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h deleted file mode 100644 index 614d40466..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListResourceGroupsResult : public ServiceResult - { - public: - struct DataItem - { - bool isDefault; - int status; - std::string mode; - std::string createTime; - std::string cluster; - int sequence; - std::string resourceGroupType; - std::string name; - long tenantId; - std::string identifier; - bool enableKp; - std::string bizExtKey; - std::string updateTime; - long id; - std::string specs; - }; - - - ListResourceGroupsResult(); - explicit ListResourceGroupsResult(const std::string &payload); - ~ListResourceGroupsResult(); - int getHttpStatusCode()const; - std::vector getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::vector data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSRESULT_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/ListTablePartitionsRequest.h similarity index 55% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h index 02cc2e5f1..d7f3f1541 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSREQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApisRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTablePartitionsRequest : public RpcServiceRequest { public: - ListDataServiceApisRequest(); - ~ListDataServiceApisRequest(); + ListTablePartitionsRequest(); + ~ListTablePartitionsRequest(); - 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); + std::string getDatabaseName()const; + void setDatabaseName(const std::string& databaseName); int getPageSize()const; void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); + 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 apiNameKeyword_; - std::string apiPathKeyword_; - std::string creatorId_; - int pageNumber_; + std::string databaseName_; int pageSize_; - long tenantId_; - long projectId_; + std::string clusterId_; + std::string sort_; + std::string tableName_; + int pageNumber_; + std::string order_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h similarity index 62% rename from dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h index 7d8a40596..d8d8fce4d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSRESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSRESULT_H_ #include #include @@ -29,47 +29,43 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBusinessResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTablePartitionsResult : public ServiceResult { public: struct Data { - struct BusinessItem + struct TablePartitions { - std::string owner; - std::string description; - std::string businessName; - std::string useType; - long projectId; - long businessId; + std::string partitionName; + std::string partitionComment; + long gmtCreate; + long gmtModified; + std::string partitionPath; + std::string partitionType; + std::string location; }; int totalCount; int pageSize; - int pageNumber; - std::vector business; + std::vector pagedData; }; - ListBusinessResult(); - explicit ListBusinessResult(const std::string &payload); - ~ListBusinessResult(); - int getHttpStatusCode()const; + ListTablePartitionsResult(); + explicit ListTablePartitionsResult(const std::string &payload); + ~ListTablePartitionsResult(); Data getData()const; std::string getErrorCode()const; std::string getErrorMessage()const; - bool getSuccess()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; Data data_; std::string errorCode_; std::string errorMessage_; - bool success_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLEPARTITIONSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h deleted file mode 100644 index 73e934c00..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTopicsRequest : public RpcServiceRequest - { - - public: - ListTopicsRequest(); - ~ListTopicsRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getBeginTime()const; - void setBeginTime(const std::string& beginTime); - std::string getTopicStatuses()const; - void setTopicStatuses(const std::string& topicStatuses); - int getPageNumber()const; - void setPageNumber(int pageNumber); - long getInstanceId()const; - void setInstanceId(long instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTopicTypes()const; - void setTopicTypes(const std::string& topicTypes); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string owner_; - std::string endTime_; - std::string beginTime_; - std::string topicStatuses_; - int pageNumber_; - long instanceId_; - int pageSize_; - std::string topicTypes_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsResult.h deleted file mode 100644 index a2bf9c10e..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsResult.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTopicsResult : public ServiceResult - { - public: - struct Data - { - struct TopicsItem - { - std::string topicType; - long fixTime; - std::string nodeOwner; - long instanceId; - std::string nodeName; - long nodeId; - long projectId; - long topicId; - std::string topicStatus; - long addTime; - long happenTime; - std::string topicName; - }; - int totalCount; - std::vector topics; - int pageSize; - int pageNumber; - }; - - - ListTopicsResult(); - explicit ListTopicsResult(const std::string &payload); - ~ListTopicsResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h deleted file mode 100644 index 43ac8baf9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT PublishDataServiceApiRequest : public RpcServiceRequest - { - - public: - PublishDataServiceApiRequest(); - ~PublishDataServiceApiRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h deleted file mode 100644 index 86f1787ef..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT PublishDataServiceApiResult : public ServiceResult - { - public: - - - PublishDataServiceApiResult(); - explicit PublishDataServiceApiResult(const std::string &payload); - ~PublishDataServiceApiResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h deleted file mode 100644 index 46863e3c5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RemoveProjectMemberFromRoleRequest : public RpcServiceRequest - { - - public: - RemoveProjectMemberFromRoleRequest(); - ~RemoveProjectMemberFromRoleRequest(); - - std::string getRoleCode()const; - void setRoleCode(const std::string& roleCode); - long getProjectId()const; - void setProjectId(long projectId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string roleCode_; - long projectId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h deleted file mode 100644 index 4144fc3c4..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RemoveProjectMemberFromRoleResult : public ServiceResult - { - public: - - - RemoveProjectMemberFromRoleResult(); - explicit RemoveProjectMemberFromRoleResult(const std::string &payload); - ~RemoveProjectMemberFromRoleResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h deleted file mode 100644 index f9909ccbd..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RestartInstanceRequest : public RpcServiceRequest - { - - public: - RestartInstanceRequest(); - ~RestartInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h deleted file mode 100644 index 3fe5437ee..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ResumeInstanceRequest : public RpcServiceRequest - { - - public: - ResumeInstanceRequest(); - ~ResumeInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h deleted file mode 100644 index d6f863604..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ResumeInstanceResult : public ServiceResult - { - public: - - - ResumeInstanceResult(); - explicit ResumeInstanceResult(const std::string &payload); - ~ResumeInstanceResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h similarity index 66% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h index b15419164..c7c459e28 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCEREQUEST_H_ #include #include @@ -28,24 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityFollowerRequest : public RpcServiceRequest + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchManualDagNodeInstanceRequest : public RpcServiceRequest { public: - GetQualityFollowerRequest(); - ~GetQualityFollowerRequest(); + SearchManualDagNodeInstanceRequest(); + ~SearchManualDagNodeInstanceRequest(); std::string getProjectName()const; void setProjectName(const std::string& projectName); - long getEntityId()const; - void setEntityId(long entityId); + long getDagId()const; + void setDagId(long dagId); private: std::string projectName_; - long entityId_; + long dagId_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h similarity index 52% rename from dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceResult.h rename to dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h index 7a557a31d..15f3c4cf5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCERESULT_H_ +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCERESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCERESULT_H_ #include #include @@ -29,49 +29,45 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceResult : public ServiceResult + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchManualDagNodeInstanceResult : public ServiceResult { public: - struct Data + struct NodeInsInfo { - std::string status; - long modifyTime; + int status; + std::string modifyTime; long instanceId; - std::string dagType; + int dagType; std::string nodeName; - std::string paramValues; - long createTime; - long cycTime; - long beginWaitTimeTime; + std::string createTime; + std::string beginWaitTimeTime; long dagId; - long bizdate; - long beginRunningTime; - long finishTime; - long nodeId; - long beginWaitResTime; + std::string bizdate; + std::string beginRunningTime; + std::string finishTime; + std::string beginWaitResTime; + std::string paraValue; }; - GetInstanceResult(); - explicit GetInstanceResult(const std::string &payload); - ~GetInstanceResult(); - int getHttpStatusCode()const; - Data getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; + SearchManualDagNodeInstanceResult(); + explicit SearchManualDagNodeInstanceResult(const std::string &payload); + ~SearchManualDagNodeInstanceResult(); + std::string getErrMsg()const; + std::vector getData()const; bool getSuccess()const; + std::string getErrCode()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; - Data data_; - std::string errorCode_; - std::string errorMessage_; + std::string errMsg_; + std::vector data_; bool success_; + std::string errCode_; }; } } } -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMANUALDAGNODEINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h deleted file mode 100644 index 83aa5ba26..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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(); - - 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); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int entityType_; - int pageSize_; - std::string appGuid_; - std::string keyword_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h deleted file mode 100644 index 10db9a2fb..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SetSuccessInstanceRequest : public RpcServiceRequest - { - - public: - SetSuccessInstanceRequest(); - ~SetSuccessInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h deleted file mode 100644 index 284f7be91..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SetSuccessInstanceResult : public ServiceResult - { - public: - - - SetSuccessInstanceResult(); - explicit SetSuccessInstanceResult(const std::string &payload); - ~SetSuccessInstanceResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h deleted file mode 100644 index bd66d95a3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StopInstanceRequest : public RpcServiceRequest - { - - public: - StopInstanceRequest(); - ~StopInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceResult.h deleted file mode 100644 index b23199c45..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StopInstanceResult : public ServiceResult - { - public: - - - StopInstanceResult(); - explicit StopInstanceResult(const std::string &payload); - ~StopInstanceResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h deleted file mode 100644 index 3f7355153..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SubmitFileRequest : public RpcServiceRequest - { - - public: - SubmitFileRequest(); - ~SubmitFileRequest(); - - std::string getComment()const; - void setComment(const std::string& comment); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string comment_; - long projectId_; - std::string projectIdentifier_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileResult.h deleted file mode 100644 index 9e8532206..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SubmitFileResult : public ServiceResult - { - public: - - - SubmitFileResult(); - explicit SubmitFileResult(const std::string &payload); - ~SubmitFileResult(); - int getHttpStatusCode()const; - long getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - long data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h deleted file mode 100644 index 3676c0afc..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SuspendInstanceRequest : public RpcServiceRequest - { - - public: - SuspendInstanceRequest(); - ~SuspendInstanceRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getInstanceId()const; - void setInstanceId(long instanceId); - - private: - std::string projectEnv_; - long instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h deleted file mode 100644 index 1e79861ec..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SuspendInstanceResult : public ServiceResult - { - public: - - - SuspendInstanceResult(); - explicit SuspendInstanceResult(const std::string &payload); - ~SuspendInstanceResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h deleted file mode 100644 index 3e0b680aa..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateBusinessRequest : public RpcServiceRequest - { - - public: - UpdateBusinessRequest(); - ~UpdateBusinessRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - long getBusinessId()const; - void setBusinessId(long businessId); - std::string getBusinessName()const; - void setBusinessName(const std::string& businessName); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - std::string owner_; - long businessId_; - std::string businessName_; - std::string description_; - long projectId_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h deleted file mode 100644 index 0ce420dc5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateBusinessResult : public ServiceResult - { - public: - - - UpdateBusinessResult(); - explicit UpdateBusinessResult(const std::string &payload); - ~UpdateBusinessResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h deleted file mode 100644 index b1cae5652..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateConnectionRequest : public RpcServiceRequest - { - - public: - UpdateConnectionRequest(); - ~UpdateConnectionRequest(); - - int getEnvType()const; - void setEnvType(int envType); - std::string getDescription()const; - void setDescription(const std::string& description); - long getConnectionId()const; - void setConnectionId(long connectionId); - std::string getContent()const; - void setContent(const std::string& content); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - int envType_; - std::string description_; - long connectionId_; - std::string content_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h deleted file mode 100644 index 9cc0436db..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateConnectionResult : public ServiceResult - { - public: - - - UpdateConnectionResult(); - explicit UpdateConnectionResult(const std::string &payload); - ~UpdateConnectionResult(); - std::string getHttpStatusCode()const; - bool getData()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - std::string httpStatusCode_; - bool data_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h deleted file mode 100644 index d918d6947..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDataServiceApiRequest : public RpcServiceRequest - { - - public: - UpdateDataServiceApiRequest(); - ~UpdateDataServiceApiRequest(); - - std::string getScriptDetails()const; - void setScriptDetails(const std::string& scriptDetails); - int getRequestMethod()const; - void setRequestMethod(int requestMethod); - std::string getApiPath()const; - void setApiPath(const std::string& apiPath); - std::string getWizardDetails()const; - void setWizardDetails(const std::string& wizardDetails); - int getVisibleRange()const; - void setVisibleRange(int visibleRange); - std::string getApiDescription()const; - void setApiDescription(const std::string& apiDescription); - int getTimeout()const; - void setTimeout(int timeout); - std::string getRegistrationDetails()const; - void setRegistrationDetails(const std::string& registrationDetails); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getProtocols()const; - void setProtocols(const std::string& protocols); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - int getResponseContentType()const; - void setResponseContentType(int responseContentType); - - private: - std::string scriptDetails_; - int requestMethod_; - std::string apiPath_; - std::string wizardDetails_; - int visibleRange_; - std::string apiDescription_; - int timeout_; - std::string registrationDetails_; - long tenantId_; - std::string protocols_; - long projectId_; - long apiId_; - int responseContentType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h deleted file mode 100644 index 8fa03b9c0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDataServiceApiResult : public ServiceResult - { - public: - - - UpdateDataServiceApiResult(); - explicit UpdateDataServiceApiResult(const std::string &payload); - ~UpdateDataServiceApiResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h deleted file mode 100644 index e1bffe1c0..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 getInputList()const; - void setInputList(const std::string& inputList); - std::string getRerunMode()const; - void setRerunMode(const std::string& rerunMode); - std::string getParaValue()const; - void setParaValue(const std::string& paraValue); - 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 inputList_; - std::string rerunMode_; - std::string paraValue_; - int autoRerunTimes_; - std::string cronExpress_; - long endEffectDate_; - std::string fileName_; - bool stop_; - std::string dependentType_; - std::string fileFolderPath_; - std::string fileDescription_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileResult.h deleted file mode 100644 index 07bda3cc8..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateFileResult : public ServiceResult - { - public: - - - UpdateFileResult(); - explicit UpdateFileResult(const std::string &payload); - ~UpdateFileResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h deleted file mode 100644 index 059118f04..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateFolderRequest : public RpcServiceRequest - { - - public: - UpdateFolderRequest(); - ~UpdateFolderRequest(); - - std::string getFolderName()const; - void setFolderName(const std::string& folderName); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - - private: - std::string folderName_; - long projectId_; - std::string projectIdentifier_; - std::string folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderResult.h deleted file mode 100644 index d5d3af888..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateFolderResult : public ServiceResult - { - public: - - - UpdateFolderResult(); - explicit UpdateFolderResult(const std::string &payload); - ~UpdateFolderResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h deleted file mode 100644 index 46547b8d1..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaCategoryRequest : public RpcServiceRequest - { - - public: - UpdateMetaCategoryRequest(); - ~UpdateMetaCategoryRequest(); - - std::string getName()const; - void setName(const std::string& name); - std::string getComment()const; - void setComment(const std::string& comment); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - std::string name_; - std::string comment_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h deleted file mode 100644 index 7643dc80c..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaCategoryResult : public ServiceResult - { - public: - - - UpdateMetaCategoryResult(); - explicit UpdateMetaCategoryResult(const std::string &payload); - ~UpdateMetaCategoryResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h deleted file mode 100644 index 30ba79451..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateQualityFollowerRequest : public RpcServiceRequest - { - - public: - UpdateQualityFollowerRequest(); - ~UpdateQualityFollowerRequest(); - - int getAlarmMode()const; - void setAlarmMode(int alarmMode); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getFollower()const; - void setFollower(const std::string& follower); - long getFollowerId()const; - void setFollowerId(long followerId); - - private: - int alarmMode_; - std::string projectName_; - std::string follower_; - long followerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h deleted file mode 100644 index e97c8a20d..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateQualityFollowerResult : public ServiceResult - { - public: - - - UpdateQualityFollowerResult(); - explicit UpdateQualityFollowerResult(const std::string &payload); - ~UpdateQualityFollowerResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h deleted file mode 100644 index 9530394b3..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateQualityRuleRequest : public RpcServiceRequest - { - - public: - UpdateQualityRuleRequest(); - ~UpdateQualityRuleRequest(); - - std::string getTrend()const; - void setTrend(const std::string& trend); - int getBlockType()const; - void setBlockType(int blockType); - std::string getPropertyType()const; - void setPropertyType(const std::string& propertyType); - long getEntityId()const; - void setEntityId(long entityId); - std::string getRuleName()const; - void setRuleName(const std::string& ruleName); - int getChecker()const; - void setChecker(int checker); - std::string get_Operator()const; - void set_Operator(const std::string& _operator); - std::string getProperty()const; - void setProperty(const std::string& property); - long getId()const; - void setId(long id); - std::string getWarningThreshold()const; - void setWarningThreshold(const std::string& warningThreshold); - std::string getMethodName()const; - void setMethodName(const std::string& methodName); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - int getRuleType()const; - void setRuleType(int ruleType); - int getTemplateId()const; - void setTemplateId(int templateId); - std::string getExpectValue()const; - void setExpectValue(const std::string& expectValue); - std::string getWhereCondition()const; - void setWhereCondition(const std::string& whereCondition); - std::string getCriticalThreshold()const; - void setCriticalThreshold(const std::string& criticalThreshold); - std::string getComment()const; - void setComment(const std::string& comment); - int getPredictType()const; - void setPredictType(int predictType); - - private: - std::string trend_; - int blockType_; - std::string propertyType_; - long entityId_; - std::string ruleName_; - int checker_; - std::string _operator_; - std::string property_; - long id_; - std::string warningThreshold_; - std::string methodName_; - std::string projectName_; - int ruleType_; - int templateId_; - std::string expectValue_; - std::string whereCondition_; - std::string criticalThreshold_; - std::string comment_; - int predictType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h deleted file mode 100644 index 13f101571..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateQualityRuleResult : public ServiceResult - { - public: - - - UpdateQualityRuleResult(); - explicit UpdateQualityRuleResult(const std::string &payload); - ~UpdateQualityRuleResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h deleted file mode 100644 index 1d74c5882..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateRemindRequest : public RpcServiceRequest - { - - public: - UpdateRemindRequest(); - ~UpdateRemindRequest(); - - std::string getDndEnd()const; - void setDndEnd(const std::string& dndEnd); - std::string getAlertUnit()const; - void setAlertUnit(const std::string& alertUnit); - std::string getRemindUnit()const; - void setRemindUnit(const std::string& remindUnit); - bool getUseFlag()const; - void setUseFlag(bool useFlag); - int getAlertInterval()const; - void setAlertInterval(int alertInterval); - std::string getAlertMethods()const; - void setAlertMethods(const std::string& alertMethods); - std::string getRobotUrls()const; - void setRobotUrls(const std::string& robotUrls); - int getMaxAlertTimes()const; - void setMaxAlertTimes(int maxAlertTimes); - std::string getBizProcessIds()const; - void setBizProcessIds(const std::string& bizProcessIds); - std::string getRemindType()const; - void setRemindType(const std::string& remindType); - std::string getAlertTargets()const; - void setAlertTargets(const std::string& alertTargets); - std::string getBaselineIds()const; - void setBaselineIds(const std::string& baselineIds); - long getRemindId()const; - void setRemindId(long remindId); - std::string getDetail()const; - void setDetail(const std::string& detail); - std::string getRemindName()const; - void setRemindName(const std::string& remindName); - long getProjectId()const; - void setProjectId(long projectId); - std::string getNodeIds()const; - void setNodeIds(const std::string& nodeIds); - - private: - std::string dndEnd_; - std::string alertUnit_; - std::string remindUnit_; - bool useFlag_; - int alertInterval_; - std::string alertMethods_; - std::string robotUrls_; - int maxAlertTimes_; - std::string bizProcessIds_; - std::string remindType_; - std::string alertTargets_; - std::string baselineIds_; - long remindId_; - std::string detail_; - std::string remindName_; - long projectId_; - std::string nodeIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindResult.h deleted file mode 100644 index 9ce53d7d9..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDRESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateRemindResult : public ServiceResult - { - public: - - - UpdateRemindResult(); - explicit UpdateRemindResult(const std::string &payload); - ~UpdateRemindResult(); - int getHttpStatusCode()const; - bool getData()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - bool data_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h deleted file mode 100644 index afe9d9d87..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateUdfFileRequest : public RpcServiceRequest - { - - public: - UpdateUdfFileRequest(); - ~UpdateUdfFileRequest(); - - std::string getReturnValue()const; - void setReturnValue(const std::string& returnValue); - std::string getResources()const; - void setResources(const std::string& resources); - std::string getFunctionType()const; - void setFunctionType(const std::string& functionType); - std::string getCmdDescription()const; - void setCmdDescription(const std::string& cmdDescription); - std::string getUdfDescription()const; - void setUdfDescription(const std::string& udfDescription); - std::string getParameterDescription()const; - void setParameterDescription(const std::string& parameterDescription); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - std::string getExample()const; - void setExample(const std::string& example); - std::string getClassName()const; - void setClassName(const std::string& className); - std::string getFileFolderPath()const; - void setFileFolderPath(const std::string& fileFolderPath); - long getProjectId()const; - void setProjectId(long projectId); - std::string getFileId()const; - void setFileId(const std::string& fileId); - - private: - std::string returnValue_; - std::string resources_; - std::string functionType_; - std::string cmdDescription_; - std::string udfDescription_; - std::string parameterDescription_; - std::string projectIdentifier_; - std::string example_; - std::string className_; - std::string fileFolderPath_; - long projectId_; - std::string fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILEREQUEST_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h deleted file mode 100644 index 528d0a0e5..000000000 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILERESULT_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateUdfFileResult : public ServiceResult - { - public: - - - UpdateUdfFileResult(); - explicit UpdateUdfFileResult(const std::string &payload); - ~UpdateUdfFileResult(); - int getHttpStatusCode()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int httpStatusCode_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILERESULT_H_ \ No newline at end of file diff --git a/dataworks-public/src/Dataworks-publicClient.cc b/dataworks-public/src/Dataworks-publicClient.cc index 8dbf7a04e..2e7cf0661 100644 --- a/dataworks-public/src/Dataworks-publicClient.cc +++ b/dataworks-public/src/Dataworks-publicClient.cc @@ -31,812 +31,92 @@ Dataworks_publicClient::Dataworks_publicClient(const Credentials &credentials, c RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) { auto locationClient = std::make_shared(credentials, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "dide"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } Dataworks_publicClient::Dataworks_publicClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) { auto locationClient = std::make_shared(credentialsProvider, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "dide"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } Dataworks_publicClient::Dataworks_publicClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) { auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "dide"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } Dataworks_publicClient::~Dataworks_publicClient() {} -Dataworks_publicClient::AbolishDataServiceApiOutcome Dataworks_publicClient::abolishDataServiceApi(const AbolishDataServiceApiRequest &request) const +Dataworks_publicClient::CheckCallbackOutcome Dataworks_publicClient::checkCallback(const CheckCallbackRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return AbolishDataServiceApiOutcome(endpointOutcome.error()); + return CheckCallbackOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return AbolishDataServiceApiOutcome(AbolishDataServiceApiResult(outcome.result())); + return CheckCallbackOutcome(CheckCallbackResult(outcome.result())); else - return AbolishDataServiceApiOutcome(outcome.error()); + return CheckCallbackOutcome(outcome.error()); } -void Dataworks_publicClient::abolishDataServiceApiAsync(const AbolishDataServiceApiRequest& request, const AbolishDataServiceApiAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::checkCallbackAsync(const CheckCallbackRequest& request, const CheckCallbackAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, abolishDataServiceApi(request), context); + handler(this, request, checkCallback(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::AbolishDataServiceApiOutcomeCallable Dataworks_publicClient::abolishDataServiceApiCallable(const AbolishDataServiceApiRequest &request) const +Dataworks_publicClient::CheckCallbackOutcomeCallable Dataworks_publicClient::checkCallbackCallable(const CheckCallbackRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->abolishDataServiceApi(request); + return this->checkCallback(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::AddProjectMemberToRoleOutcome Dataworks_publicClient::addProjectMemberToRole(const AddProjectMemberToRoleRequest &request) const +Dataworks_publicClient::CreateManualDagOutcome Dataworks_publicClient::createManualDag(const CreateManualDagRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return AddProjectMemberToRoleOutcome(endpointOutcome.error()); + return CreateManualDagOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return AddProjectMemberToRoleOutcome(AddProjectMemberToRoleResult(outcome.result())); + return CreateManualDagOutcome(CreateManualDagResult(outcome.result())); else - return AddProjectMemberToRoleOutcome(outcome.error()); + return CreateManualDagOutcome(outcome.error()); } -void Dataworks_publicClient::addProjectMemberToRoleAsync(const AddProjectMemberToRoleRequest& request, const AddProjectMemberToRoleAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::createManualDagAsync(const CreateManualDagRequest& request, const CreateManualDagAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, addProjectMemberToRole(request), context); + handler(this, request, createManualDag(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::AddProjectMemberToRoleOutcomeCallable Dataworks_publicClient::addProjectMemberToRoleCallable(const AddProjectMemberToRoleRequest &request) const +Dataworks_publicClient::CreateManualDagOutcomeCallable Dataworks_publicClient::createManualDagCallable(const CreateManualDagRequest &request) const { - auto task = std::make_shared>( + 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::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::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)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateMetaCategoryOutcome Dataworks_publicClient::createMetaCategory(const CreateMetaCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateMetaCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateMetaCategoryOutcome(CreateMetaCategoryResult(outcome.result())); - else - return CreateMetaCategoryOutcome(outcome.error()); -} - -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, createMetaCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateMetaCategoryOutcomeCallable Dataworks_publicClient::createMetaCategoryCallable(const CreateMetaCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createMetaCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateProjectMemberOutcome Dataworks_publicClient::createProjectMember(const CreateProjectMemberRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateProjectMemberOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateProjectMemberOutcome(CreateProjectMemberResult(outcome.result())); - else - return CreateProjectMemberOutcome(outcome.error()); -} - -void Dataworks_publicClient::createProjectMemberAsync(const CreateProjectMemberRequest& request, const CreateProjectMemberAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createProjectMember(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateProjectMemberOutcomeCallable Dataworks_publicClient::createProjectMemberCallable(const CreateProjectMemberRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createProjectMember(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateQualityEntityOutcome Dataworks_publicClient::createQualityEntity(const CreateQualityEntityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateQualityEntityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateQualityEntityOutcome(CreateQualityEntityResult(outcome.result())); - else - return CreateQualityEntityOutcome(outcome.error()); -} - -void Dataworks_publicClient::createQualityEntityAsync(const CreateQualityEntityRequest& request, const CreateQualityEntityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createQualityEntity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateQualityEntityOutcomeCallable Dataworks_publicClient::createQualityEntityCallable(const CreateQualityEntityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createQualityEntity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateQualityFollowerOutcome Dataworks_publicClient::createQualityFollower(const CreateQualityFollowerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateQualityFollowerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateQualityFollowerOutcome(CreateQualityFollowerResult(outcome.result())); - else - return CreateQualityFollowerOutcome(outcome.error()); -} - -void Dataworks_publicClient::createQualityFollowerAsync(const CreateQualityFollowerRequest& request, const CreateQualityFollowerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createQualityFollower(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateQualityFollowerOutcomeCallable Dataworks_publicClient::createQualityFollowerCallable(const CreateQualityFollowerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createQualityFollower(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateQualityRelativeNodeOutcome Dataworks_publicClient::createQualityRelativeNode(const CreateQualityRelativeNodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateQualityRelativeNodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateQualityRelativeNodeOutcome(CreateQualityRelativeNodeResult(outcome.result())); - else - return CreateQualityRelativeNodeOutcome(outcome.error()); -} - -void Dataworks_publicClient::createQualityRelativeNodeAsync(const CreateQualityRelativeNodeRequest& request, const CreateQualityRelativeNodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createQualityRelativeNode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateQualityRelativeNodeOutcomeCallable Dataworks_publicClient::createQualityRelativeNodeCallable(const CreateQualityRelativeNodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createQualityRelativeNode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateQualityRuleOutcome Dataworks_publicClient::createQualityRule(const CreateQualityRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateQualityRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateQualityRuleOutcome(CreateQualityRuleResult(outcome.result())); - else - return CreateQualityRuleOutcome(outcome.error()); -} - -void Dataworks_publicClient::createQualityRuleAsync(const CreateQualityRuleRequest& request, const CreateQualityRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createQualityRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateQualityRuleOutcomeCallable Dataworks_publicClient::createQualityRuleCallable(const CreateQualityRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createQualityRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::CreateRemindOutcome Dataworks_publicClient::createRemind(const CreateRemindRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateRemindOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateRemindOutcome(CreateRemindResult(outcome.result())); - else - return CreateRemindOutcome(outcome.error()); -} - -void Dataworks_publicClient::createRemindAsync(const CreateRemindRequest& request, const CreateRemindAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createRemind(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::CreateRemindOutcomeCallable Dataworks_publicClient::createRemindCallable(const CreateRemindRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createRemind(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::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); + return this->createManualDag(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -879,3240 +159,288 @@ Dataworks_publicClient::DeleteFileOutcomeCallable Dataworks_publicClient::delete return task->get_future(); } -Dataworks_publicClient::DeleteFolderOutcome Dataworks_publicClient::deleteFolder(const DeleteFolderRequest &request) const +Dataworks_publicClient::DescribeEmrHiveTableOutcome Dataworks_publicClient::describeEmrHiveTable(const DescribeEmrHiveTableRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteFolderOutcome(endpointOutcome.error()); + return DescribeEmrHiveTableOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteFolderOutcome(DeleteFolderResult(outcome.result())); + return DescribeEmrHiveTableOutcome(DescribeEmrHiveTableResult(outcome.result())); else - return DeleteFolderOutcome(outcome.error()); + return DescribeEmrHiveTableOutcome(outcome.error()); } -void Dataworks_publicClient::deleteFolderAsync(const DeleteFolderRequest& request, const DeleteFolderAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::describeEmrHiveTableAsync(const DescribeEmrHiveTableRequest& request, const DescribeEmrHiveTableAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteFolder(request), context); + handler(this, request, describeEmrHiveTable(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteFolderOutcomeCallable Dataworks_publicClient::deleteFolderCallable(const DeleteFolderRequest &request) const +Dataworks_publicClient::DescribeEmrHiveTableOutcomeCallable Dataworks_publicClient::describeEmrHiveTableCallable(const DescribeEmrHiveTableRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteFolder(request); + return this->describeEmrHiveTable(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteFromMetaCategoryOutcome Dataworks_publicClient::deleteFromMetaCategory(const DeleteFromMetaCategoryRequest &request) const +Dataworks_publicClient::ListEmrHiveAuditLogsOutcome Dataworks_publicClient::listEmrHiveAuditLogs(const ListEmrHiveAuditLogsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteFromMetaCategoryOutcome(endpointOutcome.error()); + return ListEmrHiveAuditLogsOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteFromMetaCategoryOutcome(DeleteFromMetaCategoryResult(outcome.result())); + return ListEmrHiveAuditLogsOutcome(ListEmrHiveAuditLogsResult(outcome.result())); else - return DeleteFromMetaCategoryOutcome(outcome.error()); + return ListEmrHiveAuditLogsOutcome(outcome.error()); } -void Dataworks_publicClient::deleteFromMetaCategoryAsync(const DeleteFromMetaCategoryRequest& request, const DeleteFromMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listEmrHiveAuditLogsAsync(const ListEmrHiveAuditLogsRequest& request, const ListEmrHiveAuditLogsAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteFromMetaCategory(request), context); + handler(this, request, listEmrHiveAuditLogs(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteFromMetaCategoryOutcomeCallable Dataworks_publicClient::deleteFromMetaCategoryCallable(const DeleteFromMetaCategoryRequest &request) const +Dataworks_publicClient::ListEmrHiveAuditLogsOutcomeCallable Dataworks_publicClient::listEmrHiveAuditLogsCallable(const ListEmrHiveAuditLogsRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteFromMetaCategory(request); + return this->listEmrHiveAuditLogs(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteMetaCategoryOutcome Dataworks_publicClient::deleteMetaCategory(const DeleteMetaCategoryRequest &request) const +Dataworks_publicClient::ListEmrHiveDatabasesOutcome Dataworks_publicClient::listEmrHiveDatabases(const ListEmrHiveDatabasesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteMetaCategoryOutcome(endpointOutcome.error()); + return ListEmrHiveDatabasesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteMetaCategoryOutcome(DeleteMetaCategoryResult(outcome.result())); + return ListEmrHiveDatabasesOutcome(ListEmrHiveDatabasesResult(outcome.result())); else - return DeleteMetaCategoryOutcome(outcome.error()); + return ListEmrHiveDatabasesOutcome(outcome.error()); } -void Dataworks_publicClient::deleteMetaCategoryAsync(const DeleteMetaCategoryRequest& request, const DeleteMetaCategoryAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listEmrHiveDatabasesAsync(const ListEmrHiveDatabasesRequest& request, const ListEmrHiveDatabasesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteMetaCategory(request), context); + handler(this, request, listEmrHiveDatabases(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteMetaCategoryOutcomeCallable Dataworks_publicClient::deleteMetaCategoryCallable(const DeleteMetaCategoryRequest &request) const +Dataworks_publicClient::ListEmrHiveDatabasesOutcomeCallable Dataworks_publicClient::listEmrHiveDatabasesCallable(const ListEmrHiveDatabasesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteMetaCategory(request); + return this->listEmrHiveDatabases(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteProjectMemberOutcome Dataworks_publicClient::deleteProjectMember(const DeleteProjectMemberRequest &request) const +Dataworks_publicClient::ListEmrHiveTablesOutcome Dataworks_publicClient::listEmrHiveTables(const ListEmrHiveTablesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteProjectMemberOutcome(endpointOutcome.error()); + return ListEmrHiveTablesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteProjectMemberOutcome(DeleteProjectMemberResult(outcome.result())); + return ListEmrHiveTablesOutcome(ListEmrHiveTablesResult(outcome.result())); else - return DeleteProjectMemberOutcome(outcome.error()); + return ListEmrHiveTablesOutcome(outcome.error()); } -void Dataworks_publicClient::deleteProjectMemberAsync(const DeleteProjectMemberRequest& request, const DeleteProjectMemberAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listEmrHiveTablesAsync(const ListEmrHiveTablesRequest& request, const ListEmrHiveTablesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteProjectMember(request), context); + handler(this, request, listEmrHiveTables(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteProjectMemberOutcomeCallable Dataworks_publicClient::deleteProjectMemberCallable(const DeleteProjectMemberRequest &request) const +Dataworks_publicClient::ListEmrHiveTablesOutcomeCallable Dataworks_publicClient::listEmrHiveTablesCallable(const ListEmrHiveTablesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteProjectMember(request); + return this->listEmrHiveTables(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteQualityEntityOutcome Dataworks_publicClient::deleteQualityEntity(const DeleteQualityEntityRequest &request) const +Dataworks_publicClient::ListHiveColumnLineagesOutcome Dataworks_publicClient::listHiveColumnLineages(const ListHiveColumnLineagesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteQualityEntityOutcome(endpointOutcome.error()); + return ListHiveColumnLineagesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteQualityEntityOutcome(DeleteQualityEntityResult(outcome.result())); + return ListHiveColumnLineagesOutcome(ListHiveColumnLineagesResult(outcome.result())); else - return DeleteQualityEntityOutcome(outcome.error()); + return ListHiveColumnLineagesOutcome(outcome.error()); } -void Dataworks_publicClient::deleteQualityEntityAsync(const DeleteQualityEntityRequest& request, const DeleteQualityEntityAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listHiveColumnLineagesAsync(const ListHiveColumnLineagesRequest& request, const ListHiveColumnLineagesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteQualityEntity(request), context); + handler(this, request, listHiveColumnLineages(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteQualityEntityOutcomeCallable Dataworks_publicClient::deleteQualityEntityCallable(const DeleteQualityEntityRequest &request) const +Dataworks_publicClient::ListHiveColumnLineagesOutcomeCallable Dataworks_publicClient::listHiveColumnLineagesCallable(const ListHiveColumnLineagesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteQualityEntity(request); + return this->listHiveColumnLineages(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteQualityFollowerOutcome Dataworks_publicClient::deleteQualityFollower(const DeleteQualityFollowerRequest &request) const +Dataworks_publicClient::ListHiveTableLineagesOutcome Dataworks_publicClient::listHiveTableLineages(const ListHiveTableLineagesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteQualityFollowerOutcome(endpointOutcome.error()); + return ListHiveTableLineagesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteQualityFollowerOutcome(DeleteQualityFollowerResult(outcome.result())); + return ListHiveTableLineagesOutcome(ListHiveTableLineagesResult(outcome.result())); else - return DeleteQualityFollowerOutcome(outcome.error()); + return ListHiveTableLineagesOutcome(outcome.error()); } -void Dataworks_publicClient::deleteQualityFollowerAsync(const DeleteQualityFollowerRequest& request, const DeleteQualityFollowerAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listHiveTableLineagesAsync(const ListHiveTableLineagesRequest& request, const ListHiveTableLineagesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteQualityFollower(request), context); + handler(this, request, listHiveTableLineages(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteQualityFollowerOutcomeCallable Dataworks_publicClient::deleteQualityFollowerCallable(const DeleteQualityFollowerRequest &request) const +Dataworks_publicClient::ListHiveTableLineagesOutcomeCallable Dataworks_publicClient::listHiveTableLineagesCallable(const ListHiveTableLineagesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteQualityFollower(request); + return this->listHiveTableLineages(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteQualityRelativeNodeOutcome Dataworks_publicClient::deleteQualityRelativeNode(const DeleteQualityRelativeNodeRequest &request) const +Dataworks_publicClient::ListTablePartitionsOutcome Dataworks_publicClient::listTablePartitions(const ListTablePartitionsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteQualityRelativeNodeOutcome(endpointOutcome.error()); + return ListTablePartitionsOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteQualityRelativeNodeOutcome(DeleteQualityRelativeNodeResult(outcome.result())); + return ListTablePartitionsOutcome(ListTablePartitionsResult(outcome.result())); else - return DeleteQualityRelativeNodeOutcome(outcome.error()); + return ListTablePartitionsOutcome(outcome.error()); } -void Dataworks_publicClient::deleteQualityRelativeNodeAsync(const DeleteQualityRelativeNodeRequest& request, const DeleteQualityRelativeNodeAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::listTablePartitionsAsync(const ListTablePartitionsRequest& request, const ListTablePartitionsAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteQualityRelativeNode(request), context); + handler(this, request, listTablePartitions(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteQualityRelativeNodeOutcomeCallable Dataworks_publicClient::deleteQualityRelativeNodeCallable(const DeleteQualityRelativeNodeRequest &request) const +Dataworks_publicClient::ListTablePartitionsOutcomeCallable Dataworks_publicClient::listTablePartitionsCallable(const ListTablePartitionsRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteQualityRelativeNode(request); + return this->listTablePartitions(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -Dataworks_publicClient::DeleteQualityRuleOutcome Dataworks_publicClient::deleteQualityRule(const DeleteQualityRuleRequest &request) const +Dataworks_publicClient::SearchManualDagNodeInstanceOutcome Dataworks_publicClient::searchManualDagNodeInstance(const SearchManualDagNodeInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteQualityRuleOutcome(endpointOutcome.error()); + return SearchManualDagNodeInstanceOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteQualityRuleOutcome(DeleteQualityRuleResult(outcome.result())); + return SearchManualDagNodeInstanceOutcome(SearchManualDagNodeInstanceResult(outcome.result())); else - return DeleteQualityRuleOutcome(outcome.error()); + return SearchManualDagNodeInstanceOutcome(outcome.error()); } -void Dataworks_publicClient::deleteQualityRuleAsync(const DeleteQualityRuleRequest& request, const DeleteQualityRuleAsyncHandler& handler, const std::shared_ptr& context) const +void Dataworks_publicClient::searchManualDagNodeInstanceAsync(const SearchManualDagNodeInstanceRequest& request, const SearchManualDagNodeInstanceAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteQualityRule(request), context); + handler(this, request, searchManualDagNodeInstance(request), context); }; asyncExecute(new Runnable(fn)); } -Dataworks_publicClient::DeleteQualityRuleOutcomeCallable Dataworks_publicClient::deleteQualityRuleCallable(const DeleteQualityRuleRequest &request) const +Dataworks_publicClient::SearchManualDagNodeInstanceOutcomeCallable Dataworks_publicClient::searchManualDagNodeInstanceCallable(const SearchManualDagNodeInstanceRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteQualityRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::DeleteRemindOutcome Dataworks_publicClient::deleteRemind(const DeleteRemindRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteRemindOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteRemindOutcome(DeleteRemindResult(outcome.result())); - else - return DeleteRemindOutcome(outcome.error()); -} - -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, deleteRemind(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::DeleteRemindOutcomeCallable Dataworks_publicClient::deleteRemindCallable(const DeleteRemindRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteRemind(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::DeployFileOutcome Dataworks_publicClient::deployFile(const DeployFileRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeployFileOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeployFileOutcome(DeployFileResult(outcome.result())); - else - return DeployFileOutcome(outcome.error()); -} - -void Dataworks_publicClient::deployFileAsync(const DeployFileRequest& request, const DeployFileAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deployFile(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::DeployFileOutcomeCallable Dataworks_publicClient::deployFileCallable(const DeployFileRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deployFile(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Dataworks_publicClient::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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::UpdateUdfFileOutcome Dataworks_publicClient::updateUdfFile(const UpdateUdfFileRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateUdfFileOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateUdfFileOutcome(UpdateUdfFileResult(outcome.result())); - else - return UpdateUdfFileOutcome(outcome.error()); -} - -void Dataworks_publicClient::updateUdfFileAsync(const UpdateUdfFileRequest& request, const UpdateUdfFileAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateUdfFile(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Dataworks_publicClient::UpdateUdfFileOutcomeCallable Dataworks_publicClient::updateUdfFileCallable(const UpdateUdfFileRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateUdfFile(request); + return this->searchManualDagNodeInstance(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); diff --git a/dataworks-public/src/model/AbolishDataServiceApiRequest.cc b/dataworks-public/src/model/AbolishDataServiceApiRequest.cc deleted file mode 100644 index 58fbc7a89..000000000 --- a/dataworks-public/src/model/AbolishDataServiceApiRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::AbolishDataServiceApiRequest; - -AbolishDataServiceApiRequest::AbolishDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "AbolishDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -AbolishDataServiceApiRequest::~AbolishDataServiceApiRequest() -{} - -long AbolishDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void AbolishDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long AbolishDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void AbolishDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long AbolishDataServiceApiRequest::getApiId()const -{ - return apiId_; -} - -void AbolishDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/AbolishDataServiceApiResult.cc b/dataworks-public/src/model/AbolishDataServiceApiResult.cc deleted file mode 100644 index 3d8e94688..000000000 --- a/dataworks-public/src/model/AbolishDataServiceApiResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -AbolishDataServiceApiResult::AbolishDataServiceApiResult() : - ServiceResult() -{} - -AbolishDataServiceApiResult::AbolishDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AbolishDataServiceApiResult::~AbolishDataServiceApiResult() -{} - -void AbolishDataServiceApiResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int AbolishDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool AbolishDataServiceApiResult::getData()const -{ - return data_; -} - -std::string AbolishDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string AbolishDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool AbolishDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/AddProjectMemberToRoleRequest.cc b/dataworks-public/src/model/AddProjectMemberToRoleRequest.cc deleted file mode 100644 index 9306a545c..000000000 --- a/dataworks-public/src/model/AddProjectMemberToRoleRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::AddProjectMemberToRoleRequest; - -AddProjectMemberToRoleRequest::AddProjectMemberToRoleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "AddProjectMemberToRole") -{ - setMethod(HttpRequest::Method::Post); -} - -AddProjectMemberToRoleRequest::~AddProjectMemberToRoleRequest() -{} - -std::string AddProjectMemberToRoleRequest::getRoleCode()const -{ - return roleCode_; -} - -void AddProjectMemberToRoleRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setParameter("RoleCode", roleCode); -} - -std::string AddProjectMemberToRoleRequest::getClientToken()const -{ - return clientToken_; -} - -void AddProjectMemberToRoleRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); -} - -long AddProjectMemberToRoleRequest::getProjectId()const -{ - return projectId_; -} - -void AddProjectMemberToRoleRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -std::string AddProjectMemberToRoleRequest::getUserId()const -{ - return userId_; -} - -void AddProjectMemberToRoleRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/dataworks-public/src/model/AddProjectMemberToRoleResult.cc b/dataworks-public/src/model/AddProjectMemberToRoleResult.cc deleted file mode 100644 index d1a674ee3..000000000 --- a/dataworks-public/src/model/AddProjectMemberToRoleResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -AddProjectMemberToRoleResult::AddProjectMemberToRoleResult() : - ServiceResult() -{} - -AddProjectMemberToRoleResult::AddProjectMemberToRoleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddProjectMemberToRoleResult::~AddProjectMemberToRoleResult() -{} - -void AddProjectMemberToRoleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/dataworks-public/src/model/AddToMetaCategoryRequest.cc b/dataworks-public/src/model/AddToMetaCategoryRequest.cc deleted file mode 100644 index ae43ae07c..000000000 --- a/dataworks-public/src/model/AddToMetaCategoryRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::AddToMetaCategoryRequest; - -AddToMetaCategoryRequest::AddToMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "AddToMetaCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -AddToMetaCategoryRequest::~AddToMetaCategoryRequest() -{} - -std::string AddToMetaCategoryRequest::getTableGuid()const -{ - return tableGuid_; -} - -void AddToMetaCategoryRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -long AddToMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void AddToMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/AddToMetaCategoryResult.cc b/dataworks-public/src/model/AddToMetaCategoryResult.cc deleted file mode 100644 index 9088e4ae0..000000000 --- a/dataworks-public/src/model/AddToMetaCategoryResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -AddToMetaCategoryResult::AddToMetaCategoryResult() : - ServiceResult() -{} - -AddToMetaCategoryResult::AddToMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddToMetaCategoryResult::~AddToMetaCategoryResult() -{} - -void AddToMetaCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int AddToMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool AddToMetaCategoryResult::getData()const -{ - return data_; -} - -std::string AddToMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string AddToMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool AddToMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetTopicRequest.cc b/dataworks-public/src/model/CheckCallbackRequest.cc similarity index 53% rename from dataworks-public/src/model/GetTopicRequest.cc rename to dataworks-public/src/model/CheckCallbackRequest.cc index 7486af2a4..a1c6e1f06 100644 --- a/dataworks-public/src/model/GetTopicRequest.cc +++ b/dataworks-public/src/model/CheckCallbackRequest.cc @@ -14,27 +14,27 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Dataworks_public::Model::GetTopicRequest; +using AlibabaCloud::Dataworks_public::Model::CheckCallbackRequest; -GetTopicRequest::GetTopicRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopic") +CheckCallbackRequest::CheckCallbackRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "CheckCallback") { setMethod(HttpRequest::Method::Post); } -GetTopicRequest::~GetTopicRequest() +CheckCallbackRequest::~CheckCallbackRequest() {} -long GetTopicRequest::getTopicId()const +std::string CheckCallbackRequest::getCallbackResultString()const { - return topicId_; + return callbackResultString_; } -void GetTopicRequest::setTopicId(long topicId) +void CheckCallbackRequest::setCallbackResultString(const std::string& callbackResultString) { - topicId_ = topicId; - setBodyParameter("TopicId", std::to_string(topicId)); + callbackResultString_ = callbackResultString; + setBodyParameter("CallbackResultString", callbackResultString); } diff --git a/dataworks-public/src/model/CreateProjectMemberResult.cc b/dataworks-public/src/model/CheckCallbackResult.cc similarity index 60% rename from dataworks-public/src/model/CreateProjectMemberResult.cc rename to dataworks-public/src/model/CheckCallbackResult.cc index 71b9eb144..7cb955bc8 100644 --- a/dataworks-public/src/model/CreateProjectMemberResult.cc +++ b/dataworks-public/src/model/CheckCallbackResult.cc @@ -14,31 +14,45 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -CreateProjectMemberResult::CreateProjectMemberResult() : +CheckCallbackResult::CheckCallbackResult() : ServiceResult() {} -CreateProjectMemberResult::CreateProjectMemberResult(const std::string &payload) : +CheckCallbackResult::CheckCallbackResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateProjectMemberResult::~CreateProjectMemberResult() +CheckCallbackResult::~CheckCallbackResult() {} -void CreateProjectMemberResult::parse(const std::string &payload) +void CheckCallbackResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["ReturnCode"].isNull()) + returnCode_ = value["ReturnCode"].asString(); + if(!value["ReturnValue"].isNull()) + returnValue_ = value["ReturnValue"].asString() == "true"; } +std::string CheckCallbackResult::getReturnCode()const +{ + return returnCode_; +} + +bool CheckCallbackResult::getReturnValue()const +{ + return returnValue_; +} + diff --git a/dataworks-public/src/model/CheckMetaPartitionRequest.cc b/dataworks-public/src/model/CheckMetaPartitionRequest.cc deleted file mode 100644 index e61e6eb9a..000000000 --- a/dataworks-public/src/model/CheckMetaPartitionRequest.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::CheckMetaPartitionRequest; - -CheckMetaPartitionRequest::CheckMetaPartitionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaPartition") -{ - setMethod(HttpRequest::Method::Post); -} - -CheckMetaPartitionRequest::~CheckMetaPartitionRequest() -{} - -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); -} - diff --git a/dataworks-public/src/model/CheckMetaPartitionResult.cc b/dataworks-public/src/model/CheckMetaPartitionResult.cc deleted file mode 100644 index a70298480..000000000 --- a/dataworks-public/src/model/CheckMetaPartitionResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CheckMetaPartitionResult::CheckMetaPartitionResult() : - ServiceResult() -{} - -CheckMetaPartitionResult::CheckMetaPartitionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckMetaPartitionResult::~CheckMetaPartitionResult() -{} - -void CheckMetaPartitionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int CheckMetaPartitionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool CheckMetaPartitionResult::getData()const -{ - return data_; -} - -std::string CheckMetaPartitionResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CheckMetaPartitionResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CheckMetaPartitionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CheckMetaTableRequest.cc b/dataworks-public/src/model/CheckMetaTableRequest.cc deleted file mode 100644 index 1c2b0ef27..000000000 --- a/dataworks-public/src/model/CheckMetaTableRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CheckMetaTableRequest; - -CheckMetaTableRequest::CheckMetaTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaTable") -{ - setMethod(HttpRequest::Method::Post); -} - -CheckMetaTableRequest::~CheckMetaTableRequest() -{} - -std::string CheckMetaTableRequest::getTableGuid()const -{ - return tableGuid_; -} - -void CheckMetaTableRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - diff --git a/dataworks-public/src/model/CheckMetaTableResult.cc b/dataworks-public/src/model/CheckMetaTableResult.cc deleted file mode 100644 index 8ecb5a9ac..000000000 --- a/dataworks-public/src/model/CheckMetaTableResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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["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 CheckMetaTableResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool CheckMetaTableResult::getData()const -{ - return data_; -} - -std::string CheckMetaTableResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CheckMetaTableResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CheckMetaTableResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateConnectionRequest.cc b/dataworks-public/src/model/CreateConnectionRequest.cc deleted file mode 100644 index de8497063..000000000 --- a/dataworks-public/src/model/CreateConnectionRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateConnectionRequest; - -CreateConnectionRequest::CreateConnectionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateConnection") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateConnectionRequest::~CreateConnectionRequest() -{} - -std::string CreateConnectionRequest::getDescription()const -{ - return description_; -} - -void CreateConnectionRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string CreateConnectionRequest::getContent()const -{ - return content_; -} - -void CreateConnectionRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); -} - -std::string CreateConnectionRequest::getSubType()const -{ - return subType_; -} - -void CreateConnectionRequest::setSubType(const std::string& subType) -{ - subType_ = subType; - setParameter("SubType", subType); -} - -std::string CreateConnectionRequest::getName()const -{ - return name_; -} - -void CreateConnectionRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -int CreateConnectionRequest::getEnvType()const -{ - return envType_; -} - -void CreateConnectionRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); -} - -std::string CreateConnectionRequest::getConnectionType()const -{ - return connectionType_; -} - -void CreateConnectionRequest::setConnectionType(const std::string& connectionType) -{ - connectionType_ = connectionType; - setParameter("ConnectionType", connectionType); -} - -long CreateConnectionRequest::getProjectId()const -{ - return projectId_; -} - -void CreateConnectionRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/CreateConnectionResult.cc b/dataworks-public/src/model/CreateConnectionResult.cc deleted file mode 100644 index 72f24d6d0..000000000 --- a/dataworks-public/src/model/CreateConnectionResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateConnectionResult::CreateConnectionResult() : - ServiceResult() -{} - -CreateConnectionResult::CreateConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateConnectionResult::~CreateConnectionResult() -{} - -void CreateConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = value["HttpStatusCode"].asString(); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - -} - -std::string CreateConnectionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateConnectionResult::getData()const -{ - return data_; -} - -bool CreateConnectionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateDagComplementRequest.cc b/dataworks-public/src/model/CreateDagComplementRequest.cc deleted file mode 100644 index be88859b8..000000000 --- a/dataworks-public/src/model/CreateDagComplementRequest.cc +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDagComplementRequest; - -CreateDagComplementRequest::CreateDagComplementRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDagComplement") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDagComplementRequest::~CreateDagComplementRequest() -{} - -std::string CreateDagComplementRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void CreateDagComplementRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -std::string CreateDagComplementRequest::getStartBizDate()const -{ - return startBizDate_; -} - -void CreateDagComplementRequest::setStartBizDate(const std::string& startBizDate) -{ - startBizDate_ = startBizDate; - setBodyParameter("StartBizDate", startBizDate); -} - -bool CreateDagComplementRequest::getParallelism()const -{ - return parallelism_; -} - -void CreateDagComplementRequest::setParallelism(bool parallelism) -{ - parallelism_ = parallelism; - setBodyParameter("Parallelism", parallelism ? "true" : "false"); -} - -long CreateDagComplementRequest::getRootNodeId()const -{ - return rootNodeId_; -} - -void CreateDagComplementRequest::setRootNodeId(long rootNodeId) -{ - rootNodeId_ = rootNodeId; - setBodyParameter("RootNodeId", std::to_string(rootNodeId)); -} - -std::string CreateDagComplementRequest::getBizBeginTime()const -{ - return bizBeginTime_; -} - -void CreateDagComplementRequest::setBizBeginTime(const std::string& bizBeginTime) -{ - bizBeginTime_ = bizBeginTime; - setBodyParameter("BizBeginTime", bizBeginTime); -} - -std::string CreateDagComplementRequest::getEndBizDate()const -{ - return endBizDate_; -} - -void CreateDagComplementRequest::setEndBizDate(const std::string& endBizDate) -{ - endBizDate_ = endBizDate; - setBodyParameter("EndBizDate", endBizDate); -} - -std::string CreateDagComplementRequest::getIncludeNodeIds()const -{ - return includeNodeIds_; -} - -void CreateDagComplementRequest::setIncludeNodeIds(const std::string& includeNodeIds) -{ - includeNodeIds_ = includeNodeIds; - setBodyParameter("IncludeNodeIds", includeNodeIds); -} - -std::string CreateDagComplementRequest::getBizEndTime()const -{ - return bizEndTime_; -} - -void CreateDagComplementRequest::setBizEndTime(const std::string& bizEndTime) -{ - bizEndTime_ = bizEndTime; - setBodyParameter("BizEndTime", bizEndTime); -} - -std::string CreateDagComplementRequest::getName()const -{ - return name_; -} - -void CreateDagComplementRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string CreateDagComplementRequest::getExcludeNodeIds()const -{ - return excludeNodeIds_; -} - -void CreateDagComplementRequest::setExcludeNodeIds(const std::string& excludeNodeIds) -{ - excludeNodeIds_ = excludeNodeIds; - setBodyParameter("ExcludeNodeIds", excludeNodeIds); -} - -std::string CreateDagComplementRequest::getNodeParams()const -{ - return nodeParams_; -} - -void CreateDagComplementRequest::setNodeParams(const std::string& nodeParams) -{ - nodeParams_ = nodeParams; - setBodyParameter("NodeParams", nodeParams); -} - diff --git a/dataworks-public/src/model/CreateDagComplementResult.cc b/dataworks-public/src/model/CreateDagComplementResult.cc deleted file mode 100644 index aa033c9ac..000000000 --- a/dataworks-public/src/model/CreateDagComplementResult.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateDagComplementResult::CreateDagComplementResult() : - ServiceResult() -{} - -CreateDagComplementResult::CreateDagComplementResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDagComplementResult::~CreateDagComplementResult() -{} - -void CreateDagComplementResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]["dagId"]; - for (const auto &item : allData) - data_.push_back(item.asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int CreateDagComplementResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector CreateDagComplementResult::getData()const -{ - return data_; -} - -std::string CreateDagComplementResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateDagComplementResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateDagComplementResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateDagTestRequest.cc b/dataworks-public/src/model/CreateDagTestRequest.cc deleted file mode 100644 index 1ceb80caa..000000000 --- a/dataworks-public/src/model/CreateDagTestRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDagTestRequest; - -CreateDagTestRequest::CreateDagTestRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDagTest") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDagTestRequest::~CreateDagTestRequest() -{} - -std::string CreateDagTestRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void CreateDagTestRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -std::string CreateDagTestRequest::getBizdate()const -{ - return bizdate_; -} - -void CreateDagTestRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); -} - -std::string CreateDagTestRequest::getName()const -{ - return name_; -} - -void CreateDagTestRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string CreateDagTestRequest::getNodeParams()const -{ - return nodeParams_; -} - -void CreateDagTestRequest::setNodeParams(const std::string& nodeParams) -{ - nodeParams_ = nodeParams; - setBodyParameter("NodeParams", nodeParams); -} - -long CreateDagTestRequest::getNodeId()const -{ - return nodeId_; -} - -void CreateDagTestRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/CreateDagTestResult.cc b/dataworks-public/src/model/CreateDagTestResult.cc deleted file mode 100644 index 27bdf70c0..000000000 --- a/dataworks-public/src/model/CreateDagTestResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateDagTestResult::CreateDagTestResult() : - ServiceResult() -{} - -CreateDagTestResult::CreateDagTestResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDagTestResult::~CreateDagTestResult() -{} - -void CreateDagTestResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - -} - -int CreateDagTestResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateDagTestResult::getData()const -{ - return data_; -} - -std::string CreateDagTestResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateDagTestResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateDagTestResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateDataServiceApiRequest.cc b/dataworks-public/src/model/CreateDataServiceApiRequest.cc deleted file mode 100644 index e3cc3e533..000000000 --- a/dataworks-public/src/model/CreateDataServiceApiRequest.cc +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::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)); -} - -std::string CreateDataServiceApiRequest::getRegistrationDetails()const -{ - return registrationDetails_; -} - -void CreateDataServiceApiRequest::setRegistrationDetails(const std::string& registrationDetails) -{ - registrationDetails_ = registrationDetails; - setBodyParameter("RegistrationDetails", registrationDetails); -} - -std::string CreateDataServiceApiRequest::getApiName()const -{ - return apiName_; -} - -void CreateDataServiceApiRequest::setApiName(const std::string& apiName) -{ - apiName_ = apiName; - setBodyParameter("ApiName", apiName); -} - -long CreateDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void CreateDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -std::string CreateDataServiceApiRequest::getProtocols()const -{ - return protocols_; -} - -void CreateDataServiceApiRequest::setProtocols(const std::string& protocols) -{ - protocols_ = protocols; - setBodyParameter("Protocols", protocols); -} - -long CreateDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void CreateDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -int CreateDataServiceApiRequest::getResponseContentType()const -{ - return responseContentType_; -} - -void CreateDataServiceApiRequest::setResponseContentType(int responseContentType) -{ - responseContentType_ = responseContentType; - setBodyParameter("ResponseContentType", std::to_string(responseContentType)); -} - diff --git a/dataworks-public/src/model/CreateDataServiceApiResult.cc b/dataworks-public/src/model/CreateDataServiceApiResult.cc deleted file mode 100644 index 9497eb527..000000000 --- a/dataworks-public/src/model/CreateDataServiceApiResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateDataServiceApiResult::CreateDataServiceApiResult() : - ServiceResult() -{} - -CreateDataServiceApiResult::CreateDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDataServiceApiResult::~CreateDataServiceApiResult() -{} - -void CreateDataServiceApiResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int CreateDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateDataServiceApiResult::getData()const -{ - return data_; -} - -std::string CreateDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateFileRequest.cc b/dataworks-public/src/model/CreateFileRequest.cc deleted file mode 100644 index 1431da0ba..000000000 --- a/dataworks-public/src/model/CreateFileRequest.cc +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 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::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::getParaValue()const -{ - return paraValue_; -} - -void CreateFileRequest::setParaValue(const std::string& paraValue) -{ - paraValue_ = paraValue; - setBodyParameter("ParaValue", paraValue); -} - -int CreateFileRequest::getAutoRerunTimes()const -{ - return autoRerunTimes_; -} - -void CreateFileRequest::setAutoRerunTimes(int autoRerunTimes) -{ - autoRerunTimes_ = autoRerunTimes; - setBodyParameter("AutoRerunTimes", std::to_string(autoRerunTimes)); -} - -std::string CreateFileRequest::getCronExpress()const -{ - return cronExpress_; -} - -void CreateFileRequest::setCronExpress(const std::string& cronExpress) -{ - cronExpress_ = cronExpress; - setBodyParameter("CronExpress", cronExpress); -} - -long CreateFileRequest::getEndEffectDate()const -{ - return endEffectDate_; -} - -void CreateFileRequest::setEndEffectDate(long endEffectDate) -{ - endEffectDate_ = endEffectDate; - setBodyParameter("EndEffectDate", std::to_string(endEffectDate)); -} - -std::string CreateFileRequest::getFileName()const -{ - return fileName_; -} - -void CreateFileRequest::setFileName(const std::string& fileName) -{ - fileName_ = fileName; - setBodyParameter("FileName", fileName); -} - -bool CreateFileRequest::getStop()const -{ - return stop_; -} - -void CreateFileRequest::setStop(bool stop) -{ - stop_ = stop; - setBodyParameter("Stop", stop ? "true" : "false"); -} - -std::string CreateFileRequest::getDependentType()const -{ - return dependentType_; -} - -void CreateFileRequest::setDependentType(const std::string& dependentType) -{ - dependentType_ = dependentType; - setBodyParameter("DependentType", dependentType); -} - -std::string CreateFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; -} - -void CreateFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); -} - -std::string CreateFileRequest::getFileDescription()const -{ - return fileDescription_; -} - -void CreateFileRequest::setFileDescription(const std::string& fileDescription) -{ - fileDescription_ = fileDescription; - setBodyParameter("FileDescription", fileDescription); -} - diff --git a/dataworks-public/src/model/CreateFileResult.cc b/dataworks-public/src/model/CreateFileResult.cc deleted file mode 100644 index 0a4d5c2b2..000000000 --- a/dataworks-public/src/model/CreateFileResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateFileResult::CreateFileResult() : - ServiceResult() -{} - -CreateFileResult::CreateFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateFileResult::~CreateFileResult() -{} - -void CreateFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateFileResult::getData()const -{ - return data_; -} - -std::string CreateFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateFolderRequest.cc b/dataworks-public/src/model/CreateFolderRequest.cc deleted file mode 100644 index 603c655b4..000000000 --- a/dataworks-public/src/model/CreateFolderRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateFolderRequest; - -CreateFolderRequest::CreateFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateFolderRequest::~CreateFolderRequest() -{} - -std::string CreateFolderRequest::getFolderPath()const -{ - return folderPath_; -} - -void CreateFolderRequest::setFolderPath(const std::string& folderPath) -{ - folderPath_ = folderPath; - setBodyParameter("FolderPath", folderPath); -} - -long CreateFolderRequest::getProjectId()const -{ - return projectId_; -} - -void CreateFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string CreateFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void CreateFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/CreateFolderResult.cc b/dataworks-public/src/model/CreateFolderResult.cc deleted file mode 100644 index 6f5f3759d..000000000 --- a/dataworks-public/src/model/CreateFolderResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateFolderResult::CreateFolderResult() : - ServiceResult() -{} - -CreateFolderResult::CreateFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateFolderResult::~CreateFolderResult() -{} - -void CreateFolderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateFolderResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string CreateFolderResult::getData()const -{ - return data_; -} - -std::string CreateFolderResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateFolderResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateFolderResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateManualDagRequest.cc b/dataworks-public/src/model/CreateManualDagRequest.cc new file mode 100644 index 000000000..762bf8532 --- /dev/null +++ b/dataworks-public/src/model/CreateManualDagRequest.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::CreateManualDagRequest; + +CreateManualDagRequest::CreateManualDagRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "CreateManualDag") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateManualDagRequest::~CreateManualDagRequest() +{} + +std::string CreateManualDagRequest::getProjectName()const +{ + return projectName_; +} + +void CreateManualDagRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setParameter("ProjectName", projectName); +} + +std::string CreateManualDagRequest::getBizdate()const +{ + return bizdate_; +} + +void CreateManualDagRequest::setBizdate(const std::string& bizdate) +{ + bizdate_ = bizdate; + setParameter("Bizdate", bizdate); +} + +std::string CreateManualDagRequest::getFlowName()const +{ + return flowName_; +} + +void CreateManualDagRequest::setFlowName(const std::string& flowName) +{ + flowName_ = flowName; + setParameter("FlowName", flowName); +} + +std::string CreateManualDagRequest::getDagPara()const +{ + return dagPara_; +} + +void CreateManualDagRequest::setDagPara(const std::string& dagPara) +{ + dagPara_ = dagPara; + setParameter("DagPara", dagPara); +} + +std::string CreateManualDagRequest::getNodePara()const +{ + return nodePara_; +} + +void CreateManualDagRequest::setNodePara(const std::string& nodePara) +{ + nodePara_ = nodePara; + setParameter("NodePara", nodePara); +} + diff --git a/dataworks-public/src/model/CreateManualDagResult.cc b/dataworks-public/src/model/CreateManualDagResult.cc new file mode 100644 index 000000000..4f7bf0261 --- /dev/null +++ b/dataworks-public/src/model/CreateManualDagResult.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; + +CreateManualDagResult::CreateManualDagResult() : + ServiceResult() +{} + +CreateManualDagResult::CreateManualDagResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateManualDagResult::~CreateManualDagResult() +{} + +void CreateManualDagResult::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["ReturnErrorSolution"].isNull()) + returnErrorSolution_ = value["ReturnErrorSolution"].asString(); + if(!value["ReturnMessage"].isNull()) + returnMessage_ = value["ReturnMessage"].asString(); + if(!value["ReturnValue"].isNull()) + returnValue_ = std::stol(value["ReturnValue"].asString()); + +} + +std::string CreateManualDagResult::getReturnErrorSolution()const +{ + return returnErrorSolution_; +} + +std::string CreateManualDagResult::getReturnCode()const +{ + return returnCode_; +} + +std::string CreateManualDagResult::getReturnMessage()const +{ + return returnMessage_; +} + +long CreateManualDagResult::getReturnValue()const +{ + return returnValue_; +} + diff --git a/dataworks-public/src/model/CreateMetaCategoryRequest.cc b/dataworks-public/src/model/CreateMetaCategoryRequest.cc deleted file mode 100644 index 8e647e6e4..000000000 --- a/dataworks-public/src/model/CreateMetaCategoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateMetaCategoryRequest; - -CreateMetaCategoryRequest::CreateMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateMetaCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateMetaCategoryRequest::~CreateMetaCategoryRequest() -{} - -std::string CreateMetaCategoryRequest::getName()const -{ - return name_; -} - -void CreateMetaCategoryRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string CreateMetaCategoryRequest::getComment()const -{ - return comment_; -} - -void CreateMetaCategoryRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -long CreateMetaCategoryRequest::getParentId()const -{ - return parentId_; -} - -void CreateMetaCategoryRequest::setParentId(long parentId) -{ - parentId_ = parentId; - setBodyParameter("ParentId", std::to_string(parentId)); -} - diff --git a/dataworks-public/src/model/CreateMetaCategoryResult.cc b/dataworks-public/src/model/CreateMetaCategoryResult.cc deleted file mode 100644 index e8d0fa031..000000000 --- a/dataworks-public/src/model/CreateMetaCategoryResult.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateMetaCategoryResult::CreateMetaCategoryResult() : - ServiceResult() -{} - -CreateMetaCategoryResult::CreateMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateMetaCategoryResult::~CreateMetaCategoryResult() -{} - -void CreateMetaCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["CategoryId"].isNull()) - data_.categoryId = std::stol(dataNode["CategoryId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int CreateMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -CreateMetaCategoryResult::Data CreateMetaCategoryResult::getData()const -{ - return data_; -} - -std::string CreateMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateProjectMemberRequest.cc b/dataworks-public/src/model/CreateProjectMemberRequest.cc deleted file mode 100644 index 8279632ce..000000000 --- a/dataworks-public/src/model/CreateProjectMemberRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateProjectMemberRequest; - -CreateProjectMemberRequest::CreateProjectMemberRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateProjectMember") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateProjectMemberRequest::~CreateProjectMemberRequest() -{} - -std::string CreateProjectMemberRequest::getRoleCode()const -{ - return roleCode_; -} - -void CreateProjectMemberRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setParameter("RoleCode", roleCode); -} - -std::string CreateProjectMemberRequest::getClientToken()const -{ - return clientToken_; -} - -void CreateProjectMemberRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); -} - -long CreateProjectMemberRequest::getProjectId()const -{ - return projectId_; -} - -void CreateProjectMemberRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -std::string CreateProjectMemberRequest::getUserId()const -{ - return userId_; -} - -void CreateProjectMemberRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/dataworks-public/src/model/CreateQualityEntityRequest.cc b/dataworks-public/src/model/CreateQualityEntityRequest.cc deleted file mode 100644 index 832eccd68..000000000 --- a/dataworks-public/src/model/CreateQualityEntityRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateQualityEntityRequest; - -CreateQualityEntityRequest::CreateQualityEntityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityEntity") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateQualityEntityRequest::~CreateQualityEntityRequest() -{} - -std::string CreateQualityEntityRequest::getProjectName()const -{ - return projectName_; -} - -void CreateQualityEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -int CreateQualityEntityRequest::getEntityLevel()const -{ - return entityLevel_; -} - -void CreateQualityEntityRequest::setEntityLevel(int entityLevel) -{ - entityLevel_ = entityLevel; - setBodyParameter("EntityLevel", std::to_string(entityLevel)); -} - -std::string CreateQualityEntityRequest::getMatchExpression()const -{ - return matchExpression_; -} - -void CreateQualityEntityRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); -} - -std::string CreateQualityEntityRequest::getEnvType()const -{ - return envType_; -} - -void CreateQualityEntityRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); -} - -std::string CreateQualityEntityRequest::getTableName()const -{ - return tableName_; -} - -void CreateQualityEntityRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); -} - diff --git a/dataworks-public/src/model/CreateQualityEntityResult.cc b/dataworks-public/src/model/CreateQualityEntityResult.cc deleted file mode 100644 index 923fcc747..000000000 --- a/dataworks-public/src/model/CreateQualityEntityResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateQualityEntityResult::CreateQualityEntityResult() : - ServiceResult() -{} - -CreateQualityEntityResult::CreateQualityEntityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateQualityEntityResult::~CreateQualityEntityResult() -{} - -void CreateQualityEntityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = std::stoi(value["Data"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateQualityEntityResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -int CreateQualityEntityResult::getData()const -{ - return data_; -} - -std::string CreateQualityEntityResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateQualityEntityResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateQualityEntityResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateQualityFollowerRequest.cc b/dataworks-public/src/model/CreateQualityFollowerRequest.cc deleted file mode 100644 index 073864051..000000000 --- a/dataworks-public/src/model/CreateQualityFollowerRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateQualityFollowerRequest; - -CreateQualityFollowerRequest::CreateQualityFollowerRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityFollower") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateQualityFollowerRequest::~CreateQualityFollowerRequest() -{} - -int CreateQualityFollowerRequest::getAlarmMode()const -{ - return alarmMode_; -} - -void CreateQualityFollowerRequest::setAlarmMode(int alarmMode) -{ - alarmMode_ = alarmMode; - setBodyParameter("AlarmMode", std::to_string(alarmMode)); -} - -std::string CreateQualityFollowerRequest::getProjectName()const -{ - return projectName_; -} - -void CreateQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string CreateQualityFollowerRequest::getFollower()const -{ - return follower_; -} - -void CreateQualityFollowerRequest::setFollower(const std::string& follower) -{ - follower_ = follower; - setBodyParameter("Follower", follower); -} - -long CreateQualityFollowerRequest::getEntityId()const -{ - return entityId_; -} - -void CreateQualityFollowerRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - diff --git a/dataworks-public/src/model/CreateQualityFollowerResult.cc b/dataworks-public/src/model/CreateQualityFollowerResult.cc deleted file mode 100644 index f238e3b39..000000000 --- a/dataworks-public/src/model/CreateQualityFollowerResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateQualityFollowerResult::CreateQualityFollowerResult() : - ServiceResult() -{} - -CreateQualityFollowerResult::CreateQualityFollowerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateQualityFollowerResult::~CreateQualityFollowerResult() -{} - -void CreateQualityFollowerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = std::stoi(value["Data"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateQualityFollowerResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -int CreateQualityFollowerResult::getData()const -{ - return data_; -} - -std::string CreateQualityFollowerResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateQualityFollowerResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateQualityFollowerResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc b/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc deleted file mode 100644 index cd425f491..000000000 --- a/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateQualityRelativeNodeRequest; - -CreateQualityRelativeNodeRequest::CreateQualityRelativeNodeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityRelativeNode") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateQualityRelativeNodeRequest::~CreateQualityRelativeNodeRequest() -{} - -std::string CreateQualityRelativeNodeRequest::getProjectName()const -{ - return projectName_; -} - -void CreateQualityRelativeNodeRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long CreateQualityRelativeNodeRequest::getTargetNodeProjectId()const -{ - return targetNodeProjectId_; -} - -void CreateQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId) -{ - targetNodeProjectId_ = targetNodeProjectId; - setBodyParameter("TargetNodeProjectId", std::to_string(targetNodeProjectId)); -} - -std::string CreateQualityRelativeNodeRequest::getMatchExpression()const -{ - return matchExpression_; -} - -void CreateQualityRelativeNodeRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); -} - -std::string CreateQualityRelativeNodeRequest::getEnvType()const -{ - return envType_; -} - -void CreateQualityRelativeNodeRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); -} - -std::string CreateQualityRelativeNodeRequest::getTargetNodeProjectName()const -{ - return targetNodeProjectName_; -} - -void CreateQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string& targetNodeProjectName) -{ - targetNodeProjectName_ = targetNodeProjectName; - setBodyParameter("TargetNodeProjectName", targetNodeProjectName); -} - -std::string CreateQualityRelativeNodeRequest::getTableName()const -{ - return tableName_; -} - -void CreateQualityRelativeNodeRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); -} - -long CreateQualityRelativeNodeRequest::getNodeId()const -{ - return nodeId_; -} - -void CreateQualityRelativeNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - -long CreateQualityRelativeNodeRequest::getProjectId()const -{ - return projectId_; -} - -void CreateQualityRelativeNodeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/CreateQualityRelativeNodeResult.cc b/dataworks-public/src/model/CreateQualityRelativeNodeResult.cc deleted file mode 100644 index ba3b1afce..000000000 --- a/dataworks-public/src/model/CreateQualityRelativeNodeResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateQualityRelativeNodeResult::CreateQualityRelativeNodeResult() : - ServiceResult() -{} - -CreateQualityRelativeNodeResult::CreateQualityRelativeNodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateQualityRelativeNodeResult::~CreateQualityRelativeNodeResult() -{} - -void CreateQualityRelativeNodeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int CreateQualityRelativeNodeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool CreateQualityRelativeNodeResult::getData()const -{ - return data_; -} - -std::string CreateQualityRelativeNodeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateQualityRelativeNodeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateQualityRelativeNodeResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateQualityRuleRequest.cc b/dataworks-public/src/model/CreateQualityRuleRequest.cc deleted file mode 100644 index cdce82e53..000000000 --- a/dataworks-public/src/model/CreateQualityRuleRequest.cc +++ /dev/null @@ -1,227 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateQualityRuleRequest; - -CreateQualityRuleRequest::CreateQualityRuleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityRule") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateQualityRuleRequest::~CreateQualityRuleRequest() -{} - -std::string CreateQualityRuleRequest::getProjectName()const -{ - return projectName_; -} - -void CreateQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string CreateQualityRuleRequest::getTrend()const -{ - return trend_; -} - -void CreateQualityRuleRequest::setTrend(const std::string& trend) -{ - trend_ = trend; - setBodyParameter("Trend", trend); -} - -int CreateQualityRuleRequest::getRuleType()const -{ - return ruleType_; -} - -void CreateQualityRuleRequest::setRuleType(int ruleType) -{ - ruleType_ = ruleType; - setBodyParameter("RuleType", std::to_string(ruleType)); -} - -int CreateQualityRuleRequest::getBlockType()const -{ - return blockType_; -} - -void CreateQualityRuleRequest::setBlockType(int blockType) -{ - blockType_ = blockType; - setBodyParameter("BlockType", std::to_string(blockType)); -} - -std::string CreateQualityRuleRequest::getPropertyType()const -{ - return propertyType_; -} - -void CreateQualityRuleRequest::setPropertyType(const std::string& propertyType) -{ - propertyType_ = propertyType; - setBodyParameter("PropertyType", propertyType); -} - -long CreateQualityRuleRequest::getEntityId()const -{ - return entityId_; -} - -void CreateQualityRuleRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - -std::string CreateQualityRuleRequest::getRuleName()const -{ - return ruleName_; -} - -void CreateQualityRuleRequest::setRuleName(const std::string& ruleName) -{ - ruleName_ = ruleName; - setBodyParameter("RuleName", ruleName); -} - -int CreateQualityRuleRequest::getChecker()const -{ - return checker_; -} - -void CreateQualityRuleRequest::setChecker(int checker) -{ - checker_ = checker; - setBodyParameter("Checker", std::to_string(checker)); -} - -int CreateQualityRuleRequest::getTemplateId()const -{ - return templateId_; -} - -void CreateQualityRuleRequest::setTemplateId(int templateId) -{ - templateId_ = templateId; - setBodyParameter("TemplateId", std::to_string(templateId)); -} - -std::string CreateQualityRuleRequest::getExpectValue()const -{ - return expectValue_; -} - -void CreateQualityRuleRequest::setExpectValue(const std::string& expectValue) -{ - expectValue_ = expectValue; - setBodyParameter("ExpectValue", expectValue); -} - -std::string CreateQualityRuleRequest::get_Operator()const -{ - return _operator_; -} - -void CreateQualityRuleRequest::set_Operator(const std::string& _operator) -{ - _operator_ = _operator; - setBodyParameter("_Operator", _operator); -} - -std::string CreateQualityRuleRequest::getWhereCondition()const -{ - return whereCondition_; -} - -void CreateQualityRuleRequest::setWhereCondition(const std::string& whereCondition) -{ - whereCondition_ = whereCondition; - setBodyParameter("WhereCondition", whereCondition); -} - -std::string CreateQualityRuleRequest::getCriticalThreshold()const -{ - return criticalThreshold_; -} - -void CreateQualityRuleRequest::setCriticalThreshold(const std::string& criticalThreshold) -{ - criticalThreshold_ = criticalThreshold; - setBodyParameter("CriticalThreshold", criticalThreshold); -} - -std::string CreateQualityRuleRequest::getProperty()const -{ - return property_; -} - -void CreateQualityRuleRequest::setProperty(const std::string& property) -{ - property_ = property; - setBodyParameter("Property", property); -} - -std::string CreateQualityRuleRequest::getComment()const -{ - return comment_; -} - -void CreateQualityRuleRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -int CreateQualityRuleRequest::getPredictType()const -{ - return predictType_; -} - -void CreateQualityRuleRequest::setPredictType(int predictType) -{ - predictType_ = predictType; - setBodyParameter("PredictType", std::to_string(predictType)); -} - -std::string CreateQualityRuleRequest::getWarningThreshold()const -{ - return warningThreshold_; -} - -void CreateQualityRuleRequest::setWarningThreshold(const std::string& warningThreshold) -{ - warningThreshold_ = warningThreshold; - setBodyParameter("WarningThreshold", warningThreshold); -} - -std::string CreateQualityRuleRequest::getMethodName()const -{ - return methodName_; -} - -void CreateQualityRuleRequest::setMethodName(const std::string& methodName) -{ - methodName_ = methodName; - setBodyParameter("MethodName", methodName); -} - diff --git a/dataworks-public/src/model/CreateQualityRuleResult.cc b/dataworks-public/src/model/CreateQualityRuleResult.cc deleted file mode 100644 index b36e1932d..000000000 --- a/dataworks-public/src/model/CreateQualityRuleResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateQualityRuleResult::CreateQualityRuleResult() : - ServiceResult() -{} - -CreateQualityRuleResult::CreateQualityRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateQualityRuleResult::~CreateQualityRuleResult() -{} - -void CreateQualityRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateQualityRuleResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string CreateQualityRuleResult::getData()const -{ - return data_; -} - -std::string CreateQualityRuleResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateQualityRuleResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateQualityRuleResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateRemindRequest.cc b/dataworks-public/src/model/CreateRemindRequest.cc deleted file mode 100644 index 503685613..000000000 --- a/dataworks-public/src/model/CreateRemindRequest.cc +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateRemindRequest; - -CreateRemindRequest::CreateRemindRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateRemind") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateRemindRequest::~CreateRemindRequest() -{} - -std::string CreateRemindRequest::getDndEnd()const -{ - return dndEnd_; -} - -void CreateRemindRequest::setDndEnd(const std::string& dndEnd) -{ - dndEnd_ = dndEnd; - setBodyParameter("DndEnd", dndEnd); -} - -std::string CreateRemindRequest::getAlertUnit()const -{ - return alertUnit_; -} - -void CreateRemindRequest::setAlertUnit(const std::string& alertUnit) -{ - alertUnit_ = alertUnit; - setBodyParameter("AlertUnit", alertUnit); -} - -std::string CreateRemindRequest::getRemindUnit()const -{ - return remindUnit_; -} - -void CreateRemindRequest::setRemindUnit(const std::string& remindUnit) -{ - remindUnit_ = remindUnit; - setBodyParameter("RemindUnit", remindUnit); -} - -int CreateRemindRequest::getAlertInterval()const -{ - return alertInterval_; -} - -void CreateRemindRequest::setAlertInterval(int alertInterval) -{ - alertInterval_ = alertInterval; - setBodyParameter("AlertInterval", std::to_string(alertInterval)); -} - -std::string CreateRemindRequest::getAlertMethods()const -{ - return alertMethods_; -} - -void CreateRemindRequest::setAlertMethods(const std::string& alertMethods) -{ - alertMethods_ = alertMethods; - setBodyParameter("AlertMethods", alertMethods); -} - -std::string CreateRemindRequest::getRobotUrls()const -{ - return robotUrls_; -} - -void CreateRemindRequest::setRobotUrls(const std::string& robotUrls) -{ - robotUrls_ = robotUrls; - setBodyParameter("RobotUrls", robotUrls); -} - -int CreateRemindRequest::getMaxAlertTimes()const -{ - return maxAlertTimes_; -} - -void CreateRemindRequest::setMaxAlertTimes(int maxAlertTimes) -{ - maxAlertTimes_ = maxAlertTimes; - setBodyParameter("MaxAlertTimes", std::to_string(maxAlertTimes)); -} - -std::string CreateRemindRequest::getBizProcessIds()const -{ - return bizProcessIds_; -} - -void CreateRemindRequest::setBizProcessIds(const std::string& bizProcessIds) -{ - bizProcessIds_ = bizProcessIds; - setBodyParameter("BizProcessIds", bizProcessIds); -} - -std::string CreateRemindRequest::getRemindType()const -{ - return remindType_; -} - -void CreateRemindRequest::setRemindType(const std::string& remindType) -{ - remindType_ = remindType; - setBodyParameter("RemindType", remindType); -} - -std::string CreateRemindRequest::getAlertTargets()const -{ - return alertTargets_; -} - -void CreateRemindRequest::setAlertTargets(const std::string& alertTargets) -{ - alertTargets_ = alertTargets; - setBodyParameter("AlertTargets", alertTargets); -} - -std::string CreateRemindRequest::getBaselineIds()const -{ - return baselineIds_; -} - -void CreateRemindRequest::setBaselineIds(const std::string& baselineIds) -{ - baselineIds_ = baselineIds; - setBodyParameter("BaselineIds", baselineIds); -} - -std::string CreateRemindRequest::getDetail()const -{ - return detail_; -} - -void CreateRemindRequest::setDetail(const std::string& detail) -{ - detail_ = detail; - setBodyParameter("Detail", detail); -} - -std::string CreateRemindRequest::getRemindName()const -{ - return remindName_; -} - -void CreateRemindRequest::setRemindName(const std::string& remindName) -{ - remindName_ = remindName; - setBodyParameter("RemindName", remindName); -} - -long CreateRemindRequest::getProjectId()const -{ - return projectId_; -} - -void CreateRemindRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string CreateRemindRequest::getNodeIds()const -{ - return nodeIds_; -} - -void CreateRemindRequest::setNodeIds(const std::string& nodeIds) -{ - nodeIds_ = nodeIds; - setBodyParameter("NodeIds", nodeIds); -} - diff --git a/dataworks-public/src/model/CreateRemindResult.cc b/dataworks-public/src/model/CreateRemindResult.cc deleted file mode 100644 index ee934a747..000000000 --- a/dataworks-public/src/model/CreateRemindResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateRemindResult::CreateRemindResult() : - ServiceResult() -{} - -CreateRemindResult::CreateRemindResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateRemindResult::~CreateRemindResult() -{} - -void CreateRemindResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - -} - -int CreateRemindResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateRemindResult::getData()const -{ - return data_; -} - -std::string CreateRemindResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateRemindResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateRemindResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/CreateUdfFileRequest.cc b/dataworks-public/src/model/CreateUdfFileRequest.cc deleted file mode 100644 index 750bc45df..000000000 --- a/dataworks-public/src/model/CreateUdfFileRequest.cc +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateUdfFileRequest; - -CreateUdfFileRequest::CreateUdfFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateUdfFile") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateUdfFileRequest::~CreateUdfFileRequest() -{} - -std::string CreateUdfFileRequest::getReturnValue()const -{ - return returnValue_; -} - -void CreateUdfFileRequest::setReturnValue(const std::string& returnValue) -{ - returnValue_ = returnValue; - setBodyParameter("ReturnValue", returnValue); -} - -std::string CreateUdfFileRequest::getResources()const -{ - return resources_; -} - -void CreateUdfFileRequest::setResources(const std::string& resources) -{ - resources_ = resources; - setBodyParameter("Resources", resources); -} - -std::string CreateUdfFileRequest::getFunctionType()const -{ - return functionType_; -} - -void CreateUdfFileRequest::setFunctionType(const std::string& functionType) -{ - functionType_ = functionType; - setBodyParameter("FunctionType", functionType); -} - -std::string CreateUdfFileRequest::getCmdDescription()const -{ - return cmdDescription_; -} - -void CreateUdfFileRequest::setCmdDescription(const std::string& cmdDescription) -{ - cmdDescription_ = cmdDescription; - setBodyParameter("CmdDescription", cmdDescription); -} - -std::string CreateUdfFileRequest::getUdfDescription()const -{ - return udfDescription_; -} - -void CreateUdfFileRequest::setUdfDescription(const std::string& udfDescription) -{ - udfDescription_ = udfDescription; - setBodyParameter("UdfDescription", udfDescription); -} - -std::string CreateUdfFileRequest::getParameterDescription()const -{ - return parameterDescription_; -} - -void CreateUdfFileRequest::setParameterDescription(const std::string& parameterDescription) -{ - parameterDescription_ = parameterDescription; - setBodyParameter("ParameterDescription", parameterDescription); -} - -std::string CreateUdfFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void CreateUdfFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string CreateUdfFileRequest::getExample()const -{ - return example_; -} - -void CreateUdfFileRequest::setExample(const std::string& example) -{ - example_ = example; - setBodyParameter("Example", example); -} - -std::string CreateUdfFileRequest::getFileName()const -{ - return fileName_; -} - -void CreateUdfFileRequest::setFileName(const std::string& fileName) -{ - fileName_ = fileName; - setBodyParameter("FileName", fileName); -} - -std::string CreateUdfFileRequest::getClassName()const -{ - return className_; -} - -void CreateUdfFileRequest::setClassName(const std::string& className) -{ - className_ = className; - setBodyParameter("ClassName", className); -} - -std::string CreateUdfFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; -} - -void CreateUdfFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); -} - -long CreateUdfFileRequest::getProjectId()const -{ - return projectId_; -} - -void CreateUdfFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/CreateUdfFileResult.cc b/dataworks-public/src/model/CreateUdfFileResult.cc deleted file mode 100644 index a15dfe231..000000000 --- a/dataworks-public/src/model/CreateUdfFileResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -CreateUdfFileResult::CreateUdfFileResult() : - ServiceResult() -{} - -CreateUdfFileResult::CreateUdfFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateUdfFileResult::~CreateUdfFileResult() -{} - -void CreateUdfFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int CreateUdfFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long CreateUdfFileResult::getData()const -{ - return data_; -} - -std::string CreateUdfFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string CreateUdfFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool CreateUdfFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteBusinessRequest.cc b/dataworks-public/src/model/DeleteBusinessRequest.cc deleted file mode 100644 index b426266ef..000000000 --- a/dataworks-public/src/model/DeleteBusinessRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteBusinessRequest; - -DeleteBusinessRequest::DeleteBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteBusinessRequest::~DeleteBusinessRequest() -{} - -long DeleteBusinessRequest::getBusinessId()const -{ - return businessId_; -} - -void DeleteBusinessRequest::setBusinessId(long businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", std::to_string(businessId)); -} - -long DeleteBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string DeleteBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void DeleteBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/DeleteBusinessResult.cc b/dataworks-public/src/model/DeleteBusinessResult.cc deleted file mode 100644 index a73a3757a..000000000 --- a/dataworks-public/src/model/DeleteBusinessResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteBusinessResult::DeleteBusinessResult() : - ServiceResult() -{} - -DeleteBusinessResult::DeleteBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteBusinessResult::~DeleteBusinessResult() -{} - -void DeleteBusinessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int DeleteBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string DeleteBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteBusinessResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteConnectionResult.cc b/dataworks-public/src/model/DeleteConnectionResult.cc deleted file mode 100644 index 3ba91d571..000000000 --- a/dataworks-public/src/model/DeleteConnectionResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteConnectionResult::DeleteConnectionResult() : - ServiceResult() -{} - -DeleteConnectionResult::DeleteConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteConnectionResult::~DeleteConnectionResult() -{} - -void DeleteConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = value["HttpStatusCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -std::string DeleteConnectionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteConnectionResult::getData()const -{ - return data_; -} - -bool DeleteConnectionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteDataServiceApiRequest.cc b/dataworks-public/src/model/DeleteDataServiceApiRequest.cc deleted file mode 100644 index 72d2a1f66..000000000 --- a/dataworks-public/src/model/DeleteDataServiceApiRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteDataServiceApiRequest; - -DeleteDataServiceApiRequest::DeleteDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDataServiceApiRequest::~DeleteDataServiceApiRequest() -{} - -long DeleteDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void DeleteDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long DeleteDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long DeleteDataServiceApiRequest::getApiId()const -{ - return apiId_; -} - -void DeleteDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/DeleteDataServiceApiResult.cc b/dataworks-public/src/model/DeleteDataServiceApiResult.cc deleted file mode 100644 index a87492222..000000000 --- a/dataworks-public/src/model/DeleteDataServiceApiResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteDataServiceApiResult::DeleteDataServiceApiResult() : - ServiceResult() -{} - -DeleteDataServiceApiResult::DeleteDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteDataServiceApiResult::~DeleteDataServiceApiResult() -{} - -void DeleteDataServiceApiResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int DeleteDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteDataServiceApiResult::getData()const -{ - return data_; -} - -std::string DeleteDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteFileRequest.cc b/dataworks-public/src/model/DeleteFileRequest.cc index c641b357c..1613c81b3 100644 --- a/dataworks-public/src/model/DeleteFileRequest.cc +++ b/dataworks-public/src/model/DeleteFileRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Dataworks_public::Model::DeleteFileRequest; DeleteFileRequest::DeleteFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFile") + RpcServiceRequest("dataworks-public", "2018-06-01", "DeleteFile") { setMethod(HttpRequest::Method::Post); } diff --git a/dataworks-public/src/model/DeleteFolderRequest.cc b/dataworks-public/src/model/DeleteFolderRequest.cc deleted file mode 100644 index ffd5b296d..000000000 --- a/dataworks-public/src/model/DeleteFolderRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteFolderRequest; - -DeleteFolderRequest::DeleteFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteFolderRequest::~DeleteFolderRequest() -{} - -long DeleteFolderRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string DeleteFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void DeleteFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string DeleteFolderRequest::getFolderId()const -{ - return folderId_; -} - -void DeleteFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); -} - diff --git a/dataworks-public/src/model/DeleteFolderResult.cc b/dataworks-public/src/model/DeleteFolderResult.cc deleted file mode 100644 index b51d6979f..000000000 --- a/dataworks-public/src/model/DeleteFolderResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteFolderResult::DeleteFolderResult() : - ServiceResult() -{} - -DeleteFolderResult::DeleteFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteFolderResult::~DeleteFolderResult() -{} - -void DeleteFolderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int DeleteFolderResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string DeleteFolderResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteFolderResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteFolderResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc b/dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc deleted file mode 100644 index 9628f6755..000000000 --- a/dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteFromMetaCategoryRequest; - -DeleteFromMetaCategoryRequest::DeleteFromMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFromMetaCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteFromMetaCategoryRequest::~DeleteFromMetaCategoryRequest() -{} - -std::string DeleteFromMetaCategoryRequest::getTableGuid()const -{ - return tableGuid_; -} - -void DeleteFromMetaCategoryRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -long DeleteFromMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void DeleteFromMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/DeleteFromMetaCategoryResult.cc b/dataworks-public/src/model/DeleteFromMetaCategoryResult.cc deleted file mode 100644 index 9e41dd7ad..000000000 --- a/dataworks-public/src/model/DeleteFromMetaCategoryResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteFromMetaCategoryResult::DeleteFromMetaCategoryResult() : - ServiceResult() -{} - -DeleteFromMetaCategoryResult::DeleteFromMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteFromMetaCategoryResult::~DeleteFromMetaCategoryResult() -{} - -void DeleteFromMetaCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int DeleteFromMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteFromMetaCategoryResult::getData()const -{ - return data_; -} - -std::string DeleteFromMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteFromMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteFromMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteMetaCategoryRequest.cc b/dataworks-public/src/model/DeleteMetaCategoryRequest.cc deleted file mode 100644 index 774ca5756..000000000 --- a/dataworks-public/src/model/DeleteMetaCategoryRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteMetaCategoryRequest; - -DeleteMetaCategoryRequest::DeleteMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteMetaCategory") -{ - setMethod(HttpRequest::Method::Get); -} - -DeleteMetaCategoryRequest::~DeleteMetaCategoryRequest() -{} - -long DeleteMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void DeleteMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/DeleteMetaCategoryResult.cc b/dataworks-public/src/model/DeleteMetaCategoryResult.cc deleted file mode 100644 index ea3177f1c..000000000 --- a/dataworks-public/src/model/DeleteMetaCategoryResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteMetaCategoryResult::DeleteMetaCategoryResult() : - ServiceResult() -{} - -DeleteMetaCategoryResult::DeleteMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteMetaCategoryResult::~DeleteMetaCategoryResult() -{} - -void DeleteMetaCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int DeleteMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteMetaCategoryResult::getData()const -{ - return data_; -} - -std::string DeleteMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteProjectMemberRequest.cc b/dataworks-public/src/model/DeleteProjectMemberRequest.cc deleted file mode 100644 index 6b67adadd..000000000 --- a/dataworks-public/src/model/DeleteProjectMemberRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteProjectMemberRequest; - -DeleteProjectMemberRequest::DeleteProjectMemberRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteProjectMember") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteProjectMemberRequest::~DeleteProjectMemberRequest() -{} - -long DeleteProjectMemberRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteProjectMemberRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -std::string DeleteProjectMemberRequest::getUserId()const -{ - return userId_; -} - -void DeleteProjectMemberRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/dataworks-public/src/model/DeleteProjectMemberResult.cc b/dataworks-public/src/model/DeleteProjectMemberResult.cc deleted file mode 100644 index 9b828aec4..000000000 --- a/dataworks-public/src/model/DeleteProjectMemberResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteProjectMemberResult::DeleteProjectMemberResult() : - ServiceResult() -{} - -DeleteProjectMemberResult::DeleteProjectMemberResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteProjectMemberResult::~DeleteProjectMemberResult() -{} - -void DeleteProjectMemberResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/dataworks-public/src/model/DeleteQualityEntityRequest.cc b/dataworks-public/src/model/DeleteQualityEntityRequest.cc deleted file mode 100644 index be9248b60..000000000 --- a/dataworks-public/src/model/DeleteQualityEntityRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteQualityEntityRequest; - -DeleteQualityEntityRequest::DeleteQualityEntityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityEntity") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteQualityEntityRequest::~DeleteQualityEntityRequest() -{} - -std::string DeleteQualityEntityRequest::getProjectName()const -{ - return projectName_; -} - -void DeleteQualityEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string DeleteQualityEntityRequest::getEnvType()const -{ - return envType_; -} - -void DeleteQualityEntityRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); -} - -long DeleteQualityEntityRequest::getEntityId()const -{ - return entityId_; -} - -void DeleteQualityEntityRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - diff --git a/dataworks-public/src/model/DeleteQualityEntityResult.cc b/dataworks-public/src/model/DeleteQualityEntityResult.cc deleted file mode 100644 index 4fb61fb09..000000000 --- a/dataworks-public/src/model/DeleteQualityEntityResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteQualityEntityResult::DeleteQualityEntityResult() : - ServiceResult() -{} - -DeleteQualityEntityResult::DeleteQualityEntityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteQualityEntityResult::~DeleteQualityEntityResult() -{} - -void DeleteQualityEntityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int DeleteQualityEntityResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteQualityEntityResult::getData()const -{ - return data_; -} - -std::string DeleteQualityEntityResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteQualityEntityResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteQualityEntityResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteQualityFollowerRequest.cc b/dataworks-public/src/model/DeleteQualityFollowerRequest.cc deleted file mode 100644 index fd2f43410..000000000 --- a/dataworks-public/src/model/DeleteQualityFollowerRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteQualityFollowerRequest; - -DeleteQualityFollowerRequest::DeleteQualityFollowerRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityFollower") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteQualityFollowerRequest::~DeleteQualityFollowerRequest() -{} - -std::string DeleteQualityFollowerRequest::getProjectName()const -{ - return projectName_; -} - -void DeleteQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long DeleteQualityFollowerRequest::getFollowerId()const -{ - return followerId_; -} - -void DeleteQualityFollowerRequest::setFollowerId(long followerId) -{ - followerId_ = followerId; - setBodyParameter("FollowerId", std::to_string(followerId)); -} - diff --git a/dataworks-public/src/model/DeleteQualityFollowerResult.cc b/dataworks-public/src/model/DeleteQualityFollowerResult.cc deleted file mode 100644 index cae8b0490..000000000 --- a/dataworks-public/src/model/DeleteQualityFollowerResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteQualityFollowerResult::DeleteQualityFollowerResult() : - ServiceResult() -{} - -DeleteQualityFollowerResult::DeleteQualityFollowerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteQualityFollowerResult::~DeleteQualityFollowerResult() -{} - -void DeleteQualityFollowerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int DeleteQualityFollowerResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteQualityFollowerResult::getData()const -{ - return data_; -} - -std::string DeleteQualityFollowerResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteQualityFollowerResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteQualityFollowerResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc b/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc deleted file mode 100644 index db27f6bb8..000000000 --- a/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteQualityRelativeNodeRequest; - -DeleteQualityRelativeNodeRequest::DeleteQualityRelativeNodeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityRelativeNode") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteQualityRelativeNodeRequest::~DeleteQualityRelativeNodeRequest() -{} - -std::string DeleteQualityRelativeNodeRequest::getProjectName()const -{ - return projectName_; -} - -void DeleteQualityRelativeNodeRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long DeleteQualityRelativeNodeRequest::getTargetNodeProjectId()const -{ - return targetNodeProjectId_; -} - -void DeleteQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId) -{ - targetNodeProjectId_ = targetNodeProjectId; - setBodyParameter("TargetNodeProjectId", std::to_string(targetNodeProjectId)); -} - -std::string DeleteQualityRelativeNodeRequest::getMatchExpression()const -{ - return matchExpression_; -} - -void DeleteQualityRelativeNodeRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); -} - -std::string DeleteQualityRelativeNodeRequest::getEnvType()const -{ - return envType_; -} - -void DeleteQualityRelativeNodeRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); -} - -std::string DeleteQualityRelativeNodeRequest::getTargetNodeProjectName()const -{ - return targetNodeProjectName_; -} - -void DeleteQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string& targetNodeProjectName) -{ - targetNodeProjectName_ = targetNodeProjectName; - setBodyParameter("TargetNodeProjectName", targetNodeProjectName); -} - -std::string DeleteQualityRelativeNodeRequest::getTableName()const -{ - return tableName_; -} - -void DeleteQualityRelativeNodeRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); -} - -long DeleteQualityRelativeNodeRequest::getNodeId()const -{ - return nodeId_; -} - -void DeleteQualityRelativeNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - -long DeleteQualityRelativeNodeRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteQualityRelativeNodeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/DeleteQualityRelativeNodeResult.cc b/dataworks-public/src/model/DeleteQualityRelativeNodeResult.cc deleted file mode 100644 index c7f27f1e1..000000000 --- a/dataworks-public/src/model/DeleteQualityRelativeNodeResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteQualityRelativeNodeResult::DeleteQualityRelativeNodeResult() : - ServiceResult() -{} - -DeleteQualityRelativeNodeResult::DeleteQualityRelativeNodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteQualityRelativeNodeResult::~DeleteQualityRelativeNodeResult() -{} - -void DeleteQualityRelativeNodeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int DeleteQualityRelativeNodeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteQualityRelativeNodeResult::getData()const -{ - return data_; -} - -std::string DeleteQualityRelativeNodeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteQualityRelativeNodeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteQualityRelativeNodeResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteQualityRuleRequest.cc b/dataworks-public/src/model/DeleteQualityRuleRequest.cc deleted file mode 100644 index 84480c6d6..000000000 --- a/dataworks-public/src/model/DeleteQualityRuleRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteQualityRuleRequest; - -DeleteQualityRuleRequest::DeleteQualityRuleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityRule") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteQualityRuleRequest::~DeleteQualityRuleRequest() -{} - -std::string DeleteQualityRuleRequest::getProjectName()const -{ - return projectName_; -} - -void DeleteQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long DeleteQualityRuleRequest::getRuleId()const -{ - return ruleId_; -} - -void DeleteQualityRuleRequest::setRuleId(long ruleId) -{ - ruleId_ = ruleId; - setBodyParameter("RuleId", std::to_string(ruleId)); -} - diff --git a/dataworks-public/src/model/DeleteQualityRuleResult.cc b/dataworks-public/src/model/DeleteQualityRuleResult.cc deleted file mode 100644 index 3568c769d..000000000 --- a/dataworks-public/src/model/DeleteQualityRuleResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteQualityRuleResult::DeleteQualityRuleResult() : - ServiceResult() -{} - -DeleteQualityRuleResult::DeleteQualityRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteQualityRuleResult::~DeleteQualityRuleResult() -{} - -void DeleteQualityRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int DeleteQualityRuleResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteQualityRuleResult::getData()const -{ - return data_; -} - -std::string DeleteQualityRuleResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteQualityRuleResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteQualityRuleResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteRemindRequest.cc b/dataworks-public/src/model/DeleteRemindRequest.cc deleted file mode 100644 index d861e8e36..000000000 --- a/dataworks-public/src/model/DeleteRemindRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::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 deleted file mode 100644 index dac2e572a..000000000 --- a/dataworks-public/src/model/DeleteRemindResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeleteRemindResult::DeleteRemindResult() : - ServiceResult() -{} - -DeleteRemindResult::DeleteRemindResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteRemindResult::~DeleteRemindResult() -{} - -void DeleteRemindResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int DeleteRemindResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool DeleteRemindResult::getData()const -{ - return data_; -} - -std::string DeleteRemindResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteRemindResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeleteRemindResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeployFileRequest.cc b/dataworks-public/src/model/DeployFileRequest.cc deleted file mode 100644 index 7285985f4..000000000 --- a/dataworks-public/src/model/DeployFileRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeployFileRequest; - -DeployFileRequest::DeployFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeployFile") -{ - setMethod(HttpRequest::Method::Post); -} - -DeployFileRequest::~DeployFileRequest() -{} - -std::string DeployFileRequest::getComment()const -{ - return comment_; -} - -void DeployFileRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -long DeployFileRequest::getProjectId()const -{ - return projectId_; -} - -void DeployFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long DeployFileRequest::getNodeId()const -{ - return nodeId_; -} - -void DeployFileRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - -std::string DeployFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void DeployFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -long DeployFileRequest::getFileId()const -{ - return fileId_; -} - -void DeployFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - diff --git a/dataworks-public/src/model/DeployFileResult.cc b/dataworks-public/src/model/DeployFileResult.cc deleted file mode 100644 index 924739814..000000000 --- a/dataworks-public/src/model/DeployFileResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -DeployFileResult::DeployFileResult() : - ServiceResult() -{} - -DeployFileResult::DeployFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeployFileResult::~DeployFileResult() -{} - -void DeployFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int DeployFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long DeployFileResult::getData()const -{ - return data_; -} - -std::string DeployFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeployFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool DeployFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DescribeEmrHiveTableRequest.cc b/dataworks-public/src/model/DescribeEmrHiveTableRequest.cc new file mode 100644 index 000000000..6d532897a --- /dev/null +++ b/dataworks-public/src/model/DescribeEmrHiveTableRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DescribeEmrHiveTableRequest; + +DescribeEmrHiveTableRequest::DescribeEmrHiveTableRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "DescribeEmrHiveTable") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeEmrHiveTableRequest::~DescribeEmrHiveTableRequest() +{} + +std::string DescribeEmrHiveTableRequest::getDatabaseName()const +{ + return databaseName_; +} + +void DescribeEmrHiveTableRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +std::string DescribeEmrHiveTableRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeEmrHiveTableRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string DescribeEmrHiveTableRequest::getTableName()const +{ + return tableName_; +} + +void DescribeEmrHiveTableRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + diff --git a/dataworks-public/src/model/DescribeEmrHiveTableResult.cc b/dataworks-public/src/model/DescribeEmrHiveTableResult.cc new file mode 100644 index 000000000..fc99ec54e --- /dev/null +++ b/dataworks-public/src/model/DescribeEmrHiveTableResult.cc @@ -0,0 +1,130 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +DescribeEmrHiveTableResult::DescribeEmrHiveTableResult() : + ServiceResult() +{} + +DescribeEmrHiveTableResult::DescribeEmrHiveTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEmrHiveTableResult::~DescribeEmrHiveTableResult() +{} + +void DescribeEmrHiveTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["ClusterBizId"].isNull()) + data_.clusterBizId = dataNode["ClusterBizId"].asString(); + if(!dataNode["TableName"].isNull()) + data_.tableName = dataNode["TableName"].asString(); + if(!dataNode["TableType"].isNull()) + data_.tableType = dataNode["TableType"].asString(); + if(!dataNode["Owner"].isNull()) + data_.owner = dataNode["Owner"].asString(); + if(!dataNode["OwnerType"].isNull()) + data_.ownerType = dataNode["OwnerType"].asString(); + if(!dataNode["IsTemporary"].isNull()) + data_.isTemporary = dataNode["IsTemporary"].asString() == "true"; + if(!dataNode["SerializationLib"].isNull()) + data_.serializationLib = dataNode["SerializationLib"].asString(); + if(!dataNode["InputFormat"].isNull()) + data_.inputFormat = dataNode["InputFormat"].asString(); + if(!dataNode["OutputFormat"].isNull()) + data_.outputFormat = dataNode["OutputFormat"].asString(); + if(!dataNode["Location"].isNull()) + data_.location = dataNode["Location"].asString(); + if(!dataNode["LastAccessTime"].isNull()) + data_.lastAccessTime = dataNode["LastAccessTime"].asString(); + if(!dataNode["GmtCreate"].isNull()) + data_.gmtCreate = dataNode["GmtCreate"].asString(); + if(!dataNode["GmtModified"].isNull()) + data_.gmtModified = dataNode["GmtModified"].asString(); + if(!dataNode["TableComment"].isNull()) + data_.tableComment = dataNode["TableComment"].asString(); + if(!dataNode["TableParameters"].isNull()) + data_.tableParameters = dataNode["TableParameters"].asString(); + if(!dataNode["PartitionKeys"].isNull()) + data_.partitionKeys = dataNode["PartitionKeys"].asString(); + if(!dataNode["IsCompressed"].isNull()) + data_.isCompressed = dataNode["IsCompressed"].asString() == "true"; + if(!dataNode["ClusterBizName"].isNull()) + data_.clusterBizName = dataNode["ClusterBizName"].asString(); + if(!dataNode["DatabaseName"].isNull()) + data_.databaseName = dataNode["DatabaseName"].asString(); + if(!dataNode["OwnerId"].isNull()) + data_.ownerId = dataNode["OwnerId"].asString(); + if(!dataNode["TableDesc"].isNull()) + data_.tableDesc = dataNode["TableDesc"].asString(); + if(!dataNode["LastModifyTime"].isNull()) + data_.lastModifyTime = dataNode["LastModifyTime"].asString(); + if(!dataNode["TableSize"].isNull()) + data_.tableSize = std::stol(dataNode["TableSize"].asString()); + auto allColumnsNode = dataNode["Columns"]["TableColumn"]; + for (auto dataNodeColumnsTableColumn : allColumnsNode) + { + Data::TableColumn tableColumnObject; + if(!dataNodeColumnsTableColumn["ColumnPosition"].isNull()) + tableColumnObject.columnPosition = std::stoi(dataNodeColumnsTableColumn["ColumnPosition"].asString()); + if(!dataNodeColumnsTableColumn["ColumnName"].isNull()) + tableColumnObject.columnName = dataNodeColumnsTableColumn["ColumnName"].asString(); + if(!dataNodeColumnsTableColumn["ColumnType"].isNull()) + tableColumnObject.columnType = dataNodeColumnsTableColumn["ColumnType"].asString(); + if(!dataNodeColumnsTableColumn["ColumnComment"].isNull()) + tableColumnObject.columnComment = dataNodeColumnsTableColumn["ColumnComment"].asString(); + if(!dataNodeColumnsTableColumn["GmtCreate"].isNull()) + tableColumnObject.gmtCreate = dataNodeColumnsTableColumn["GmtCreate"].asString(); + if(!dataNodeColumnsTableColumn["GmtModified"].isNull()) + tableColumnObject.gmtModified = dataNodeColumnsTableColumn["GmtModified"].asString(); + if(!dataNodeColumnsTableColumn["Comment"].isNull()) + tableColumnObject.comment = dataNodeColumnsTableColumn["Comment"].asString(); + data_.columns.push_back(tableColumnObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +DescribeEmrHiveTableResult::Data DescribeEmrHiveTableResult::getData()const +{ + return data_; +} + +std::string DescribeEmrHiveTableResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeEmrHiveTableResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc b/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc deleted file mode 100644 index 2840949d9..000000000 --- a/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::EstablishRelationTableToBusinessRequest; - -EstablishRelationTableToBusinessRequest::EstablishRelationTableToBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "EstablishRelationTableToBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -EstablishRelationTableToBusinessRequest::~EstablishRelationTableToBusinessRequest() -{} - -std::string EstablishRelationTableToBusinessRequest::getTableGuid()const -{ - return tableGuid_; -} - -void EstablishRelationTableToBusinessRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setBodyParameter("TableGuid", tableGuid); -} - -std::string EstablishRelationTableToBusinessRequest::getBusinessId()const -{ - return businessId_; -} - -void EstablishRelationTableToBusinessRequest::setBusinessId(const std::string& businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", businessId); -} - -long EstablishRelationTableToBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void EstablishRelationTableToBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string EstablishRelationTableToBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void EstablishRelationTableToBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string EstablishRelationTableToBusinessRequest::getFolderId()const -{ - return folderId_; -} - -void EstablishRelationTableToBusinessRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); -} - diff --git a/dataworks-public/src/model/EstablishRelationTableToBusinessResult.cc b/dataworks-public/src/model/EstablishRelationTableToBusinessResult.cc deleted file mode 100644 index 33c00cb89..000000000 --- a/dataworks-public/src/model/EstablishRelationTableToBusinessResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -EstablishRelationTableToBusinessResult::EstablishRelationTableToBusinessResult() : - ServiceResult() -{} - -EstablishRelationTableToBusinessResult::EstablishRelationTableToBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -EstablishRelationTableToBusinessResult::~EstablishRelationTableToBusinessResult() -{} - -void EstablishRelationTableToBusinessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int EstablishRelationTableToBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string EstablishRelationTableToBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string EstablishRelationTableToBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool EstablishRelationTableToBusinessResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetBaselineConfigRequest.cc b/dataworks-public/src/model/GetBaselineConfigRequest.cc deleted file mode 100644 index 79cdf0151..000000000 --- a/dataworks-public/src/model/GetBaselineConfigRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetBaselineConfigRequest; - -GetBaselineConfigRequest::GetBaselineConfigRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -GetBaselineConfigRequest::~GetBaselineConfigRequest() -{} - -long GetBaselineConfigRequest::getBaselineId()const -{ - return baselineId_; -} - -void GetBaselineConfigRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); -} - diff --git a/dataworks-public/src/model/GetBaselineConfigResult.cc b/dataworks-public/src/model/GetBaselineConfigResult.cc deleted file mode 100644 index 8740ef455..000000000 --- a/dataworks-public/src/model/GetBaselineConfigResult.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetBaselineConfigResult::GetBaselineConfigResult() : - ServiceResult() -{} - -GetBaselineConfigResult::GetBaselineConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBaselineConfigResult::~GetBaselineConfigResult() -{} - -void GetBaselineConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["BaselineId"].isNull()) - data_.baselineId = std::stol(dataNode["BaselineId"].asString()); - if(!dataNode["Priority"].isNull()) - data_.priority = std::stoi(dataNode["Priority"].asString()); - if(!dataNode["BaselineName"].isNull()) - data_.baselineName = dataNode["BaselineName"].asString(); - if(!dataNode["Owner"].isNull()) - data_.owner = dataNode["Owner"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["UseFlag"].isNull()) - data_.useFlag = dataNode["UseFlag"].asString() == "true"; - if(!dataNode["BaselineType"].isNull()) - data_.baselineType = dataNode["BaselineType"].asString(); - if(!dataNode["ExpHour"].isNull()) - data_.expHour = std::stoi(dataNode["ExpHour"].asString()); - if(!dataNode["ExpMinu"].isNull()) - data_.expMinu = std::stoi(dataNode["ExpMinu"].asString()); - if(!dataNode["SlaHour"].isNull()) - data_.slaHour = std::stoi(dataNode["SlaHour"].asString()); - if(!dataNode["SlaMinu"].isNull()) - data_.slaMinu = std::stoi(dataNode["SlaMinu"].asString()); - if(!dataNode["HourExpDetail"].isNull()) - data_.hourExpDetail = dataNode["HourExpDetail"].asString(); - if(!dataNode["HourSlaDetail"].isNull()) - data_.hourSlaDetail = dataNode["HourSlaDetail"].asString(); - if(!dataNode["IsDefault"].isNull()) - data_.isDefault = dataNode["IsDefault"].asString() == "true"; - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetBaselineConfigResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetBaselineConfigResult::Data GetBaselineConfigResult::getData()const -{ - return data_; -} - -std::string GetBaselineConfigResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetBaselineConfigResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetBaselineConfigResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetBaselineKeyPathRequest.cc b/dataworks-public/src/model/GetBaselineKeyPathRequest.cc deleted file mode 100644 index 094c22e15..000000000 --- a/dataworks-public/src/model/GetBaselineKeyPathRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetBaselineKeyPathRequest; - -GetBaselineKeyPathRequest::GetBaselineKeyPathRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineKeyPath") -{ - setMethod(HttpRequest::Method::Post); -} - -GetBaselineKeyPathRequest::~GetBaselineKeyPathRequest() -{} - -std::string GetBaselineKeyPathRequest::getBizdate()const -{ - return bizdate_; -} - -void GetBaselineKeyPathRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); -} - -int GetBaselineKeyPathRequest::getInGroupId()const -{ - return inGroupId_; -} - -void GetBaselineKeyPathRequest::setInGroupId(int inGroupId) -{ - inGroupId_ = inGroupId; - setBodyParameter("InGroupId", std::to_string(inGroupId)); -} - -long GetBaselineKeyPathRequest::getBaselineId()const -{ - return baselineId_; -} - -void GetBaselineKeyPathRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); -} - diff --git a/dataworks-public/src/model/GetBaselineKeyPathResult.cc b/dataworks-public/src/model/GetBaselineKeyPathResult.cc deleted file mode 100644 index db3d833ec..000000000 --- a/dataworks-public/src/model/GetBaselineKeyPathResult.cc +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetBaselineKeyPathResult::GetBaselineKeyPathResult() : - ServiceResult() -{} - -GetBaselineKeyPathResult::GetBaselineKeyPathResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBaselineKeyPathResult::~GetBaselineKeyPathResult() -{} - -void GetBaselineKeyPathResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["InstanceId"].isNull()) - dataObject.instanceId = std::stol(valueDataDataItem["InstanceId"].asString()); - if(!valueDataDataItem["ProjectId"].isNull()) - dataObject.projectId = std::stol(valueDataDataItem["ProjectId"].asString()); - if(!valueDataDataItem["NodeId"].isNull()) - dataObject.nodeId = std::stol(valueDataDataItem["NodeId"].asString()); - if(!valueDataDataItem["NodeName"].isNull()) - dataObject.nodeName = valueDataDataItem["NodeName"].asString(); - if(!valueDataDataItem["Bizdate"].isNull()) - dataObject.bizdate = std::stol(valueDataDataItem["Bizdate"].asString()); - if(!valueDataDataItem["InGroupId"].isNull()) - dataObject.inGroupId = std::stoi(valueDataDataItem["InGroupId"].asString()); - if(!valueDataDataItem["Owner"].isNull()) - dataObject.owner = valueDataDataItem["Owner"].asString(); - if(!valueDataDataItem["PrgType"].isNull()) - dataObject.prgType = std::stoi(valueDataDataItem["PrgType"].asString()); - auto allRunsNode = allDataNode["Runs"]["RunsItem"]; - for (auto allDataNodeRunsRunsItem : allRunsNode) - { - DataItem::RunsItem runsObject; - if(!allDataNodeRunsRunsItem["AbsTime"].isNull()) - runsObject.absTime = std::stol(allDataNodeRunsRunsItem["AbsTime"].asString()); - if(!allDataNodeRunsRunsItem["BeginCast"].isNull()) - runsObject.beginCast = std::stol(allDataNodeRunsRunsItem["BeginCast"].asString()); - if(!allDataNodeRunsRunsItem["BeginRunningTime"].isNull()) - runsObject.beginRunningTime = std::stol(allDataNodeRunsRunsItem["BeginRunningTime"].asString()); - if(!allDataNodeRunsRunsItem["BeginWaitResTime"].isNull()) - runsObject.beginWaitResTime = std::stol(allDataNodeRunsRunsItem["BeginWaitResTime"].asString()); - if(!allDataNodeRunsRunsItem["BeginWaitTimeTime"].isNull()) - runsObject.beginWaitTimeTime = std::stol(allDataNodeRunsRunsItem["BeginWaitTimeTime"].asString()); - if(!allDataNodeRunsRunsItem["Bizdate"].isNull()) - runsObject.bizdate = std::stol(allDataNodeRunsRunsItem["Bizdate"].asString()); - if(!allDataNodeRunsRunsItem["CycTime"].isNull()) - runsObject.cycTime = std::stol(allDataNodeRunsRunsItem["CycTime"].asString()); - if(!allDataNodeRunsRunsItem["EndCast"].isNull()) - runsObject.endCast = std::stol(allDataNodeRunsRunsItem["EndCast"].asString()); - if(!allDataNodeRunsRunsItem["FinishTime"].isNull()) - runsObject.finishTime = std::stol(allDataNodeRunsRunsItem["FinishTime"].asString()); - if(!allDataNodeRunsRunsItem["InGroupId"].isNull()) - runsObject.inGroupId = std::stoi(allDataNodeRunsRunsItem["InGroupId"].asString()); - if(!allDataNodeRunsRunsItem["InstanceId"].isNull()) - runsObject.instanceId = std::stol(allDataNodeRunsRunsItem["InstanceId"].asString()); - if(!allDataNodeRunsRunsItem["NodeId"].isNull()) - runsObject.nodeId = std::stol(allDataNodeRunsRunsItem["NodeId"].asString()); - if(!allDataNodeRunsRunsItem["NodeName"].isNull()) - runsObject.nodeName = allDataNodeRunsRunsItem["NodeName"].asString(); - if(!allDataNodeRunsRunsItem["Owner"].isNull()) - runsObject.owner = allDataNodeRunsRunsItem["Owner"].asString(); - if(!allDataNodeRunsRunsItem["ProjectId"].isNull()) - runsObject.projectId = std::stol(allDataNodeRunsRunsItem["ProjectId"].asString()); - if(!allDataNodeRunsRunsItem["Status"].isNull()) - runsObject.status = allDataNodeRunsRunsItem["Status"].asString(); - dataObject.runs.push_back(runsObject); - } - auto allTopicsNode = allDataNode["Topics"]["TopicsItem"]; - for (auto allDataNodeTopicsTopicsItem : allTopicsNode) - { - DataItem::TopicsItem topicsObject; - if(!allDataNodeTopicsTopicsItem["InstanceId"].isNull()) - topicsObject.instanceId = std::stol(allDataNodeTopicsTopicsItem["InstanceId"].asString()); - if(!allDataNodeTopicsTopicsItem["TopicId"].isNull()) - topicsObject.topicId = std::stol(allDataNodeTopicsTopicsItem["TopicId"].asString()); - if(!allDataNodeTopicsTopicsItem["TopicName"].isNull()) - topicsObject.topicName = std::stol(allDataNodeTopicsTopicsItem["TopicName"].asString()); - if(!allDataNodeTopicsTopicsItem["AddTime"].isNull()) - topicsObject.addTime = std::stol(allDataNodeTopicsTopicsItem["AddTime"].asString()); - dataObject.topics.push_back(topicsObject); - } - data_.push_back(dataObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetBaselineKeyPathResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector GetBaselineKeyPathResult::getData()const -{ - return data_; -} - -std::string GetBaselineKeyPathResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetBaselineKeyPathResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetBaselineKeyPathResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetBaselineStatusRequest.cc b/dataworks-public/src/model/GetBaselineStatusRequest.cc deleted file mode 100644 index 7c98efd9f..000000000 --- a/dataworks-public/src/model/GetBaselineStatusRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetBaselineStatusRequest; - -GetBaselineStatusRequest::GetBaselineStatusRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetBaselineStatusRequest::~GetBaselineStatusRequest() -{} - -std::string GetBaselineStatusRequest::getBizdate()const -{ - return bizdate_; -} - -void GetBaselineStatusRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); -} - -int GetBaselineStatusRequest::getInGroupId()const -{ - return inGroupId_; -} - -void GetBaselineStatusRequest::setInGroupId(int inGroupId) -{ - inGroupId_ = inGroupId; - setBodyParameter("InGroupId", std::to_string(inGroupId)); -} - -long GetBaselineStatusRequest::getBaselineId()const -{ - return baselineId_; -} - -void GetBaselineStatusRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); -} - diff --git a/dataworks-public/src/model/GetBaselineStatusResult.cc b/dataworks-public/src/model/GetBaselineStatusResult.cc deleted file mode 100644 index 7b78aa4f2..000000000 --- a/dataworks-public/src/model/GetBaselineStatusResult.cc +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetBaselineStatusResult::GetBaselineStatusResult() : - ServiceResult() -{} - -GetBaselineStatusResult::GetBaselineStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBaselineStatusResult::~GetBaselineStatusResult() -{} - -void GetBaselineStatusResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["BaselineName"].isNull()) - data_.baselineName = dataNode["BaselineName"].asString(); - if(!dataNode["BaselineId"].isNull()) - data_.baselineId = std::stol(dataNode["BaselineId"].asString()); - if(!dataNode["Bizdate"].isNull()) - data_.bizdate = std::stol(dataNode["Bizdate"].asString()); - if(!dataNode["Owner"].isNull()) - data_.owner = dataNode["Owner"].asString(); - if(!dataNode["ExpTime"].isNull()) - data_.expTime = std::stol(dataNode["ExpTime"].asString()); - if(!dataNode["FinishTime"].isNull()) - data_.finishTime = std::stol(dataNode["FinishTime"].asString()); - if(!dataNode["EndCast"].isNull()) - data_.endCast = std::stol(dataNode["EndCast"].asString()); - if(!dataNode["SlaTime"].isNull()) - data_.slaTime = std::stol(dataNode["SlaTime"].asString()); - if(!dataNode["Priority"].isNull()) - data_.priority = std::stoi(dataNode["Priority"].asString()); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["Buffer"].isNull()) - data_.buffer = std::stof(dataNode["Buffer"].asString()); - if(!dataNode["Status"].isNull()) - data_.status = dataNode["Status"].asString(); - if(!dataNode["FinishStatus"].isNull()) - data_.finishStatus = dataNode["FinishStatus"].asString(); - if(!dataNode["InGroupId"].isNull()) - data_.inGroupId = std::stoi(dataNode["InGroupId"].asString()); - auto lastInstanceNode = dataNode["LastInstance"]; - if(!lastInstanceNode["InstanceId"].isNull()) - data_.lastInstance.instanceId = std::stol(lastInstanceNode["InstanceId"].asString()); - if(!lastInstanceNode["Status"].isNull()) - data_.lastInstance.status = lastInstanceNode["Status"].asString(); - if(!lastInstanceNode["ProjectId"].isNull()) - data_.lastInstance.projectId = std::stol(lastInstanceNode["ProjectId"].asString()); - if(!lastInstanceNode["Owner"].isNull()) - data_.lastInstance.owner = lastInstanceNode["Owner"].asString(); - if(!lastInstanceNode["NodeId"].isNull()) - data_.lastInstance.nodeId = std::stol(lastInstanceNode["NodeId"].asString()); - if(!lastInstanceNode["FinishTime"].isNull()) - data_.lastInstance.finishTime = std::stol(lastInstanceNode["FinishTime"].asString()); - if(!lastInstanceNode["EndCast"].isNull()) - data_.lastInstance.endCast = std::stol(lastInstanceNode["EndCast"].asString()); - if(!lastInstanceNode["NodeName"].isNull()) - data_.lastInstance.nodeName = lastInstanceNode["NodeName"].asString(); - auto blockInstanceNode = dataNode["BlockInstance"]; - if(!blockInstanceNode["InstanceId"].isNull()) - data_.blockInstance.instanceId = std::stol(blockInstanceNode["InstanceId"].asString()); - if(!blockInstanceNode["Status"].isNull()) - data_.blockInstance.status = blockInstanceNode["Status"].asString(); - if(!blockInstanceNode["ProjectId"].isNull()) - data_.blockInstance.projectId = std::stol(blockInstanceNode["ProjectId"].asString()); - if(!blockInstanceNode["Owner"].isNull()) - data_.blockInstance.owner = blockInstanceNode["Owner"].asString(); - if(!blockInstanceNode["NodeId"].isNull()) - data_.blockInstance.nodeId = std::stol(blockInstanceNode["NodeId"].asString()); - if(!blockInstanceNode["FinishTime"].isNull()) - data_.blockInstance.finishTime = std::stol(blockInstanceNode["FinishTime"].asString()); - if(!blockInstanceNode["EndCast"].isNull()) - data_.blockInstance.endCast = std::stol(blockInstanceNode["EndCast"].asString()); - if(!blockInstanceNode["NodeName"].isNull()) - data_.blockInstance.nodeName = blockInstanceNode["NodeName"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetBaselineStatusResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetBaselineStatusResult::Data GetBaselineStatusResult::getData()const -{ - return data_; -} - -std::string GetBaselineStatusResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetBaselineStatusResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetBaselineStatusResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetBusinessRequest.cc b/dataworks-public/src/model/GetBusinessRequest.cc deleted file mode 100644 index e49125a1c..000000000 --- a/dataworks-public/src/model/GetBusinessRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetBusinessRequest; - -GetBusinessRequest::GetBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -GetBusinessRequest::~GetBusinessRequest() -{} - -long GetBusinessRequest::getBusinessId()const -{ - return businessId_; -} - -void GetBusinessRequest::setBusinessId(long businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", std::to_string(businessId)); -} - -long GetBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void GetBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/GetBusinessResult.cc b/dataworks-public/src/model/GetBusinessResult.cc deleted file mode 100644 index 855fdaf95..000000000 --- a/dataworks-public/src/model/GetBusinessResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetBusinessResult::GetBusinessResult() : - ServiceResult() -{} - -GetBusinessResult::GetBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBusinessResult::~GetBusinessResult() -{} - -void GetBusinessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["BusinessId"].isNull()) - data_.businessId = std::stol(dataNode["BusinessId"].asString()); - if(!dataNode["BusinessName"].isNull()) - data_.businessName = dataNode["BusinessName"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = dataNode["ProjectId"].asString(); - if(!dataNode["Owner"].isNull()) - data_.owner = dataNode["Owner"].asString(); - if(!dataNode["Description"].isNull()) - data_.description = dataNode["Description"].asString(); - if(!dataNode["UseType"].isNull()) - data_.useType = dataNode["UseType"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetBusinessResult::Data GetBusinessResult::getData()const -{ - return data_; -} - -std::string GetBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetBusinessResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetDataServiceApiRequest.cc b/dataworks-public/src/model/GetDataServiceApiRequest.cc deleted file mode 100644 index 7e73b8f68..000000000 --- a/dataworks-public/src/model/GetDataServiceApiRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataServiceApiRequest; - -GetDataServiceApiRequest::GetDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataServiceApiRequest::~GetDataServiceApiRequest() -{} - -long GetDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void GetDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long GetDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void GetDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long GetDataServiceApiRequest::getApiId()const -{ - return apiId_; -} - -void GetDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/GetDataServiceApiResult.cc b/dataworks-public/src/model/GetDataServiceApiResult.cc deleted file mode 100644 index 6e7e67ba0..000000000 --- a/dataworks-public/src/model/GetDataServiceApiResult.cc +++ /dev/null @@ -1,262 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License 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()); - auto registrationDetailsNode = dataNode["RegistrationDetails"]; - if(!registrationDetailsNode["FailedResultSample"].isNull()) - data_.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); - if(!registrationDetailsNode["ServiceContentType"].isNull()) - data_.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString()); - if(!registrationDetailsNode["ServiceHost"].isNull()) - data_.registrationDetails.serviceHost = registrationDetailsNode["ServiceHost"].asString(); - if(!registrationDetailsNode["ServicePath"].isNull()) - data_.registrationDetails.servicePath = registrationDetailsNode["ServicePath"].asString(); - if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) - data_.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString(); - if(!registrationDetailsNode["SuccessfulResultSample"].isNull()) - data_.registrationDetails.successfulResultSample = registrationDetailsNode["SuccessfulResultSample"].asString(); - auto allRegistrationErrorCodesNode = registrationDetailsNode["RegistrationErrorCodes"]["RegistrationErrorCode"]; - for (auto registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode : allRegistrationErrorCodesNode) - { - Data::RegistrationDetails::RegistrationErrorCode registrationErrorCodeObject; - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull()) - registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].isNull()) - registrationErrorCodeObject.errorMessage = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) - registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); - data_.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); - } - auto allRegistrationRequestParametersNode = registrationDetailsNode["RegistrationRequestParameters"]["RegistrationRequestParameter"]; - for (auto registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter : allRegistrationRequestParametersNode) - { - Data::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].isNull()) - registrationRequestParameterObject.columnName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) - registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull()) - registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull()) - registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) - registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) - registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull()) - registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) - registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull()) - registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString()); - data_.registrationDetails.registrationRequestParameters.push_back(registrationRequestParameterObject); - } - auto scriptDetailsNode = dataNode["ScriptDetails"]; - if(!scriptDetailsNode["IsPagedResponse"].isNull()) - data_.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true"; - if(!scriptDetailsNode["Script"].isNull()) - data_.scriptDetails.script = scriptDetailsNode["Script"].asString(); - auto allScriptRequestParametersNode = scriptDetailsNode["ScriptRequestParameters"]["ScriptRequestParameter"]; - for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode) - { - Data::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].isNull()) - scriptRequestParameterObject.columnName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) - scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull()) - scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull()) - scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) - scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) - scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull()) - scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) - scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull()) - scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString()); - data_.scriptDetails.scriptRequestParameters.push_back(scriptRequestParameterObject); - } - auto allScriptResponseParametersNode = scriptDetailsNode["ScriptResponseParameters"]["ScriptResponseParameter"]; - for (auto scriptDetailsNodeScriptResponseParametersScriptResponseParameter : allScriptResponseParametersNode) - { - Data::ScriptDetails::ScriptResponseParameter scriptResponseParameterObject; - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].isNull()) - scriptResponseParameterObject.columnName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) - scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) - scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].isNull()) - scriptResponseParameterObject.parameterDescription = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull()) - scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString(); - data_.scriptDetails.scriptResponseParameters.push_back(scriptResponseParameterObject); - } - auto scriptConnectionNode = scriptDetailsNode["ScriptConnection"]; - if(!scriptConnectionNode["ConnectionId"].isNull()) - data_.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString()); - if(!scriptConnectionNode["TableName"].isNull()) - data_.scriptDetails.scriptConnection.tableName = scriptConnectionNode["TableName"].asString(); - auto wizardDetailsNode = dataNode["WizardDetails"]; - if(!wizardDetailsNode["IsPagedResponse"].isNull()) - data_.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true"; - auto allWizardRequestParametersNode = wizardDetailsNode["WizardRequestParameters"]["WizardRequestParameter"]; - for (auto wizardDetailsNodeWizardRequestParametersWizardRequestParameter : allWizardRequestParametersNode) - { - Data::WizardDetails::WizardRequestParameter wizardRequestParameterObject; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].isNull()) - wizardRequestParameterObject.columnName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) - wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull()) - wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull()) - wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) - wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) - wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull()) - wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) - wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull()) - wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString()); - data_.wizardDetails.wizardRequestParameters.push_back(wizardRequestParameterObject); - } - auto allWizardResponseParametersNode = wizardDetailsNode["WizardResponseParameters"]["WizardResponseParameter"]; - for (auto wizardDetailsNodeWizardResponseParametersWizardResponseParameter : allWizardResponseParametersNode) - { - Data::WizardDetails::WizardResponseParameter wizardResponseParameterObject; - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].isNull()) - wizardResponseParameterObject.columnName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) - wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) - wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].isNull()) - wizardResponseParameterObject.parameterDescription = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull()) - wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString(); - data_.wizardDetails.wizardResponseParameters.push_back(wizardResponseParameterObject); - } - auto wizardConnectionNode = wizardDetailsNode["WizardConnection"]; - if(!wizardConnectionNode["ConnectionId"].isNull()) - data_.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString()); - if(!wizardConnectionNode["TableName"].isNull()) - data_.wizardDetails.wizardConnection.tableName = wizardConnectionNode["TableName"].asString(); - auto allProtocols = dataNode["Protocols"]["Protocol"]; - for (auto value : allProtocols) - data_.protocols.push_back(value.asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetDataServiceApiResult::Data GetDataServiceApiResult::getData()const -{ - return data_; -} - -std::string GetDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetDataServiceApplicationRequest.cc b/dataworks-public/src/model/GetDataServiceApplicationRequest.cc deleted file mode 100644 index 2421d34d9..000000000 --- a/dataworks-public/src/model/GetDataServiceApplicationRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataServiceApplicationRequest; - -GetDataServiceApplicationRequest::GetDataServiceApplicationRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApplication") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataServiceApplicationRequest::~GetDataServiceApplicationRequest() -{} - -long GetDataServiceApplicationRequest::getTenantId()const -{ - return tenantId_; -} - -void GetDataServiceApplicationRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long GetDataServiceApplicationRequest::getApplicationId()const -{ - return applicationId_; -} - -void GetDataServiceApplicationRequest::setApplicationId(long applicationId) -{ - applicationId_ = applicationId; - setBodyParameter("ApplicationId", std::to_string(applicationId)); -} - -long GetDataServiceApplicationRequest::getProjectId()const -{ - return projectId_; -} - -void GetDataServiceApplicationRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/GetDataServiceApplicationResult.cc b/dataworks-public/src/model/GetDataServiceApplicationResult.cc deleted file mode 100644 index 32b9712a6..000000000 --- a/dataworks-public/src/model/GetDataServiceApplicationResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetDataServiceApplicationResult::GetDataServiceApplicationResult() : - ServiceResult() -{} - -GetDataServiceApplicationResult::GetDataServiceApplicationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDataServiceApplicationResult::~GetDataServiceApplicationResult() -{} - -void GetDataServiceApplicationResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["ApplicationCode"].isNull()) - data_.applicationCode = dataNode["ApplicationCode"].asString(); - if(!dataNode["ApplicationId"].isNull()) - data_.applicationId = std::stol(dataNode["ApplicationId"].asString()); - if(!dataNode["ApplicationKey"].isNull()) - data_.applicationKey = dataNode["ApplicationKey"].asString(); - if(!dataNode["ApplicationName"].isNull()) - data_.applicationName = dataNode["ApplicationName"].asString(); - if(!dataNode["ApplicationSecret"].isNull()) - data_.applicationSecret = dataNode["ApplicationSecret"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetDataServiceApplicationResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetDataServiceApplicationResult::Data GetDataServiceApplicationResult::getData()const -{ - return data_; -} - -std::string GetDataServiceApplicationResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetDataServiceApplicationResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetDataServiceApplicationResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetDataServicePublishedApiRequest.cc b/dataworks-public/src/model/GetDataServicePublishedApiRequest.cc deleted file mode 100644 index 23161f731..000000000 --- a/dataworks-public/src/model/GetDataServicePublishedApiRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataServicePublishedApiRequest; - -GetDataServicePublishedApiRequest::GetDataServicePublishedApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServicePublishedApi") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataServicePublishedApiRequest::~GetDataServicePublishedApiRequest() -{} - -long GetDataServicePublishedApiRequest::getTenantId()const -{ - return tenantId_; -} - -void GetDataServicePublishedApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long GetDataServicePublishedApiRequest::getProjectId()const -{ - return projectId_; -} - -void GetDataServicePublishedApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long GetDataServicePublishedApiRequest::getApiId()const -{ - return apiId_; -} - -void GetDataServicePublishedApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/GetDataServicePublishedApiResult.cc b/dataworks-public/src/model/GetDataServicePublishedApiResult.cc deleted file mode 100644 index b34f43934..000000000 --- a/dataworks-public/src/model/GetDataServicePublishedApiResult.cc +++ /dev/null @@ -1,284 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetDataServicePublishedApiResult::GetDataServicePublishedApiResult() : - ServiceResult() -{} - -GetDataServicePublishedApiResult::GetDataServicePublishedApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDataServicePublishedApiResult::~GetDataServicePublishedApiResult() -{} - -void GetDataServicePublishedApiResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["ApiId"].isNull()) - data_.apiId = std::stol(dataNode["ApiId"].asString()); - if(!dataNode["ApiMode"].isNull()) - data_.apiMode = std::stoi(dataNode["ApiMode"].asString()); - if(!dataNode["ApiName"].isNull()) - data_.apiName = dataNode["ApiName"].asString(); - if(!dataNode["ApiPath"].isNull()) - data_.apiPath = dataNode["ApiPath"].asString(); - if(!dataNode["CreatedTime"].isNull()) - data_.createdTime = dataNode["CreatedTime"].asString(); - if(!dataNode["CreatorId"].isNull()) - data_.creatorId = dataNode["CreatorId"].asString(); - if(!dataNode["Description"].isNull()) - data_.description = dataNode["Description"].asString(); - if(!dataNode["GroupId"].isNull()) - data_.groupId = dataNode["GroupId"].asString(); - if(!dataNode["ModifiedTime"].isNull()) - data_.modifiedTime = dataNode["ModifiedTime"].asString(); - if(!dataNode["OperatorId"].isNull()) - data_.operatorId = dataNode["OperatorId"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["RequestMethod"].isNull()) - data_.requestMethod = std::stoi(dataNode["RequestMethod"].asString()); - if(!dataNode["ResponseContentType"].isNull()) - data_.responseContentType = std::stoi(dataNode["ResponseContentType"].asString()); - if(!dataNode["Status"].isNull()) - data_.status = std::stoi(dataNode["Status"].asString()); - if(!dataNode["TenantId"].isNull()) - data_.tenantId = std::stol(dataNode["TenantId"].asString()); - if(!dataNode["Timeout"].isNull()) - data_.timeout = std::stoi(dataNode["Timeout"].asString()); - if(!dataNode["VisibleRange"].isNull()) - data_.visibleRange = std::stoi(dataNode["VisibleRange"].asString()); - auto registrationDetailsNode = dataNode["RegistrationDetails"]; - if(!registrationDetailsNode["FailedResultSample"].isNull()) - data_.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); - if(!registrationDetailsNode["ServiceContentType"].isNull()) - data_.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString()); - if(!registrationDetailsNode["ServiceHost"].isNull()) - data_.registrationDetails.serviceHost = registrationDetailsNode["ServiceHost"].asString(); - if(!registrationDetailsNode["ServicePath"].isNull()) - data_.registrationDetails.servicePath = registrationDetailsNode["ServicePath"].asString(); - if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) - data_.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString(); - if(!registrationDetailsNode["SuccessfulResultSample"].isNull()) - data_.registrationDetails.successfulResultSample = registrationDetailsNode["SuccessfulResultSample"].asString(); - auto allRegistrationErrorCodesNode = registrationDetailsNode["RegistrationErrorCodes"]["RegistrationErrorCode"]; - for (auto registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode : allRegistrationErrorCodesNode) - { - Data::RegistrationDetails::RegistrationErrorCode registrationErrorCodeObject; - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull()) - registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].isNull()) - registrationErrorCodeObject.errorMessage = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) - registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); - data_.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); - } - auto allRegistrationRequestParametersNode = registrationDetailsNode["RegistrationRequestParameters"]["RegistrationRequestParameter"]; - for (auto registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter : allRegistrationRequestParametersNode) - { - Data::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) - registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull()) - registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull()) - registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) - registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) - registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull()) - registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) - registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull()) - registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString()); - data_.registrationDetails.registrationRequestParameters.push_back(registrationRequestParameterObject); - } - auto scriptDetailsNode = dataNode["ScriptDetails"]; - if(!scriptDetailsNode["FailedResultSample"].isNull()) - data_.scriptDetails.failedResultSample = scriptDetailsNode["FailedResultSample"].asString(); - if(!scriptDetailsNode["IsPagedResponse"].isNull()) - data_.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true"; - if(!scriptDetailsNode["Script"].isNull()) - data_.scriptDetails.script = scriptDetailsNode["Script"].asString(); - if(!scriptDetailsNode["SuccessfulResultSample"].isNull()) - data_.scriptDetails.successfulResultSample = scriptDetailsNode["SuccessfulResultSample"].asString(); - auto allScriptErrorCodesNode = scriptDetailsNode["ScriptErrorCodes"]["ScriptErrorCode"]; - for (auto scriptDetailsNodeScriptErrorCodesScriptErrorCode : allScriptErrorCodesNode) - { - Data::ScriptDetails::ScriptErrorCode scriptErrorCodeObject; - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].isNull()) - scriptErrorCodeObject.errorCode = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].asString(); - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorMessage"].isNull()) - scriptErrorCodeObject.errorMessage = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorMessage"].asString(); - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].isNull()) - scriptErrorCodeObject.errorSolution = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].asString(); - data_.scriptDetails.scriptErrorCodes.push_back(scriptErrorCodeObject); - } - auto allScriptRequestParametersNode = scriptDetailsNode["ScriptRequestParameters"]["ScriptRequestParameter"]; - for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode) - { - Data::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) - scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull()) - scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull()) - scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) - scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) - scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull()) - scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) - scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull()) - scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString()); - data_.scriptDetails.scriptRequestParameters.push_back(scriptRequestParameterObject); - } - auto allScriptResponseParametersNode = scriptDetailsNode["ScriptResponseParameters"]["ScriptResponseParameter"]; - for (auto scriptDetailsNodeScriptResponseParametersScriptResponseParameter : allScriptResponseParametersNode) - { - Data::ScriptDetails::ScriptResponseParameter scriptResponseParameterObject; - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) - scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) - scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].isNull()) - scriptResponseParameterObject.parameterDescription = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull()) - scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString(); - data_.scriptDetails.scriptResponseParameters.push_back(scriptResponseParameterObject); - } - auto scriptConnectionNode = scriptDetailsNode["ScriptConnection"]; - if(!scriptConnectionNode["ConnectionId"].isNull()) - data_.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString()); - if(!scriptConnectionNode["TableName"].isNull()) - data_.scriptDetails.scriptConnection.tableName = scriptConnectionNode["TableName"].asString(); - auto wizardDetailsNode = dataNode["WizardDetails"]; - if(!wizardDetailsNode["FailedResultSample"].isNull()) - data_.wizardDetails.failedResultSample = wizardDetailsNode["FailedResultSample"].asString(); - if(!wizardDetailsNode["IsPagedResponse"].isNull()) - data_.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true"; - if(!wizardDetailsNode["SuccessfulResultSample"].isNull()) - data_.wizardDetails.successfulResultSample = wizardDetailsNode["SuccessfulResultSample"].asString(); - auto allWizardErrorCodesNode = wizardDetailsNode["WizardErrorCodes"]["WizardErrorCode"]; - for (auto wizardDetailsNodeWizardErrorCodesWizardErrorCode : allWizardErrorCodesNode) - { - Data::WizardDetails::WizardErrorCode wizardErrorCodeObject; - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].isNull()) - wizardErrorCodeObject.errorCode = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].asString(); - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorMessage"].isNull()) - wizardErrorCodeObject.errorMessage = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorMessage"].asString(); - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].isNull()) - wizardErrorCodeObject.errorSolution = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].asString(); - data_.wizardDetails.wizardErrorCodes.push_back(wizardErrorCodeObject); - } - auto allWizardRequestParametersNode = wizardDetailsNode["WizardRequestParameters"]["WizardRequestParameter"]; - for (auto wizardDetailsNodeWizardRequestParametersWizardRequestParameter : allWizardRequestParametersNode) - { - Data::WizardDetails::WizardRequestParameter wizardRequestParameterObject; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) - wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull()) - wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull()) - wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) - wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) - wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull()) - wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) - wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull()) - wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString()); - data_.wizardDetails.wizardRequestParameters.push_back(wizardRequestParameterObject); - } - auto allWizardResponseParametersNode = wizardDetailsNode["WizardResponseParameters"]["WizardResponseParameter"]; - for (auto wizardDetailsNodeWizardResponseParametersWizardResponseParameter : allWizardResponseParametersNode) - { - Data::WizardDetails::WizardResponseParameter wizardResponseParameterObject; - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) - wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) - wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].isNull()) - wizardResponseParameterObject.parameterDescription = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull()) - wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString(); - data_.wizardDetails.wizardResponseParameters.push_back(wizardResponseParameterObject); - } - auto wizardConnectionNode = wizardDetailsNode["WizardConnection"]; - if(!wizardConnectionNode["ConnectionId"].isNull()) - data_.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString()); - if(!wizardConnectionNode["TableName"].isNull()) - data_.wizardDetails.wizardConnection.tableName = wizardConnectionNode["TableName"].asString(); - auto allProtocols = dataNode["Protocols"]["Protocol"]; - for (auto value : allProtocols) - data_.protocols.push_back(value.asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetDataServicePublishedApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetDataServicePublishedApiResult::Data GetDataServicePublishedApiResult::getData()const -{ - return data_; -} - -std::string GetDataServicePublishedApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetDataServicePublishedApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetDataServicePublishedApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetDeploymentRequest.cc b/dataworks-public/src/model/GetDeploymentRequest.cc deleted file mode 100644 index f47baf811..000000000 --- a/dataworks-public/src/model/GetDeploymentRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDeploymentRequest; - -GetDeploymentRequest::GetDeploymentRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDeployment") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDeploymentRequest::~GetDeploymentRequest() -{} - -long GetDeploymentRequest::getDeploymentId()const -{ - return deploymentId_; -} - -void GetDeploymentRequest::setDeploymentId(long deploymentId) -{ - deploymentId_ = deploymentId; - setBodyParameter("DeploymentId", std::to_string(deploymentId)); -} - -long GetDeploymentRequest::getProjectId()const -{ - return projectId_; -} - -void GetDeploymentRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetDeploymentRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetDeploymentRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/GetDeploymentResult.cc b/dataworks-public/src/model/GetDeploymentResult.cc deleted file mode 100644 index e5226f452..000000000 --- a/dataworks-public/src/model/GetDeploymentResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetDeploymentResult::GetDeploymentResult() : - ServiceResult() -{} - -GetDeploymentResult::GetDeploymentResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDeploymentResult::~GetDeploymentResult() -{} - -void GetDeploymentResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - auto deploymentNode = dataNode["Deployment"]; - if(!deploymentNode["Name"].isNull()) - data_.deployment.name = deploymentNode["Name"].asString(); - if(!deploymentNode["CreatorId"].isNull()) - data_.deployment.creatorId = deploymentNode["CreatorId"].asString(); - if(!deploymentNode["HandlerId"].isNull()) - data_.deployment.handlerId = deploymentNode["HandlerId"].asString(); - if(!deploymentNode["CreateTime"].isNull()) - data_.deployment.createTime = std::stol(deploymentNode["CreateTime"].asString()); - if(!deploymentNode["ExecuteTime"].isNull()) - data_.deployment.executeTime = std::stol(deploymentNode["ExecuteTime"].asString()); - if(!deploymentNode["Status"].isNull()) - data_.deployment.status = std::stoi(deploymentNode["Status"].asString()); - if(!deploymentNode["FromEnvironment"].isNull()) - data_.deployment.fromEnvironment = std::stoi(deploymentNode["FromEnvironment"].asString()); - if(!deploymentNode["ToEnvironment"].isNull()) - data_.deployment.toEnvironment = std::stoi(deploymentNode["ToEnvironment"].asString()); - if(!deploymentNode["ErrorMessage"].isNull()) - data_.deployment.errorMessage = deploymentNode["ErrorMessage"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetDeploymentResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetDeploymentResult::Data GetDeploymentResult::getData()const -{ - return data_; -} - -std::string GetDeploymentResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetDeploymentResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetDeploymentResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetFileRequest.cc b/dataworks-public/src/model/GetFileRequest.cc deleted file mode 100644 index 75cac46e5..000000000 --- a/dataworks-public/src/model/GetFileRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetFileRequest; - -GetFileRequest::GetFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetFile") -{ - setMethod(HttpRequest::Method::Post); -} - -GetFileRequest::~GetFileRequest() -{} - -long GetFileRequest::getProjectId()const -{ - return projectId_; -} - -void GetFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -long GetFileRequest::getFileId()const -{ - return fileId_; -} - -void GetFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - diff --git a/dataworks-public/src/model/GetFileResult.cc b/dataworks-public/src/model/GetFileResult.cc deleted file mode 100644 index 7ee388925..000000000 --- a/dataworks-public/src/model/GetFileResult.cc +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License 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(); - auto allInputListNode = nodeConfigurationNode["InputList"]["NodeInputOutput"]; - for (auto nodeConfigurationNodeInputListNodeInputOutput : allInputListNode) - { - Data::NodeConfiguration::NodeInputOutput nodeInputOutputObject; - if(!nodeConfigurationNodeInputListNodeInputOutput["Input"].isNull()) - nodeInputOutputObject.input = nodeConfigurationNodeInputListNodeInputOutput["Input"].asString(); - data_.nodeConfiguration.inputList.push_back(nodeInputOutputObject); - } - auto allOutputListNode = nodeConfigurationNode["OutputList"]["NodeInputOutput"]; - for (auto nodeConfigurationNodeOutputListNodeInputOutput : allOutputListNode) - { - Data::NodeConfiguration::NodeInputOutput1 nodeInputOutput1Object; - if(!nodeConfigurationNodeOutputListNodeInputOutput["Output"].isNull()) - nodeInputOutput1Object.output = nodeConfigurationNodeOutputListNodeInputOutput["Output"].asString(); - if(!nodeConfigurationNodeOutputListNodeInputOutput["RefTableName"].isNull()) - nodeInputOutput1Object.refTableName = nodeConfigurationNodeOutputListNodeInputOutput["RefTableName"].asString(); - data_.nodeConfiguration.outputList.push_back(nodeInputOutput1Object); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetFileResult::Data GetFileResult::getData()const -{ - return data_; -} - -std::string GetFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetFileVersionRequest.cc b/dataworks-public/src/model/GetFileVersionRequest.cc deleted file mode 100644 index 14b4bf80b..000000000 --- a/dataworks-public/src/model/GetFileVersionRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetFileVersionRequest; - -GetFileVersionRequest::GetFileVersionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetFileVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -GetFileVersionRequest::~GetFileVersionRequest() -{} - -int GetFileVersionRequest::getFileVersion()const -{ - return fileVersion_; -} - -void GetFileVersionRequest::setFileVersion(int fileVersion) -{ - fileVersion_ = fileVersion; - setBodyParameter("FileVersion", std::to_string(fileVersion)); -} - -long GetFileVersionRequest::getProjectId()const -{ - return projectId_; -} - -void GetFileVersionRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetFileVersionRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetFileVersionRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -long GetFileVersionRequest::getFileId()const -{ - return fileId_; -} - -void GetFileVersionRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - diff --git a/dataworks-public/src/model/GetFileVersionResult.cc b/dataworks-public/src/model/GetFileVersionResult.cc deleted file mode 100644 index e10888522..000000000 --- a/dataworks-public/src/model/GetFileVersionResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetFileVersionResult::GetFileVersionResult() : - ServiceResult() -{} - -GetFileVersionResult::GetFileVersionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFileVersionResult::~GetFileVersionResult() -{} - -void GetFileVersionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["FileVersion"].isNull()) - data_.fileVersion = std::stoi(dataNode["FileVersion"].asString()); - if(!dataNode["FileContent"].isNull()) - data_.fileContent = dataNode["FileContent"].asString(); - if(!dataNode["FilePropertyContent"].isNull()) - data_.filePropertyContent = dataNode["FilePropertyContent"].asString(); - if(!dataNode["NodeContent"].isNull()) - data_.nodeContent = dataNode["NodeContent"].asString(); - if(!dataNode["Comment"].isNull()) - data_.comment = dataNode["Comment"].asString(); - if(!dataNode["NodeId"].isNull()) - data_.nodeId = std::stol(dataNode["NodeId"].asString()); - if(!dataNode["IsCurrentProd"].isNull()) - data_.isCurrentProd = dataNode["IsCurrentProd"].asString() == "true"; - if(!dataNode["ChangeType"].isNull()) - data_.changeType = dataNode["ChangeType"].asString(); - if(!dataNode["Status"].isNull()) - data_.status = dataNode["Status"].asString(); - if(!dataNode["FileName"].isNull()) - data_.fileName = dataNode["FileName"].asString(); - if(!dataNode["CommitUser"].isNull()) - data_.commitUser = dataNode["CommitUser"].asString(); - if(!dataNode["CommitTime"].isNull()) - data_.commitTime = std::stol(dataNode["CommitTime"].asString()); - if(!dataNode["UseType"].isNull()) - data_.useType = dataNode["UseType"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetFileVersionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetFileVersionResult::Data GetFileVersionResult::getData()const -{ - return data_; -} - -std::string GetFileVersionResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetFileVersionResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetFileVersionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetFolderRequest.cc b/dataworks-public/src/model/GetFolderRequest.cc deleted file mode 100644 index 657c0a42c..000000000 --- a/dataworks-public/src/model/GetFolderRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetFolderRequest; - -GetFolderRequest::GetFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -GetFolderRequest::~GetFolderRequest() -{} - -std::string GetFolderRequest::getFolderPath()const -{ - return folderPath_; -} - -void GetFolderRequest::setFolderPath(const std::string& folderPath) -{ - folderPath_ = folderPath; - setBodyParameter("FolderPath", folderPath); -} - -long GetFolderRequest::getProjectId()const -{ - return projectId_; -} - -void GetFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string GetFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void GetFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string GetFolderRequest::getFolderId()const -{ - return folderId_; -} - -void GetFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); -} - diff --git a/dataworks-public/src/model/GetFolderResult.cc b/dataworks-public/src/model/GetFolderResult.cc deleted file mode 100644 index 9cd456f01..000000000 --- a/dataworks-public/src/model/GetFolderResult.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetFolderResult::GetFolderResult() : - ServiceResult() -{} - -GetFolderResult::GetFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFolderResult::~GetFolderResult() -{} - -void GetFolderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["FolderId"].isNull()) - data_.folderId = dataNode["FolderId"].asString(); - if(!dataNode["FolderPath"].isNull()) - data_.folderPath = dataNode["FolderPath"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetFolderResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetFolderResult::Data GetFolderResult::getData()const -{ - return data_; -} - -std::string GetFolderResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetFolderResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetFolderResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetInstanceLogRequest.cc b/dataworks-public/src/model/GetInstanceLogRequest.cc deleted file mode 100644 index 441eca4c6..000000000 --- a/dataworks-public/src/model/GetInstanceLogRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceLogRequest; - -GetInstanceLogRequest::GetInstanceLogRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceLog") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceLogRequest::~GetInstanceLogRequest() -{} - -std::string GetInstanceLogRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetInstanceLogRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetInstanceLogRequest::getInstanceId()const -{ - return instanceId_; -} - -void GetInstanceLogRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/GetInstanceLogResult.cc b/dataworks-public/src/model/GetInstanceLogResult.cc deleted file mode 100644 index 37bb9fc76..000000000 --- a/dataworks-public/src/model/GetInstanceLogResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetInstanceLogResult::GetInstanceLogResult() : - ServiceResult() -{} - -GetInstanceLogResult::GetInstanceLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetInstanceLogResult::~GetInstanceLogResult() -{} - -void GetInstanceLogResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -int GetInstanceLogResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string GetInstanceLogResult::getData()const -{ - return data_; -} - -std::string GetInstanceLogResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetInstanceLogResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetInstanceLogResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetInstanceRequest.cc b/dataworks-public/src/model/GetInstanceRequest.cc deleted file mode 100644 index 8f04e7f7f..000000000 --- a/dataworks-public/src/model/GetInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceRequest; - -GetInstanceRequest::GetInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceRequest::~GetInstanceRequest() -{} - -std::string GetInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void GetInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/GetInstanceResult.cc b/dataworks-public/src/model/GetInstanceResult.cc deleted file mode 100644 index 8eeb2e9c8..000000000 --- a/dataworks-public/src/model/GetInstanceResult.cc +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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(!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/GetMetaCategoryRequest.cc b/dataworks-public/src/model/GetMetaCategoryRequest.cc deleted file mode 100644 index 49c159010..000000000 --- a/dataworks-public/src/model/GetMetaCategoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaCategoryRequest; - -GetMetaCategoryRequest::GetMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaCategoryRequest::~GetMetaCategoryRequest() -{} - -long GetMetaCategoryRequest::getParentCategoryId()const -{ - return parentCategoryId_; -} - -void GetMetaCategoryRequest::setParentCategoryId(long parentCategoryId) -{ - parentCategoryId_ = parentCategoryId; - setParameter("ParentCategoryId", std::to_string(parentCategoryId)); -} - -int GetMetaCategoryRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaCategoryRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int GetMetaCategoryRequest::getPageNum()const -{ - return pageNum_; -} - -void GetMetaCategoryRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - diff --git a/dataworks-public/src/model/GetMetaCategoryResult.cc b/dataworks-public/src/model/GetMetaCategoryResult.cc deleted file mode 100644 index c32d6b5cb..000000000 --- a/dataworks-public/src/model/GetMetaCategoryResult.cc +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaCategoryResult::GetMetaCategoryResult() : - ServiceResult() -{} - -GetMetaCategoryResult::GetMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaCategoryResult::~GetMetaCategoryResult() -{} - -void GetMetaCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNum"].isNull()) - data_.pageNum = std::stoi(dataNode["PageNum"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["CategoryId"].isNull()) - dataEntityListItemObject.categoryId = std::stol(dataNodeDataEntityListDataEntityListItem["CategoryId"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["Name"].isNull()) - dataEntityListItemObject.name = dataNodeDataEntityListDataEntityListItem["Name"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["CreateTime"].isNull()) - dataEntityListItemObject.createTime = std::stol(dataNodeDataEntityListDataEntityListItem["CreateTime"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["ModifiedTime"].isNull()) - dataEntityListItemObject.modifiedTime = std::stol(dataNodeDataEntityListDataEntityListItem["ModifiedTime"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["Comment"].isNull()) - dataEntityListItemObject.comment = dataNodeDataEntityListDataEntityListItem["Comment"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["OwnerId"].isNull()) - dataEntityListItemObject.ownerId = dataNodeDataEntityListDataEntityListItem["OwnerId"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["LastOperatorId"].isNull()) - dataEntityListItemObject.lastOperatorId = dataNodeDataEntityListDataEntityListItem["LastOperatorId"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ParentCategoryId"].isNull()) - dataEntityListItemObject.parentCategoryId = std::stol(dataNodeDataEntityListDataEntityListItem["ParentCategoryId"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["Depth"].isNull()) - dataEntityListItemObject.depth = std::stoi(dataNodeDataEntityListDataEntityListItem["Depth"].asString()); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaCategoryResult::Data GetMetaCategoryResult::getData()const -{ - return data_; -} - -std::string GetMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaColumnLineageRequest.cc b/dataworks-public/src/model/GetMetaColumnLineageRequest.cc deleted file mode 100644 index 809d8a30f..000000000 --- a/dataworks-public/src/model/GetMetaColumnLineageRequest.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::GetMetaColumnLineageRequest; - -GetMetaColumnLineageRequest::GetMetaColumnLineageRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaColumnLineage") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaColumnLineageRequest::~GetMetaColumnLineageRequest() -{} - -std::string GetMetaColumnLineageRequest::getColumnGuid()const -{ - return columnGuid_; -} - -void GetMetaColumnLineageRequest::setColumnGuid(const std::string& columnGuid) -{ - columnGuid_ = columnGuid; - setParameter("ColumnGuid", columnGuid); -} - -int GetMetaColumnLineageRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaColumnLineageRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int GetMetaColumnLineageRequest::getPageNum()const -{ - return pageNum_; -} - -void GetMetaColumnLineageRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - -std::string GetMetaColumnLineageRequest::getDirection()const -{ - return direction_; -} - -void GetMetaColumnLineageRequest::setDirection(const std::string& direction) -{ - direction_ = direction; - setParameter("Direction", direction); -} - diff --git a/dataworks-public/src/model/GetMetaColumnLineageResult.cc b/dataworks-public/src/model/GetMetaColumnLineageResult.cc deleted file mode 100644 index e27d24965..000000000 --- a/dataworks-public/src/model/GetMetaColumnLineageResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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(); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaColumnLineageResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaColumnLineageResult::Data GetMetaColumnLineageResult::getData()const -{ - return data_; -} - -std::string GetMetaColumnLineageResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaColumnLineageResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaColumnLineageResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaDBInfoRequest.cc b/dataworks-public/src/model/GetMetaDBInfoRequest.cc deleted file mode 100644 index 6f0d2dffc..000000000 --- a/dataworks-public/src/model/GetMetaDBInfoRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaDBInfoRequest; - -GetMetaDBInfoRequest::GetMetaDBInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaDBInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaDBInfoRequest::~GetMetaDBInfoRequest() -{} - -std::string GetMetaDBInfoRequest::getAppGuid()const -{ - return appGuid_; -} - -void GetMetaDBInfoRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); -} - diff --git a/dataworks-public/src/model/GetMetaDBInfoResult.cc b/dataworks-public/src/model/GetMetaDBInfoResult.cc deleted file mode 100644 index 57ab6ee53..000000000 --- a/dataworks-public/src/model/GetMetaDBInfoResult.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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(!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 GetMetaDBInfoResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaDBInfoResult::Data GetMetaDBInfoResult::getData()const -{ - return data_; -} - -std::string GetMetaDBInfoResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaDBInfoResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaDBInfoResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaDBTableListRequest.cc b/dataworks-public/src/model/GetMetaDBTableListRequest.cc deleted file mode 100644 index bde54eae4..000000000 --- a/dataworks-public/src/model/GetMetaDBTableListRequest.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::GetMetaDBTableListRequest; - -GetMetaDBTableListRequest::GetMetaDBTableListRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaDBTableList") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaDBTableListRequest::~GetMetaDBTableListRequest() -{} - -int GetMetaDBTableListRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaDBTableListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaDBTableListRequest::getAppGuid()const -{ - return appGuid_; -} - -void GetMetaDBTableListRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); -} - -int GetMetaDBTableListRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetMetaDBTableListRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/GetMetaDBTableListResult.cc b/dataworks-public/src/model/GetMetaDBTableListResult.cc deleted file mode 100644 index d2e2fdef9..000000000 --- a/dataworks-public/src/model/GetMetaDBTableListResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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(); - data_.tableEntityList.push_back(tableEntityListItemObject); - } - 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 GetMetaDBTableListResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaDBTableListResult::Data GetMetaDBTableListResult::getData()const -{ - return data_; -} - -std::string GetMetaDBTableListResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaDBTableListResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaDBTableListResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc b/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc deleted file mode 100644 index d2c71bac6..000000000 --- a/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableBasicInfoRequest; - -GetMetaTableBasicInfoRequest::GetMetaTableBasicInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableBasicInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableBasicInfoRequest::~GetMetaTableBasicInfoRequest() -{} - -std::string GetMetaTableBasicInfoRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableBasicInfoRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - diff --git a/dataworks-public/src/model/GetMetaTableBasicInfoResult.cc b/dataworks-public/src/model/GetMetaTableBasicInfoResult.cc deleted file mode 100644 index 966e77f9f..000000000 --- a/dataworks-public/src/model/GetMetaTableBasicInfoResult.cc +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableBasicInfoResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableBasicInfoResult::Data GetMetaTableBasicInfoResult::getData()const -{ - return data_; -} - -std::string GetMetaTableBasicInfoResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableBasicInfoResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableBasicInfoResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableChangeLogRequest.cc b/dataworks-public/src/model/GetMetaTableChangeLogRequest.cc deleted file mode 100644 index b231d5d69..000000000 --- a/dataworks-public/src/model/GetMetaTableChangeLogRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableChangeLogRequest; - -GetMetaTableChangeLogRequest::GetMetaTableChangeLogRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableChangeLog") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTableChangeLogRequest::~GetMetaTableChangeLogRequest() -{} - -std::string GetMetaTableChangeLogRequest::getStartDate()const -{ - return startDate_; -} - -void GetMetaTableChangeLogRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); -} - -int GetMetaTableChangeLogRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetMetaTableChangeLogRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string GetMetaTableChangeLogRequest::getEndDate()const -{ - return endDate_; -} - -void GetMetaTableChangeLogRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setBodyParameter("EndDate", endDate); -} - -std::string GetMetaTableChangeLogRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableChangeLogRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setBodyParameter("TableGuid", tableGuid); -} - -std::string GetMetaTableChangeLogRequest::getChangeType()const -{ - return changeType_; -} - -void GetMetaTableChangeLogRequest::setChangeType(const std::string& changeType) -{ - changeType_ = changeType; - setBodyParameter("ChangeType", changeType); -} - -int GetMetaTableChangeLogRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableChangeLogRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaTableChangeLogRequest::getObjectType()const -{ - return objectType_; -} - -void GetMetaTableChangeLogRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setBodyParameter("ObjectType", objectType); -} - diff --git a/dataworks-public/src/model/GetMetaTableChangeLogResult.cc b/dataworks-public/src/model/GetMetaTableChangeLogResult.cc deleted file mode 100644 index fe1bbb457..000000000 --- a/dataworks-public/src/model/GetMetaTableChangeLogResult.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableChangeLogResult::GetMetaTableChangeLogResult() : - ServiceResult() -{} - -GetMetaTableChangeLogResult::GetMetaTableChangeLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableChangeLogResult::~GetMetaTableChangeLogResult() -{} - -void GetMetaTableChangeLogResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["CreateTime"].isNull()) - dataEntityListItemObject.createTime = std::stol(dataNodeDataEntityListDataEntityListItem["CreateTime"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["ModifiedTime"].isNull()) - dataEntityListItemObject.modifiedTime = std::stol(dataNodeDataEntityListDataEntityListItem["ModifiedTime"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["ChangeType"].isNull()) - dataEntityListItemObject.changeType = dataNodeDataEntityListDataEntityListItem["ChangeType"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["Operator"].isNull()) - dataEntityListItemObject._operator = dataNodeDataEntityListDataEntityListItem["Operator"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ObjectType"].isNull()) - dataEntityListItemObject.objectType = dataNodeDataEntityListDataEntityListItem["ObjectType"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ChangeContent"].isNull()) - dataEntityListItemObject.changeContent = dataNodeDataEntityListDataEntityListItem["ChangeContent"].asString(); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableChangeLogResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableChangeLogResult::Data GetMetaTableChangeLogResult::getData()const -{ - return data_; -} - -std::string GetMetaTableChangeLogResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableChangeLogResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableChangeLogResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableColumnRequest.cc b/dataworks-public/src/model/GetMetaTableColumnRequest.cc deleted file mode 100644 index ff49aa6be..000000000 --- a/dataworks-public/src/model/GetMetaTableColumnRequest.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::GetMetaTableColumnRequest; - -GetMetaTableColumnRequest::GetMetaTableColumnRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableColumn") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableColumnRequest::~GetMetaTableColumnRequest() -{} - -std::string GetMetaTableColumnRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableColumnRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -int GetMetaTableColumnRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableColumnRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int GetMetaTableColumnRequest::getPageNum()const -{ - return pageNum_; -} - -void GetMetaTableColumnRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - diff --git a/dataworks-public/src/model/GetMetaTableColumnResult.cc b/dataworks-public/src/model/GetMetaTableColumnResult.cc deleted file mode 100644 index 50c610430..000000000 --- a/dataworks-public/src/model/GetMetaTableColumnResult.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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(); - data_.columnList.push_back(columnListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableColumnResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableColumnResult::Data GetMetaTableColumnResult::getData()const -{ - return data_; -} - -std::string GetMetaTableColumnResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableColumnResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableColumnResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableFullInfoRequest.cc b/dataworks-public/src/model/GetMetaTableFullInfoRequest.cc deleted file mode 100644 index 7602b6ec8..000000000 --- a/dataworks-public/src/model/GetMetaTableFullInfoRequest.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::GetMetaTableFullInfoRequest; - -GetMetaTableFullInfoRequest::GetMetaTableFullInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableFullInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableFullInfoRequest::~GetMetaTableFullInfoRequest() -{} - -std::string GetMetaTableFullInfoRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableFullInfoRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -int GetMetaTableFullInfoRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableFullInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int GetMetaTableFullInfoRequest::getPageNum()const -{ - return pageNum_; -} - -void GetMetaTableFullInfoRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - diff --git a/dataworks-public/src/model/GetMetaTableFullInfoResult.cc b/dataworks-public/src/model/GetMetaTableFullInfoResult.cc deleted file mode 100644 index 14b9d0e82..000000000 --- a/dataworks-public/src/model/GetMetaTableFullInfoResult.cc +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License 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()); - 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(); - data_.columnList.push_back(columnListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableFullInfoResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableFullInfoResult::Data GetMetaTableFullInfoResult::getData()const -{ - return data_; -} - -std::string GetMetaTableFullInfoResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableFullInfoResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableFullInfoResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc b/dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc deleted file mode 100644 index cc406974e..000000000 --- a/dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableIntroWikiRequest; - -GetMetaTableIntroWikiRequest::GetMetaTableIntroWikiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableIntroWiki") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTableIntroWikiRequest::~GetMetaTableIntroWikiRequest() -{} - -long GetMetaTableIntroWikiRequest::getWikiVersion()const -{ - return wikiVersion_; -} - -void GetMetaTableIntroWikiRequest::setWikiVersion(long wikiVersion) -{ - wikiVersion_ = wikiVersion; - setParameter("WikiVersion", std::to_string(wikiVersion)); -} - -std::string GetMetaTableIntroWikiRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableIntroWikiRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - diff --git a/dataworks-public/src/model/GetMetaTableIntroWikiResult.cc b/dataworks-public/src/model/GetMetaTableIntroWikiResult.cc deleted file mode 100644 index b85b944a1..000000000 --- a/dataworks-public/src/model/GetMetaTableIntroWikiResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableIntroWikiResult::GetMetaTableIntroWikiResult() : - ServiceResult() -{} - -GetMetaTableIntroWikiResult::GetMetaTableIntroWikiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableIntroWikiResult::~GetMetaTableIntroWikiResult() -{} - -void GetMetaTableIntroWikiResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["CreateTime"].isNull()) - data_.createTime = std::stol(dataNode["CreateTime"].asString()); - if(!dataNode["ModifiedTime"].isNull()) - data_.modifiedTime = std::stol(dataNode["ModifiedTime"].asString()); - if(!dataNode["Creator"].isNull()) - data_.creator = dataNode["Creator"].asString(); - if(!dataNode["Version"].isNull()) - data_.version = std::stol(dataNode["Version"].asString()); - if(!dataNode["CreatorName"].isNull()) - data_.creatorName = dataNode["CreatorName"].asString(); - if(!dataNode["Content"].isNull()) - data_.content = dataNode["Content"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableIntroWikiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableIntroWikiResult::Data GetMetaTableIntroWikiResult::getData()const -{ - return data_; -} - -std::string GetMetaTableIntroWikiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableIntroWikiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableIntroWikiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableLineageRequest.cc b/dataworks-public/src/model/GetMetaTableLineageRequest.cc deleted file mode 100644 index 723a28437..000000000 --- a/dataworks-public/src/model/GetMetaTableLineageRequest.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::GetMetaTableLineageRequest; - -GetMetaTableLineageRequest::GetMetaTableLineageRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableLineage") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTableLineageRequest::~GetMetaTableLineageRequest() -{} - -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); -} - -int GetMetaTableLineageRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableLineageRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaTableLineageRequest::getDirection()const -{ - return direction_; -} - -void GetMetaTableLineageRequest::setDirection(const std::string& direction) -{ - direction_ = direction; - setParameter("Direction", direction); -} - diff --git a/dataworks-public/src/model/GetMetaTableLineageResult.cc b/dataworks-public/src/model/GetMetaTableLineageResult.cc deleted file mode 100644 index 3159c693f..000000000 --- a/dataworks-public/src/model/GetMetaTableLineageResult.cc +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableLineageResult::GetMetaTableLineageResult() : - ServiceResult() -{} - -GetMetaTableLineageResult::GetMetaTableLineageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableLineageResult::~GetMetaTableLineageResult() -{} - -void GetMetaTableLineageResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["HasNext"].isNull()) - data_.hasNext = dataNode["HasNext"].asString() == "true"; - if(!dataNode["NextPrimaryKey"].isNull()) - data_.nextPrimaryKey = dataNode["NextPrimaryKey"].asString(); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["TableName"].isNull()) - dataEntityListItemObject.tableName = dataNodeDataEntityListDataEntityListItem["TableName"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["TableGuid"].isNull()) - dataEntityListItemObject.tableGuid = dataNodeDataEntityListDataEntityListItem["TableGuid"].asString(); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableLineageResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableLineageResult::Data GetMetaTableLineageResult::getData()const -{ - return data_; -} - -std::string GetMetaTableLineageResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableLineageResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableLineageResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc b/dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc deleted file mode 100644 index 9dac7d00c..000000000 --- a/dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableListByCategoryRequest; - -GetMetaTableListByCategoryRequest::GetMetaTableListByCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableListByCategory") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableListByCategoryRequest::~GetMetaTableListByCategoryRequest() -{} - -int GetMetaTableListByCategoryRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableListByCategoryRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int GetMetaTableListByCategoryRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetMetaTableListByCategoryRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -long GetMetaTableListByCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void GetMetaTableListByCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/GetMetaTableListByCategoryResult.cc b/dataworks-public/src/model/GetMetaTableListByCategoryResult.cc deleted file mode 100644 index 61325a8e9..000000000 --- a/dataworks-public/src/model/GetMetaTableListByCategoryResult.cc +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableListByCategoryResult::GetMetaTableListByCategoryResult() : - ServiceResult() -{} - -GetMetaTableListByCategoryResult::GetMetaTableListByCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableListByCategoryResult::~GetMetaTableListByCategoryResult() -{} - -void GetMetaTableListByCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allTableGuidList = dataNode["TableGuidList"]["TableGuidList"]; - for (auto value : allTableGuidList) - data_.tableGuidList.push_back(value.asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableListByCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableListByCategoryResult::Data GetMetaTableListByCategoryResult::getData()const -{ - return data_; -} - -std::string GetMetaTableListByCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableListByCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableListByCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTableOutputRequest.cc b/dataworks-public/src/model/GetMetaTableOutputRequest.cc deleted file mode 100644 index e4c0224ef..000000000 --- a/dataworks-public/src/model/GetMetaTableOutputRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableOutputRequest; - -GetMetaTableOutputRequest::GetMetaTableOutputRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableOutput") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTableOutputRequest::~GetMetaTableOutputRequest() -{} - -std::string GetMetaTableOutputRequest::getEndDate()const -{ - return endDate_; -} - -void GetMetaTableOutputRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setParameter("EndDate", endDate); -} - -std::string GetMetaTableOutputRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTableOutputRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -int GetMetaTableOutputRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTableOutputRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetMetaTableOutputRequest::getStartDate()const -{ - return startDate_; -} - -void GetMetaTableOutputRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setParameter("StartDate", startDate); -} - -int GetMetaTableOutputRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetMetaTableOutputRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/GetMetaTableOutputResult.cc b/dataworks-public/src/model/GetMetaTableOutputResult.cc deleted file mode 100644 index f893bd0ac..000000000 --- a/dataworks-public/src/model/GetMetaTableOutputResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetMetaTableOutputResult::GetMetaTableOutputResult() : - ServiceResult() -{} - -GetMetaTableOutputResult::GetMetaTableOutputResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetaTableOutputResult::~GetMetaTableOutputResult() -{} - -void GetMetaTableOutputResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stol(dataNode["TotalCount"].asString()); - auto allDataEntityListNode = dataNode["DataEntityList"]["DataEntityListItem"]; - for (auto dataNodeDataEntityListDataEntityListItem : allDataEntityListNode) - { - Data::DataEntityListItem dataEntityListItemObject; - if(!dataNodeDataEntityListDataEntityListItem["TableGuid"].isNull()) - dataEntityListItemObject.tableGuid = dataNodeDataEntityListDataEntityListItem["TableGuid"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["TaskId"].isNull()) - dataEntityListItemObject.taskId = dataNodeDataEntityListDataEntityListItem["TaskId"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["StartTime"].isNull()) - dataEntityListItemObject.startTime = dataNodeDataEntityListDataEntityListItem["StartTime"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["EndTime"].isNull()) - dataEntityListItemObject.endTime = dataNodeDataEntityListDataEntityListItem["EndTime"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["WaitTime"].isNull()) - dataEntityListItemObject.waitTime = dataNodeDataEntityListDataEntityListItem["WaitTime"].asString(); - if(!dataNodeDataEntityListDataEntityListItem["ProjectId"].isNull()) - dataEntityListItemObject.projectId = std::stol(dataNodeDataEntityListDataEntityListItem["ProjectId"].asString()); - if(!dataNodeDataEntityListDataEntityListItem["TaskInstanceId"].isNull()) - dataEntityListItemObject.taskInstanceId = std::stol(dataNodeDataEntityListDataEntityListItem["TaskInstanceId"].asString()); - data_.dataEntityList.push_back(dataEntityListItemObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetMetaTableOutputResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetMetaTableOutputResult::Data GetMetaTableOutputResult::getData()const -{ - return data_; -} - -std::string GetMetaTableOutputResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetMetaTableOutputResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetMetaTableOutputResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetMetaTablePartitionRequest.cc b/dataworks-public/src/model/GetMetaTablePartitionRequest.cc deleted file mode 100644 index 183c9b6c3..000000000 --- a/dataworks-public/src/model/GetMetaTablePartitionRequest.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::GetMetaTablePartitionRequest; - -GetMetaTablePartitionRequest::GetMetaTablePartitionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTablePartition") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTablePartitionRequest::~GetMetaTablePartitionRequest() -{} - -std::string GetMetaTablePartitionRequest::getTableGuid()const -{ - return tableGuid_; -} - -void GetMetaTablePartitionRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); -} - -int GetMetaTablePartitionRequest::getPageSize()const -{ - return pageSize_; -} - -void GetMetaTablePartitionRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int GetMetaTablePartitionRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetMetaTablePartitionRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/GetMetaTablePartitionResult.cc b/dataworks-public/src/model/GetMetaTablePartitionResult.cc deleted file mode 100644 index 197361d28..000000000 --- a/dataworks-public/src/model/GetMetaTablePartitionResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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(); - 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/GetNodeCodeRequest.cc b/dataworks-public/src/model/GetNodeCodeRequest.cc deleted file mode 100644 index 700e3e455..000000000 --- a/dataworks-public/src/model/GetNodeCodeRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeCodeRequest; - -GetNodeCodeRequest::GetNodeCodeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeCode") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeCodeRequest::~GetNodeCodeRequest() -{} - -std::string GetNodeCodeRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetNodeCodeRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetNodeCodeRequest::getNodeId()const -{ - return nodeId_; -} - -void GetNodeCodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/GetNodeCodeResult.cc b/dataworks-public/src/model/GetNodeCodeResult.cc deleted file mode 100644 index e8caf1c41..000000000 --- a/dataworks-public/src/model/GetNodeCodeResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetNodeCodeResult::GetNodeCodeResult() : - ServiceResult() -{} - -GetNodeCodeResult::GetNodeCodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetNodeCodeResult::~GetNodeCodeResult() -{} - -void GetNodeCodeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -int GetNodeCodeResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string GetNodeCodeResult::getData()const -{ - return data_; -} - -std::string GetNodeCodeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetNodeCodeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetNodeCodeResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetNodeOnBaselineRequest.cc b/dataworks-public/src/model/GetNodeOnBaselineRequest.cc deleted file mode 100644 index 172e4710f..000000000 --- a/dataworks-public/src/model/GetNodeOnBaselineRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeOnBaselineRequest; - -GetNodeOnBaselineRequest::GetNodeOnBaselineRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeOnBaseline") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeOnBaselineRequest::~GetNodeOnBaselineRequest() -{} - -long GetNodeOnBaselineRequest::getBaselineId()const -{ - return baselineId_; -} - -void GetNodeOnBaselineRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); -} - diff --git a/dataworks-public/src/model/GetNodeOnBaselineResult.cc b/dataworks-public/src/model/GetNodeOnBaselineResult.cc deleted file mode 100644 index d121ddbdd..000000000 --- a/dataworks-public/src/model/GetNodeOnBaselineResult.cc +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetNodeOnBaselineResult::GetNodeOnBaselineResult() : - ServiceResult() -{} - -GetNodeOnBaselineResult::GetNodeOnBaselineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetNodeOnBaselineResult::~GetNodeOnBaselineResult() -{} - -void GetNodeOnBaselineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["NodeId"].isNull()) - dataObject.nodeId = std::stol(valueDataDataItem["NodeId"].asString()); - if(!valueDataDataItem["NodeName"].isNull()) - dataObject.nodeName = valueDataDataItem["NodeName"].asString(); - if(!valueDataDataItem["Owner"].isNull()) - dataObject.owner = valueDataDataItem["Owner"].asString(); - if(!valueDataDataItem["ProjectId"].isNull()) - dataObject.projectId = std::stol(valueDataDataItem["ProjectId"].asString()); - data_.push_back(dataObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetNodeOnBaselineResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector GetNodeOnBaselineResult::getData()const -{ - return data_; -} - -std::string GetNodeOnBaselineResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetNodeOnBaselineResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string GetNodeOnBaselineResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetNodeRequest.cc b/dataworks-public/src/model/GetNodeRequest.cc deleted file mode 100644 index f1c514740..000000000 --- a/dataworks-public/src/model/GetNodeRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeRequest; - -GetNodeRequest::GetNodeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNode") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeRequest::~GetNodeRequest() -{} - -std::string GetNodeRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void GetNodeRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long GetNodeRequest::getNodeId()const -{ - return nodeId_; -} - -void GetNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/GetNodeResult.cc b/dataworks-public/src/model/GetNodeResult.cc deleted file mode 100644 index 15d6d810e..000000000 --- a/dataworks-public/src/model/GetNodeResult.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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(!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/GetProjectDetailRequest.cc b/dataworks-public/src/model/GetProjectDetailRequest.cc deleted file mode 100644 index 81e845185..000000000 --- a/dataworks-public/src/model/GetProjectDetailRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetProjectDetailRequest; - -GetProjectDetailRequest::GetProjectDetailRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetProjectDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -GetProjectDetailRequest::~GetProjectDetailRequest() -{} - -long GetProjectDetailRequest::getProjectId()const -{ - return projectId_; -} - -void GetProjectDetailRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/GetProjectDetailResult.cc b/dataworks-public/src/model/GetProjectDetailResult.cc deleted file mode 100644 index 99771c246..000000000 --- a/dataworks-public/src/model/GetProjectDetailResult.cc +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetProjectDetailResult::GetProjectDetailResult() : - ServiceResult() -{} - -GetProjectDetailResult::GetProjectDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetProjectDetailResult::~GetProjectDetailResult() -{} - -void GetProjectDetailResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["GmtModified"].isNull()) - data_.gmtModified = dataNode["GmtModified"].asString(); - if(!dataNode["DefaultDiResourceGroupIdentifier"].isNull()) - data_.defaultDiResourceGroupIdentifier = dataNode["DefaultDiResourceGroupIdentifier"].asString(); - if(!dataNode["IsAllowDownload"].isNull()) - data_.isAllowDownload = std::stoi(dataNode["IsAllowDownload"].asString()); - if(!dataNode["SchedulerRetryInterval"].isNull()) - data_.schedulerRetryInterval = std::stoi(dataNode["SchedulerRetryInterval"].asString()); - if(!dataNode["ResidentArea"].isNull()) - data_.residentArea = dataNode["ResidentArea"].asString(); - if(!dataNode["ProjectOwnerBaseId"].isNull()) - data_.projectOwnerBaseId = dataNode["ProjectOwnerBaseId"].asString(); - if(!dataNode["ProjectMode"].isNull()) - data_.projectMode = std::stoi(dataNode["ProjectMode"].asString()); - if(!dataNode["GmtCreate"].isNull()) - data_.gmtCreate = dataNode["GmtCreate"].asString(); - if(!dataNode["ProtectedMode"].isNull()) - data_.protectedMode = std::stoi(dataNode["ProtectedMode"].asString()); - if(!dataNode["TenantId"].isNull()) - data_.tenantId = std::stol(dataNode["TenantId"].asString()); - if(!dataNode["ProjectDescription"].isNull()) - data_.projectDescription = dataNode["ProjectDescription"].asString(); - if(!dataNode["SchedulerMaxRetryTimes"].isNull()) - data_.schedulerMaxRetryTimes = std::stoi(dataNode["SchedulerMaxRetryTimes"].asString()); - if(!dataNode["ProjectName"].isNull()) - data_.projectName = dataNode["ProjectName"].asString(); - if(!dataNode["ProjectIdentifier"].isNull()) - data_.projectIdentifier = dataNode["ProjectIdentifier"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stoi(dataNode["ProjectId"].asString()); - if(!dataNode["Status"].isNull()) - data_.status = std::stoi(dataNode["Status"].asString()); - if(!dataNode["DevelopmentType"].isNull()) - data_.developmentType = std::stoi(dataNode["DevelopmentType"].asString()); - auto allEnvTypes = dataNode["EnvTypes"]["EnvTypes"]; - for (auto value : allEnvTypes) - data_.envTypes.push_back(value.asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int GetProjectDetailResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetProjectDetailResult::Data GetProjectDetailResult::getData()const -{ - return data_; -} - -bool GetProjectDetailResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetQualityEntityRequest.cc b/dataworks-public/src/model/GetQualityEntityRequest.cc deleted file mode 100644 index 8634320f0..000000000 --- a/dataworks-public/src/model/GetQualityEntityRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetQualityEntityRequest; - -GetQualityEntityRequest::GetQualityEntityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetQualityEntity") -{ - setMethod(HttpRequest::Method::Post); -} - -GetQualityEntityRequest::~GetQualityEntityRequest() -{} - -std::string GetQualityEntityRequest::getProjectName()const -{ - return projectName_; -} - -void GetQualityEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string GetQualityEntityRequest::getMatchExpression()const -{ - return matchExpression_; -} - -void GetQualityEntityRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); -} - -std::string GetQualityEntityRequest::getEnvType()const -{ - return envType_; -} - -void GetQualityEntityRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); -} - -std::string GetQualityEntityRequest::getTableName()const -{ - return tableName_; -} - -void GetQualityEntityRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); -} - diff --git a/dataworks-public/src/model/GetQualityEntityResult.cc b/dataworks-public/src/model/GetQualityEntityResult.cc deleted file mode 100644 index 182ef4cb0..000000000 --- a/dataworks-public/src/model/GetQualityEntityResult.cc +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License 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 deleted file mode 100644 index eaae64bd8..000000000 --- a/dataworks-public/src/model/GetQualityFollowerRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetQualityFollowerRequest; - -GetQualityFollowerRequest::GetQualityFollowerRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetQualityFollower") -{ - setMethod(HttpRequest::Method::Post); -} - -GetQualityFollowerRequest::~GetQualityFollowerRequest() -{} - -std::string GetQualityFollowerRequest::getProjectName()const -{ - return projectName_; -} - -void GetQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long GetQualityFollowerRequest::getEntityId()const -{ - return entityId_; -} - -void GetQualityFollowerRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - diff --git a/dataworks-public/src/model/GetQualityFollowerResult.cc b/dataworks-public/src/model/GetQualityFollowerResult.cc deleted file mode 100644 index 19bff184f..000000000 --- a/dataworks-public/src/model/GetQualityFollowerResult.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index b37f0f348..000000000 --- a/dataworks-public/src/model/GetQualityRuleRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetQualityRuleRequest; - -GetQualityRuleRequest::GetQualityRuleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetQualityRule") -{ - setMethod(HttpRequest::Method::Post); -} - -GetQualityRuleRequest::~GetQualityRuleRequest() -{} - -std::string GetQualityRuleRequest::getProjectName()const -{ - return projectName_; -} - -void GetQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -long GetQualityRuleRequest::getRuleId()const -{ - return ruleId_; -} - -void GetQualityRuleRequest::setRuleId(long ruleId) -{ - ruleId_ = ruleId; - setBodyParameter("RuleId", std::to_string(ruleId)); -} - diff --git a/dataworks-public/src/model/GetQualityRuleResult.cc b/dataworks-public/src/model/GetQualityRuleResult.cc deleted file mode 100644 index b73a50e5b..000000000 --- a/dataworks-public/src/model/GetQualityRuleResult.cc +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License 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 deleted file mode 100644 index b875eaf8d..000000000 --- a/dataworks-public/src/model/GetRemindRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetRemindRequest; - -GetRemindRequest::GetRemindRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetRemind") -{ - setMethod(HttpRequest::Method::Post); -} - -GetRemindRequest::~GetRemindRequest() -{} - -long GetRemindRequest::getRemindId()const -{ - return remindId_; -} - -void GetRemindRequest::setRemindId(long remindId) -{ - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); -} - diff --git a/dataworks-public/src/model/GetRemindResult.cc b/dataworks-public/src/model/GetRemindResult.cc deleted file mode 100644 index b8a232458..000000000 --- a/dataworks-public/src/model/GetRemindResult.cc +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetRemindResult::GetRemindResult() : - ServiceResult() -{} - -GetRemindResult::GetRemindResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetRemindResult::~GetRemindResult() -{} - -void GetRemindResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["RemindId"].isNull()) - data_.remindId = std::stol(dataNode["RemindId"].asString()); - if(!dataNode["RemindName"].isNull()) - data_.remindName = dataNode["RemindName"].asString(); - if(!dataNode["DndStart"].isNull()) - data_.dndStart = dataNode["DndStart"].asString(); - if(!dataNode["DndEnd"].isNull()) - data_.dndEnd = dataNode["DndEnd"].asString(); - if(!dataNode["RemindUnit"].isNull()) - data_.remindUnit = dataNode["RemindUnit"].asString(); - if(!dataNode["RemindType"].isNull()) - data_.remindType = dataNode["RemindType"].asString(); - if(!dataNode["AlertUnit"].isNull()) - data_.alertUnit = dataNode["AlertUnit"].asString(); - if(!dataNode["Useflag"].isNull()) - data_.useflag = dataNode["Useflag"].asString() == "true"; - if(!dataNode["Founder"].isNull()) - data_.founder = dataNode["Founder"].asString(); - if(!dataNode["AlertInterval"].isNull()) - data_.alertInterval = std::stoi(dataNode["AlertInterval"].asString()); - if(!dataNode["Detail"].isNull()) - data_.detail = dataNode["Detail"].asString(); - if(!dataNode["MaxAlertTimes"].isNull()) - data_.maxAlertTimes = std::stoi(dataNode["MaxAlertTimes"].asString()); - auto allRobotsNode = dataNode["Robots"]["RobotsItem"]; - for (auto dataNodeRobotsRobotsItem : allRobotsNode) - { - Data::RobotsItem robotsItemObject; - if(!dataNodeRobotsRobotsItem["WebUrl"].isNull()) - robotsItemObject.webUrl = dataNodeRobotsRobotsItem["WebUrl"].asString(); - if(!dataNodeRobotsRobotsItem["AtAll"].isNull()) - robotsItemObject.atAll = dataNodeRobotsRobotsItem["AtAll"].asString() == "true"; - data_.robots.push_back(robotsItemObject); - } - auto allNodesNode = dataNode["Nodes"]["NodesItem"]; - for (auto dataNodeNodesNodesItem : allNodesNode) - { - Data::NodesItem nodesItemObject; - if(!dataNodeNodesNodesItem["NodeId"].isNull()) - nodesItemObject.nodeId = std::stol(dataNodeNodesNodesItem["NodeId"].asString()); - if(!dataNodeNodesNodesItem["NodeName"].isNull()) - nodesItemObject.nodeName = dataNodeNodesNodesItem["NodeName"].asString(); - if(!dataNodeNodesNodesItem["Owner"].isNull()) - nodesItemObject.owner = dataNodeNodesNodesItem["Owner"].asString(); - if(!dataNodeNodesNodesItem["ProjectId"].isNull()) - nodesItemObject.projectId = std::stol(dataNodeNodesNodesItem["ProjectId"].asString()); - data_.nodes.push_back(nodesItemObject); - } - auto allBaselinesNode = dataNode["Baselines"]["BaselinesItem"]; - for (auto dataNodeBaselinesBaselinesItem : allBaselinesNode) - { - Data::BaselinesItem baselinesItemObject; - if(!dataNodeBaselinesBaselinesItem["BaselineId"].isNull()) - baselinesItemObject.baselineId = std::stol(dataNodeBaselinesBaselinesItem["BaselineId"].asString()); - if(!dataNodeBaselinesBaselinesItem["BaselineName"].isNull()) - baselinesItemObject.baselineName = dataNodeBaselinesBaselinesItem["BaselineName"].asString(); - data_.baselines.push_back(baselinesItemObject); - } - auto allProjectsNode = dataNode["Projects"]["ProjectsItem"]; - for (auto dataNodeProjectsProjectsItem : allProjectsNode) - { - Data::ProjectsItem projectsItemObject; - if(!dataNodeProjectsProjectsItem["ProjectId"].isNull()) - projectsItemObject.projectId = std::stol(dataNodeProjectsProjectsItem["ProjectId"].asString()); - data_.projects.push_back(projectsItemObject); - } - auto allBizProcessesNode = dataNode["BizProcesses"]["BizProcessesItem"]; - for (auto dataNodeBizProcessesBizProcessesItem : allBizProcessesNode) - { - Data::BizProcessesItem bizProcessesItemObject; - if(!dataNodeBizProcessesBizProcessesItem["BizId"].isNull()) - bizProcessesItemObject.bizId = std::stol(dataNodeBizProcessesBizProcessesItem["BizId"].asString()); - if(!dataNodeBizProcessesBizProcessesItem["BizProcessName"].isNull()) - bizProcessesItemObject.bizProcessName = dataNodeBizProcessesBizProcessesItem["BizProcessName"].asString(); - data_.bizProcesses.push_back(bizProcessesItemObject); - } - auto allAlertMethods = dataNode["AlertMethods"]["AlertMethods"]; - for (auto value : allAlertMethods) - data_.alertMethods.push_back(value.asString()); - auto allAlertTargets = dataNode["AlertTargets"]["AlertTargets"]; - for (auto value : allAlertTargets) - data_.alertTargets.push_back(value.asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetRemindResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetRemindResult::Data GetRemindResult::getData()const -{ - return data_; -} - -std::string GetRemindResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetRemindResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetRemindResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetTopicInfluenceRequest.cc b/dataworks-public/src/model/GetTopicInfluenceRequest.cc deleted file mode 100644 index 6b2f14acb..000000000 --- a/dataworks-public/src/model/GetTopicInfluenceRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetTopicInfluenceRequest; - -GetTopicInfluenceRequest::GetTopicInfluenceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopicInfluence") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTopicInfluenceRequest::~GetTopicInfluenceRequest() -{} - -long GetTopicInfluenceRequest::getTopicId()const -{ - return topicId_; -} - -void GetTopicInfluenceRequest::setTopicId(long topicId) -{ - topicId_ = topicId; - setBodyParameter("TopicId", std::to_string(topicId)); -} - diff --git a/dataworks-public/src/model/GetTopicInfluenceResult.cc b/dataworks-public/src/model/GetTopicInfluenceResult.cc deleted file mode 100644 index 6596a47cd..000000000 --- a/dataworks-public/src/model/GetTopicInfluenceResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetTopicInfluenceResult::GetTopicInfluenceResult() : - ServiceResult() -{} - -GetTopicInfluenceResult::GetTopicInfluenceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetTopicInfluenceResult::~GetTopicInfluenceResult() -{} - -void GetTopicInfluenceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["TopicId"].isNull()) - data_.topicId = std::stol(dataNode["TopicId"].asString()); - auto allInfluencesNode = dataNode["Influences"]["InfluencesItem"]; - for (auto dataNodeInfluencesInfluencesItem : allInfluencesNode) - { - Data::InfluencesItem influencesItemObject; - if(!dataNodeInfluencesInfluencesItem["BaselineId"].isNull()) - influencesItemObject.baselineId = std::stol(dataNodeInfluencesInfluencesItem["BaselineId"].asString()); - if(!dataNodeInfluencesInfluencesItem["Bizdate"].isNull()) - influencesItemObject.bizdate = std::stol(dataNodeInfluencesInfluencesItem["Bizdate"].asString()); - if(!dataNodeInfluencesInfluencesItem["InGroupId"].isNull()) - influencesItemObject.inGroupId = std::stoi(dataNodeInfluencesInfluencesItem["InGroupId"].asString()); - if(!dataNodeInfluencesInfluencesItem["BaselineName"].isNull()) - influencesItemObject.baselineName = dataNodeInfluencesInfluencesItem["BaselineName"].asString(); - if(!dataNodeInfluencesInfluencesItem["Owner"].isNull()) - influencesItemObject.owner = dataNodeInfluencesInfluencesItem["Owner"].asString(); - if(!dataNodeInfluencesInfluencesItem["Status"].isNull()) - influencesItemObject.status = dataNodeInfluencesInfluencesItem["Status"].asString(); - if(!dataNodeInfluencesInfluencesItem["ProjectId"].isNull()) - influencesItemObject.projectId = std::stol(dataNodeInfluencesInfluencesItem["ProjectId"].asString()); - if(!dataNodeInfluencesInfluencesItem["Priority"].isNull()) - influencesItemObject.priority = std::stoi(dataNodeInfluencesInfluencesItem["Priority"].asString()); - if(!dataNodeInfluencesInfluencesItem["Buffer"].isNull()) - influencesItemObject.buffer = std::stol(dataNodeInfluencesInfluencesItem["Buffer"].asString()); - data_.influences.push_back(influencesItemObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetTopicInfluenceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetTopicInfluenceResult::Data GetTopicInfluenceResult::getData()const -{ - return data_; -} - -std::string GetTopicInfluenceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetTopicInfluenceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetTopicInfluenceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/GetTopicResult.cc b/dataworks-public/src/model/GetTopicResult.cc deleted file mode 100644 index 0052ddf8f..000000000 --- a/dataworks-public/src/model/GetTopicResult.cc +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -GetTopicResult::GetTopicResult() : - ServiceResult() -{} - -GetTopicResult::GetTopicResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetTopicResult::~GetTopicResult() -{} - -void GetTopicResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["TopicId"].isNull()) - data_.topicId = std::stol(dataNode["TopicId"].asString()); - if(!dataNode["TopicName"].isNull()) - data_.topicName = dataNode["TopicName"].asString(); - if(!dataNode["TopicStatus"].isNull()) - data_.topicStatus = dataNode["TopicStatus"].asString(); - if(!dataNode["TopicType"].isNull()) - data_.topicType = dataNode["TopicType"].asString(); - if(!dataNode["AddTime"].isNull()) - data_.addTime = std::stol(dataNode["AddTime"].asString()); - if(!dataNode["AlertTime"].isNull()) - data_.alertTime = std::stol(dataNode["AlertTime"].asString()); - if(!dataNode["Assigner"].isNull()) - data_.assigner = dataNode["Assigner"].asString(); - if(!dataNode["BaselineId"].isNull()) - data_.baselineId = std::stol(dataNode["BaselineId"].asString()); - if(!dataNode["BaselineName"].isNull()) - data_.baselineName = dataNode["BaselineName"].asString(); - if(!dataNode["BaselineInGroupId"].isNull()) - data_.baselineInGroupId = std::stoi(dataNode["BaselineInGroupId"].asString()); - if(!dataNode["BaselineStatus"].isNull()) - data_.baselineStatus = dataNode["BaselineStatus"].asString(); - if(!dataNode["BaselineBuffer"].isNull()) - data_.baselineBuffer = std::stol(dataNode["BaselineBuffer"].asString()); - if(!dataNode["Buffer"].isNull()) - data_.buffer = std::stol(dataNode["Buffer"].asString()); - if(!dataNode["DealTime"].isNull()) - data_.dealTime = std::stol(dataNode["DealTime"].asString()); - if(!dataNode["DealUser"].isNull()) - data_.dealUser = dataNode["DealUser"].asString(); - if(!dataNode["FixTime"].isNull()) - data_.fixTime = std::stol(dataNode["FixTime"].asString()); - if(!dataNode["HappenTime"].isNull()) - data_.happenTime = std::stol(dataNode["HappenTime"].asString()); - if(!dataNode["InstanceId"].isNull()) - data_.instanceId = std::stol(dataNode["InstanceId"].asString()); - if(!dataNode["NextAlertTime"].isNull()) - data_.nextAlertTime = std::stol(dataNode["NextAlertTime"].asString()); - if(!dataNode["NodeId"].isNull()) - data_.nodeId = std::stol(dataNode["NodeId"].asString()); - if(!dataNode["NodeName"].isNull()) - data_.nodeName = dataNode["NodeName"].asString(); - if(!dataNode["Owner"].isNull()) - data_.owner = dataNode["Owner"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int GetTopicResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -GetTopicResult::Data GetTopicResult::getData()const -{ - return data_; -} - -std::string GetTopicResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetTopicResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool GetTopicResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListAlertMessagesRequest.cc b/dataworks-public/src/model/ListAlertMessagesRequest.cc deleted file mode 100644 index c59cf8d3d..000000000 --- a/dataworks-public/src/model/ListAlertMessagesRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListAlertMessagesRequest; - -ListAlertMessagesRequest::ListAlertMessagesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListAlertMessages") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAlertMessagesRequest::~ListAlertMessagesRequest() -{} - -std::string ListAlertMessagesRequest::getAlertUser()const -{ - return alertUser_; -} - -void ListAlertMessagesRequest::setAlertUser(const std::string& alertUser) -{ - alertUser_ = alertUser; - setBodyParameter("AlertUser", alertUser); -} - -std::string ListAlertMessagesRequest::getEndTime()const -{ - return endTime_; -} - -void ListAlertMessagesRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", endTime); -} - -std::string ListAlertMessagesRequest::getBeginTime()const -{ - return beginTime_; -} - -void ListAlertMessagesRequest::setBeginTime(const std::string& beginTime) -{ - beginTime_ = beginTime; - setBodyParameter("BeginTime", beginTime); -} - -std::string ListAlertMessagesRequest::getAlertMethods()const -{ - return alertMethods_; -} - -void ListAlertMessagesRequest::setAlertMethods(const std::string& alertMethods) -{ - alertMethods_ = alertMethods; - setBodyParameter("AlertMethods", alertMethods); -} - -int ListAlertMessagesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListAlertMessagesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -long ListAlertMessagesRequest::getRemindId()const -{ - return remindId_; -} - -void ListAlertMessagesRequest::setRemindId(long remindId) -{ - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); -} - -int ListAlertMessagesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListAlertMessagesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListAlertMessagesRequest::getAlertRuleTypes()const -{ - return alertRuleTypes_; -} - -void ListAlertMessagesRequest::setAlertRuleTypes(const std::string& alertRuleTypes) -{ - alertRuleTypes_ = alertRuleTypes; - setBodyParameter("AlertRuleTypes", alertRuleTypes); -} - diff --git a/dataworks-public/src/model/ListAlertMessagesResult.cc b/dataworks-public/src/model/ListAlertMessagesResult.cc deleted file mode 100644 index 9ee173917..000000000 --- a/dataworks-public/src/model/ListAlertMessagesResult.cc +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListAlertMessagesResult::ListAlertMessagesResult() : - ServiceResult() -{} - -ListAlertMessagesResult::ListAlertMessagesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListAlertMessagesResult::~ListAlertMessagesResult() -{} - -void ListAlertMessagesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = dataNode["PageNumber"].asString(); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = dataNode["PageSize"].asString(); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = dataNode["TotalCount"].asString(); - auto allAlertMessagesNode = dataNode["AlertMessages"]["AlertMessagesItem"]; - for (auto dataNodeAlertMessagesAlertMessagesItem : allAlertMessagesNode) - { - Data::AlertMessagesItem alertMessagesItemObject; - if(!dataNodeAlertMessagesAlertMessagesItem["AlertId"].isNull()) - alertMessagesItemObject.alertId = std::stol(dataNodeAlertMessagesAlertMessagesItem["AlertId"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItem["AlertTime"].isNull()) - alertMessagesItemObject.alertTime = std::stol(dataNodeAlertMessagesAlertMessagesItem["AlertTime"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItem["Source"].isNull()) - alertMessagesItemObject.source = dataNodeAlertMessagesAlertMessagesItem["Source"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItem["RemindId"].isNull()) - alertMessagesItemObject.remindId = std::stol(dataNodeAlertMessagesAlertMessagesItem["RemindId"].asString()); - if(!dataNodeAlertMessagesAlertMessagesItem["RemindName"].isNull()) - alertMessagesItemObject.remindName = dataNodeAlertMessagesAlertMessagesItem["RemindName"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItem["AlertUser"].isNull()) - alertMessagesItemObject.alertUser = dataNodeAlertMessagesAlertMessagesItem["AlertUser"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItem["AlertMethod"].isNull()) - alertMessagesItemObject.alertMethod = dataNodeAlertMessagesAlertMessagesItem["AlertMethod"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItem["AlertMessageStatus"].isNull()) - alertMessagesItemObject.alertMessageStatus = dataNodeAlertMessagesAlertMessagesItem["AlertMessageStatus"].asString(); - if(!dataNodeAlertMessagesAlertMessagesItem["Content"].isNull()) - alertMessagesItemObject.content = dataNodeAlertMessagesAlertMessagesItem["Content"].asString(); - auto allInstancesNode = allAlertMessagesNode["Instances"]["InstancesItem"]; - for (auto allAlertMessagesNodeInstancesInstancesItem : allInstancesNode) - { - Data::AlertMessagesItem::InstancesItem instancesObject; - if(!allAlertMessagesNodeInstancesInstancesItem["NodeId"].isNull()) - instancesObject.nodeId = std::stol(allAlertMessagesNodeInstancesInstancesItem["NodeId"].asString()); - if(!allAlertMessagesNodeInstancesInstancesItem["NodeName"].isNull()) - instancesObject.nodeName = allAlertMessagesNodeInstancesInstancesItem["NodeName"].asString(); - if(!allAlertMessagesNodeInstancesInstancesItem["ProjectId"].isNull()) - instancesObject.projectId = std::stol(allAlertMessagesNodeInstancesInstancesItem["ProjectId"].asString()); - if(!allAlertMessagesNodeInstancesInstancesItem["Status"].isNull()) - instancesObject.status = allAlertMessagesNodeInstancesInstancesItem["Status"].asString(); - if(!allAlertMessagesNodeInstancesInstancesItem["InstanceId"].isNull()) - instancesObject.instanceId = std::stol(allAlertMessagesNodeInstancesInstancesItem["InstanceId"].asString()); - alertMessagesItemObject.instances.push_back(instancesObject); - } - auto allTopicsNode = allAlertMessagesNode["Topics"]["TopicsItem"]; - for (auto allAlertMessagesNodeTopicsTopicsItem : allTopicsNode) - { - Data::AlertMessagesItem::TopicsItem topicsObject; - if(!allAlertMessagesNodeTopicsTopicsItem["NodeId"].isNull()) - topicsObject.nodeId = std::stol(allAlertMessagesNodeTopicsTopicsItem["NodeId"].asString()); - if(!allAlertMessagesNodeTopicsTopicsItem["InstanceId"].isNull()) - topicsObject.instanceId = std::stol(allAlertMessagesNodeTopicsTopicsItem["InstanceId"].asString()); - if(!allAlertMessagesNodeTopicsTopicsItem["TopicId"].isNull()) - topicsObject.topicId = std::stol(allAlertMessagesNodeTopicsTopicsItem["TopicId"].asString()); - if(!allAlertMessagesNodeTopicsTopicsItem["TopicName"].isNull()) - topicsObject.topicName = allAlertMessagesNodeTopicsTopicsItem["TopicName"].asString(); - if(!allAlertMessagesNodeTopicsTopicsItem["TopicOwner"].isNull()) - topicsObject.topicOwner = allAlertMessagesNodeTopicsTopicsItem["TopicOwner"].asString(); - if(!allAlertMessagesNodeTopicsTopicsItem["TopicStatus"].isNull()) - topicsObject.topicStatus = allAlertMessagesNodeTopicsTopicsItem["TopicStatus"].asString(); - alertMessagesItemObject.topics.push_back(topicsObject); - } - auto allNodesNode = allAlertMessagesNode["Nodes"]["NodesItem"]; - for (auto allAlertMessagesNodeNodesNodesItem : allNodesNode) - { - Data::AlertMessagesItem::NodesItem nodesObject; - if(!allAlertMessagesNodeNodesNodesItem["NodeId"].isNull()) - nodesObject.nodeId = std::stol(allAlertMessagesNodeNodesNodesItem["NodeId"].asString()); - if(!allAlertMessagesNodeNodesNodesItem["NodeName"].isNull()) - nodesObject.nodeName = allAlertMessagesNodeNodesNodesItem["NodeName"].asString(); - if(!allAlertMessagesNodeNodesNodesItem["Owner"].isNull()) - nodesObject.owner = allAlertMessagesNodeNodesNodesItem["Owner"].asString(); - if(!allAlertMessagesNodeNodesNodesItem["ProjectId"].isNull()) - nodesObject.projectId = std::stol(allAlertMessagesNodeNodesNodesItem["ProjectId"].asString()); - alertMessagesItemObject.nodes.push_back(nodesObject); - } - auto slaAlertNode = value["SlaAlert"]; - if(!slaAlertNode["BaselineId"].isNull()) - alertMessagesItemObject.slaAlert.baselineId = std::stol(slaAlertNode["BaselineId"].asString()); - if(!slaAlertNode["BaselineName"].isNull()) - alertMessagesItemObject.slaAlert.baselineName = slaAlertNode["BaselineName"].asString(); - if(!slaAlertNode["BaselineOwner"].isNull()) - alertMessagesItemObject.slaAlert.baselineOwner = slaAlertNode["BaselineOwner"].asString(); - if(!slaAlertNode["Bizdate"].isNull()) - alertMessagesItemObject.slaAlert.bizdate = std::stol(slaAlertNode["Bizdate"].asString()); - if(!slaAlertNode["InGroupId"].isNull()) - alertMessagesItemObject.slaAlert.inGroupId = std::stoi(slaAlertNode["InGroupId"].asString()); - if(!slaAlertNode["ProjectId"].isNull()) - alertMessagesItemObject.slaAlert.projectId = std::stol(slaAlertNode["ProjectId"].asString()); - if(!slaAlertNode["Status"].isNull()) - alertMessagesItemObject.slaAlert.status = slaAlertNode["Status"].asString(); - data_.alertMessages.push_back(alertMessagesItemObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListAlertMessagesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListAlertMessagesResult::Data ListAlertMessagesResult::getData()const -{ - return data_; -} - -std::string ListAlertMessagesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListAlertMessagesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListAlertMessagesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListBaselineConfigsRequest.cc b/dataworks-public/src/model/ListBaselineConfigsRequest.cc deleted file mode 100644 index 8c71e6c8b..000000000 --- a/dataworks-public/src/model/ListBaselineConfigsRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListBaselineConfigsRequest; - -ListBaselineConfigsRequest::ListBaselineConfigsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListBaselineConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -ListBaselineConfigsRequest::~ListBaselineConfigsRequest() -{} - -std::string ListBaselineConfigsRequest::getOwner()const -{ - return owner_; -} - -void ListBaselineConfigsRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListBaselineConfigsRequest::getSearchText()const -{ - return searchText_; -} - -void ListBaselineConfigsRequest::setSearchText(const std::string& searchText) -{ - searchText_ = searchText; - setBodyParameter("SearchText", searchText); -} - -bool ListBaselineConfigsRequest::getUseflag()const -{ - return useflag_; -} - -void ListBaselineConfigsRequest::setUseflag(bool useflag) -{ - useflag_ = useflag; - setBodyParameter("Useflag", useflag ? "true" : "false"); -} - -std::string ListBaselineConfigsRequest::getPriority()const -{ - return priority_; -} - -void ListBaselineConfigsRequest::setPriority(const std::string& priority) -{ - priority_ = priority; - setBodyParameter("Priority", priority); -} - -int ListBaselineConfigsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListBaselineConfigsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -int ListBaselineConfigsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListBaselineConfigsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListBaselineConfigsRequest::getProjectId()const -{ - return projectId_; -} - -void ListBaselineConfigsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListBaselineConfigsRequest::getBaselineTypes()const -{ - return baselineTypes_; -} - -void ListBaselineConfigsRequest::setBaselineTypes(const std::string& baselineTypes) -{ - baselineTypes_ = baselineTypes; - setBodyParameter("BaselineTypes", baselineTypes); -} - diff --git a/dataworks-public/src/model/ListBaselineConfigsResult.cc b/dataworks-public/src/model/ListBaselineConfigsResult.cc deleted file mode 100644 index 2d8ec036c..000000000 --- a/dataworks-public/src/model/ListBaselineConfigsResult.cc +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListBaselineConfigsResult::ListBaselineConfigsResult() : - ServiceResult() -{} - -ListBaselineConfigsResult::ListBaselineConfigsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListBaselineConfigsResult::~ListBaselineConfigsResult() -{} - -void ListBaselineConfigsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allBaselinesNode = dataNode["Baselines"]["BaselinesItem"]; - for (auto dataNodeBaselinesBaselinesItem : allBaselinesNode) - { - Data::BaselinesItem baselinesItemObject; - if(!dataNodeBaselinesBaselinesItem["BaselineId"].isNull()) - baselinesItemObject.baselineId = std::stol(dataNodeBaselinesBaselinesItem["BaselineId"].asString()); - if(!dataNodeBaselinesBaselinesItem["Priority"].isNull()) - baselinesItemObject.priority = std::stoi(dataNodeBaselinesBaselinesItem["Priority"].asString()); - if(!dataNodeBaselinesBaselinesItem["BaselineName"].isNull()) - baselinesItemObject.baselineName = dataNodeBaselinesBaselinesItem["BaselineName"].asString(); - if(!dataNodeBaselinesBaselinesItem["Owner"].isNull()) - baselinesItemObject.owner = dataNodeBaselinesBaselinesItem["Owner"].asString(); - if(!dataNodeBaselinesBaselinesItem["ProjectId"].isNull()) - baselinesItemObject.projectId = std::stol(dataNodeBaselinesBaselinesItem["ProjectId"].asString()); - if(!dataNodeBaselinesBaselinesItem["UseFlag"].isNull()) - baselinesItemObject.useFlag = dataNodeBaselinesBaselinesItem["UseFlag"].asString() == "true"; - if(!dataNodeBaselinesBaselinesItem["BaselineType"].isNull()) - baselinesItemObject.baselineType = dataNodeBaselinesBaselinesItem["BaselineType"].asString(); - if(!dataNodeBaselinesBaselinesItem["ExpHour"].isNull()) - baselinesItemObject.expHour = std::stoi(dataNodeBaselinesBaselinesItem["ExpHour"].asString()); - if(!dataNodeBaselinesBaselinesItem["ExpMinu"].isNull()) - baselinesItemObject.expMinu = std::stoi(dataNodeBaselinesBaselinesItem["ExpMinu"].asString()); - if(!dataNodeBaselinesBaselinesItem["SlaHour"].isNull()) - baselinesItemObject.slaHour = std::stoi(dataNodeBaselinesBaselinesItem["SlaHour"].asString()); - if(!dataNodeBaselinesBaselinesItem["SlaMinu"].isNull()) - baselinesItemObject.slaMinu = std::stoi(dataNodeBaselinesBaselinesItem["SlaMinu"].asString()); - if(!dataNodeBaselinesBaselinesItem["HourExpDetail"].isNull()) - baselinesItemObject.hourExpDetail = dataNodeBaselinesBaselinesItem["HourExpDetail"].asString(); - if(!dataNodeBaselinesBaselinesItem["HourSlaDetail"].isNull()) - baselinesItemObject.hourSlaDetail = dataNodeBaselinesBaselinesItem["HourSlaDetail"].asString(); - if(!dataNodeBaselinesBaselinesItem["IsDefault"].isNull()) - baselinesItemObject.isDefault = dataNodeBaselinesBaselinesItem["IsDefault"].asString() == "true"; - data_.baselines.push_back(baselinesItemObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListBaselineConfigsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListBaselineConfigsResult::Data ListBaselineConfigsResult::getData()const -{ - return data_; -} - -std::string ListBaselineConfigsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListBaselineConfigsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListBaselineConfigsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListBaselineStatusesRequest.cc b/dataworks-public/src/model/ListBaselineStatusesRequest.cc deleted file mode 100644 index ea69853af..000000000 --- a/dataworks-public/src/model/ListBaselineStatusesRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListBaselineStatusesRequest; - -ListBaselineStatusesRequest::ListBaselineStatusesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListBaselineStatuses") -{ - setMethod(HttpRequest::Method::Post); -} - -ListBaselineStatusesRequest::~ListBaselineStatusesRequest() -{} - -std::string ListBaselineStatusesRequest::getSearchText()const -{ - return searchText_; -} - -void ListBaselineStatusesRequest::setSearchText(const std::string& searchText) -{ - searchText_ = searchText; - setBodyParameter("SearchText", searchText); -} - -std::string ListBaselineStatusesRequest::getOwner()const -{ - return owner_; -} - -void ListBaselineStatusesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListBaselineStatusesRequest::getPriority()const -{ - return priority_; -} - -void ListBaselineStatusesRequest::setPriority(const std::string& priority) -{ - priority_ = priority; - setBodyParameter("Priority", priority); -} - -int ListBaselineStatusesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListBaselineStatusesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -long ListBaselineStatusesRequest::getTopicId()const -{ - return topicId_; -} - -void ListBaselineStatusesRequest::setTopicId(long topicId) -{ - topicId_ = topicId; - setBodyParameter("TopicId", std::to_string(topicId)); -} - -std::string ListBaselineStatusesRequest::getBizdate()const -{ - return bizdate_; -} - -void ListBaselineStatusesRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); -} - -std::string ListBaselineStatusesRequest::getFinishStatus()const -{ - return finishStatus_; -} - -void ListBaselineStatusesRequest::setFinishStatus(const std::string& finishStatus) -{ - finishStatus_ = finishStatus; - setBodyParameter("FinishStatus", finishStatus); -} - -int ListBaselineStatusesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListBaselineStatusesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListBaselineStatusesRequest::getBaselineTypes()const -{ - return baselineTypes_; -} - -void ListBaselineStatusesRequest::setBaselineTypes(const std::string& baselineTypes) -{ - baselineTypes_ = baselineTypes; - setBodyParameter("BaselineTypes", baselineTypes); -} - -std::string ListBaselineStatusesRequest::getStatus()const -{ - return status_; -} - -void ListBaselineStatusesRequest::setStatus(const std::string& status) -{ - status_ = status; - setBodyParameter("Status", status); -} - diff --git a/dataworks-public/src/model/ListBaselineStatusesResult.cc b/dataworks-public/src/model/ListBaselineStatusesResult.cc deleted file mode 100644 index b127e3dfe..000000000 --- a/dataworks-public/src/model/ListBaselineStatusesResult.cc +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListBaselineStatusesResult::ListBaselineStatusesResult() : - ServiceResult() -{} - -ListBaselineStatusesResult::ListBaselineStatusesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListBaselineStatusesResult::~ListBaselineStatusesResult() -{} - -void ListBaselineStatusesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allBaselineStatusesNode = dataNode["BaselineStatuses"]["BaselineStatusesItem"]; - for (auto dataNodeBaselineStatusesBaselineStatusesItem : allBaselineStatusesNode) - { - Data::BaselineStatusesItem baselineStatusesItemObject; - if(!dataNodeBaselineStatusesBaselineStatusesItem["BaselineName"].isNull()) - baselineStatusesItemObject.baselineName = dataNodeBaselineStatusesBaselineStatusesItem["BaselineName"].asString(); - if(!dataNodeBaselineStatusesBaselineStatusesItem["BaselineId"].isNull()) - baselineStatusesItemObject.baselineId = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["BaselineId"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["Bizdate"].isNull()) - baselineStatusesItemObject.bizdate = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["Bizdate"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["Owner"].isNull()) - baselineStatusesItemObject.owner = dataNodeBaselineStatusesBaselineStatusesItem["Owner"].asString(); - if(!dataNodeBaselineStatusesBaselineStatusesItem["ExpTime"].isNull()) - baselineStatusesItemObject.expTime = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["ExpTime"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["FinishTime"].isNull()) - baselineStatusesItemObject.finishTime = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["FinishTime"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["EndCast"].isNull()) - baselineStatusesItemObject.endCast = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["EndCast"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["SlaTime"].isNull()) - baselineStatusesItemObject.slaTime = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["SlaTime"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["Priority"].isNull()) - baselineStatusesItemObject.priority = std::stoi(dataNodeBaselineStatusesBaselineStatusesItem["Priority"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["ProjectId"].isNull()) - baselineStatusesItemObject.projectId = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["ProjectId"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["Buffer"].isNull()) - baselineStatusesItemObject.buffer = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["Buffer"].asString()); - if(!dataNodeBaselineStatusesBaselineStatusesItem["Status"].isNull()) - baselineStatusesItemObject.status = dataNodeBaselineStatusesBaselineStatusesItem["Status"].asString(); - if(!dataNodeBaselineStatusesBaselineStatusesItem["FinishStatus"].isNull()) - baselineStatusesItemObject.finishStatus = dataNodeBaselineStatusesBaselineStatusesItem["FinishStatus"].asString(); - if(!dataNodeBaselineStatusesBaselineStatusesItem["InGroupId"].isNull()) - baselineStatusesItemObject.inGroupId = std::stoi(dataNodeBaselineStatusesBaselineStatusesItem["InGroupId"].asString()); - data_.baselineStatuses.push_back(baselineStatusesItemObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListBaselineStatusesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListBaselineStatusesResult::Data ListBaselineStatusesResult::getData()const -{ - return data_; -} - -std::string ListBaselineStatusesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListBaselineStatusesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListBaselineStatusesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListBusinessRequest.cc b/dataworks-public/src/model/ListBusinessRequest.cc deleted file mode 100644 index bd728f468..000000000 --- a/dataworks-public/src/model/ListBusinessRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListBusinessRequest; - -ListBusinessRequest::ListBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -ListBusinessRequest::~ListBusinessRequest() -{} - -int ListBusinessRequest::getPageSize()const -{ - return pageSize_; -} - -void ListBusinessRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListBusinessRequest::getKeyword()const -{ - return keyword_; -} - -void ListBusinessRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setBodyParameter("Keyword", keyword); -} - -long ListBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void ListBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void ListBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -int ListBusinessRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListBusinessRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListBusinessResult.cc b/dataworks-public/src/model/ListBusinessResult.cc deleted file mode 100644 index 9809cf386..000000000 --- a/dataworks-public/src/model/ListBusinessResult.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListBusinessResult::ListBusinessResult() : - ServiceResult() -{} - -ListBusinessResult::ListBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListBusinessResult::~ListBusinessResult() -{} - -void ListBusinessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allBusinessNode = dataNode["Business"]["BusinessItem"]; - for (auto dataNodeBusinessBusinessItem : allBusinessNode) - { - Data::BusinessItem businessItemObject; - if(!dataNodeBusinessBusinessItem["BusinessId"].isNull()) - businessItemObject.businessId = std::stol(dataNodeBusinessBusinessItem["BusinessId"].asString()); - if(!dataNodeBusinessBusinessItem["BusinessName"].isNull()) - businessItemObject.businessName = dataNodeBusinessBusinessItem["BusinessName"].asString(); - if(!dataNodeBusinessBusinessItem["ProjectId"].isNull()) - businessItemObject.projectId = std::stol(dataNodeBusinessBusinessItem["ProjectId"].asString()); - if(!dataNodeBusinessBusinessItem["Owner"].isNull()) - businessItemObject.owner = dataNodeBusinessBusinessItem["Owner"].asString(); - if(!dataNodeBusinessBusinessItem["Description"].isNull()) - businessItemObject.description = dataNodeBusinessBusinessItem["Description"].asString(); - if(!dataNodeBusinessBusinessItem["UseType"].isNull()) - businessItemObject.useType = dataNodeBusinessBusinessItem["UseType"].asString(); - data_.business.push_back(businessItemObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListBusinessResult::Data ListBusinessResult::getData()const -{ - return data_; -} - -std::string ListBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListBusinessResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListCalcEnginesRequest.cc b/dataworks-public/src/model/ListCalcEnginesRequest.cc deleted file mode 100644 index 2e9647ff3..000000000 --- a/dataworks-public/src/model/ListCalcEnginesRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListCalcEnginesRequest; - -ListCalcEnginesRequest::ListCalcEnginesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListCalcEngines") -{ - setMethod(HttpRequest::Method::Post); -} - -ListCalcEnginesRequest::~ListCalcEnginesRequest() -{} - -std::string ListCalcEnginesRequest::getCalcEngineType()const -{ - return calcEngineType_; -} - -void ListCalcEnginesRequest::setCalcEngineType(const std::string& calcEngineType) -{ - calcEngineType_ = calcEngineType; - setParameter("CalcEngineType", calcEngineType); -} - -int ListCalcEnginesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListCalcEnginesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListCalcEnginesRequest::getName()const -{ - return name_; -} - -void ListCalcEnginesRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string ListCalcEnginesRequest::getEnvType()const -{ - return envType_; -} - -void ListCalcEnginesRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setParameter("EnvType", envType); -} - -int ListCalcEnginesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListCalcEnginesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long ListCalcEnginesRequest::getProjectId()const -{ - return projectId_; -} - -void ListCalcEnginesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListCalcEnginesResult.cc b/dataworks-public/src/model/ListCalcEnginesResult.cc deleted file mode 100644 index 2ebe1f5d7..000000000 --- a/dataworks-public/src/model/ListCalcEnginesResult.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListCalcEnginesResult::ListCalcEnginesResult() : - ServiceResult() -{} - -ListCalcEnginesResult::ListCalcEnginesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListCalcEnginesResult::~ListCalcEnginesResult() -{} - -void ListCalcEnginesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allCalcEnginesNode = dataNode["CalcEngines"]["CalcEnginesItem"]; - for (auto dataNodeCalcEnginesCalcEnginesItem : allCalcEnginesNode) - { - Data::CalcEnginesItem calcEnginesItemObject; - if(!dataNodeCalcEnginesCalcEnginesItem["CalcEngineType"].isNull()) - calcEnginesItemObject.calcEngineType = dataNodeCalcEnginesCalcEnginesItem["CalcEngineType"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["GmtCreate"].isNull()) - calcEnginesItemObject.gmtCreate = dataNodeCalcEnginesCalcEnginesItem["GmtCreate"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["DwRegion"].isNull()) - calcEnginesItemObject.dwRegion = dataNodeCalcEnginesCalcEnginesItem["DwRegion"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["IsDefault"].isNull()) - calcEnginesItemObject.isDefault = dataNodeCalcEnginesCalcEnginesItem["IsDefault"].asString() == "true"; - if(!dataNodeCalcEnginesCalcEnginesItem["BindingProjectId"].isNull()) - calcEnginesItemObject.bindingProjectId = std::stoi(dataNodeCalcEnginesCalcEnginesItem["BindingProjectId"].asString()); - if(!dataNodeCalcEnginesCalcEnginesItem["EnvType"].isNull()) - calcEnginesItemObject.envType = dataNodeCalcEnginesCalcEnginesItem["EnvType"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["TenantId"].isNull()) - calcEnginesItemObject.tenantId = std::stol(dataNodeCalcEnginesCalcEnginesItem["TenantId"].asString()); - if(!dataNodeCalcEnginesCalcEnginesItem["Name"].isNull()) - calcEnginesItemObject.name = dataNodeCalcEnginesCalcEnginesItem["Name"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["BindingProjectName"].isNull()) - calcEnginesItemObject.bindingProjectName = dataNodeCalcEnginesCalcEnginesItem["BindingProjectName"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["Region"].isNull()) - calcEnginesItemObject.region = dataNodeCalcEnginesCalcEnginesItem["Region"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["EngineId"].isNull()) - calcEnginesItemObject.engineId = std::stoi(dataNodeCalcEnginesCalcEnginesItem["EngineId"].asString()); - if(!dataNodeCalcEnginesCalcEnginesItem["EngineInfo"].isNull()) - calcEnginesItemObject.engineInfo = dataNodeCalcEnginesCalcEnginesItem["EngineInfo"].asString(); - if(!dataNodeCalcEnginesCalcEnginesItem["TaskAuthType"].isNull()) - calcEnginesItemObject.taskAuthType = dataNodeCalcEnginesCalcEnginesItem["TaskAuthType"].asString(); - data_.calcEngines.push_back(calcEnginesItemObject); - } - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListCalcEnginesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListCalcEnginesResult::Data ListCalcEnginesResult::getData()const -{ - return data_; -} - -bool ListCalcEnginesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListConnectionsRequest.cc b/dataworks-public/src/model/ListConnectionsRequest.cc deleted file mode 100644 index d2a678525..000000000 --- a/dataworks-public/src/model/ListConnectionsRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListConnectionsRequest; - -ListConnectionsRequest::ListConnectionsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListConnections") -{ - setMethod(HttpRequest::Method::Get); -} - -ListConnectionsRequest::~ListConnectionsRequest() -{} - -int ListConnectionsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListConnectionsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListConnectionsRequest::getSubType()const -{ - return subType_; -} - -void ListConnectionsRequest::setSubType(const std::string& subType) -{ - subType_ = subType; - setParameter("SubType", subType); -} - -std::string ListConnectionsRequest::getName()const -{ - return name_; -} - -void ListConnectionsRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -int ListConnectionsRequest::getEnvType()const -{ - return envType_; -} - -void ListConnectionsRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); -} - -int ListConnectionsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListConnectionsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListConnectionsRequest::getConnectionType()const -{ - return connectionType_; -} - -void ListConnectionsRequest::setConnectionType(const std::string& connectionType) -{ - connectionType_ = connectionType; - setParameter("ConnectionType", connectionType); -} - -long ListConnectionsRequest::getProjectId()const -{ - return projectId_; -} - -void ListConnectionsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListConnectionsRequest::getStatus()const -{ - return status_; -} - -void ListConnectionsRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/dataworks-public/src/model/ListConnectionsResult.cc b/dataworks-public/src/model/ListConnectionsResult.cc deleted file mode 100644 index cdd563fa5..000000000 --- a/dataworks-public/src/model/ListConnectionsResult.cc +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListConnectionsResult::ListConnectionsResult() : - ServiceResult() -{} - -ListConnectionsResult::ListConnectionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListConnectionsResult::~ListConnectionsResult() -{} - -void ListConnectionsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allConnectionsNode = dataNode["Connections"]["ConnectionsItem"]; - for (auto dataNodeConnectionsConnectionsItem : allConnectionsNode) - { - Data::ConnectionsItem connectionsItemObject; - if(!dataNodeConnectionsConnectionsItem["Shared"].isNull()) - connectionsItemObject.shared = dataNodeConnectionsConnectionsItem["Shared"].asString() == "true"; - if(!dataNodeConnectionsConnectionsItem["GmtModified"].isNull()) - connectionsItemObject.gmtModified = dataNodeConnectionsConnectionsItem["GmtModified"].asString(); - if(!dataNodeConnectionsConnectionsItem["ConnectStatus"].isNull()) - connectionsItemObject.connectStatus = std::stoi(dataNodeConnectionsConnectionsItem["ConnectStatus"].asString()); - if(!dataNodeConnectionsConnectionsItem["BindingCalcEngineId"].isNull()) - connectionsItemObject.bindingCalcEngineId = std::stoi(dataNodeConnectionsConnectionsItem["BindingCalcEngineId"].asString()); - if(!dataNodeConnectionsConnectionsItem["Description"].isNull()) - connectionsItemObject.description = dataNodeConnectionsConnectionsItem["Description"].asString(); - if(!dataNodeConnectionsConnectionsItem["ConnectionType"].isNull()) - connectionsItemObject.connectionType = dataNodeConnectionsConnectionsItem["ConnectionType"].asString(); - if(!dataNodeConnectionsConnectionsItem["GmtCreate"].isNull()) - connectionsItemObject.gmtCreate = dataNodeConnectionsConnectionsItem["GmtCreate"].asString(); - if(!dataNodeConnectionsConnectionsItem["DefaultEngine"].isNull()) - connectionsItemObject.defaultEngine = dataNodeConnectionsConnectionsItem["DefaultEngine"].asString() == "true"; - if(!dataNodeConnectionsConnectionsItem["Operator"].isNull()) - connectionsItemObject._operator = dataNodeConnectionsConnectionsItem["Operator"].asString(); - if(!dataNodeConnectionsConnectionsItem["Sequence"].isNull()) - connectionsItemObject.sequence = std::stoi(dataNodeConnectionsConnectionsItem["Sequence"].asString()); - if(!dataNodeConnectionsConnectionsItem["EnvType"].isNull()) - connectionsItemObject.envType = std::stoi(dataNodeConnectionsConnectionsItem["EnvType"].asString()); - if(!dataNodeConnectionsConnectionsItem["TenantId"].isNull()) - connectionsItemObject.tenantId = std::stol(dataNodeConnectionsConnectionsItem["TenantId"].asString()); - if(!dataNodeConnectionsConnectionsItem["Name"].isNull()) - connectionsItemObject.name = dataNodeConnectionsConnectionsItem["Name"].asString(); - if(!dataNodeConnectionsConnectionsItem["SubType"].isNull()) - connectionsItemObject.subType = dataNodeConnectionsConnectionsItem["SubType"].asString(); - if(!dataNodeConnectionsConnectionsItem["Id"].isNull()) - connectionsItemObject.id = std::stoi(dataNodeConnectionsConnectionsItem["Id"].asString()); - if(!dataNodeConnectionsConnectionsItem["ProjectId"].isNull()) - connectionsItemObject.projectId = std::stoi(dataNodeConnectionsConnectionsItem["ProjectId"].asString()); - if(!dataNodeConnectionsConnectionsItem["Status"].isNull()) - connectionsItemObject.status = std::stoi(dataNodeConnectionsConnectionsItem["Status"].asString()); - if(!dataNodeConnectionsConnectionsItem["Content"].isNull()) - connectionsItemObject.content = dataNodeConnectionsConnectionsItem["Content"].asString(); - data_.connections.push_back(connectionsItemObject); - } - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListConnectionsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListConnectionsResult::Data ListConnectionsResult::getData()const -{ - return data_; -} - -bool ListConnectionsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc b/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc deleted file mode 100644 index ae5a2b37f..000000000 --- a/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceApiAuthoritiesRequest; - -ListDataServiceApiAuthoritiesRequest::ListDataServiceApiAuthoritiesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceApiAuthorities") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceApiAuthoritiesRequest::~ListDataServiceApiAuthoritiesRequest() -{} - -std::string ListDataServiceApiAuthoritiesRequest::getApiNameKeyword()const -{ - return apiNameKeyword_; -} - -void ListDataServiceApiAuthoritiesRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); -} - -int ListDataServiceApiAuthoritiesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServiceApiAuthoritiesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServiceApiAuthoritiesRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServiceApiAuthoritiesRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long ListDataServiceApiAuthoritiesRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataServiceApiAuthoritiesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -int ListDataServiceApiAuthoritiesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServiceApiAuthoritiesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc b/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc deleted file mode 100644 index 730e21e71..000000000 --- a/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServiceApiAuthoritiesResult::ListDataServiceApiAuthoritiesResult() : - ServiceResult() -{} - -ListDataServiceApiAuthoritiesResult::ListDataServiceApiAuthoritiesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServiceApiAuthoritiesResult::~ListDataServiceApiAuthoritiesResult() -{} - -void ListDataServiceApiAuthoritiesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allApiAuthorizationListNode = dataNode["ApiAuthorizationList"]["ApiAuthorization"]; - for (auto dataNodeApiAuthorizationListApiAuthorization : allApiAuthorizationListNode) - { - Data::ApiAuthorization apiAuthorizationObject; - if(!dataNodeApiAuthorizationListApiAuthorization["ApiId"].isNull()) - apiAuthorizationObject.apiId = std::stol(dataNodeApiAuthorizationListApiAuthorization["ApiId"].asString()); - if(!dataNodeApiAuthorizationListApiAuthorization["ApiName"].isNull()) - apiAuthorizationObject.apiName = dataNodeApiAuthorizationListApiAuthorization["ApiName"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["ApiPath"].isNull()) - apiAuthorizationObject.apiPath = dataNodeApiAuthorizationListApiAuthorization["ApiPath"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["ApiStatus"].isNull()) - apiAuthorizationObject.apiStatus = std::stoi(dataNodeApiAuthorizationListApiAuthorization["ApiStatus"].asString()); - if(!dataNodeApiAuthorizationListApiAuthorization["CreatedTime"].isNull()) - apiAuthorizationObject.createdTime = dataNodeApiAuthorizationListApiAuthorization["CreatedTime"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["CreatorId"].isNull()) - apiAuthorizationObject.creatorId = dataNodeApiAuthorizationListApiAuthorization["CreatorId"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["GroupId"].isNull()) - apiAuthorizationObject.groupId = dataNodeApiAuthorizationListApiAuthorization["GroupId"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["ModifiedTime"].isNull()) - apiAuthorizationObject.modifiedTime = dataNodeApiAuthorizationListApiAuthorization["ModifiedTime"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorization["ProjectId"].isNull()) - apiAuthorizationObject.projectId = std::stol(dataNodeApiAuthorizationListApiAuthorization["ProjectId"].asString()); - if(!dataNodeApiAuthorizationListApiAuthorization["TenantId"].isNull()) - apiAuthorizationObject.tenantId = std::stol(dataNodeApiAuthorizationListApiAuthorization["TenantId"].asString()); - auto allAuthorizationRecordsNode = allApiAuthorizationListNode["AuthorizationRecords"]["AuthorizationRecord"]; - for (auto allApiAuthorizationListNodeAuthorizationRecordsAuthorizationRecord : allAuthorizationRecordsNode) - { - Data::ApiAuthorization::AuthorizationRecord authorizationRecordsObject; - if(!allApiAuthorizationListNodeAuthorizationRecordsAuthorizationRecord["CreatedTime"].isNull()) - authorizationRecordsObject.createdTime = allApiAuthorizationListNodeAuthorizationRecordsAuthorizationRecord["CreatedTime"].asString(); - if(!allApiAuthorizationListNodeAuthorizationRecordsAuthorizationRecord["CreatorId"].isNull()) - authorizationRecordsObject.creatorId = allApiAuthorizationListNodeAuthorizationRecordsAuthorizationRecord["CreatorId"].asString(); - if(!allApiAuthorizationListNodeAuthorizationRecordsAuthorizationRecord["EndTime"].isNull()) - authorizationRecordsObject.endTime = allApiAuthorizationListNodeAuthorizationRecordsAuthorizationRecord["EndTime"].asString(); - if(!allApiAuthorizationListNodeAuthorizationRecordsAuthorizationRecord["ProjectId"].isNull()) - authorizationRecordsObject.projectId = std::stol(allApiAuthorizationListNodeAuthorizationRecordsAuthorizationRecord["ProjectId"].asString()); - apiAuthorizationObject.authorizationRecords.push_back(authorizationRecordsObject); - } - data_.apiAuthorizationList.push_back(apiAuthorizationObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListDataServiceApiAuthoritiesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListDataServiceApiAuthoritiesResult::Data ListDataServiceApiAuthoritiesResult::getData()const -{ - return data_; -} - -std::string ListDataServiceApiAuthoritiesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListDataServiceApiAuthoritiesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListDataServiceApiAuthoritiesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListDataServiceApisRequest.cc b/dataworks-public/src/model/ListDataServiceApisRequest.cc deleted file mode 100644 index 064b15335..000000000 --- a/dataworks-public/src/model/ListDataServiceApisRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceApisRequest; - -ListDataServiceApisRequest::ListDataServiceApisRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceApis") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceApisRequest::~ListDataServiceApisRequest() -{} - -std::string ListDataServiceApisRequest::getApiNameKeyword()const -{ - return apiNameKeyword_; -} - -void ListDataServiceApisRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); -} - -std::string ListDataServiceApisRequest::getApiPathKeyword()const -{ - return apiPathKeyword_; -} - -void ListDataServiceApisRequest::setApiPathKeyword(const std::string& apiPathKeyword) -{ - apiPathKeyword_ = apiPathKeyword; - setBodyParameter("ApiPathKeyword", apiPathKeyword); -} - -std::string ListDataServiceApisRequest::getCreatorId()const -{ - return creatorId_; -} - -void ListDataServiceApisRequest::setCreatorId(const std::string& creatorId) -{ - creatorId_ = creatorId; - setBodyParameter("CreatorId", creatorId); -} - -int ListDataServiceApisRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServiceApisRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -int ListDataServiceApisRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServiceApisRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServiceApisRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServiceApisRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long ListDataServiceApisRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataServiceApisRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListDataServiceApisResult.cc b/dataworks-public/src/model/ListDataServiceApisResult.cc deleted file mode 100644 index 898f00331..000000000 --- a/dataworks-public/src/model/ListDataServiceApisResult.cc +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License 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()); - auto registrationDetailsNode = value["RegistrationDetails"]; - if(!registrationDetailsNode["FailedResultSample"].isNull()) - apiObject.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); - if(!registrationDetailsNode["ServiceContentType"].isNull()) - apiObject.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString()); - if(!registrationDetailsNode["ServiceHost"].isNull()) - apiObject.registrationDetails.serviceHost = registrationDetailsNode["ServiceHost"].asString(); - if(!registrationDetailsNode["ServicePath"].isNull()) - apiObject.registrationDetails.servicePath = registrationDetailsNode["ServicePath"].asString(); - if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) - apiObject.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString(); - if(!registrationDetailsNode["SuccessfulResultSample"].isNull()) - apiObject.registrationDetails.successfulResultSample = registrationDetailsNode["SuccessfulResultSample"].asString(); - auto allRegistrationErrorCodesNode = registrationDetailsNode["RegistrationErrorCodes"]["RegistrationErrorCode"]; - for (auto registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode : allRegistrationErrorCodesNode) - { - Data::Api::RegistrationDetails::RegistrationErrorCode registrationErrorCodeObject; - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull()) - registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].isNull()) - registrationErrorCodeObject.errorMessage = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) - registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); - apiObject.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); - } - auto allRegistrationRequestParametersNode = registrationDetailsNode["RegistrationRequestParameters"]["RegistrationRequestParameter"]; - for (auto registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter : allRegistrationRequestParametersNode) - { - Data::Api::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].isNull()) - registrationRequestParameterObject.columnName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) - registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull()) - registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull()) - registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) - registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) - registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull()) - registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) - registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull()) - registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString()); - apiObject.registrationDetails.registrationRequestParameters.push_back(registrationRequestParameterObject); - } - auto scriptDetailsNode = value["ScriptDetails"]; - if(!scriptDetailsNode["IsPagedResponse"].isNull()) - apiObject.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true"; - if(!scriptDetailsNode["Script"].isNull()) - apiObject.scriptDetails.script = scriptDetailsNode["Script"].asString(); - auto allScriptRequestParametersNode = scriptDetailsNode["ScriptRequestParameters"]["ScriptRequestParameter"]; - for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode) - { - Data::Api::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].isNull()) - scriptRequestParameterObject.columnName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) - scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull()) - scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull()) - scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) - scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) - scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull()) - scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) - scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull()) - scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString()); - apiObject.scriptDetails.scriptRequestParameters.push_back(scriptRequestParameterObject); - } - auto allScriptResponseParametersNode = scriptDetailsNode["ScriptResponseParameters"]["ScriptResponseParameter"]; - for (auto scriptDetailsNodeScriptResponseParametersScriptResponseParameter : allScriptResponseParametersNode) - { - Data::Api::ScriptDetails::ScriptResponseParameter scriptResponseParameterObject; - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].isNull()) - scriptResponseParameterObject.columnName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) - scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) - scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].isNull()) - scriptResponseParameterObject.parameterDescription = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull()) - scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString(); - apiObject.scriptDetails.scriptResponseParameters.push_back(scriptResponseParameterObject); - } - auto scriptConnectionNode = scriptDetailsNode["ScriptConnection"]; - if(!scriptConnectionNode["ConnectionId"].isNull()) - apiObject.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString()); - if(!scriptConnectionNode["TableName"].isNull()) - apiObject.scriptDetails.scriptConnection.tableName = scriptConnectionNode["TableName"].asString(); - auto wizardDetailsNode = value["WizardDetails"]; - if(!wizardDetailsNode["IsPagedResponse"].isNull()) - apiObject.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true"; - auto allWizardRequestParametersNode = wizardDetailsNode["WizardRequestParameters"]["WizardRequestParameter"]; - for (auto wizardDetailsNodeWizardRequestParametersWizardRequestParameter : allWizardRequestParametersNode) - { - Data::Api::WizardDetails::WizardRequestParameter wizardRequestParameterObject; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].isNull()) - wizardRequestParameterObject.columnName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) - wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull()) - wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull()) - wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) - wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) - wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull()) - wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) - wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull()) - wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString()); - apiObject.wizardDetails.wizardRequestParameters.push_back(wizardRequestParameterObject); - } - auto allWizardResponseParametersNode = wizardDetailsNode["WizardResponseParameters"]["WizardResponseParameter"]; - for (auto wizardDetailsNodeWizardResponseParametersWizardResponseParameter : allWizardResponseParametersNode) - { - Data::Api::WizardDetails::WizardResponseParameter wizardResponseParameterObject; - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].isNull()) - wizardResponseParameterObject.columnName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) - wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) - wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].isNull()) - wizardResponseParameterObject.parameterDescription = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull()) - wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString(); - apiObject.wizardDetails.wizardResponseParameters.push_back(wizardResponseParameterObject); - } - auto wizardConnectionNode = wizardDetailsNode["WizardConnection"]; - if(!wizardConnectionNode["ConnectionId"].isNull()) - apiObject.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString()); - if(!wizardConnectionNode["TableName"].isNull()) - apiObject.wizardDetails.wizardConnection.tableName = wizardConnectionNode["TableName"].asString(); - auto allProtocols = value["Protocols"]["Protocol"]; - for (auto value : allProtocols) - apiObject.protocols.push_back(value.asString()); - data_.apis.push_back(apiObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListDataServiceApisResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListDataServiceApisResult::Data ListDataServiceApisResult::getData()const -{ - return data_; -} - -std::string ListDataServiceApisResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListDataServiceApisResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListDataServiceApisResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListDataServiceApplicationsRequest.cc b/dataworks-public/src/model/ListDataServiceApplicationsRequest.cc deleted file mode 100644 index cc58381ed..000000000 --- a/dataworks-public/src/model/ListDataServiceApplicationsRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceApplicationsRequest; - -ListDataServiceApplicationsRequest::ListDataServiceApplicationsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceApplications") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceApplicationsRequest::~ListDataServiceApplicationsRequest() -{} - -int ListDataServiceApplicationsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServiceApplicationsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServiceApplicationsRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServiceApplicationsRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -std::string ListDataServiceApplicationsRequest::getProjectIdList()const -{ - return projectIdList_; -} - -void ListDataServiceApplicationsRequest::setProjectIdList(const std::string& projectIdList) -{ - projectIdList_ = projectIdList; - setBodyParameter("ProjectIdList", projectIdList); -} - -int ListDataServiceApplicationsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServiceApplicationsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListDataServiceApplicationsResult.cc b/dataworks-public/src/model/ListDataServiceApplicationsResult.cc deleted file mode 100644 index 9cb8c2793..000000000 --- a/dataworks-public/src/model/ListDataServiceApplicationsResult.cc +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServiceApplicationsResult::ListDataServiceApplicationsResult() : - ServiceResult() -{} - -ListDataServiceApplicationsResult::ListDataServiceApplicationsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServiceApplicationsResult::~ListDataServiceApplicationsResult() -{} - -void ListDataServiceApplicationsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allApplicationsNode = dataNode["Applications"]["Application"]; - for (auto dataNodeApplicationsApplication : allApplicationsNode) - { - Data::Application applicationObject; - if(!dataNodeApplicationsApplication["ApplicationId"].isNull()) - applicationObject.applicationId = std::stol(dataNodeApplicationsApplication["ApplicationId"].asString()); - if(!dataNodeApplicationsApplication["ApplicationName"].isNull()) - applicationObject.applicationName = dataNodeApplicationsApplication["ApplicationName"].asString(); - if(!dataNodeApplicationsApplication["ProjectId"].isNull()) - applicationObject.projectId = std::stol(dataNodeApplicationsApplication["ProjectId"].asString()); - data_.applications.push_back(applicationObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListDataServiceApplicationsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListDataServiceApplicationsResult::Data ListDataServiceApplicationsResult::getData()const -{ - return data_; -} - -std::string ListDataServiceApplicationsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListDataServiceApplicationsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListDataServiceApplicationsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc b/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc deleted file mode 100644 index c08dacdae..000000000 --- a/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceAuthorizedApisRequest; - -ListDataServiceAuthorizedApisRequest::ListDataServiceAuthorizedApisRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceAuthorizedApis") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceAuthorizedApisRequest::~ListDataServiceAuthorizedApisRequest() -{} - -std::string ListDataServiceAuthorizedApisRequest::getApiNameKeyword()const -{ - return apiNameKeyword_; -} - -void ListDataServiceAuthorizedApisRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); -} - -int ListDataServiceAuthorizedApisRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServiceAuthorizedApisRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServiceAuthorizedApisRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServiceAuthorizedApisRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long ListDataServiceAuthorizedApisRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataServiceAuthorizedApisRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -int ListDataServiceAuthorizedApisRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServiceAuthorizedApisRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc b/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc deleted file mode 100644 index c2f803ed4..000000000 --- a/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServiceAuthorizedApisResult::ListDataServiceAuthorizedApisResult() : - ServiceResult() -{} - -ListDataServiceAuthorizedApisResult::ListDataServiceAuthorizedApisResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServiceAuthorizedApisResult::~ListDataServiceAuthorizedApisResult() -{} - -void ListDataServiceAuthorizedApisResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allApiAuthorizedListNode = dataNode["ApiAuthorizedList"]["ApiAuthorized"]; - for (auto dataNodeApiAuthorizedListApiAuthorized : allApiAuthorizedListNode) - { - Data::ApiAuthorized apiAuthorizedObject; - if(!dataNodeApiAuthorizedListApiAuthorized["ApiId"].isNull()) - apiAuthorizedObject.apiId = std::stol(dataNodeApiAuthorizedListApiAuthorized["ApiId"].asString()); - if(!dataNodeApiAuthorizedListApiAuthorized["ApiName"].isNull()) - apiAuthorizedObject.apiName = dataNodeApiAuthorizedListApiAuthorized["ApiName"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["ApiPath"].isNull()) - apiAuthorizedObject.apiPath = dataNodeApiAuthorizedListApiAuthorized["ApiPath"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["ApiStatus"].isNull()) - apiAuthorizedObject.apiStatus = std::stoi(dataNodeApiAuthorizedListApiAuthorized["ApiStatus"].asString()); - if(!dataNodeApiAuthorizedListApiAuthorized["CreatedTime"].isNull()) - apiAuthorizedObject.createdTime = dataNodeApiAuthorizedListApiAuthorized["CreatedTime"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["CreatorId"].isNull()) - apiAuthorizedObject.creatorId = dataNodeApiAuthorizedListApiAuthorized["CreatorId"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["GrantCreatedTime"].isNull()) - apiAuthorizedObject.grantCreatedTime = dataNodeApiAuthorizedListApiAuthorized["GrantCreatedTime"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["GrantEndTime"].isNull()) - apiAuthorizedObject.grantEndTime = dataNodeApiAuthorizedListApiAuthorized["GrantEndTime"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["GrantOperatorId"].isNull()) - apiAuthorizedObject.grantOperatorId = dataNodeApiAuthorizedListApiAuthorized["GrantOperatorId"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["GroupId"].isNull()) - apiAuthorizedObject.groupId = dataNodeApiAuthorizedListApiAuthorized["GroupId"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["ModifiedTime"].isNull()) - apiAuthorizedObject.modifiedTime = dataNodeApiAuthorizedListApiAuthorized["ModifiedTime"].asString(); - if(!dataNodeApiAuthorizedListApiAuthorized["ProjectId"].isNull()) - apiAuthorizedObject.projectId = std::stol(dataNodeApiAuthorizedListApiAuthorized["ProjectId"].asString()); - if(!dataNodeApiAuthorizedListApiAuthorized["TenantId"].isNull()) - apiAuthorizedObject.tenantId = std::stol(dataNodeApiAuthorizedListApiAuthorized["TenantId"].asString()); - data_.apiAuthorizedList.push_back(apiAuthorizedObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListDataServiceAuthorizedApisResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListDataServiceAuthorizedApisResult::Data ListDataServiceAuthorizedApisResult::getData()const -{ - return data_; -} - -std::string ListDataServiceAuthorizedApisResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListDataServiceAuthorizedApisResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListDataServiceAuthorizedApisResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListDataServicePublishedApisRequest.cc b/dataworks-public/src/model/ListDataServicePublishedApisRequest.cc deleted file mode 100644 index 96ae0cd29..000000000 --- a/dataworks-public/src/model/ListDataServicePublishedApisRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServicePublishedApisRequest; - -ListDataServicePublishedApisRequest::ListDataServicePublishedApisRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServicePublishedApis") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServicePublishedApisRequest::~ListDataServicePublishedApisRequest() -{} - -std::string ListDataServicePublishedApisRequest::getApiNameKeyword()const -{ - return apiNameKeyword_; -} - -void ListDataServicePublishedApisRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); -} - -std::string ListDataServicePublishedApisRequest::getApiPathKeyword()const -{ - return apiPathKeyword_; -} - -void ListDataServicePublishedApisRequest::setApiPathKeyword(const std::string& apiPathKeyword) -{ - apiPathKeyword_ = apiPathKeyword; - setBodyParameter("ApiPathKeyword", apiPathKeyword); -} - -std::string ListDataServicePublishedApisRequest::getCreatorId()const -{ - return creatorId_; -} - -void ListDataServicePublishedApisRequest::setCreatorId(const std::string& creatorId) -{ - creatorId_ = creatorId; - setBodyParameter("CreatorId", creatorId); -} - -int ListDataServicePublishedApisRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataServicePublishedApisRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -int ListDataServicePublishedApisRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataServicePublishedApisRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListDataServicePublishedApisRequest::getTenantId()const -{ - return tenantId_; -} - -void ListDataServicePublishedApisRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long ListDataServicePublishedApisRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataServicePublishedApisRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListDataServicePublishedApisResult.cc b/dataworks-public/src/model/ListDataServicePublishedApisResult.cc deleted file mode 100644 index 5183b2aef..000000000 --- a/dataworks-public/src/model/ListDataServicePublishedApisResult.cc +++ /dev/null @@ -1,296 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListDataServicePublishedApisResult::ListDataServicePublishedApisResult() : - ServiceResult() -{} - -ListDataServicePublishedApisResult::ListDataServicePublishedApisResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataServicePublishedApisResult::~ListDataServicePublishedApisResult() -{} - -void ListDataServicePublishedApisResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allApisNode = dataNode["Apis"]["Api"]; - for (auto dataNodeApisApi : allApisNode) - { - Data::Api apiObject; - if(!dataNodeApisApi["ApiId"].isNull()) - apiObject.apiId = std::stol(dataNodeApisApi["ApiId"].asString()); - if(!dataNodeApisApi["ApiMode"].isNull()) - apiObject.apiMode = std::stoi(dataNodeApisApi["ApiMode"].asString()); - if(!dataNodeApisApi["ApiName"].isNull()) - apiObject.apiName = dataNodeApisApi["ApiName"].asString(); - if(!dataNodeApisApi["ApiPath"].isNull()) - apiObject.apiPath = dataNodeApisApi["ApiPath"].asString(); - if(!dataNodeApisApi["CreatedTime"].isNull()) - apiObject.createdTime = dataNodeApisApi["CreatedTime"].asString(); - if(!dataNodeApisApi["CreatorId"].isNull()) - apiObject.creatorId = dataNodeApisApi["CreatorId"].asString(); - if(!dataNodeApisApi["Description"].isNull()) - apiObject.description = dataNodeApisApi["Description"].asString(); - if(!dataNodeApisApi["GroupId"].isNull()) - apiObject.groupId = dataNodeApisApi["GroupId"].asString(); - if(!dataNodeApisApi["ModifiedTime"].isNull()) - apiObject.modifiedTime = dataNodeApisApi["ModifiedTime"].asString(); - if(!dataNodeApisApi["OperatorId"].isNull()) - apiObject.operatorId = dataNodeApisApi["OperatorId"].asString(); - if(!dataNodeApisApi["ProjectId"].isNull()) - apiObject.projectId = std::stol(dataNodeApisApi["ProjectId"].asString()); - if(!dataNodeApisApi["RequestMethod"].isNull()) - apiObject.requestMethod = std::stoi(dataNodeApisApi["RequestMethod"].asString()); - if(!dataNodeApisApi["ResponseContentType"].isNull()) - apiObject.responseContentType = std::stoi(dataNodeApisApi["ResponseContentType"].asString()); - if(!dataNodeApisApi["Status"].isNull()) - apiObject.status = std::stoi(dataNodeApisApi["Status"].asString()); - if(!dataNodeApisApi["TenantId"].isNull()) - apiObject.tenantId = std::stol(dataNodeApisApi["TenantId"].asString()); - if(!dataNodeApisApi["Timeout"].isNull()) - apiObject.timeout = std::stoi(dataNodeApisApi["Timeout"].asString()); - if(!dataNodeApisApi["VisibleRange"].isNull()) - apiObject.visibleRange = std::stoi(dataNodeApisApi["VisibleRange"].asString()); - auto registrationDetailsNode = value["RegistrationDetails"]; - if(!registrationDetailsNode["FailedResultSample"].isNull()) - apiObject.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); - if(!registrationDetailsNode["ServiceContentType"].isNull()) - apiObject.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString()); - if(!registrationDetailsNode["ServiceHost"].isNull()) - apiObject.registrationDetails.serviceHost = registrationDetailsNode["ServiceHost"].asString(); - if(!registrationDetailsNode["ServicePath"].isNull()) - apiObject.registrationDetails.servicePath = registrationDetailsNode["ServicePath"].asString(); - if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) - apiObject.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString(); - if(!registrationDetailsNode["SuccessfulResultSample"].isNull()) - apiObject.registrationDetails.successfulResultSample = registrationDetailsNode["SuccessfulResultSample"].asString(); - auto allRegistrationErrorCodesNode = registrationDetailsNode["RegistrationErrorCodes"]["RegistrationErrorCode"]; - for (auto registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode : allRegistrationErrorCodesNode) - { - Data::Api::RegistrationDetails::RegistrationErrorCode registrationErrorCodeObject; - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull()) - registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].isNull()) - registrationErrorCodeObject.errorMessage = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].asString(); - if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) - registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); - apiObject.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); - } - auto allRegistrationRequestParametersNode = registrationDetailsNode["RegistrationRequestParameters"]["RegistrationRequestParameter"]; - for (auto registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter : allRegistrationRequestParametersNode) - { - Data::Api::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) - registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull()) - registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull()) - registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) - registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) - registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull()) - registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString(); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) - registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); - if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull()) - registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString()); - apiObject.registrationDetails.registrationRequestParameters.push_back(registrationRequestParameterObject); - } - auto scriptDetailsNode = value["ScriptDetails"]; - if(!scriptDetailsNode["FailedResultSample"].isNull()) - apiObject.scriptDetails.failedResultSample = scriptDetailsNode["FailedResultSample"].asString(); - if(!scriptDetailsNode["IsPagedResponse"].isNull()) - apiObject.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true"; - if(!scriptDetailsNode["Script"].isNull()) - apiObject.scriptDetails.script = scriptDetailsNode["Script"].asString(); - if(!scriptDetailsNode["SuccessfulResultSample"].isNull()) - apiObject.scriptDetails.successfulResultSample = scriptDetailsNode["SuccessfulResultSample"].asString(); - auto allScriptErrorCodesNode = scriptDetailsNode["ScriptErrorCodes"]["ScriptErrorCode"]; - for (auto scriptDetailsNodeScriptErrorCodesScriptErrorCode : allScriptErrorCodesNode) - { - Data::Api::ScriptDetails::ScriptErrorCode scriptErrorCodeObject; - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].isNull()) - scriptErrorCodeObject.errorCode = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].asString(); - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorMessage"].isNull()) - scriptErrorCodeObject.errorMessage = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorMessage"].asString(); - if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].isNull()) - scriptErrorCodeObject.errorSolution = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].asString(); - apiObject.scriptDetails.scriptErrorCodes.push_back(scriptErrorCodeObject); - } - auto allScriptRequestParametersNode = scriptDetailsNode["ScriptRequestParameters"]["ScriptRequestParameter"]; - for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode) - { - Data::Api::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) - scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull()) - scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull()) - scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) - scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) - scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull()) - scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString(); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) - scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); - if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull()) - scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString()); - apiObject.scriptDetails.scriptRequestParameters.push_back(scriptRequestParameterObject); - } - auto allScriptResponseParametersNode = scriptDetailsNode["ScriptResponseParameters"]["ScriptResponseParameter"]; - for (auto scriptDetailsNodeScriptResponseParametersScriptResponseParameter : allScriptResponseParametersNode) - { - Data::Api::ScriptDetails::ScriptResponseParameter scriptResponseParameterObject; - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) - scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) - scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString()); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].isNull()) - scriptResponseParameterObject.parameterDescription = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].asString(); - if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull()) - scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString(); - apiObject.scriptDetails.scriptResponseParameters.push_back(scriptResponseParameterObject); - } - auto scriptConnectionNode = scriptDetailsNode["ScriptConnection"]; - if(!scriptConnectionNode["ConnectionId"].isNull()) - apiObject.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString()); - if(!scriptConnectionNode["TableName"].isNull()) - apiObject.scriptDetails.scriptConnection.tableName = scriptConnectionNode["TableName"].asString(); - auto wizardDetailsNode = value["WizardDetails"]; - if(!wizardDetailsNode["FailedResultSample"].isNull()) - apiObject.wizardDetails.failedResultSample = wizardDetailsNode["FailedResultSample"].asString(); - if(!wizardDetailsNode["IsPagedResponse"].isNull()) - apiObject.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true"; - if(!wizardDetailsNode["SuccessfulResultSample"].isNull()) - apiObject.wizardDetails.successfulResultSample = wizardDetailsNode["SuccessfulResultSample"].asString(); - auto allWizardErrorCodesNode = wizardDetailsNode["WizardErrorCodes"]["WizardErrorCode"]; - for (auto wizardDetailsNodeWizardErrorCodesWizardErrorCode : allWizardErrorCodesNode) - { - Data::Api::WizardDetails::WizardErrorCode wizardErrorCodeObject; - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].isNull()) - wizardErrorCodeObject.errorCode = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].asString(); - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorMessage"].isNull()) - wizardErrorCodeObject.errorMessage = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorMessage"].asString(); - if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].isNull()) - wizardErrorCodeObject.errorSolution = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].asString(); - apiObject.wizardDetails.wizardErrorCodes.push_back(wizardErrorCodeObject); - } - auto allWizardRequestParametersNode = wizardDetailsNode["WizardRequestParameters"]["WizardRequestParameter"]; - for (auto wizardDetailsNodeWizardRequestParametersWizardRequestParameter : allWizardRequestParametersNode) - { - Data::Api::WizardDetails::WizardRequestParameter wizardRequestParameterObject; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) - wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull()) - wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull()) - wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true"; - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) - wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) - wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull()) - wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString(); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) - wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); - if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull()) - wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString()); - apiObject.wizardDetails.wizardRequestParameters.push_back(wizardRequestParameterObject); - } - auto allWizardResponseParametersNode = wizardDetailsNode["WizardResponseParameters"]["WizardResponseParameter"]; - for (auto wizardDetailsNodeWizardResponseParametersWizardResponseParameter : allWizardResponseParametersNode) - { - Data::Api::WizardDetails::WizardResponseParameter wizardResponseParameterObject; - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) - wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) - wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString()); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].isNull()) - wizardResponseParameterObject.parameterDescription = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].asString(); - if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull()) - wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString(); - apiObject.wizardDetails.wizardResponseParameters.push_back(wizardResponseParameterObject); - } - auto wizardConnectionNode = wizardDetailsNode["WizardConnection"]; - if(!wizardConnectionNode["ConnectionId"].isNull()) - apiObject.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString()); - if(!wizardConnectionNode["TableName"].isNull()) - apiObject.wizardDetails.wizardConnection.tableName = wizardConnectionNode["TableName"].asString(); - auto allProtocols = value["Protocols"]["Protocol"]; - for (auto value : allProtocols) - apiObject.protocols.push_back(value.asString()); - data_.apis.push_back(apiObject); - } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListDataServicePublishedApisResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListDataServicePublishedApisResult::Data ListDataServicePublishedApisResult::getData()const -{ - return data_; -} - -std::string ListDataServicePublishedApisResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListDataServicePublishedApisResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListDataServicePublishedApisResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListEmrHiveAuditLogsRequest.cc b/dataworks-public/src/model/ListEmrHiveAuditLogsRequest.cc new file mode 100644 index 000000000..e7ebce411 --- /dev/null +++ b/dataworks-public/src/model/ListEmrHiveAuditLogsRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListEmrHiveAuditLogsRequest; + +ListEmrHiveAuditLogsRequest::ListEmrHiveAuditLogsRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListEmrHiveAuditLogs") +{ + setMethod(HttpRequest::Method::Post); +} + +ListEmrHiveAuditLogsRequest::~ListEmrHiveAuditLogsRequest() +{} + +std::string ListEmrHiveAuditLogsRequest::getDatabaseName()const +{ + return databaseName_; +} + +void ListEmrHiveAuditLogsRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +int ListEmrHiveAuditLogsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListEmrHiveAuditLogsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int ListEmrHiveAuditLogsRequest::getEndTime()const +{ + return endTime_; +} + +void ListEmrHiveAuditLogsRequest::setEndTime(int endTime) +{ + endTime_ = endTime; + setParameter("EndTime", std::to_string(endTime)); +} + +std::string ListEmrHiveAuditLogsRequest::getClusterId()const +{ + return clusterId_; +} + +void ListEmrHiveAuditLogsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +int ListEmrHiveAuditLogsRequest::getStartTime()const +{ + return startTime_; +} + +void ListEmrHiveAuditLogsRequest::setStartTime(int startTime) +{ + startTime_ = startTime; + setParameter("StartTime", std::to_string(startTime)); +} + +std::string ListEmrHiveAuditLogsRequest::getTableName()const +{ + return tableName_; +} + +void ListEmrHiveAuditLogsRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + +int ListEmrHiveAuditLogsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListEmrHiveAuditLogsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/dataworks-public/src/model/ListFoldersResult.cc b/dataworks-public/src/model/ListEmrHiveAuditLogsResult.cc similarity index 50% rename from dataworks-public/src/model/ListFoldersResult.cc rename to dataworks-public/src/model/ListEmrHiveAuditLogsResult.cc index 3949f86f3..eac169f86 100644 --- a/dataworks-public/src/model/ListFoldersResult.cc +++ b/dataworks-public/src/model/ListEmrHiveAuditLogsResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dataworks_public; using namespace AlibabaCloud::Dataworks_public::Model; -ListFoldersResult::ListFoldersResult() : +ListEmrHiveAuditLogsResult::ListEmrHiveAuditLogsResult() : ServiceResult() {} -ListFoldersResult::ListFoldersResult(const std::string &payload) : +ListEmrHiveAuditLogsResult::ListEmrHiveAuditLogsResult(const std::string &payload) : ServiceResult() { parse(payload); } -ListFoldersResult::~ListFoldersResult() +ListEmrHiveAuditLogsResult::~ListEmrHiveAuditLogsResult() {} -void ListFoldersResult::parse(const std::string &payload) +void ListEmrHiveAuditLogsResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -46,49 +46,44 @@ void ListFoldersResult::parse(const std::string &payload) data_.pageSize = std::stoi(dataNode["PageSize"].asString()); if(!dataNode["TotalCount"].isNull()) data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allFoldersNode = dataNode["Folders"]["FoldersItem"]; - for (auto dataNodeFoldersFoldersItem : allFoldersNode) + auto allPagedDataNode = dataNode["PagedData"]["AuditLog"]; + for (auto dataNodePagedDataAuditLog : allPagedDataNode) { - Data::FoldersItem foldersItemObject; - if(!dataNodeFoldersFoldersItem["FolderId"].isNull()) - foldersItemObject.folderId = dataNodeFoldersFoldersItem["FolderId"].asString(); - if(!dataNodeFoldersFoldersItem["FolderPath"].isNull()) - foldersItemObject.folderPath = dataNodeFoldersFoldersItem["FolderPath"].asString(); - data_.folders.push_back(foldersItemObject); + Data::AuditLog auditLogObject; + if(!dataNodePagedDataAuditLog["Table"].isNull()) + auditLogObject.table = dataNodePagedDataAuditLog["Table"].asString(); + if(!dataNodePagedDataAuditLog["Database"].isNull()) + auditLogObject.database = dataNodePagedDataAuditLog["Database"].asString(); + if(!dataNodePagedDataAuditLog["User"].isNull()) + auditLogObject.user = dataNodePagedDataAuditLog["User"].asString(); + if(!dataNodePagedDataAuditLog["Operation"].isNull()) + auditLogObject.operation = dataNodePagedDataAuditLog["Operation"].asString(); + if(!dataNodePagedDataAuditLog["EventTime"].isNull()) + auditLogObject.eventTime = std::stol(dataNodePagedDataAuditLog["EventTime"].asString()); + auto allGroups = value["Groups"]["Group"]; + for (auto value : allGroups) + auditLogObject.groups.push_back(value.asString()); + data_.pagedData.push_back(auditLogObject); } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); } -int ListFoldersResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListFoldersResult::Data ListFoldersResult::getData()const +ListEmrHiveAuditLogsResult::Data ListEmrHiveAuditLogsResult::getData()const { return data_; } -std::string ListFoldersResult::getErrorCode()const +std::string ListEmrHiveAuditLogsResult::getErrorCode()const { return errorCode_; } -std::string ListFoldersResult::getErrorMessage()const +std::string ListEmrHiveAuditLogsResult::getErrorMessage()const { return errorMessage_; } -bool ListFoldersResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/DeleteConnectionRequest.cc b/dataworks-public/src/model/ListEmrHiveDatabasesRequest.cc similarity index 54% rename from dataworks-public/src/model/DeleteConnectionRequest.cc rename to dataworks-public/src/model/ListEmrHiveDatabasesRequest.cc index 874c3c4fc..91c2bccac 100644 --- a/dataworks-public/src/model/DeleteConnectionRequest.cc +++ b/dataworks-public/src/model/ListEmrHiveDatabasesRequest.cc @@ -14,27 +14,27 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Dataworks_public::Model::DeleteConnectionRequest; +using AlibabaCloud::Dataworks_public::Model::ListEmrHiveDatabasesRequest; -DeleteConnectionRequest::DeleteConnectionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteConnection") +ListEmrHiveDatabasesRequest::ListEmrHiveDatabasesRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListEmrHiveDatabases") { setMethod(HttpRequest::Method::Post); } -DeleteConnectionRequest::~DeleteConnectionRequest() +ListEmrHiveDatabasesRequest::~ListEmrHiveDatabasesRequest() {} -long DeleteConnectionRequest::getConnectionId()const +std::string ListEmrHiveDatabasesRequest::getClusterId()const { - return connectionId_; + return clusterId_; } -void DeleteConnectionRequest::setConnectionId(long connectionId) +void ListEmrHiveDatabasesRequest::setClusterId(const std::string& clusterId) { - connectionId_ = connectionId; - setParameter("ConnectionId", std::to_string(connectionId)); + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); } diff --git a/dataworks-public/src/model/ListEmrHiveDatabasesResult.cc b/dataworks-public/src/model/ListEmrHiveDatabasesResult.cc new file mode 100644 index 000000000..e3bfc8641 --- /dev/null +++ b/dataworks-public/src/model/ListEmrHiveDatabasesResult.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListEmrHiveDatabasesResult::ListEmrHiveDatabasesResult() : + ServiceResult() +{} + +ListEmrHiveDatabasesResult::ListEmrHiveDatabasesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListEmrHiveDatabasesResult::~ListEmrHiveDatabasesResult() +{} + +void ListEmrHiveDatabasesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["HiveDatabase"]; + for (auto valueDataHiveDatabase : allDataNode) + { + HiveDatabase dataObject; + if(!valueDataHiveDatabase["Name"].isNull()) + dataObject.name = valueDataHiveDatabase["Name"].asString(); + if(!valueDataHiveDatabase["Type"].isNull()) + dataObject.type = valueDataHiveDatabase["Type"].asString(); + if(!valueDataHiveDatabase["Owner"].isNull()) + dataObject.owner = valueDataHiveDatabase["Owner"].asString(); + if(!valueDataHiveDatabase["OwnerId"].isNull()) + dataObject.ownerId = valueDataHiveDatabase["OwnerId"].asString(); + if(!valueDataHiveDatabase["Comment"].isNull()) + dataObject.comment = valueDataHiveDatabase["Comment"].asString(); + if(!valueDataHiveDatabase["Location"].isNull()) + dataObject.location = valueDataHiveDatabase["Location"].asString(); + if(!valueDataHiveDatabase["Status"].isNull()) + dataObject.status = valueDataHiveDatabase["Status"].asString(); + if(!valueDataHiveDatabase["Parameters"].isNull()) + dataObject.parameters = valueDataHiveDatabase["Parameters"].asString(); + if(!valueDataHiveDatabase["GmtCreate"].isNull()) + dataObject.gmtCreate = std::stol(valueDataHiveDatabase["GmtCreate"].asString()); + if(!valueDataHiveDatabase["GmtModified"].isNull()) + dataObject.gmtModified = std::stol(valueDataHiveDatabase["GmtModified"].asString()); + if(!valueDataHiveDatabase["OwnerType"].isNull()) + dataObject.ownerType = valueDataHiveDatabase["OwnerType"].asString(); + if(!valueDataHiveDatabase["Region"].isNull()) + dataObject.region = valueDataHiveDatabase["Region"].asString(); + data_.push_back(dataObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::vector ListEmrHiveDatabasesResult::getData()const +{ + return data_; +} + +std::string ListEmrHiveDatabasesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListEmrHiveDatabasesResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/ListEmrHiveTablesRequest.cc b/dataworks-public/src/model/ListEmrHiveTablesRequest.cc new file mode 100644 index 000000000..4dfbecb02 --- /dev/null +++ b/dataworks-public/src/model/ListEmrHiveTablesRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListEmrHiveTablesRequest; + +ListEmrHiveTablesRequest::ListEmrHiveTablesRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListEmrHiveTables") +{ + setMethod(HttpRequest::Method::Post); +} + +ListEmrHiveTablesRequest::~ListEmrHiveTablesRequest() +{} + +std::string ListEmrHiveTablesRequest::getDatabaseName()const +{ + return databaseName_; +} + +void ListEmrHiveTablesRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +int ListEmrHiveTablesRequest::getPageSize()const +{ + return pageSize_; +} + +void ListEmrHiveTablesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListEmrHiveTablesRequest::getClusterId()const +{ + return clusterId_; +} + +void ListEmrHiveTablesRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +int ListEmrHiveTablesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListEmrHiveTablesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/dataworks-public/src/model/ListEmrHiveTablesResult.cc b/dataworks-public/src/model/ListEmrHiveTablesResult.cc new file mode 100644 index 000000000..7e91a7288 --- /dev/null +++ b/dataworks-public/src/model/ListEmrHiveTablesResult.cc @@ -0,0 +1,120 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListEmrHiveTablesResult::ListEmrHiveTablesResult() : + ServiceResult() +{} + +ListEmrHiveTablesResult::ListEmrHiveTablesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListEmrHiveTablesResult::~ListEmrHiveTablesResult() +{} + +void ListEmrHiveTablesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + auto allPagedDataNode = dataNode["PagedData"]["HiveTables"]; + for (auto dataNodePagedDataHiveTables : allPagedDataNode) + { + Data::HiveTables hiveTablesObject; + if(!dataNodePagedDataHiveTables["ClusterBizId"].isNull()) + hiveTablesObject.clusterBizId = dataNodePagedDataHiveTables["ClusterBizId"].asString(); + if(!dataNodePagedDataHiveTables["TableName"].isNull()) + hiveTablesObject.tableName = dataNodePagedDataHiveTables["TableName"].asString(); + if(!dataNodePagedDataHiveTables["TableType"].isNull()) + hiveTablesObject.tableType = dataNodePagedDataHiveTables["TableType"].asString(); + if(!dataNodePagedDataHiveTables["Owner"].isNull()) + hiveTablesObject.owner = dataNodePagedDataHiveTables["Owner"].asString(); + if(!dataNodePagedDataHiveTables["OwnerType"].isNull()) + hiveTablesObject.ownerType = dataNodePagedDataHiveTables["OwnerType"].asString(); + if(!dataNodePagedDataHiveTables["IsTemporary"].isNull()) + hiveTablesObject.isTemporary = dataNodePagedDataHiveTables["IsTemporary"].asString() == "true"; + if(!dataNodePagedDataHiveTables["SerializationLib"].isNull()) + hiveTablesObject.serializationLib = dataNodePagedDataHiveTables["SerializationLib"].asString(); + if(!dataNodePagedDataHiveTables["InputFormat"].isNull()) + hiveTablesObject.inputFormat = dataNodePagedDataHiveTables["InputFormat"].asString(); + if(!dataNodePagedDataHiveTables["OutputFormat"].isNull()) + hiveTablesObject.outputFormat = dataNodePagedDataHiveTables["OutputFormat"].asString(); + if(!dataNodePagedDataHiveTables["Location"].isNull()) + hiveTablesObject.location = dataNodePagedDataHiveTables["Location"].asString(); + if(!dataNodePagedDataHiveTables["LastAccessTime"].isNull()) + hiveTablesObject.lastAccessTime = dataNodePagedDataHiveTables["LastAccessTime"].asString(); + if(!dataNodePagedDataHiveTables["GmtCreate"].isNull()) + hiveTablesObject.gmtCreate = dataNodePagedDataHiveTables["GmtCreate"].asString(); + if(!dataNodePagedDataHiveTables["GmtModified"].isNull()) + hiveTablesObject.gmtModified = dataNodePagedDataHiveTables["GmtModified"].asString(); + if(!dataNodePagedDataHiveTables["TableComment"].isNull()) + hiveTablesObject.tableComment = dataNodePagedDataHiveTables["TableComment"].asString(); + if(!dataNodePagedDataHiveTables["TableParameters"].isNull()) + hiveTablesObject.tableParameters = dataNodePagedDataHiveTables["TableParameters"].asString(); + if(!dataNodePagedDataHiveTables["PartitionKeys"].isNull()) + hiveTablesObject.partitionKeys = dataNodePagedDataHiveTables["PartitionKeys"].asString(); + if(!dataNodePagedDataHiveTables["IsCompressed"].isNull()) + hiveTablesObject.isCompressed = dataNodePagedDataHiveTables["IsCompressed"].asString() == "true"; + if(!dataNodePagedDataHiveTables["ClusterBizName"].isNull()) + hiveTablesObject.clusterBizName = dataNodePagedDataHiveTables["ClusterBizName"].asString(); + if(!dataNodePagedDataHiveTables["DatabaseName"].isNull()) + hiveTablesObject.databaseName = dataNodePagedDataHiveTables["DatabaseName"].asString(); + if(!dataNodePagedDataHiveTables["OwnerId"].isNull()) + hiveTablesObject.ownerId = dataNodePagedDataHiveTables["OwnerId"].asString(); + if(!dataNodePagedDataHiveTables["LastModifyTime"].isNull()) + hiveTablesObject.lastModifyTime = dataNodePagedDataHiveTables["LastModifyTime"].asString(); + if(!dataNodePagedDataHiveTables["TableDesc"].isNull()) + hiveTablesObject.tableDesc = dataNodePagedDataHiveTables["TableDesc"].asString(); + data_.pagedData.push_back(hiveTablesObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +ListEmrHiveTablesResult::Data ListEmrHiveTablesResult::getData()const +{ + return data_; +} + +std::string ListEmrHiveTablesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListEmrHiveTablesResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/ListFileVersionsRequest.cc b/dataworks-public/src/model/ListFileVersionsRequest.cc deleted file mode 100644 index d3c155c8b..000000000 --- a/dataworks-public/src/model/ListFileVersionsRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListFileVersionsRequest; - -ListFileVersionsRequest::ListFileVersionsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListFileVersions") -{ - setMethod(HttpRequest::Method::Post); -} - -ListFileVersionsRequest::~ListFileVersionsRequest() -{} - -int ListFileVersionsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListFileVersionsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListFileVersionsRequest::getProjectId()const -{ - return projectId_; -} - -void ListFileVersionsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListFileVersionsRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void ListFileVersionsRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -int ListFileVersionsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListFileVersionsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -long ListFileVersionsRequest::getFileId()const -{ - return fileId_; -} - -void ListFileVersionsRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - diff --git a/dataworks-public/src/model/ListFileVersionsResult.cc b/dataworks-public/src/model/ListFileVersionsResult.cc deleted file mode 100644 index 05f4dd368..000000000 --- a/dataworks-public/src/model/ListFileVersionsResult.cc +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListFileVersionsResult::ListFileVersionsResult() : - ServiceResult() -{} - -ListFileVersionsResult::ListFileVersionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFileVersionsResult::~ListFileVersionsResult() -{} - -void ListFileVersionsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allFileVersionsNode = dataNode["FileVersions"]["FileVersion"]; - for (auto dataNodeFileVersionsFileVersion : allFileVersionsNode) - { - Data::FileVersion fileVersionObject; - if(!dataNodeFileVersionsFileVersion["FileVersion"].isNull()) - fileVersionObject.fileVersion = std::stoi(dataNodeFileVersionsFileVersion["FileVersion"].asString()); - if(!dataNodeFileVersionsFileVersion["FileContent"].isNull()) - fileVersionObject.fileContent = dataNodeFileVersionsFileVersion["FileContent"].asString(); - if(!dataNodeFileVersionsFileVersion["CommitTime"].isNull()) - fileVersionObject.commitTime = std::stol(dataNodeFileVersionsFileVersion["CommitTime"].asString()); - if(!dataNodeFileVersionsFileVersion["CommitUser"].isNull()) - fileVersionObject.commitUser = dataNodeFileVersionsFileVersion["CommitUser"].asString(); - if(!dataNodeFileVersionsFileVersion["FileName"].isNull()) - fileVersionObject.fileName = dataNodeFileVersionsFileVersion["FileName"].asString(); - if(!dataNodeFileVersionsFileVersion["Status"].isNull()) - fileVersionObject.status = dataNodeFileVersionsFileVersion["Status"].asString(); - if(!dataNodeFileVersionsFileVersion["ChangeType"].isNull()) - fileVersionObject.changeType = dataNodeFileVersionsFileVersion["ChangeType"].asString(); - if(!dataNodeFileVersionsFileVersion["IsCurrentProd"].isNull()) - fileVersionObject.isCurrentProd = dataNodeFileVersionsFileVersion["IsCurrentProd"].asString() == "true"; - if(!dataNodeFileVersionsFileVersion["NodeId"].isNull()) - fileVersionObject.nodeId = std::stol(dataNodeFileVersionsFileVersion["NodeId"].asString()); - if(!dataNodeFileVersionsFileVersion["Comment"].isNull()) - fileVersionObject.comment = dataNodeFileVersionsFileVersion["Comment"].asString(); - if(!dataNodeFileVersionsFileVersion["NodeContent"].isNull()) - fileVersionObject.nodeContent = dataNodeFileVersionsFileVersion["NodeContent"].asString(); - if(!dataNodeFileVersionsFileVersion["FilePropertyContent"].isNull()) - fileVersionObject.filePropertyContent = dataNodeFileVersionsFileVersion["FilePropertyContent"].asString(); - if(!dataNodeFileVersionsFileVersion["UseType"].isNull()) - fileVersionObject.useType = dataNodeFileVersionsFileVersion["UseType"].asString(); - data_.fileVersions.push_back(fileVersionObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListFileVersionsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListFileVersionsResult::Data ListFileVersionsResult::getData()const -{ - return data_; -} - -std::string ListFileVersionsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListFileVersionsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListFileVersionsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListFilesRequest.cc b/dataworks-public/src/model/ListFilesRequest.cc deleted file mode 100644 index 4a36ebf0e..000000000 --- a/dataworks-public/src/model/ListFilesRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListFilesRequest; - -ListFilesRequest::ListFilesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListFiles") -{ - setMethod(HttpRequest::Method::Post); -} - -ListFilesRequest::~ListFilesRequest() -{} - -std::string ListFilesRequest::getOwner()const -{ - return owner_; -} - -void ListFilesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListFilesRequest::getFileTypes()const -{ - return fileTypes_; -} - -void ListFilesRequest::setFileTypes(const std::string& fileTypes) -{ - fileTypes_ = fileTypes; - setBodyParameter("FileTypes", fileTypes); -} - -std::string ListFilesRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void ListFilesRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -int ListFilesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListFilesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListFilesRequest::getFileFolderPath()const -{ - return fileFolderPath_; -} - -void ListFilesRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); -} - -int ListFilesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListFilesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListFilesRequest::getKeyword()const -{ - return keyword_; -} - -void ListFilesRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setBodyParameter("Keyword", keyword); -} - -long ListFilesRequest::getProjectId()const -{ - return projectId_; -} - -void ListFilesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListFilesRequest::getUseType()const -{ - return useType_; -} - -void ListFilesRequest::setUseType(const std::string& useType) -{ - useType_ = useType; - setBodyParameter("UseType", useType); -} - diff --git a/dataworks-public/src/model/ListFilesResult.cc b/dataworks-public/src/model/ListFilesResult.cc deleted file mode 100644 index f340cc3c8..000000000 --- a/dataworks-public/src/model/ListFilesResult.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListFilesResult::ListFilesResult() : - ServiceResult() -{} - -ListFilesResult::ListFilesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFilesResult::~ListFilesResult() -{} - -void ListFilesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allFilesNode = dataNode["Files"]["File"]; - for (auto dataNodeFilesFile : allFilesNode) - { - Data::File fileObject; - if(!dataNodeFilesFile["ConnectionName"].isNull()) - fileObject.connectionName = dataNodeFilesFile["ConnectionName"].asString(); - if(!dataNodeFilesFile["ParentId"].isNull()) - fileObject.parentId = std::stol(dataNodeFilesFile["ParentId"].asString()); - if(!dataNodeFilesFile["IsMaxCompute"].isNull()) - fileObject.isMaxCompute = dataNodeFilesFile["IsMaxCompute"].asString() == "true"; - if(!dataNodeFilesFile["CreateTime"].isNull()) - fileObject.createTime = std::stol(dataNodeFilesFile["CreateTime"].asString()); - if(!dataNodeFilesFile["CreateUser"].isNull()) - fileObject.createUser = dataNodeFilesFile["CreateUser"].asString(); - if(!dataNodeFilesFile["BizId"].isNull()) - fileObject.bizId = std::stol(dataNodeFilesFile["BizId"].asString()); - if(!dataNodeFilesFile["FileFolderId"].isNull()) - fileObject.fileFolderId = dataNodeFilesFile["FileFolderId"].asString(); - if(!dataNodeFilesFile["FileName"].isNull()) - fileObject.fileName = dataNodeFilesFile["FileName"].asString(); - if(!dataNodeFilesFile["FileType"].isNull()) - fileObject.fileType = std::stoi(dataNodeFilesFile["FileType"].asString()); - if(!dataNodeFilesFile["UseType"].isNull()) - fileObject.useType = dataNodeFilesFile["UseType"].asString(); - if(!dataNodeFilesFile["FileDescription"].isNull()) - fileObject.fileDescription = dataNodeFilesFile["FileDescription"].asString(); - if(!dataNodeFilesFile["Content"].isNull()) - fileObject.content = dataNodeFilesFile["Content"].asString(); - if(!dataNodeFilesFile["NodeId"].isNull()) - fileObject.nodeId = std::stol(dataNodeFilesFile["NodeId"].asString()); - if(!dataNodeFilesFile["CurrentVersion"].isNull()) - fileObject.currentVersion = std::stoi(dataNodeFilesFile["CurrentVersion"].asString()); - if(!dataNodeFilesFile["Owner"].isNull()) - fileObject.owner = dataNodeFilesFile["Owner"].asString(); - if(!dataNodeFilesFile["LastEditUser"].isNull()) - fileObject.lastEditUser = dataNodeFilesFile["LastEditUser"].asString(); - if(!dataNodeFilesFile["LastEditTime"].isNull()) - fileObject.lastEditTime = std::stol(dataNodeFilesFile["LastEditTime"].asString()); - if(!dataNodeFilesFile["CommitStatus"].isNull()) - fileObject.commitStatus = std::stoi(dataNodeFilesFile["CommitStatus"].asString()); - if(!dataNodeFilesFile["FileId"].isNull()) - fileObject.fileId = std::stol(dataNodeFilesFile["FileId"].asString()); - data_.files.push_back(fileObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListFilesResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListFilesResult::Data ListFilesResult::getData()const -{ - return data_; -} - -std::string ListFilesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListFilesResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListFilesResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListFoldersRequest.cc b/dataworks-public/src/model/ListFoldersRequest.cc deleted file mode 100644 index b27c61d72..000000000 --- a/dataworks-public/src/model/ListFoldersRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListFoldersRequest; - -ListFoldersRequest::ListFoldersRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListFolders") -{ - setMethod(HttpRequest::Method::Post); -} - -ListFoldersRequest::~ListFoldersRequest() -{} - -int ListFoldersRequest::getPageSize()const -{ - return pageSize_; -} - -void ListFoldersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListFoldersRequest::getParentFolderPath()const -{ - return parentFolderPath_; -} - -void ListFoldersRequest::setParentFolderPath(const std::string& parentFolderPath) -{ - parentFolderPath_ = parentFolderPath; - setBodyParameter("ParentFolderPath", parentFolderPath); -} - -long ListFoldersRequest::getProjectId()const -{ - return projectId_; -} - -void ListFoldersRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string ListFoldersRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void ListFoldersRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -int ListFoldersRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListFoldersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListHiveColumnLineagesRequest.cc b/dataworks-public/src/model/ListHiveColumnLineagesRequest.cc new file mode 100644 index 000000000..76cd9cc5e --- /dev/null +++ b/dataworks-public/src/model/ListHiveColumnLineagesRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListHiveColumnLineagesRequest; + +ListHiveColumnLineagesRequest::ListHiveColumnLineagesRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListHiveColumnLineages") +{ + setMethod(HttpRequest::Method::Post); +} + +ListHiveColumnLineagesRequest::~ListHiveColumnLineagesRequest() +{} + +std::string ListHiveColumnLineagesRequest::getDatabaseName()const +{ + return databaseName_; +} + +void ListHiveColumnLineagesRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +std::string ListHiveColumnLineagesRequest::getClusterId()const +{ + return clusterId_; +} + +void ListHiveColumnLineagesRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string ListHiveColumnLineagesRequest::getTableName()const +{ + return tableName_; +} + +void ListHiveColumnLineagesRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + +std::string ListHiveColumnLineagesRequest::getColumnName()const +{ + return columnName_; +} + +void ListHiveColumnLineagesRequest::setColumnName(const std::string& columnName) +{ + columnName_ = columnName; + setParameter("ColumnName", columnName); +} + diff --git a/dataworks-public/src/model/ListHiveColumnLineagesResult.cc b/dataworks-public/src/model/ListHiveColumnLineagesResult.cc new file mode 100644 index 000000000..ab4c81094 --- /dev/null +++ b/dataworks-public/src/model/ListHiveColumnLineagesResult.cc @@ -0,0 +1,124 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListHiveColumnLineagesResult::ListHiveColumnLineagesResult() : + ServiceResult() +{} + +ListHiveColumnLineagesResult::ListHiveColumnLineagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListHiveColumnLineagesResult::~ListHiveColumnLineagesResult() +{} + +void ListHiveColumnLineagesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["UpstreamNumber"].isNull()) + data_.upstreamNumber = std::stoi(dataNode["UpstreamNumber"].asString()); + if(!dataNode["DownstreamNumber"].isNull()) + data_.downstreamNumber = std::stoi(dataNode["DownstreamNumber"].asString()); + auto allUpstreamLineagesNode = dataNode["UpstreamLineages"]["ColumnLineage"]; + for (auto dataNodeUpstreamLineagesColumnLineage : allUpstreamLineagesNode) + { + Data::ColumnLineage columnLineageObject; + if(!dataNodeUpstreamLineagesColumnLineage["ModifiedTime"].isNull()) + columnLineageObject.modifiedTime = dataNodeUpstreamLineagesColumnLineage["ModifiedTime"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["DirectDownColumnNumber"].isNull()) + columnLineageObject.directDownColumnNumber = std::stoi(dataNodeUpstreamLineagesColumnLineage["DirectDownColumnNumber"].asString()); + if(!dataNodeUpstreamLineagesColumnLineage["DatabaseName"].isNull()) + columnLineageObject.databaseName = dataNodeUpstreamLineagesColumnLineage["DatabaseName"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["ClusterId"].isNull()) + columnLineageObject.clusterId = dataNodeUpstreamLineagesColumnLineage["ClusterId"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["Source"].isNull()) + columnLineageObject.source = dataNodeUpstreamLineagesColumnLineage["Source"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["TableName"].isNull()) + columnLineageObject.tableName = dataNodeUpstreamLineagesColumnLineage["TableName"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["DirectDownTableNumber"].isNull()) + columnLineageObject.directDownTableNumber = std::stoi(dataNodeUpstreamLineagesColumnLineage["DirectDownTableNumber"].asString()); + if(!dataNodeUpstreamLineagesColumnLineage["DirectUpperTableNumber"].isNull()) + columnLineageObject.directUpperTableNumber = std::stoi(dataNodeUpstreamLineagesColumnLineage["DirectUpperTableNumber"].asString()); + if(!dataNodeUpstreamLineagesColumnLineage["CreateTime"].isNull()) + columnLineageObject.createTime = dataNodeUpstreamLineagesColumnLineage["CreateTime"].asString(); + if(!dataNodeUpstreamLineagesColumnLineage["DirectUpperColumnNumber"].isNull()) + columnLineageObject.directUpperColumnNumber = std::stoi(dataNodeUpstreamLineagesColumnLineage["DirectUpperColumnNumber"].asString()); + if(!dataNodeUpstreamLineagesColumnLineage["ColumnName"].isNull()) + columnLineageObject.columnName = dataNodeUpstreamLineagesColumnLineage["ColumnName"].asString(); + data_.upstreamLineages.push_back(columnLineageObject); + } + auto allDownstreamLineagesNode = dataNode["DownstreamLineages"]["ColumnLineage"]; + for (auto dataNodeDownstreamLineagesColumnLineage : allDownstreamLineagesNode) + { + Data::ColumnLineage columnLineageObject; + if(!dataNodeDownstreamLineagesColumnLineage["ModifiedTime"].isNull()) + columnLineageObject.modifiedTime = dataNodeDownstreamLineagesColumnLineage["ModifiedTime"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["DirectDownColumnNumber"].isNull()) + columnLineageObject.directDownColumnNumber = std::stoi(dataNodeDownstreamLineagesColumnLineage["DirectDownColumnNumber"].asString()); + if(!dataNodeDownstreamLineagesColumnLineage["DatabaseName"].isNull()) + columnLineageObject.databaseName = dataNodeDownstreamLineagesColumnLineage["DatabaseName"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["ClusterId"].isNull()) + columnLineageObject.clusterId = dataNodeDownstreamLineagesColumnLineage["ClusterId"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["Source"].isNull()) + columnLineageObject.source = dataNodeDownstreamLineagesColumnLineage["Source"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["TableName"].isNull()) + columnLineageObject.tableName = dataNodeDownstreamLineagesColumnLineage["TableName"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["DirectDownTableNumber"].isNull()) + columnLineageObject.directDownTableNumber = std::stoi(dataNodeDownstreamLineagesColumnLineage["DirectDownTableNumber"].asString()); + if(!dataNodeDownstreamLineagesColumnLineage["DirectUpperTableNumber"].isNull()) + columnLineageObject.directUpperTableNumber = std::stoi(dataNodeDownstreamLineagesColumnLineage["DirectUpperTableNumber"].asString()); + if(!dataNodeDownstreamLineagesColumnLineage["CreateTime"].isNull()) + columnLineageObject.createTime = dataNodeDownstreamLineagesColumnLineage["CreateTime"].asString(); + if(!dataNodeDownstreamLineagesColumnLineage["DirectUpperColumnNumber"].isNull()) + columnLineageObject.directUpperColumnNumber = std::stoi(dataNodeDownstreamLineagesColumnLineage["DirectUpperColumnNumber"].asString()); + if(!dataNodeDownstreamLineagesColumnLineage["ColumnName"].isNull()) + columnLineageObject.columnName = dataNodeDownstreamLineagesColumnLineage["ColumnName"].asString(); + data_.downstreamLineages.push_back(columnLineageObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +ListHiveColumnLineagesResult::Data ListHiveColumnLineagesResult::getData()const +{ + return data_; +} + +std::string ListHiveColumnLineagesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListHiveColumnLineagesResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/ListHiveTableLineagesRequest.cc b/dataworks-public/src/model/ListHiveTableLineagesRequest.cc new file mode 100644 index 000000000..8e22ea7ca --- /dev/null +++ b/dataworks-public/src/model/ListHiveTableLineagesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListHiveTableLineagesRequest; + +ListHiveTableLineagesRequest::ListHiveTableLineagesRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListHiveTableLineages") +{ + setMethod(HttpRequest::Method::Post); +} + +ListHiveTableLineagesRequest::~ListHiveTableLineagesRequest() +{} + +std::string ListHiveTableLineagesRequest::getDatabaseName()const +{ + return databaseName_; +} + +void ListHiveTableLineagesRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +std::string ListHiveTableLineagesRequest::getClusterId()const +{ + return clusterId_; +} + +void ListHiveTableLineagesRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string ListHiveTableLineagesRequest::getTableName()const +{ + return tableName_; +} + +void ListHiveTableLineagesRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + diff --git a/dataworks-public/src/model/ListHiveTableLineagesResult.cc b/dataworks-public/src/model/ListHiveTableLineagesResult.cc new file mode 100644 index 000000000..cf7c1a8a7 --- /dev/null +++ b/dataworks-public/src/model/ListHiveTableLineagesResult.cc @@ -0,0 +1,116 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListHiveTableLineagesResult::ListHiveTableLineagesResult() : + ServiceResult() +{} + +ListHiveTableLineagesResult::ListHiveTableLineagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListHiveTableLineagesResult::~ListHiveTableLineagesResult() +{} + +void ListHiveTableLineagesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["UpstreamNumber"].isNull()) + data_.upstreamNumber = std::stoi(dataNode["UpstreamNumber"].asString()); + if(!dataNode["DownstreamNumber"].isNull()) + data_.downstreamNumber = std::stoi(dataNode["DownstreamNumber"].asString()); + auto allUpstreamLineagesNode = dataNode["UpstreamLineages"]["TableLineage"]; + for (auto dataNodeUpstreamLineagesTableLineage : allUpstreamLineagesNode) + { + Data::TableLineage tableLineageObject; + if(!dataNodeUpstreamLineagesTableLineage["ModifiedTime"].isNull()) + tableLineageObject.modifiedTime = dataNodeUpstreamLineagesTableLineage["ModifiedTime"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["DatabaseName"].isNull()) + tableLineageObject.databaseName = dataNodeUpstreamLineagesTableLineage["DatabaseName"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["Engine"].isNull()) + tableLineageObject.engine = dataNodeUpstreamLineagesTableLineage["Engine"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["CreateTime"].isNull()) + tableLineageObject.createTime = dataNodeUpstreamLineagesTableLineage["CreateTime"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["ClusterId"].isNull()) + tableLineageObject.clusterId = dataNodeUpstreamLineagesTableLineage["ClusterId"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["Source"].isNull()) + tableLineageObject.source = dataNodeUpstreamLineagesTableLineage["Source"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["TableName"].isNull()) + tableLineageObject.tableName = dataNodeUpstreamLineagesTableLineage["TableName"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["JobId"].isNull()) + tableLineageObject.jobId = dataNodeUpstreamLineagesTableLineage["JobId"].asString(); + if(!dataNodeUpstreamLineagesTableLineage["QueryText"].isNull()) + tableLineageObject.queryText = dataNodeUpstreamLineagesTableLineage["QueryText"].asString(); + data_.upstreamLineages.push_back(tableLineageObject); + } + auto allDownstreamLineagesNode = dataNode["DownstreamLineages"]["TableLineage"]; + for (auto dataNodeDownstreamLineagesTableLineage : allDownstreamLineagesNode) + { + Data::TableLineage tableLineageObject; + if(!dataNodeDownstreamLineagesTableLineage["ModifiedTime"].isNull()) + tableLineageObject.modifiedTime = dataNodeDownstreamLineagesTableLineage["ModifiedTime"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["DatabaseName"].isNull()) + tableLineageObject.databaseName = dataNodeDownstreamLineagesTableLineage["DatabaseName"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["Engine"].isNull()) + tableLineageObject.engine = dataNodeDownstreamLineagesTableLineage["Engine"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["CreateTime"].isNull()) + tableLineageObject.createTime = dataNodeDownstreamLineagesTableLineage["CreateTime"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["ClusterId"].isNull()) + tableLineageObject.clusterId = dataNodeDownstreamLineagesTableLineage["ClusterId"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["Source"].isNull()) + tableLineageObject.source = dataNodeDownstreamLineagesTableLineage["Source"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["TableName"].isNull()) + tableLineageObject.tableName = dataNodeDownstreamLineagesTableLineage["TableName"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["JobId"].isNull()) + tableLineageObject.jobId = dataNodeDownstreamLineagesTableLineage["JobId"].asString(); + if(!dataNodeDownstreamLineagesTableLineage["QueryText"].isNull()) + tableLineageObject.queryText = dataNodeDownstreamLineagesTableLineage["QueryText"].asString(); + data_.downstreamLineages.push_back(tableLineageObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +ListHiveTableLineagesResult::Data ListHiveTableLineagesResult::getData()const +{ + return data_; +} + +std::string ListHiveTableLineagesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListHiveTableLineagesResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/ListInstancesRequest.cc b/dataworks-public/src/model/ListInstancesRequest.cc deleted file mode 100644 index 30e818b80..000000000 --- a/dataworks-public/src/model/ListInstancesRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::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); -} - -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); -} - -int ListInstancesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListInstancesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListInstancesRequest::getNodeId()const -{ - return nodeId_; -} - -void ListInstancesRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - -long ListInstancesRequest::getProjectId()const -{ - return projectId_; -} - -void ListInstancesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListInstancesResult.cc b/dataworks-public/src/model/ListInstancesResult.cc deleted file mode 100644 index ae3777d28..000000000 --- a/dataworks-public/src/model/ListInstancesResult.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; - -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::stoi(dataNodeInstancesInstance["NodeId"].asString()); - if(!dataNodeInstancesInstance["InstanceId"].isNull()) - instanceObject.instanceId = std::stol(dataNodeInstancesInstance["InstanceId"].asString()); - if(!dataNodeInstancesInstance["DagId"].isNull()) - instanceObject.dagId = std::stoi(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()); - 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/ListNodeIORequest.cc b/dataworks-public/src/model/ListNodeIORequest.cc deleted file mode 100644 index 2bf66ad65..000000000 --- a/dataworks-public/src/model/ListNodeIORequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListNodeIORequest; - -ListNodeIORequest::ListNodeIORequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodeIO") -{ - setMethod(HttpRequest::Method::Post); -} - -ListNodeIORequest::~ListNodeIORequest() -{} - -std::string ListNodeIORequest::getProjectEnv()const -{ - return projectEnv_; -} - -void ListNodeIORequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long ListNodeIORequest::getNodeId()const -{ - return nodeId_; -} - -void ListNodeIORequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - -std::string ListNodeIORequest::getIoType()const -{ - return ioType_; -} - -void ListNodeIORequest::setIoType(const std::string& ioType) -{ - ioType_ = ioType; - setBodyParameter("IoType", ioType); -} - diff --git a/dataworks-public/src/model/ListNodeIOResult.cc b/dataworks-public/src/model/ListNodeIOResult.cc deleted file mode 100644 index 86fec2a80..000000000 --- a/dataworks-public/src/model/ListNodeIOResult.cc +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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(); - data_.push_back(dataObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListNodeIOResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector ListNodeIOResult::getData()const -{ - return data_; -} - -std::string ListNodeIOResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListNodeIOResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListNodeIOResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListNodesRequest.cc b/dataworks-public/src/model/ListNodesRequest.cc deleted file mode 100644 index 5da74c759..000000000 --- a/dataworks-public/src/model/ListNodesRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListNodesRequest; - -ListNodesRequest::ListNodesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodes") -{ - setMethod(HttpRequest::Method::Post); -} - -ListNodesRequest::~ListNodesRequest() -{} - -std::string ListNodesRequest::getOwner()const -{ - return owner_; -} - -void ListNodesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListNodesRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void ListNodesRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -std::string ListNodesRequest::getBizName()const -{ - return bizName_; -} - -void ListNodesRequest::setBizName(const std::string& bizName) -{ - bizName_ = bizName; - setBodyParameter("BizName", bizName); -} - -int ListNodesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListNodesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListNodesRequest::getNodeName()const -{ - return nodeName_; -} - -void ListNodesRequest::setNodeName(const std::string& nodeName) -{ - nodeName_ = nodeName; - setBodyParameter("NodeName", nodeName); -} - -std::string ListNodesRequest::getProgramType()const -{ - return programType_; -} - -void ListNodesRequest::setProgramType(const std::string& programType) -{ - programType_ = programType; - setBodyParameter("ProgramType", programType); -} - -int ListNodesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListNodesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListNodesRequest::getProjectId()const -{ - return projectId_; -} - -void ListNodesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListNodesResult.cc b/dataworks-public/src/model/ListNodesResult.cc deleted file mode 100644 index 78b463daf..000000000 --- a/dataworks-public/src/model/ListNodesResult.cc +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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(); - 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/ListProjectMembersRequest.cc b/dataworks-public/src/model/ListProjectMembersRequest.cc deleted file mode 100644 index a0ce33360..000000000 --- a/dataworks-public/src/model/ListProjectMembersRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListProjectMembersRequest; - -ListProjectMembersRequest::ListProjectMembersRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectMembers") -{ - setMethod(HttpRequest::Method::Post); -} - -ListProjectMembersRequest::~ListProjectMembersRequest() -{} - -int ListProjectMembersRequest::getPageSize()const -{ - return pageSize_; -} - -void ListProjectMembersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long ListProjectMembersRequest::getProjectId()const -{ - return projectId_; -} - -void ListProjectMembersRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -int ListProjectMembersRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListProjectMembersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListProjectMembersResult.cc b/dataworks-public/src/model/ListProjectMembersResult.cc deleted file mode 100644 index 24be26b43..000000000 --- a/dataworks-public/src/model/ListProjectMembersResult.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListProjectMembersResult::ListProjectMembersResult() : - ServiceResult() -{} - -ListProjectMembersResult::ListProjectMembersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListProjectMembersResult::~ListProjectMembersResult() -{} - -void ListProjectMembersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allProjectMemberListNode = dataNode["ProjectMemberList"]["ProjectMember"]; - for (auto dataNodeProjectMemberListProjectMember : allProjectMemberListNode) - { - Data::ProjectMember projectMemberObject; - if(!dataNodeProjectMemberListProjectMember["Nick"].isNull()) - projectMemberObject.nick = dataNodeProjectMemberListProjectMember["Nick"].asString(); - if(!dataNodeProjectMemberListProjectMember["ProjectMemberId"].isNull()) - projectMemberObject.projectMemberId = dataNodeProjectMemberListProjectMember["ProjectMemberId"].asString(); - if(!dataNodeProjectMemberListProjectMember["ProjectMemberName"].isNull()) - projectMemberObject.projectMemberName = dataNodeProjectMemberListProjectMember["ProjectMemberName"].asString(); - if(!dataNodeProjectMemberListProjectMember["ProjectMemberType"].isNull()) - projectMemberObject.projectMemberType = dataNodeProjectMemberListProjectMember["ProjectMemberType"].asString(); - if(!dataNodeProjectMemberListProjectMember["Status"].isNull()) - projectMemberObject.status = dataNodeProjectMemberListProjectMember["Status"].asString(); - auto allProjectRoleListNode = allProjectMemberListNode["ProjectRoleList"]["Role"]; - for (auto allProjectMemberListNodeProjectRoleListRole : allProjectRoleListNode) - { - Data::ProjectMember::Role projectRoleListObject; - if(!allProjectMemberListNodeProjectRoleListRole["ProjectRoleCode"].isNull()) - projectRoleListObject.projectRoleCode = allProjectMemberListNodeProjectRoleListRole["ProjectRoleCode"].asString(); - if(!allProjectMemberListNodeProjectRoleListRole["ProjectRoleId"].isNull()) - projectRoleListObject.projectRoleId = std::stoi(allProjectMemberListNodeProjectRoleListRole["ProjectRoleId"].asString()); - if(!allProjectMemberListNodeProjectRoleListRole["ProjectRoleName"].isNull()) - projectRoleListObject.projectRoleName = allProjectMemberListNodeProjectRoleListRole["ProjectRoleName"].asString(); - if(!allProjectMemberListNodeProjectRoleListRole["ProjectRoleType"].isNull()) - projectRoleListObject.projectRoleType = allProjectMemberListNodeProjectRoleListRole["ProjectRoleType"].asString(); - projectMemberObject.projectRoleList.push_back(projectRoleListObject); - } - data_.projectMemberList.push_back(projectMemberObject); - } - -} - -ListProjectMembersResult::Data ListProjectMembersResult::getData()const -{ - return data_; -} - diff --git a/dataworks-public/src/model/ListProjectRolesRequest.cc b/dataworks-public/src/model/ListProjectRolesRequest.cc deleted file mode 100644 index b4a1762b3..000000000 --- a/dataworks-public/src/model/ListProjectRolesRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListProjectRolesRequest; - -ListProjectRolesRequest::ListProjectRolesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectRoles") -{ - setMethod(HttpRequest::Method::Post); -} - -ListProjectRolesRequest::~ListProjectRolesRequest() -{} - -long ListProjectRolesRequest::getProjectId()const -{ - return projectId_; -} - -void ListProjectRolesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - diff --git a/dataworks-public/src/model/ListProjectRolesResult.cc b/dataworks-public/src/model/ListProjectRolesResult.cc deleted file mode 100644 index fcf9cdacd..000000000 --- a/dataworks-public/src/model/ListProjectRolesResult.cc +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListProjectRolesResult::ListProjectRolesResult() : - ServiceResult() -{} - -ListProjectRolesResult::ListProjectRolesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListProjectRolesResult::~ListProjectRolesResult() -{} - -void ListProjectRolesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allProjectRoleListNode = value["ProjectRoleList"]["Role"]; - for (auto valueProjectRoleListRole : allProjectRoleListNode) - { - Role projectRoleListObject; - if(!valueProjectRoleListRole["ProjectRoleCode"].isNull()) - projectRoleListObject.projectRoleCode = valueProjectRoleListRole["ProjectRoleCode"].asString(); - if(!valueProjectRoleListRole["ProjectRoleId"].isNull()) - projectRoleListObject.projectRoleId = std::stoi(valueProjectRoleListRole["ProjectRoleId"].asString()); - if(!valueProjectRoleListRole["ProjectRoleName"].isNull()) - projectRoleListObject.projectRoleName = valueProjectRoleListRole["ProjectRoleName"].asString(); - if(!valueProjectRoleListRole["ProjectRoleType"].isNull()) - projectRoleListObject.projectRoleType = valueProjectRoleListRole["ProjectRoleType"].asString(); - projectRoleList_.push_back(projectRoleListObject); - } - -} - -std::vector ListProjectRolesResult::getProjectRoleList()const -{ - return projectRoleList_; -} - diff --git a/dataworks-public/src/model/ListProjectsRequest.cc b/dataworks-public/src/model/ListProjectsRequest.cc deleted file mode 100644 index 312782e84..000000000 --- a/dataworks-public/src/model/ListProjectsRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListProjectsRequest; - -ListProjectsRequest::ListProjectsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjects") -{ - setMethod(HttpRequest::Method::Post); -} - -ListProjectsRequest::~ListProjectsRequest() -{} - -int ListProjectsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListProjectsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int ListProjectsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListProjectsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListProjectsResult.cc b/dataworks-public/src/model/ListProjectsResult.cc deleted file mode 100644 index ad5985699..000000000 --- a/dataworks-public/src/model/ListProjectsResult.cc +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListProjectsResult::ListProjectsResult() : - ServiceResult() -{} - -ListProjectsResult::ListProjectsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListProjectsResult::~ListProjectsResult() -{} - -void ListProjectsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pageResultNode = value["PageResult"]; - if(!pageResultNode["PageNumber"].isNull()) - pageResult_.pageNumber = std::stoi(pageResultNode["PageNumber"].asString()); - if(!pageResultNode["PageSize"].isNull()) - pageResult_.pageSize = std::stoi(pageResultNode["PageSize"].asString()); - if(!pageResultNode["TotalCount"].isNull()) - pageResult_.totalCount = std::stoi(pageResultNode["TotalCount"].asString()); - auto allProjectListNode = pageResultNode["ProjectList"]["Project"]; - for (auto pageResultNodeProjectListProject : allProjectListNode) - { - PageResult::Project projectObject; - if(!pageResultNodeProjectListProject["ProjectName"].isNull()) - projectObject.projectName = pageResultNodeProjectListProject["ProjectName"].asString(); - if(!pageResultNodeProjectListProject["ProjectIdentifier"].isNull()) - projectObject.projectIdentifier = pageResultNodeProjectListProject["ProjectIdentifier"].asString(); - if(!pageResultNodeProjectListProject["ProjectDescription"].isNull()) - projectObject.projectDescription = pageResultNodeProjectListProject["ProjectDescription"].asString(); - if(!pageResultNodeProjectListProject["ProjectStatus"].isNull()) - projectObject.projectStatus = std::stoi(pageResultNodeProjectListProject["ProjectStatus"].asString()); - if(!pageResultNodeProjectListProject["ProjectId"].isNull()) - projectObject.projectId = std::stol(pageResultNodeProjectListProject["ProjectId"].asString()); - if(!pageResultNodeProjectListProject["ProjectOwnerBaseId"].isNull()) - projectObject.projectOwnerBaseId = pageResultNodeProjectListProject["ProjectOwnerBaseId"].asString(); - if(!pageResultNodeProjectListProject["ProjectStatusCode"].isNull()) - projectObject.projectStatusCode = pageResultNodeProjectListProject["ProjectStatusCode"].asString(); - pageResult_.projectList.push_back(projectObject); - } - -} - -ListProjectsResult::PageResult ListProjectsResult::getPageResult()const -{ - return pageResult_; -} - diff --git a/dataworks-public/src/model/ListQualityRulesRequest.cc b/dataworks-public/src/model/ListQualityRulesRequest.cc deleted file mode 100644 index 2f0b80d24..000000000 --- a/dataworks-public/src/model/ListQualityRulesRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListQualityRulesRequest; - -ListQualityRulesRequest::ListQualityRulesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListQualityRules") -{ - setMethod(HttpRequest::Method::Post); -} - -ListQualityRulesRequest::~ListQualityRulesRequest() -{} - -std::string ListQualityRulesRequest::getProjectName()const -{ - return projectName_; -} - -void ListQualityRulesRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -int ListQualityRulesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListQualityRulesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListQualityRulesRequest::getEntityId()const -{ - return entityId_; -} - -void ListQualityRulesRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - -int ListQualityRulesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListQualityRulesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/ListQualityRulesResult.cc b/dataworks-public/src/model/ListQualityRulesResult.cc deleted file mode 100644 index 197d998ab..000000000 --- a/dataworks-public/src/model/ListQualityRulesResult.cc +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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 deleted file mode 100644 index 807b21b67..000000000 --- a/dataworks-public/src/model/ListRemindsRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListRemindsRequest; - -ListRemindsRequest::ListRemindsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListReminds") -{ - setMethod(HttpRequest::Method::Post); -} - -ListRemindsRequest::~ListRemindsRequest() -{} - -std::string ListRemindsRequest::getSearchText()const -{ - return searchText_; -} - -void ListRemindsRequest::setSearchText(const std::string& searchText) -{ - searchText_ = searchText; - setBodyParameter("SearchText", searchText); -} - -std::string ListRemindsRequest::getFounder()const -{ - return founder_; -} - -void ListRemindsRequest::setFounder(const std::string& founder) -{ - founder_ = founder; - setBodyParameter("Founder", founder); -} - -std::string ListRemindsRequest::getRemindTypes()const -{ - return remindTypes_; -} - -void ListRemindsRequest::setRemindTypes(const std::string& remindTypes) -{ - remindTypes_ = remindTypes; - setBodyParameter("RemindTypes", remindTypes); -} - -int ListRemindsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListRemindsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListRemindsRequest::getAlertTarget()const -{ - return alertTarget_; -} - -void ListRemindsRequest::setAlertTarget(const std::string& alertTarget) -{ - alertTarget_ = alertTarget; - setBodyParameter("AlertTarget", alertTarget); -} - -int ListRemindsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListRemindsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -long ListRemindsRequest::getNodeId()const -{ - return nodeId_; -} - -void ListRemindsRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/ListRemindsResult.cc b/dataworks-public/src/model/ListRemindsResult.cc deleted file mode 100644 index a7be80c2b..000000000 --- a/dataworks-public/src/model/ListRemindsResult.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListRemindsResult::ListRemindsResult() : - ServiceResult() -{} - -ListRemindsResult::ListRemindsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListRemindsResult::~ListRemindsResult() -{} - -void ListRemindsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allRemindsNode = dataNode["Reminds"]["RemindsItem"]; - for (auto dataNodeRemindsRemindsItem : allRemindsNode) - { - Data::RemindsItem remindsItemObject; - if(!dataNodeRemindsRemindsItem["RemindId"].isNull()) - remindsItemObject.remindId = std::stol(dataNodeRemindsRemindsItem["RemindId"].asString()); - if(!dataNodeRemindsRemindsItem["RemindName"].isNull()) - remindsItemObject.remindName = dataNodeRemindsRemindsItem["RemindName"].asString(); - if(!dataNodeRemindsRemindsItem["DndStart"].isNull()) - remindsItemObject.dndStart = dataNodeRemindsRemindsItem["DndStart"].asString(); - if(!dataNodeRemindsRemindsItem["DndEnd"].isNull()) - remindsItemObject.dndEnd = dataNodeRemindsRemindsItem["DndEnd"].asString(); - if(!dataNodeRemindsRemindsItem["RemindUnit"].isNull()) - remindsItemObject.remindUnit = dataNodeRemindsRemindsItem["RemindUnit"].asString(); - if(!dataNodeRemindsRemindsItem["RemindType"].isNull()) - remindsItemObject.remindType = dataNodeRemindsRemindsItem["RemindType"].asString(); - if(!dataNodeRemindsRemindsItem["AlertUnit"].isNull()) - remindsItemObject.alertUnit = dataNodeRemindsRemindsItem["AlertUnit"].asString(); - if(!dataNodeRemindsRemindsItem["Useflag"].isNull()) - remindsItemObject.useflag = dataNodeRemindsRemindsItem["Useflag"].asString() == "true"; - if(!dataNodeRemindsRemindsItem["Founder"].isNull()) - remindsItemObject.founder = dataNodeRemindsRemindsItem["Founder"].asString(); - auto allNodeIds = value["NodeIds"]["NodeIds"]; - for (auto value : allNodeIds) - remindsItemObject.nodeIds.push_back(value.asString()); - auto allBaselineIds = value["BaselineIds"]["BaselineIds"]; - for (auto value : allBaselineIds) - remindsItemObject.baselineIds.push_back(value.asString()); - auto allProjectIds = value["ProjectIds"]["ProjectIds"]; - for (auto value : allProjectIds) - remindsItemObject.projectIds.push_back(value.asString()); - auto allBizProcessIds = value["BizProcessIds"]["BizProcessIds"]; - for (auto value : allBizProcessIds) - remindsItemObject.bizProcessIds.push_back(value.asString()); - auto allAlertMethods = value["AlertMethods"]["AlertMethods"]; - for (auto value : allAlertMethods) - remindsItemObject.alertMethods.push_back(value.asString()); - auto allAlertTargets = value["AlertTargets"]["AlertTargets"]; - for (auto value : allAlertTargets) - remindsItemObject.alertTargets.push_back(value.asString()); - data_.reminds.push_back(remindsItemObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListRemindsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListRemindsResult::Data ListRemindsResult::getData()const -{ - return data_; -} - -std::string ListRemindsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListRemindsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListRemindsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListResourceGroupsRequest.cc b/dataworks-public/src/model/ListResourceGroupsRequest.cc deleted file mode 100644 index 2702ddd35..000000000 --- a/dataworks-public/src/model/ListResourceGroupsRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListResourceGroupsRequest; - -ListResourceGroupsRequest::ListResourceGroupsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListResourceGroups") -{ - setMethod(HttpRequest::Method::Post); -} - -ListResourceGroupsRequest::~ListResourceGroupsRequest() -{} - -int ListResourceGroupsRequest::getResourceGroupType()const -{ - return resourceGroupType_; -} - -void ListResourceGroupsRequest::setResourceGroupType(int resourceGroupType) -{ - resourceGroupType_ = resourceGroupType; - setParameter("ResourceGroupType", std::to_string(resourceGroupType)); -} - -std::string ListResourceGroupsRequest::getKeyword()const -{ - return keyword_; -} - -void ListResourceGroupsRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setParameter("Keyword", keyword); -} - diff --git a/dataworks-public/src/model/ListResourceGroupsResult.cc b/dataworks-public/src/model/ListResourceGroupsResult.cc deleted file mode 100644 index 62d83205e..000000000 --- a/dataworks-public/src/model/ListResourceGroupsResult.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListResourceGroupsResult::ListResourceGroupsResult() : - ServiceResult() -{} - -ListResourceGroupsResult::ListResourceGroupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListResourceGroupsResult::~ListResourceGroupsResult() -{} - -void ListResourceGroupsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["Identifier"].isNull()) - dataObject.identifier = valueDataDataItem["Identifier"].asString(); - if(!valueDataDataItem["Cluster"].isNull()) - dataObject.cluster = valueDataDataItem["Cluster"].asString(); - if(!valueDataDataItem["BizExtKey"].isNull()) - dataObject.bizExtKey = valueDataDataItem["BizExtKey"].asString(); - if(!valueDataDataItem["EnableKp"].isNull()) - dataObject.enableKp = valueDataDataItem["EnableKp"].asString() == "true"; - if(!valueDataDataItem["UpdateTime"].isNull()) - dataObject.updateTime = valueDataDataItem["UpdateTime"].asString(); - if(!valueDataDataItem["ResourceGroupType"].isNull()) - dataObject.resourceGroupType = valueDataDataItem["ResourceGroupType"].asString(); - if(!valueDataDataItem["Mode"].isNull()) - dataObject.mode = valueDataDataItem["Mode"].asString(); - if(!valueDataDataItem["Sequence"].isNull()) - dataObject.sequence = std::stoi(valueDataDataItem["Sequence"].asString()); - if(!valueDataDataItem["IsDefault"].isNull()) - dataObject.isDefault = valueDataDataItem["IsDefault"].asString() == "true"; - if(!valueDataDataItem["CreateTime"].isNull()) - dataObject.createTime = valueDataDataItem["CreateTime"].asString(); - if(!valueDataDataItem["Name"].isNull()) - dataObject.name = valueDataDataItem["Name"].asString(); - if(!valueDataDataItem["TenantId"].isNull()) - dataObject.tenantId = std::stol(valueDataDataItem["TenantId"].asString()); - if(!valueDataDataItem["Id"].isNull()) - dataObject.id = std::stol(valueDataDataItem["Id"].asString()); - if(!valueDataDataItem["Status"].isNull()) - dataObject.status = std::stoi(valueDataDataItem["Status"].asString()); - if(!valueDataDataItem["Specs"].isNull()) - dataObject.specs = valueDataDataItem["Specs"].asString(); - data_.push_back(dataObject); - } - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int ListResourceGroupsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector ListResourceGroupsResult::getData()const -{ - return data_; -} - -bool ListResourceGroupsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ListTablePartitionsRequest.cc b/dataworks-public/src/model/ListTablePartitionsRequest.cc new file mode 100644 index 000000000..4816985fb --- /dev/null +++ b/dataworks-public/src/model/ListTablePartitionsRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListTablePartitionsRequest; + +ListTablePartitionsRequest::ListTablePartitionsRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "ListTablePartitions") +{ + setMethod(HttpRequest::Method::Post); +} + +ListTablePartitionsRequest::~ListTablePartitionsRequest() +{} + +std::string ListTablePartitionsRequest::getDatabaseName()const +{ + return databaseName_; +} + +void ListTablePartitionsRequest::setDatabaseName(const std::string& databaseName) +{ + databaseName_ = databaseName; + setParameter("DatabaseName", databaseName); +} + +int ListTablePartitionsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListTablePartitionsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListTablePartitionsRequest::getClusterId()const +{ + return clusterId_; +} + +void ListTablePartitionsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string ListTablePartitionsRequest::getSort()const +{ + return sort_; +} + +void ListTablePartitionsRequest::setSort(const std::string& sort) +{ + sort_ = sort; + setParameter("Sort", sort); +} + +std::string ListTablePartitionsRequest::getTableName()const +{ + return tableName_; +} + +void ListTablePartitionsRequest::setTableName(const std::string& tableName) +{ + tableName_ = tableName; + setParameter("TableName", tableName); +} + +int ListTablePartitionsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListTablePartitionsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListTablePartitionsRequest::getOrder()const +{ + return order_; +} + +void ListTablePartitionsRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + diff --git a/dataworks-public/src/model/ListTablePartitionsResult.cc b/dataworks-public/src/model/ListTablePartitionsResult.cc new file mode 100644 index 000000000..cbd408c7a --- /dev/null +++ b/dataworks-public/src/model/ListTablePartitionsResult.cc @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListTablePartitionsResult::ListTablePartitionsResult() : + ServiceResult() +{} + +ListTablePartitionsResult::ListTablePartitionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTablePartitionsResult::~ListTablePartitionsResult() +{} + +void ListTablePartitionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + auto allPagedDataNode = dataNode["PagedData"]["TablePartitions"]; + for (auto dataNodePagedDataTablePartitions : allPagedDataNode) + { + Data::TablePartitions tablePartitionsObject; + if(!dataNodePagedDataTablePartitions["GmtCreate"].isNull()) + tablePartitionsObject.gmtCreate = std::stol(dataNodePagedDataTablePartitions["GmtCreate"].asString()); + if(!dataNodePagedDataTablePartitions["GmtModified"].isNull()) + tablePartitionsObject.gmtModified = std::stol(dataNodePagedDataTablePartitions["GmtModified"].asString()); + if(!dataNodePagedDataTablePartitions["Location"].isNull()) + tablePartitionsObject.location = dataNodePagedDataTablePartitions["Location"].asString(); + if(!dataNodePagedDataTablePartitions["PartitionName"].isNull()) + tablePartitionsObject.partitionName = dataNodePagedDataTablePartitions["PartitionName"].asString(); + if(!dataNodePagedDataTablePartitions["PartitionPath"].isNull()) + tablePartitionsObject.partitionPath = dataNodePagedDataTablePartitions["PartitionPath"].asString(); + if(!dataNodePagedDataTablePartitions["PartitionType"].isNull()) + tablePartitionsObject.partitionType = dataNodePagedDataTablePartitions["PartitionType"].asString(); + if(!dataNodePagedDataTablePartitions["PartitionComment"].isNull()) + tablePartitionsObject.partitionComment = dataNodePagedDataTablePartitions["PartitionComment"].asString(); + data_.pagedData.push_back(tablePartitionsObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +ListTablePartitionsResult::Data ListTablePartitionsResult::getData()const +{ + return data_; +} + +std::string ListTablePartitionsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListTablePartitionsResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/dataworks-public/src/model/ListTopicsRequest.cc b/dataworks-public/src/model/ListTopicsRequest.cc deleted file mode 100644 index a1998cd8f..000000000 --- a/dataworks-public/src/model/ListTopicsRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListTopicsRequest; - -ListTopicsRequest::ListTopicsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListTopics") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTopicsRequest::~ListTopicsRequest() -{} - -std::string ListTopicsRequest::getOwner()const -{ - return owner_; -} - -void ListTopicsRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -std::string ListTopicsRequest::getEndTime()const -{ - return endTime_; -} - -void ListTopicsRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", endTime); -} - -std::string ListTopicsRequest::getBeginTime()const -{ - return beginTime_; -} - -void ListTopicsRequest::setBeginTime(const std::string& beginTime) -{ - beginTime_ = beginTime; - setBodyParameter("BeginTime", beginTime); -} - -std::string ListTopicsRequest::getTopicStatuses()const -{ - return topicStatuses_; -} - -void ListTopicsRequest::setTopicStatuses(const std::string& topicStatuses) -{ - topicStatuses_ = topicStatuses; - setBodyParameter("TopicStatuses", topicStatuses); -} - -int ListTopicsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListTopicsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -long ListTopicsRequest::getInstanceId()const -{ - return instanceId_; -} - -void ListTopicsRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - -int ListTopicsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListTopicsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListTopicsRequest::getTopicTypes()const -{ - return topicTypes_; -} - -void ListTopicsRequest::setTopicTypes(const std::string& topicTypes) -{ - topicTypes_ = topicTypes; - setBodyParameter("TopicTypes", topicTypes); -} - -long ListTopicsRequest::getNodeId()const -{ - return nodeId_; -} - -void ListTopicsRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); -} - diff --git a/dataworks-public/src/model/ListTopicsResult.cc b/dataworks-public/src/model/ListTopicsResult.cc deleted file mode 100644 index 6960f3b67..000000000 --- a/dataworks-public/src/model/ListTopicsResult.cc +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ListTopicsResult::ListTopicsResult() : - ServiceResult() -{} - -ListTopicsResult::ListTopicsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTopicsResult::~ListTopicsResult() -{} - -void ListTopicsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PageNumber"].isNull()) - data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); - if(!dataNode["TotalCount"].isNull()) - data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); - auto allTopicsNode = dataNode["Topics"]["TopicsItem"]; - for (auto dataNodeTopicsTopicsItem : allTopicsNode) - { - Data::TopicsItem topicsItemObject; - if(!dataNodeTopicsTopicsItem["TopicId"].isNull()) - topicsItemObject.topicId = std::stol(dataNodeTopicsTopicsItem["TopicId"].asString()); - if(!dataNodeTopicsTopicsItem["TopicName"].isNull()) - topicsItemObject.topicName = dataNodeTopicsTopicsItem["TopicName"].asString(); - if(!dataNodeTopicsTopicsItem["TopicStatus"].isNull()) - topicsItemObject.topicStatus = dataNodeTopicsTopicsItem["TopicStatus"].asString(); - if(!dataNodeTopicsTopicsItem["TopicType"].isNull()) - topicsItemObject.topicType = dataNodeTopicsTopicsItem["TopicType"].asString(); - if(!dataNodeTopicsTopicsItem["AddTime"].isNull()) - topicsItemObject.addTime = std::stol(dataNodeTopicsTopicsItem["AddTime"].asString()); - if(!dataNodeTopicsTopicsItem["HappenTime"].isNull()) - topicsItemObject.happenTime = std::stol(dataNodeTopicsTopicsItem["HappenTime"].asString()); - if(!dataNodeTopicsTopicsItem["FixTime"].isNull()) - topicsItemObject.fixTime = std::stol(dataNodeTopicsTopicsItem["FixTime"].asString()); - if(!dataNodeTopicsTopicsItem["InstanceId"].isNull()) - topicsItemObject.instanceId = std::stol(dataNodeTopicsTopicsItem["InstanceId"].asString()); - if(!dataNodeTopicsTopicsItem["NodeId"].isNull()) - topicsItemObject.nodeId = std::stol(dataNodeTopicsTopicsItem["NodeId"].asString()); - if(!dataNodeTopicsTopicsItem["NodeName"].isNull()) - topicsItemObject.nodeName = dataNodeTopicsTopicsItem["NodeName"].asString(); - if(!dataNodeTopicsTopicsItem["NodeOwner"].isNull()) - topicsItemObject.nodeOwner = dataNodeTopicsTopicsItem["NodeOwner"].asString(); - if(!dataNodeTopicsTopicsItem["ProjectId"].isNull()) - topicsItemObject.projectId = std::stol(dataNodeTopicsTopicsItem["ProjectId"].asString()); - data_.topics.push_back(topicsItemObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int ListTopicsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -ListTopicsResult::Data ListTopicsResult::getData()const -{ - return data_; -} - -std::string ListTopicsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListTopicsResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListTopicsResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/PublishDataServiceApiRequest.cc b/dataworks-public/src/model/PublishDataServiceApiRequest.cc deleted file mode 100644 index 5b92030f7..000000000 --- a/dataworks-public/src/model/PublishDataServiceApiRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::PublishDataServiceApiRequest; - -PublishDataServiceApiRequest::PublishDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "PublishDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -PublishDataServiceApiRequest::~PublishDataServiceApiRequest() -{} - -long PublishDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void PublishDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -long PublishDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void PublishDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long PublishDataServiceApiRequest::getApiId()const -{ - return apiId_; -} - -void PublishDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - diff --git a/dataworks-public/src/model/PublishDataServiceApiResult.cc b/dataworks-public/src/model/PublishDataServiceApiResult.cc deleted file mode 100644 index 5eefa2cbb..000000000 --- a/dataworks-public/src/model/PublishDataServiceApiResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -PublishDataServiceApiResult::PublishDataServiceApiResult() : - ServiceResult() -{} - -PublishDataServiceApiResult::PublishDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PublishDataServiceApiResult::~PublishDataServiceApiResult() -{} - -void PublishDataServiceApiResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int PublishDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool PublishDataServiceApiResult::getData()const -{ - return data_; -} - -std::string PublishDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string PublishDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool PublishDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc b/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc deleted file mode 100644 index 32444fcfc..000000000 --- a/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RemoveProjectMemberFromRoleRequest; - -RemoveProjectMemberFromRoleRequest::RemoveProjectMemberFromRoleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RemoveProjectMemberFromRole") -{ - setMethod(HttpRequest::Method::Post); -} - -RemoveProjectMemberFromRoleRequest::~RemoveProjectMemberFromRoleRequest() -{} - -std::string RemoveProjectMemberFromRoleRequest::getRoleCode()const -{ - return roleCode_; -} - -void RemoveProjectMemberFromRoleRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setParameter("RoleCode", roleCode); -} - -long RemoveProjectMemberFromRoleRequest::getProjectId()const -{ - return projectId_; -} - -void RemoveProjectMemberFromRoleRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); -} - -std::string RemoveProjectMemberFromRoleRequest::getUserId()const -{ - return userId_; -} - -void RemoveProjectMemberFromRoleRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/dataworks-public/src/model/RemoveProjectMemberFromRoleResult.cc b/dataworks-public/src/model/RemoveProjectMemberFromRoleResult.cc deleted file mode 100644 index efd4b3f5e..000000000 --- a/dataworks-public/src/model/RemoveProjectMemberFromRoleResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -RemoveProjectMemberFromRoleResult::RemoveProjectMemberFromRoleResult() : - ServiceResult() -{} - -RemoveProjectMemberFromRoleResult::RemoveProjectMemberFromRoleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RemoveProjectMemberFromRoleResult::~RemoveProjectMemberFromRoleResult() -{} - -void RemoveProjectMemberFromRoleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/dataworks-public/src/model/RestartInstanceRequest.cc b/dataworks-public/src/model/RestartInstanceRequest.cc deleted file mode 100644 index f6ef45132..000000000 --- a/dataworks-public/src/model/RestartInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RestartInstanceRequest; - -RestartInstanceRequest::RestartInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RestartInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -RestartInstanceRequest::~RestartInstanceRequest() -{} - -std::string RestartInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void RestartInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long RestartInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void RestartInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/RestartInstanceResult.cc b/dataworks-public/src/model/RestartInstanceResult.cc deleted file mode 100644 index e16b4961b..000000000 --- a/dataworks-public/src/model/RestartInstanceResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -RestartInstanceResult::RestartInstanceResult() : - ServiceResult() -{} - -RestartInstanceResult::RestartInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RestartInstanceResult::~RestartInstanceResult() -{} - -void RestartInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int RestartInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool RestartInstanceResult::getData()const -{ - return data_; -} - -std::string RestartInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string RestartInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool RestartInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/ResumeInstanceRequest.cc b/dataworks-public/src/model/ResumeInstanceRequest.cc deleted file mode 100644 index 13aaf1a2a..000000000 --- a/dataworks-public/src/model/ResumeInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ResumeInstanceRequest; - -ResumeInstanceRequest::ResumeInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ResumeInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -ResumeInstanceRequest::~ResumeInstanceRequest() -{} - -std::string ResumeInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void ResumeInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long ResumeInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void ResumeInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/ResumeInstanceResult.cc b/dataworks-public/src/model/ResumeInstanceResult.cc deleted file mode 100644 index 36c5a3ce9..000000000 --- a/dataworks-public/src/model/ResumeInstanceResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -ResumeInstanceResult::ResumeInstanceResult() : - ServiceResult() -{} - -ResumeInstanceResult::ResumeInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResumeInstanceResult::~ResumeInstanceResult() -{} - -void ResumeInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int ResumeInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool ResumeInstanceResult::getData()const -{ - return data_; -} - -std::string ResumeInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ResumeInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ResumeInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/SearchManualDagNodeInstanceRequest.cc b/dataworks-public/src/model/SearchManualDagNodeInstanceRequest.cc new file mode 100644 index 000000000..31081378f --- /dev/null +++ b/dataworks-public/src/model/SearchManualDagNodeInstanceRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::SearchManualDagNodeInstanceRequest; + +SearchManualDagNodeInstanceRequest::SearchManualDagNodeInstanceRequest() : + RpcServiceRequest("dataworks-public", "2018-06-01", "SearchManualDagNodeInstance") +{ + setMethod(HttpRequest::Method::Post); +} + +SearchManualDagNodeInstanceRequest::~SearchManualDagNodeInstanceRequest() +{} + +std::string SearchManualDagNodeInstanceRequest::getProjectName()const +{ + return projectName_; +} + +void SearchManualDagNodeInstanceRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setParameter("ProjectName", projectName); +} + +long SearchManualDagNodeInstanceRequest::getDagId()const +{ + return dagId_; +} + +void SearchManualDagNodeInstanceRequest::setDagId(long dagId) +{ + dagId_ = dagId; + setParameter("DagId", std::to_string(dagId)); +} + diff --git a/dataworks-public/src/model/SearchManualDagNodeInstanceResult.cc b/dataworks-public/src/model/SearchManualDagNodeInstanceResult.cc new file mode 100644 index 000000000..bf8e34388 --- /dev/null +++ b/dataworks-public/src/model/SearchManualDagNodeInstanceResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +SearchManualDagNodeInstanceResult::SearchManualDagNodeInstanceResult() : + ServiceResult() +{} + +SearchManualDagNodeInstanceResult::SearchManualDagNodeInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SearchManualDagNodeInstanceResult::~SearchManualDagNodeInstanceResult() +{} + +void SearchManualDagNodeInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["NodeInsInfo"]; + for (auto valueDataNodeInsInfo : allDataNode) + { + NodeInsInfo dataObject; + if(!valueDataNodeInsInfo["InstanceId"].isNull()) + dataObject.instanceId = std::stol(valueDataNodeInsInfo["InstanceId"].asString()); + if(!valueDataNodeInsInfo["DagId"].isNull()) + dataObject.dagId = std::stol(valueDataNodeInsInfo["DagId"].asString()); + if(!valueDataNodeInsInfo["DagType"].isNull()) + dataObject.dagType = std::stoi(valueDataNodeInsInfo["DagType"].asString()); + if(!valueDataNodeInsInfo["Status"].isNull()) + dataObject.status = std::stoi(valueDataNodeInsInfo["Status"].asString()); + if(!valueDataNodeInsInfo["Bizdate"].isNull()) + dataObject.bizdate = valueDataNodeInsInfo["Bizdate"].asString(); + if(!valueDataNodeInsInfo["ParaValue"].isNull()) + dataObject.paraValue = valueDataNodeInsInfo["ParaValue"].asString(); + if(!valueDataNodeInsInfo["FinishTime"].isNull()) + dataObject.finishTime = valueDataNodeInsInfo["FinishTime"].asString(); + if(!valueDataNodeInsInfo["BeginWaitTimeTime"].isNull()) + dataObject.beginWaitTimeTime = valueDataNodeInsInfo["BeginWaitTimeTime"].asString(); + if(!valueDataNodeInsInfo["BeginWaitResTime"].isNull()) + dataObject.beginWaitResTime = valueDataNodeInsInfo["BeginWaitResTime"].asString(); + if(!valueDataNodeInsInfo["BeginRunningTime"].isNull()) + dataObject.beginRunningTime = valueDataNodeInsInfo["BeginRunningTime"].asString(); + if(!valueDataNodeInsInfo["CreateTime"].isNull()) + dataObject.createTime = valueDataNodeInsInfo["CreateTime"].asString(); + if(!valueDataNodeInsInfo["ModifyTime"].isNull()) + dataObject.modifyTime = valueDataNodeInsInfo["ModifyTime"].asString(); + if(!valueDataNodeInsInfo["NodeName"].isNull()) + dataObject.nodeName = valueDataNodeInsInfo["NodeName"].asString(); + data_.push_back(dataObject); + } + if(!value["ErrCode"].isNull()) + errCode_ = value["ErrCode"].asString(); + if(!value["ErrMsg"].isNull()) + errMsg_ = value["ErrMsg"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string SearchManualDagNodeInstanceResult::getErrMsg()const +{ + return errMsg_; +} + +std::vector SearchManualDagNodeInstanceResult::getData()const +{ + return data_; +} + +bool SearchManualDagNodeInstanceResult::getSuccess()const +{ + return success_; +} + +std::string SearchManualDagNodeInstanceResult::getErrCode()const +{ + return errCode_; +} + diff --git a/dataworks-public/src/model/SearchMetaTablesRequest.cc b/dataworks-public/src/model/SearchMetaTablesRequest.cc deleted file mode 100644 index fc2b3cb6e..000000000 --- a/dataworks-public/src/model/SearchMetaTablesRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SearchMetaTablesRequest; - -SearchMetaTablesRequest::SearchMetaTablesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SearchMetaTables") -{ - setMethod(HttpRequest::Method::Post); -} - -SearchMetaTablesRequest::~SearchMetaTablesRequest() -{} - -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); -} - -int SearchMetaTablesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void SearchMetaTablesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/dataworks-public/src/model/SearchMetaTablesResult.cc b/dataworks-public/src/model/SearchMetaTablesResult.cc deleted file mode 100644 index 4e0ee968b..000000000 --- a/dataworks-public/src/model/SearchMetaTablesResult.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -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(); - 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/SetSuccessInstanceRequest.cc b/dataworks-public/src/model/SetSuccessInstanceRequest.cc deleted file mode 100644 index 891e4c40a..000000000 --- a/dataworks-public/src/model/SetSuccessInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SetSuccessInstanceRequest; - -SetSuccessInstanceRequest::SetSuccessInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SetSuccessInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -SetSuccessInstanceRequest::~SetSuccessInstanceRequest() -{} - -std::string SetSuccessInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void SetSuccessInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long SetSuccessInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void SetSuccessInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/SetSuccessInstanceResult.cc b/dataworks-public/src/model/SetSuccessInstanceResult.cc deleted file mode 100644 index 6d272cd9e..000000000 --- a/dataworks-public/src/model/SetSuccessInstanceResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -SetSuccessInstanceResult::SetSuccessInstanceResult() : - ServiceResult() -{} - -SetSuccessInstanceResult::SetSuccessInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetSuccessInstanceResult::~SetSuccessInstanceResult() -{} - -void SetSuccessInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int SetSuccessInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool SetSuccessInstanceResult::getData()const -{ - return data_; -} - -std::string SetSuccessInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string SetSuccessInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool SetSuccessInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/StopInstanceRequest.cc b/dataworks-public/src/model/StopInstanceRequest.cc deleted file mode 100644 index 1c9d99312..000000000 --- a/dataworks-public/src/model/StopInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::StopInstanceRequest; - -StopInstanceRequest::StopInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "StopInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -StopInstanceRequest::~StopInstanceRequest() -{} - -std::string StopInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void StopInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long StopInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void StopInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/StopInstanceResult.cc b/dataworks-public/src/model/StopInstanceResult.cc deleted file mode 100644 index 8681ede28..000000000 --- a/dataworks-public/src/model/StopInstanceResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -StopInstanceResult::StopInstanceResult() : - ServiceResult() -{} - -StopInstanceResult::StopInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StopInstanceResult::~StopInstanceResult() -{} - -void StopInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int StopInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool StopInstanceResult::getData()const -{ - return data_; -} - -std::string StopInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string StopInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool StopInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/SubmitFileRequest.cc b/dataworks-public/src/model/SubmitFileRequest.cc deleted file mode 100644 index 05f7520ad..000000000 --- a/dataworks-public/src/model/SubmitFileRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SubmitFileRequest; - -SubmitFileRequest::SubmitFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SubmitFile") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitFileRequest::~SubmitFileRequest() -{} - -std::string SubmitFileRequest::getComment()const -{ - return comment_; -} - -void SubmitFileRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -long SubmitFileRequest::getProjectId()const -{ - return projectId_; -} - -void SubmitFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string SubmitFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void SubmitFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -long SubmitFileRequest::getFileId()const -{ - return fileId_; -} - -void SubmitFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); -} - diff --git a/dataworks-public/src/model/SubmitFileResult.cc b/dataworks-public/src/model/SubmitFileResult.cc deleted file mode 100644 index 1cd263565..000000000 --- a/dataworks-public/src/model/SubmitFileResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -SubmitFileResult::SubmitFileResult() : - ServiceResult() -{} - -SubmitFileResult::SubmitFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitFileResult::~SubmitFileResult() -{} - -void SubmitFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Data"].isNull()) - data_ = std::stol(value["Data"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int SubmitFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -long SubmitFileResult::getData()const -{ - return data_; -} - -std::string SubmitFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string SubmitFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool SubmitFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/SuspendInstanceRequest.cc b/dataworks-public/src/model/SuspendInstanceRequest.cc deleted file mode 100644 index 10561e45d..000000000 --- a/dataworks-public/src/model/SuspendInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SuspendInstanceRequest; - -SuspendInstanceRequest::SuspendInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SuspendInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -SuspendInstanceRequest::~SuspendInstanceRequest() -{} - -std::string SuspendInstanceRequest::getProjectEnv()const -{ - return projectEnv_; -} - -void SuspendInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); -} - -long SuspendInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void SuspendInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); -} - diff --git a/dataworks-public/src/model/SuspendInstanceResult.cc b/dataworks-public/src/model/SuspendInstanceResult.cc deleted file mode 100644 index d506c8382..000000000 --- a/dataworks-public/src/model/SuspendInstanceResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -SuspendInstanceResult::SuspendInstanceResult() : - ServiceResult() -{} - -SuspendInstanceResult::SuspendInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SuspendInstanceResult::~SuspendInstanceResult() -{} - -void SuspendInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int SuspendInstanceResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool SuspendInstanceResult::getData()const -{ - return data_; -} - -std::string SuspendInstanceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string SuspendInstanceResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool SuspendInstanceResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateBusinessRequest.cc b/dataworks-public/src/model/UpdateBusinessRequest.cc deleted file mode 100644 index 347ff0dfb..000000000 --- a/dataworks-public/src/model/UpdateBusinessRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateBusinessRequest; - -UpdateBusinessRequest::UpdateBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateBusinessRequest::~UpdateBusinessRequest() -{} - -std::string UpdateBusinessRequest::getOwner()const -{ - return owner_; -} - -void UpdateBusinessRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); -} - -long UpdateBusinessRequest::getBusinessId()const -{ - return businessId_; -} - -void UpdateBusinessRequest::setBusinessId(long businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", std::to_string(businessId)); -} - -std::string UpdateBusinessRequest::getBusinessName()const -{ - return businessName_; -} - -void UpdateBusinessRequest::setBusinessName(const std::string& businessName) -{ - businessName_ = businessName; - setBodyParameter("BusinessName", businessName); -} - -std::string UpdateBusinessRequest::getDescription()const -{ - return description_; -} - -void UpdateBusinessRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); -} - -long UpdateBusinessRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string UpdateBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void UpdateBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - diff --git a/dataworks-public/src/model/UpdateBusinessResult.cc b/dataworks-public/src/model/UpdateBusinessResult.cc deleted file mode 100644 index 9acf07629..000000000 --- a/dataworks-public/src/model/UpdateBusinessResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateBusinessResult::UpdateBusinessResult() : - ServiceResult() -{} - -UpdateBusinessResult::UpdateBusinessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateBusinessResult::~UpdateBusinessResult() -{} - -void UpdateBusinessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateBusinessResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string UpdateBusinessResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateBusinessResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateBusinessResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateConnectionRequest.cc b/dataworks-public/src/model/UpdateConnectionRequest.cc deleted file mode 100644 index 880cd84fc..000000000 --- a/dataworks-public/src/model/UpdateConnectionRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateConnectionRequest; - -UpdateConnectionRequest::UpdateConnectionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateConnection") -{ - setMethod(HttpRequest::Method::Put); -} - -UpdateConnectionRequest::~UpdateConnectionRequest() -{} - -int UpdateConnectionRequest::getEnvType()const -{ - return envType_; -} - -void UpdateConnectionRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); -} - -std::string UpdateConnectionRequest::getDescription()const -{ - return description_; -} - -void UpdateConnectionRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -long UpdateConnectionRequest::getConnectionId()const -{ - return connectionId_; -} - -void UpdateConnectionRequest::setConnectionId(long connectionId) -{ - connectionId_ = connectionId; - setParameter("ConnectionId", std::to_string(connectionId)); -} - -std::string UpdateConnectionRequest::getContent()const -{ - return content_; -} - -void UpdateConnectionRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); -} - -std::string UpdateConnectionRequest::getStatus()const -{ - return status_; -} - -void UpdateConnectionRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/dataworks-public/src/model/UpdateConnectionResult.cc b/dataworks-public/src/model/UpdateConnectionResult.cc deleted file mode 100644 index 34106f32c..000000000 --- a/dataworks-public/src/model/UpdateConnectionResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateConnectionResult::UpdateConnectionResult() : - ServiceResult() -{} - -UpdateConnectionResult::UpdateConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateConnectionResult::~UpdateConnectionResult() -{} - -void UpdateConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = value["HttpStatusCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -std::string UpdateConnectionResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateConnectionResult::getData()const -{ - return data_; -} - -bool UpdateConnectionResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateDataServiceApiRequest.cc b/dataworks-public/src/model/UpdateDataServiceApiRequest.cc deleted file mode 100644 index af33434c6..000000000 --- a/dataworks-public/src/model/UpdateDataServiceApiRequest.cc +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateDataServiceApiRequest; - -UpdateDataServiceApiRequest::UpdateDataServiceApiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDataServiceApi") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDataServiceApiRequest::~UpdateDataServiceApiRequest() -{} - -std::string UpdateDataServiceApiRequest::getScriptDetails()const -{ - return scriptDetails_; -} - -void UpdateDataServiceApiRequest::setScriptDetails(const std::string& scriptDetails) -{ - scriptDetails_ = scriptDetails; - setBodyParameter("ScriptDetails", scriptDetails); -} - -int UpdateDataServiceApiRequest::getRequestMethod()const -{ - return requestMethod_; -} - -void UpdateDataServiceApiRequest::setRequestMethod(int requestMethod) -{ - requestMethod_ = requestMethod; - setBodyParameter("RequestMethod", std::to_string(requestMethod)); -} - -std::string UpdateDataServiceApiRequest::getApiPath()const -{ - return apiPath_; -} - -void UpdateDataServiceApiRequest::setApiPath(const std::string& apiPath) -{ - apiPath_ = apiPath; - setBodyParameter("ApiPath", apiPath); -} - -std::string UpdateDataServiceApiRequest::getWizardDetails()const -{ - return wizardDetails_; -} - -void UpdateDataServiceApiRequest::setWizardDetails(const std::string& wizardDetails) -{ - wizardDetails_ = wizardDetails; - setBodyParameter("WizardDetails", wizardDetails); -} - -int UpdateDataServiceApiRequest::getVisibleRange()const -{ - return visibleRange_; -} - -void UpdateDataServiceApiRequest::setVisibleRange(int visibleRange) -{ - visibleRange_ = visibleRange; - setBodyParameter("VisibleRange", std::to_string(visibleRange)); -} - -std::string UpdateDataServiceApiRequest::getApiDescription()const -{ - return apiDescription_; -} - -void UpdateDataServiceApiRequest::setApiDescription(const std::string& apiDescription) -{ - apiDescription_ = apiDescription; - setBodyParameter("ApiDescription", apiDescription); -} - -int UpdateDataServiceApiRequest::getTimeout()const -{ - return timeout_; -} - -void UpdateDataServiceApiRequest::setTimeout(int timeout) -{ - timeout_ = timeout; - setBodyParameter("Timeout", std::to_string(timeout)); -} - -std::string UpdateDataServiceApiRequest::getRegistrationDetails()const -{ - return registrationDetails_; -} - -void UpdateDataServiceApiRequest::setRegistrationDetails(const std::string& registrationDetails) -{ - registrationDetails_ = registrationDetails; - setBodyParameter("RegistrationDetails", registrationDetails); -} - -long UpdateDataServiceApiRequest::getTenantId()const -{ - return tenantId_; -} - -void UpdateDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); -} - -std::string UpdateDataServiceApiRequest::getProtocols()const -{ - return protocols_; -} - -void UpdateDataServiceApiRequest::setProtocols(const std::string& protocols) -{ - protocols_ = protocols; - setBodyParameter("Protocols", protocols); -} - -long UpdateDataServiceApiRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -long UpdateDataServiceApiRequest::getApiId()const -{ - return apiId_; -} - -void UpdateDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); -} - -int UpdateDataServiceApiRequest::getResponseContentType()const -{ - return responseContentType_; -} - -void UpdateDataServiceApiRequest::setResponseContentType(int responseContentType) -{ - responseContentType_ = responseContentType; - setBodyParameter("ResponseContentType", std::to_string(responseContentType)); -} - diff --git a/dataworks-public/src/model/UpdateDataServiceApiResult.cc b/dataworks-public/src/model/UpdateDataServiceApiResult.cc deleted file mode 100644 index 6fde2e22a..000000000 --- a/dataworks-public/src/model/UpdateDataServiceApiResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateDataServiceApiResult::UpdateDataServiceApiResult() : - ServiceResult() -{} - -UpdateDataServiceApiResult::UpdateDataServiceApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateDataServiceApiResult::~UpdateDataServiceApiResult() -{} - -void UpdateDataServiceApiResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int UpdateDataServiceApiResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateDataServiceApiResult::getData()const -{ - return data_; -} - -std::string UpdateDataServiceApiResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateDataServiceApiResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateDataServiceApiResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateFileRequest.cc b/dataworks-public/src/model/UpdateFileRequest.cc deleted file mode 100644 index f976bdb3e..000000000 --- a/dataworks-public/src/model/UpdateFileRequest.cc +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 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::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::getParaValue()const -{ - return paraValue_; -} - -void UpdateFileRequest::setParaValue(const std::string& paraValue) -{ - paraValue_ = paraValue; - setBodyParameter("ParaValue", paraValue); -} - -int UpdateFileRequest::getAutoRerunTimes()const -{ - return autoRerunTimes_; -} - -void UpdateFileRequest::setAutoRerunTimes(int autoRerunTimes) -{ - autoRerunTimes_ = autoRerunTimes; - setBodyParameter("AutoRerunTimes", std::to_string(autoRerunTimes)); -} - -std::string UpdateFileRequest::getCronExpress()const -{ - return cronExpress_; -} - -void UpdateFileRequest::setCronExpress(const std::string& cronExpress) -{ - cronExpress_ = cronExpress; - setBodyParameter("CronExpress", cronExpress); -} - -long UpdateFileRequest::getEndEffectDate()const -{ - return endEffectDate_; -} - -void UpdateFileRequest::setEndEffectDate(long endEffectDate) -{ - endEffectDate_ = endEffectDate; - setBodyParameter("EndEffectDate", std::to_string(endEffectDate)); -} - -std::string UpdateFileRequest::getFileName()const -{ - return fileName_; -} - -void UpdateFileRequest::setFileName(const std::string& fileName) -{ - fileName_ = fileName; - setBodyParameter("FileName", fileName); -} - -bool UpdateFileRequest::getStop()const -{ - return stop_; -} - -void UpdateFileRequest::setStop(bool stop) -{ - stop_ = stop; - setBodyParameter("Stop", stop ? "true" : "false"); -} - -std::string UpdateFileRequest::getDependentType()const -{ - return dependentType_; -} - -void UpdateFileRequest::setDependentType(const std::string& dependentType) -{ - dependentType_ = dependentType; - setBodyParameter("DependentType", dependentType); -} - -std::string UpdateFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; -} - -void UpdateFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); -} - -std::string UpdateFileRequest::getFileDescription()const -{ - return fileDescription_; -} - -void UpdateFileRequest::setFileDescription(const std::string& fileDescription) -{ - fileDescription_ = fileDescription; - setBodyParameter("FileDescription", fileDescription); -} - diff --git a/dataworks-public/src/model/UpdateFileResult.cc b/dataworks-public/src/model/UpdateFileResult.cc deleted file mode 100644 index 042144f44..000000000 --- a/dataworks-public/src/model/UpdateFileResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateFileResult::UpdateFileResult() : - ServiceResult() -{} - -UpdateFileResult::UpdateFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateFileResult::~UpdateFileResult() -{} - -void UpdateFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string UpdateFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateFileResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateFolderRequest.cc b/dataworks-public/src/model/UpdateFolderRequest.cc deleted file mode 100644 index fd8720be3..000000000 --- a/dataworks-public/src/model/UpdateFolderRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateFolderRequest; - -UpdateFolderRequest::UpdateFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateFolderRequest::~UpdateFolderRequest() -{} - -std::string UpdateFolderRequest::getFolderName()const -{ - return folderName_; -} - -void UpdateFolderRequest::setFolderName(const std::string& folderName) -{ - folderName_ = folderName; - setBodyParameter("FolderName", folderName); -} - -long UpdateFolderRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string UpdateFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void UpdateFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string UpdateFolderRequest::getFolderId()const -{ - return folderId_; -} - -void UpdateFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); -} - diff --git a/dataworks-public/src/model/UpdateFolderResult.cc b/dataworks-public/src/model/UpdateFolderResult.cc deleted file mode 100644 index 0fa8df4e6..000000000 --- a/dataworks-public/src/model/UpdateFolderResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateFolderResult::UpdateFolderResult() : - ServiceResult() -{} - -UpdateFolderResult::UpdateFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateFolderResult::~UpdateFolderResult() -{} - -void UpdateFolderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateFolderResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string UpdateFolderResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateFolderResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateFolderResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateMetaCategoryRequest.cc b/dataworks-public/src/model/UpdateMetaCategoryRequest.cc deleted file mode 100644 index 46244ed3f..000000000 --- a/dataworks-public/src/model/UpdateMetaCategoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateMetaCategoryRequest; - -UpdateMetaCategoryRequest::UpdateMetaCategoryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateMetaCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateMetaCategoryRequest::~UpdateMetaCategoryRequest() -{} - -std::string UpdateMetaCategoryRequest::getName()const -{ - return name_; -} - -void UpdateMetaCategoryRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string UpdateMetaCategoryRequest::getComment()const -{ - return comment_; -} - -void UpdateMetaCategoryRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -long UpdateMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void UpdateMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setBodyParameter("CategoryId", std::to_string(categoryId)); -} - diff --git a/dataworks-public/src/model/UpdateMetaCategoryResult.cc b/dataworks-public/src/model/UpdateMetaCategoryResult.cc deleted file mode 100644 index febf733a4..000000000 --- a/dataworks-public/src/model/UpdateMetaCategoryResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateMetaCategoryResult::UpdateMetaCategoryResult() : - ServiceResult() -{} - -UpdateMetaCategoryResult::UpdateMetaCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateMetaCategoryResult::~UpdateMetaCategoryResult() -{} - -void UpdateMetaCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int UpdateMetaCategoryResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateMetaCategoryResult::getData()const -{ - return data_; -} - -std::string UpdateMetaCategoryResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateMetaCategoryResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateMetaCategoryResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateQualityFollowerRequest.cc b/dataworks-public/src/model/UpdateQualityFollowerRequest.cc deleted file mode 100644 index 1cb047c29..000000000 --- a/dataworks-public/src/model/UpdateQualityFollowerRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateQualityFollowerRequest; - -UpdateQualityFollowerRequest::UpdateQualityFollowerRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateQualityFollower") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateQualityFollowerRequest::~UpdateQualityFollowerRequest() -{} - -int UpdateQualityFollowerRequest::getAlarmMode()const -{ - return alarmMode_; -} - -void UpdateQualityFollowerRequest::setAlarmMode(int alarmMode) -{ - alarmMode_ = alarmMode; - setBodyParameter("AlarmMode", std::to_string(alarmMode)); -} - -std::string UpdateQualityFollowerRequest::getProjectName()const -{ - return projectName_; -} - -void UpdateQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -std::string UpdateQualityFollowerRequest::getFollower()const -{ - return follower_; -} - -void UpdateQualityFollowerRequest::setFollower(const std::string& follower) -{ - follower_ = follower; - setBodyParameter("Follower", follower); -} - -long UpdateQualityFollowerRequest::getFollowerId()const -{ - return followerId_; -} - -void UpdateQualityFollowerRequest::setFollowerId(long followerId) -{ - followerId_ = followerId; - setBodyParameter("FollowerId", std::to_string(followerId)); -} - diff --git a/dataworks-public/src/model/UpdateQualityFollowerResult.cc b/dataworks-public/src/model/UpdateQualityFollowerResult.cc deleted file mode 100644 index 98c135d2c..000000000 --- a/dataworks-public/src/model/UpdateQualityFollowerResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateQualityFollowerResult::UpdateQualityFollowerResult() : - ServiceResult() -{} - -UpdateQualityFollowerResult::UpdateQualityFollowerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateQualityFollowerResult::~UpdateQualityFollowerResult() -{} - -void UpdateQualityFollowerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateQualityFollowerResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateQualityFollowerResult::getData()const -{ - return data_; -} - -std::string UpdateQualityFollowerResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateQualityFollowerResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateQualityFollowerResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateQualityRuleRequest.cc b/dataworks-public/src/model/UpdateQualityRuleRequest.cc deleted file mode 100644 index 2192af582..000000000 --- a/dataworks-public/src/model/UpdateQualityRuleRequest.cc +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateQualityRuleRequest; - -UpdateQualityRuleRequest::UpdateQualityRuleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateQualityRule") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateQualityRuleRequest::~UpdateQualityRuleRequest() -{} - -std::string UpdateQualityRuleRequest::getTrend()const -{ - return trend_; -} - -void UpdateQualityRuleRequest::setTrend(const std::string& trend) -{ - trend_ = trend; - setBodyParameter("Trend", trend); -} - -int UpdateQualityRuleRequest::getBlockType()const -{ - return blockType_; -} - -void UpdateQualityRuleRequest::setBlockType(int blockType) -{ - blockType_ = blockType; - setBodyParameter("BlockType", std::to_string(blockType)); -} - -std::string UpdateQualityRuleRequest::getPropertyType()const -{ - return propertyType_; -} - -void UpdateQualityRuleRequest::setPropertyType(const std::string& propertyType) -{ - propertyType_ = propertyType; - setBodyParameter("PropertyType", propertyType); -} - -long UpdateQualityRuleRequest::getEntityId()const -{ - return entityId_; -} - -void UpdateQualityRuleRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); -} - -std::string UpdateQualityRuleRequest::getRuleName()const -{ - return ruleName_; -} - -void UpdateQualityRuleRequest::setRuleName(const std::string& ruleName) -{ - ruleName_ = ruleName; - setBodyParameter("RuleName", ruleName); -} - -int UpdateQualityRuleRequest::getChecker()const -{ - return checker_; -} - -void UpdateQualityRuleRequest::setChecker(int checker) -{ - checker_ = checker; - setBodyParameter("Checker", std::to_string(checker)); -} - -std::string UpdateQualityRuleRequest::get_Operator()const -{ - return _operator_; -} - -void UpdateQualityRuleRequest::set_Operator(const std::string& _operator) -{ - _operator_ = _operator; - setBodyParameter("_Operator", _operator); -} - -std::string UpdateQualityRuleRequest::getProperty()const -{ - return property_; -} - -void UpdateQualityRuleRequest::setProperty(const std::string& property) -{ - property_ = property; - setBodyParameter("Property", property); -} - -long UpdateQualityRuleRequest::getId()const -{ - return id_; -} - -void UpdateQualityRuleRequest::setId(long id) -{ - id_ = id; - setBodyParameter("Id", std::to_string(id)); -} - -std::string UpdateQualityRuleRequest::getWarningThreshold()const -{ - return warningThreshold_; -} - -void UpdateQualityRuleRequest::setWarningThreshold(const std::string& warningThreshold) -{ - warningThreshold_ = warningThreshold; - setBodyParameter("WarningThreshold", warningThreshold); -} - -std::string UpdateQualityRuleRequest::getMethodName()const -{ - return methodName_; -} - -void UpdateQualityRuleRequest::setMethodName(const std::string& methodName) -{ - methodName_ = methodName; - setBodyParameter("MethodName", methodName); -} - -std::string UpdateQualityRuleRequest::getProjectName()const -{ - return projectName_; -} - -void UpdateQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); -} - -int UpdateQualityRuleRequest::getRuleType()const -{ - return ruleType_; -} - -void UpdateQualityRuleRequest::setRuleType(int ruleType) -{ - ruleType_ = ruleType; - setBodyParameter("RuleType", std::to_string(ruleType)); -} - -int UpdateQualityRuleRequest::getTemplateId()const -{ - return templateId_; -} - -void UpdateQualityRuleRequest::setTemplateId(int templateId) -{ - templateId_ = templateId; - setBodyParameter("TemplateId", std::to_string(templateId)); -} - -std::string UpdateQualityRuleRequest::getExpectValue()const -{ - return expectValue_; -} - -void UpdateQualityRuleRequest::setExpectValue(const std::string& expectValue) -{ - expectValue_ = expectValue; - setBodyParameter("ExpectValue", expectValue); -} - -std::string UpdateQualityRuleRequest::getWhereCondition()const -{ - return whereCondition_; -} - -void UpdateQualityRuleRequest::setWhereCondition(const std::string& whereCondition) -{ - whereCondition_ = whereCondition; - setBodyParameter("WhereCondition", whereCondition); -} - -std::string UpdateQualityRuleRequest::getCriticalThreshold()const -{ - return criticalThreshold_; -} - -void UpdateQualityRuleRequest::setCriticalThreshold(const std::string& criticalThreshold) -{ - criticalThreshold_ = criticalThreshold; - setBodyParameter("CriticalThreshold", criticalThreshold); -} - -std::string UpdateQualityRuleRequest::getComment()const -{ - return comment_; -} - -void UpdateQualityRuleRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); -} - -int UpdateQualityRuleRequest::getPredictType()const -{ - return predictType_; -} - -void UpdateQualityRuleRequest::setPredictType(int predictType) -{ - predictType_ = predictType; - setBodyParameter("PredictType", std::to_string(predictType)); -} - diff --git a/dataworks-public/src/model/UpdateQualityRuleResult.cc b/dataworks-public/src/model/UpdateQualityRuleResult.cc deleted file mode 100644 index a630733e5..000000000 --- a/dataworks-public/src/model/UpdateQualityRuleResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateQualityRuleResult::UpdateQualityRuleResult() : - ServiceResult() -{} - -UpdateQualityRuleResult::UpdateQualityRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateQualityRuleResult::~UpdateQualityRuleResult() -{} - -void UpdateQualityRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateQualityRuleResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateQualityRuleResult::getData()const -{ - return data_; -} - -std::string UpdateQualityRuleResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateQualityRuleResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateQualityRuleResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateRemindRequest.cc b/dataworks-public/src/model/UpdateRemindRequest.cc deleted file mode 100644 index dd164e3bd..000000000 --- a/dataworks-public/src/model/UpdateRemindRequest.cc +++ /dev/null @@ -1,216 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateRemindRequest; - -UpdateRemindRequest::UpdateRemindRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateRemind") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateRemindRequest::~UpdateRemindRequest() -{} - -std::string UpdateRemindRequest::getDndEnd()const -{ - return dndEnd_; -} - -void UpdateRemindRequest::setDndEnd(const std::string& dndEnd) -{ - dndEnd_ = dndEnd; - setBodyParameter("DndEnd", dndEnd); -} - -std::string UpdateRemindRequest::getAlertUnit()const -{ - return alertUnit_; -} - -void UpdateRemindRequest::setAlertUnit(const std::string& alertUnit) -{ - alertUnit_ = alertUnit; - setBodyParameter("AlertUnit", alertUnit); -} - -std::string UpdateRemindRequest::getRemindUnit()const -{ - return remindUnit_; -} - -void UpdateRemindRequest::setRemindUnit(const std::string& remindUnit) -{ - remindUnit_ = remindUnit; - setBodyParameter("RemindUnit", remindUnit); -} - -bool UpdateRemindRequest::getUseFlag()const -{ - return useFlag_; -} - -void UpdateRemindRequest::setUseFlag(bool useFlag) -{ - useFlag_ = useFlag; - setBodyParameter("UseFlag", useFlag ? "true" : "false"); -} - -int UpdateRemindRequest::getAlertInterval()const -{ - return alertInterval_; -} - -void UpdateRemindRequest::setAlertInterval(int alertInterval) -{ - alertInterval_ = alertInterval; - setBodyParameter("AlertInterval", std::to_string(alertInterval)); -} - -std::string UpdateRemindRequest::getAlertMethods()const -{ - return alertMethods_; -} - -void UpdateRemindRequest::setAlertMethods(const std::string& alertMethods) -{ - alertMethods_ = alertMethods; - setBodyParameter("AlertMethods", alertMethods); -} - -std::string UpdateRemindRequest::getRobotUrls()const -{ - return robotUrls_; -} - -void UpdateRemindRequest::setRobotUrls(const std::string& robotUrls) -{ - robotUrls_ = robotUrls; - setBodyParameter("RobotUrls", robotUrls); -} - -int UpdateRemindRequest::getMaxAlertTimes()const -{ - return maxAlertTimes_; -} - -void UpdateRemindRequest::setMaxAlertTimes(int maxAlertTimes) -{ - maxAlertTimes_ = maxAlertTimes; - setBodyParameter("MaxAlertTimes", std::to_string(maxAlertTimes)); -} - -std::string UpdateRemindRequest::getBizProcessIds()const -{ - return bizProcessIds_; -} - -void UpdateRemindRequest::setBizProcessIds(const std::string& bizProcessIds) -{ - bizProcessIds_ = bizProcessIds; - setBodyParameter("BizProcessIds", bizProcessIds); -} - -std::string UpdateRemindRequest::getRemindType()const -{ - return remindType_; -} - -void UpdateRemindRequest::setRemindType(const std::string& remindType) -{ - remindType_ = remindType; - setBodyParameter("RemindType", remindType); -} - -std::string UpdateRemindRequest::getAlertTargets()const -{ - return alertTargets_; -} - -void UpdateRemindRequest::setAlertTargets(const std::string& alertTargets) -{ - alertTargets_ = alertTargets; - setBodyParameter("AlertTargets", alertTargets); -} - -std::string UpdateRemindRequest::getBaselineIds()const -{ - return baselineIds_; -} - -void UpdateRemindRequest::setBaselineIds(const std::string& baselineIds) -{ - baselineIds_ = baselineIds; - setBodyParameter("BaselineIds", baselineIds); -} - -long UpdateRemindRequest::getRemindId()const -{ - return remindId_; -} - -void UpdateRemindRequest::setRemindId(long remindId) -{ - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); -} - -std::string UpdateRemindRequest::getDetail()const -{ - return detail_; -} - -void UpdateRemindRequest::setDetail(const std::string& detail) -{ - detail_ = detail; - setBodyParameter("Detail", detail); -} - -std::string UpdateRemindRequest::getRemindName()const -{ - return remindName_; -} - -void UpdateRemindRequest::setRemindName(const std::string& remindName) -{ - remindName_ = remindName; - setBodyParameter("RemindName", remindName); -} - -long UpdateRemindRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateRemindRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string UpdateRemindRequest::getNodeIds()const -{ - return nodeIds_; -} - -void UpdateRemindRequest::setNodeIds(const std::string& nodeIds) -{ - nodeIds_ = nodeIds; - setBodyParameter("NodeIds", nodeIds); -} - diff --git a/dataworks-public/src/model/UpdateRemindResult.cc b/dataworks-public/src/model/UpdateRemindResult.cc deleted file mode 100644 index 8205cfeba..000000000 --- a/dataworks-public/src/model/UpdateRemindResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateRemindResult::UpdateRemindResult() : - ServiceResult() -{} - -UpdateRemindResult::UpdateRemindResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateRemindResult::~UpdateRemindResult() -{} - -void UpdateRemindResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -int UpdateRemindResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool UpdateRemindResult::getData()const -{ - return data_; -} - -std::string UpdateRemindResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateRemindResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateRemindResult::getSuccess()const -{ - return success_; -} - diff --git a/dataworks-public/src/model/UpdateUdfFileRequest.cc b/dataworks-public/src/model/UpdateUdfFileRequest.cc deleted file mode 100644 index b42be4745..000000000 --- a/dataworks-public/src/model/UpdateUdfFileRequest.cc +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateUdfFileRequest; - -UpdateUdfFileRequest::UpdateUdfFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateUdfFile") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateUdfFileRequest::~UpdateUdfFileRequest() -{} - -std::string UpdateUdfFileRequest::getReturnValue()const -{ - return returnValue_; -} - -void UpdateUdfFileRequest::setReturnValue(const std::string& returnValue) -{ - returnValue_ = returnValue; - setBodyParameter("ReturnValue", returnValue); -} - -std::string UpdateUdfFileRequest::getResources()const -{ - return resources_; -} - -void UpdateUdfFileRequest::setResources(const std::string& resources) -{ - resources_ = resources; - setBodyParameter("Resources", resources); -} - -std::string UpdateUdfFileRequest::getFunctionType()const -{ - return functionType_; -} - -void UpdateUdfFileRequest::setFunctionType(const std::string& functionType) -{ - functionType_ = functionType; - setBodyParameter("FunctionType", functionType); -} - -std::string UpdateUdfFileRequest::getCmdDescription()const -{ - return cmdDescription_; -} - -void UpdateUdfFileRequest::setCmdDescription(const std::string& cmdDescription) -{ - cmdDescription_ = cmdDescription; - setBodyParameter("CmdDescription", cmdDescription); -} - -std::string UpdateUdfFileRequest::getUdfDescription()const -{ - return udfDescription_; -} - -void UpdateUdfFileRequest::setUdfDescription(const std::string& udfDescription) -{ - udfDescription_ = udfDescription; - setBodyParameter("UdfDescription", udfDescription); -} - -std::string UpdateUdfFileRequest::getParameterDescription()const -{ - return parameterDescription_; -} - -void UpdateUdfFileRequest::setParameterDescription(const std::string& parameterDescription) -{ - parameterDescription_ = parameterDescription; - setBodyParameter("ParameterDescription", parameterDescription); -} - -std::string UpdateUdfFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; -} - -void UpdateUdfFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); -} - -std::string UpdateUdfFileRequest::getExample()const -{ - return example_; -} - -void UpdateUdfFileRequest::setExample(const std::string& example) -{ - example_ = example; - setBodyParameter("Example", example); -} - -std::string UpdateUdfFileRequest::getClassName()const -{ - return className_; -} - -void UpdateUdfFileRequest::setClassName(const std::string& className) -{ - className_ = className; - setBodyParameter("ClassName", className); -} - -std::string UpdateUdfFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; -} - -void UpdateUdfFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); -} - -long UpdateUdfFileRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateUdfFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); -} - -std::string UpdateUdfFileRequest::getFileId()const -{ - return fileId_; -} - -void UpdateUdfFileRequest::setFileId(const std::string& fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", fileId); -} - diff --git a/dataworks-public/src/model/UpdateUdfFileResult.cc b/dataworks-public/src/model/UpdateUdfFileResult.cc deleted file mode 100644 index 8a822729b..000000000 --- a/dataworks-public/src/model/UpdateUdfFileResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Dataworks_public; -using namespace AlibabaCloud::Dataworks_public::Model; - -UpdateUdfFileResult::UpdateUdfFileResult() : - ServiceResult() -{} - -UpdateUdfFileResult::UpdateUdfFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateUdfFileResult::~UpdateUdfFileResult() -{} - -void UpdateUdfFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - -} - -int UpdateUdfFileResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::string UpdateUdfFileResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateUdfFileResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool UpdateUdfFileResult::getSuccess()const -{ - return success_; -} -